Archived topic
Product Filters for WooCommerce shortcode in hook element
3 replies · Started by Margaret on November 7, 2022
Hello, I am trying to use the Product Filters for WooCommerce plugin shortcodes. I am trying to use a hook element to insert the shortcode towards the top of our "shop" page, but I can't get it to show up.
The code I have so far in the hook element:
<div class="wcpf_filters">
[wcpf_filters id="7068"]
</div>
Settings
Hook generate_after_entry_title
Execute Shortcodes Yes
Execute PHP Yes
Priority 10
Display Rules
Location Product Archive
Hi there,
The shop page is a WooCommerce page so generate_after_entry_title doesn't actually exist.
Try one of the hooks here:
https://www.businessbloomer.com/woocommerce-visual-hook-guide-archiveshopcat-page/
Hi Leo, thank you! That did the trick.
No problem :)