Static Block in category page - by 2becom

15 replies2 participantsUpdated by Rose Tyler

  • Avatar: 2becom
    2becom
    Participant

    Hi,

    please see the ticket #157312 (closed – impossible to reply) to complete this help request.

    You give to me an answer #157415, but we use WooPress Themplate and not xstore.

    We would like to visualize a static block (promotions) in every category page (different blocks) like this page: http://sviluppo.wavemarketing.it/es_intimo/categoria-prodotto/reggiseni-e-bralettes/.

    We would like to visualize the static block at the end of the page, before the footer area, but it seems impossible.

    Can you give to me help for this.

    Thanks.

    Andrea Fumagalli

    15 Answers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Could you please provide wp-admin access in Private Content so we could check it?
    Unfortunately, display static block under category page content is not impossible.

    Regards,
    Rose Tyler.

    Avatar: 2becom
    2becom
    Participant

    Sorry,

    You have wrote to me.

    Unfortunately, display static block under category page content is not impossible.

    impossible=possible?

    It is impossible to di splay static block…is this correct?

    Thanks.

    Andrea Fumagalli

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Sorry, it is impossible.

    Regards,
    Rose Tyler.

    Avatar: 2becom
    2becom
    Participant

    thanks.

    Andrea Fumagalli

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    You’re welcome!
    Feel free to ask if you need any other help.

    Regards,
    Rose Tyler.

    Avatar: 2becom
    2becom
    Participant

    Sorry,

    there is the possibility to add a statick block in each category with php directly, in the woocommerce template?

    If it is possible can you explain to me?

    Thanks.

    Andrea Fumagalli

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    This requires additional customization. It is beyond our basic support scope.
    In this case, I suggest you use shortcode to display static block on category page http://prntscr.com/eqrp4s http://prntscr.com/eqrp9n

    Regards,
    Rose Tyler.

    Avatar: 2becom
    2becom
    Participant

    Sorry but I need to put a static block in the bottom before the footer.

    How can I do this?

    Thanks.

    Andrea Fumagalli

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    You need to edit wp-content/themes/woopress/woocommerce/archive-product.php file and change position of this line <?php do_action( 'woocommerce_archive_description' ); ?> from 43 line to http://prntscr.com/eqsa2g
    Make your changes in the child theme to prevent losing them after theme update https://8theme.com/demo/docs/woopress/index.html#!/3_child_theme.

    Regards,
    Rose Tyler.

    Avatar: 2becom
    2becom
    Participant

    Hi,

    I would like to obtain as the link in the private section (red box in the bottom of the page).

    One promotional static block for each category.

    With indications you give to me is it possible?

    Thanks.

    Andrea Fumagalli

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    You can create a static block for each category and show it http://prntscr.com/ervhkb then edit file http://prntscr.com/eqsa2g to display your blocks under category product content http://prntscr.com/ervkga.

    Regards,
    Rose Tyler.

    Avatar: 2becom
    2becom
    Participant

    Dear Rose,

    you are very gentle with us.

    I need only one thing to resolve the problem.

    We have put the promotional block in the category Description as you can see (we have only to move at 105 line of the file .php you indicate to me.

    http://sviluppo.wavemarketing.it/es_intimo/categoria-prodotto/reggiseni-e-bralettes/

    But we need to have on the top the text block as you can see now and put in the bottom (before the footer) only promotional banner.

    How can I do this? Is it possible divide the two things?

    Thanks.

    Andrea Fumagalli

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Could you please provide wp-admin and FTP access in Private Content so we could check it?

    Regards,
    Rose Tyler.

    Avatar: 2becom
    2becom
    Participant

    Hi,

    in the private section all you have required to us.

    Thanks.

    Andrea Fumagalli

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Sorry, but we can’t connect to your FTP with provided credentials.
    You can write your text in Category Header http://prntscr.com/es8tnq and add this code in Custom css:

    .tax-product_cat .category-description {
        display: block;
    }

    Regards,
    Rose Tyler.

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register