How to move the Tag Page Description below the Product loop.
-
Hello,
By default the ‘Tag Page Description’ is placed above the Product loop, just below the Title element.
I need to move the ‘description’ at the bottom, just below the Product loop.
Can you please help with the hook/filter to do this?
Regards,
Walter.
I think this code should do the job, but it doesn’t. It shows the description below but fails to remove the description above the products. What am I missing here?
function only_for_tag_pages(){
if ( is_product_tag() ) {
remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 100 );
}
}
add_action( "template_redirect", "only_for_tag_pages" );
Hello,
I cannot understand what you actually want. Can you please share some screenshots of what you want?
Best Regards
Hello,
Problem was that I was using a Layout. Solved.
Hello,
You are Most Welcome.
We are glad that you managed to solve the problem yourself. You are Great!!!
Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.
Have a wonderful day.
Topic Closed.
Best Regards.
The topic ‘How to move the Tag Page Description below the Product loop.’ is closed to new replies.