Site logo

Archived topic

GP New Hook Is Not Working

10 replies · Started by Palash on February 9, 2023

Viewing posts 1–11 of 11

Hello Support,
GP New hook does not work on my site. I have tested it after disabling all active plugins. It only works for WordPress's default theme. So maybe there is a problem with the GP theme.
I have tried to create an Author Box: Hook: Generate_after_content
I am waiting for a solution.
Thanks

I have also tried Block Hook, but it did not work.

I enabled 'Execute PHP', but not working

Sure

Hi there,

you have a Block Element titled: Post page hero which is a Content Template set to Posts > All Posts.
The Block Element - Content Template replaces the themes content-single.php which includes that hook you're using to add the your author box too.

As you are already using a content template then your simplest solution is to build your Author Box inside that content template.

Can I add Author Box under Content Template?

Yes, you can add it after the Post Content block.
This video shows you how:

https://youtu.be/4x6CjGOyagc

This archived topic is closed to new replies.