Site logo

Archived topic

Product Filters for WooCommerce shortcode in hook element

3 replies · Started by Margaret on November 7, 2022

Viewing posts 1–4 of 4

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 Leo, thank you! That did the trick.

No problem :)

This archived topic is closed to new replies.