Archived topic
GP Hook after first section
7 replies · Started by Nikola on July 10, 2017
Hello Tom,
How to put gp hook after the first content section? Is that possible?
Thanks in advance.
Best regards
Nikola Kalinović
Hi there,
Would After Content Hook work for you? Take a look at the location here:
http://demo.generatepress.com/hook-locations/
No, i need after first section.
Is that possible?
I'm not quite sure what you mean by first section. Like the in the Sections add-on?
If not can you provide a link to your site so I know what you are referring to?
Yea, section add-on.
I have a page where i activated section add-on, and i need a gp hook just below first section add-on.
Hmm there is no such hook unfortunately.
You can try adding it to the bottom of first hook or add in the second section?
I need something like this.
First section
Gp hook ( i need this beacuse is something that is the same in 18 pages, and it is easier to add that piece of information trough the hook, than to add it manualy page by page ).
Second Section
Unfortunately that's not possible.
However, what I would do is put that content into a shortcode, then include that shortcode in the next section on each page.
Then you can edit the content within the shortcode and the changes will apply to every single page.