Site logo

Archived topic

Creating/Placing Custom Hook

3 replies · Started by Sean on November 28, 2018

Viewing posts 1–4 of 4

Hi.

My site is currently structured like:

{
Main content box

Content

Related Posts
}

Comment Box
---

I would like to place a hook for email signup jscript to be inserted between the content and the related posts.

{
Main Content Box

Content

Optin Form Code

Related Posts
}

I tried every conceivable option the currently made hooks give, but none of them would place it correctly (and a few of them broke the sidebar!).

But none did what I needed it to.

I'd like to avoid having to paste the code in each post by hand. Is there a solution you can help me with?

Thanks!

Hi there,

How are you adding the related posts currently?

That a good question, man. I have no idea!

I assumed it was something GP did... I checked plugins, nothing there that leads me to believe it's plugin....

GP doesn't have built-in related posts so it's likely a plugin :)

So basically you need to figure out which plugin is adding it, then ask the plugin support to see if there is a way to filter the element (or using shortcode) so we can change where it shows up.

This archived topic is closed to new replies.