Home Forums WoodMart support forum Move Category description after products loop

Move Category description after products loop

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

    Madjerx
    Participant

    Hello,

    On products’ archives pages I would like to have Html Block Categorie Description after Products loops.

    I added to my child functions.php this code :

    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 );
    endif;
    }

    But the result is not good. “Filters” and “Sort by” are not displayed in good places.
    Which .php files I have to modify in your theme ?

    Regards;
    Jeremy

    #173868

    Hello,

    You can find this option in the Theme settings > Shop page. Please remove your code, it is possible to do with one click.

    Best Regards

    #175210

    Madjerx
    Participant

    Perfect ! thank you to your team

    #175233

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Move Category description after products loop’ is closed to new replies.