#128063 Description below products on category page

Landing Forums Jupiter WordPress Theme Description below products on category page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Peter

    How can we move the category description below the products?

    And is it also possible to have text before and after the products on a category page?

    Thanks!

    Tatyana Hutsol Support Team

    Hello,

     

    To move the category description, try adding this code in the functions.php file (better use the child theme and create the functions.php file there to avoid losing changes after theme update):

    add_action('woocommerce_archive_description', 'custom_archive_description', 2);
    
    function custom_archive_description(){
    if ( is_product_category() ){
    remove_action('woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
    add_action('woocommerce_after_main_content', 'woocommerce_taxonomy_archive_description', 5 );
    }
    }

    To add the text, refer to this article:

    https://www.tychesoftwares.com/how-to-add-text-to-the-category-description-in-woocommerce/

     

    Thank you.

    Regards.

    Peter

    On a product category we can fill out a description. But the description is shown twice. Once above the products and once below the page title with the class ‘.page-subtitle’. This makes duplicate content. How can I disable one of those? Not using display: none, but actually remove one of these parts of text. Thanks!

    Nodari Support Team

    Hi Peter

    Where exactly? please provide a direct link to the page with the problem and if you also include access details that will help us better recognize the problem

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
Login