Archived topic
Product Category Content Blocks Don't Display
1 reply · Started by Dustin on September 3, 2021
I have been trying to build unique content blocks for each category page for SEO purposes.
I have built a test block. added line of text, background color. Given the block a unique name.
When I select location entire site, the block displays.
I have tried on various hooks. woocommerce_archive_description before_shop_loop before_content and so on. Same issue, only displays when entire site is selected.
Whenever i change the location selector to a single specific location. e.g product category. (Location > Product Category > X category.) The block wont display.
This is happening whenever i select a single location. It will work if i select entire site & then use exclude to exclude that header from the rest of the site. Long winded and not viable.
Hi there,
if its for a woo category archive then the Display Rule Location is: Product Category Archive
To test use the Hook: after_header
For Woocommerce specific hooks:
https://www.businessbloomer.com/woocommerce-visual-hook-guide-archiveshopcat-page/
And if you're using any of those hooks specific to the Archive, then the Display Rule Location can be: Entire Site