Site logo

[Resolved] Product Filters for WooCommerce shortcode in hook element

Home Forums Support [Resolved] Product Filters for WooCommerce shortcode in hook element

Home Forums Support Product Filters for WooCommerce shortcode in hook element

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

    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

    #2405199
    Leo
    Staff
    Customer Support

    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/

    #2405278
    Margaret

    Hi Leo, thank you! That did the trick.

    #2405381
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.