Site logo

Archived topic

hook

5 replies · Started by Jose on September 26, 2020

Viewing posts 1–6 of 6

hook + shortcode + one page = not working.

Hi there,

That is really not enough information for us to help.

Can you explain a bit more or link us to the page in question?

Did you check to execute shortcode the hook element?

Hi, I have created a hook, with this Shortcodes [wcas-search-form] to put it in generate_after_header and I just want it to appear in store.
If in position I select only store page it does not appear.
I have solved it by positioning all the pages (so if it appears) and excluding all the pages one by one less store. Can this solution slow down generatepress?

Hi there,

if it is the Woocommerce Shop page you want to target then the Display Rule is: Product Archive

Hello, thank you very much, I have solved two problems with your answer, forgive my ignorance, greetings.

Glad to be of help!

This archived topic is closed to new replies.