Site logo

[Support request] GP New Hook Is Not Working

Home Forums Support [Support request] GP New Hook Is Not Working

Home Forums Support GP New Hook Is Not Working

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #2528117
    Palash

    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

    #2528118
    Fernando
    Customer Support

    Hi Palash,

    For clarity, can you provide a screenshot of the element settings and display rule settings of the Element?

    Uploading Screenshots: https://docs.generatepress.com/article/using-the-premium-support-forum/#uploading-screenshots

    #2528134
    Palash
    #2528147
    Palash

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

    #2528149
    Fernando
    Customer Support

    You have PHP in the Hook Element but you didn’t enable “Execute PHP”. Can you enable that?

    Can you also provide a link to a post on your site?

    You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2528166
    Palash

    I enabled ‘Execute PHP’, but not working

    #2528174
    Fernando
    Customer Support

    I see. Can you provide admin login credentials so we can take a closer look at the issue?

    Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2528208
    Palash

    Sure

    #2528302
    David
    Staff
    Customer Support

    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.

    #2528316
    Palash

    Can I add Author Box under Content Template?

    #2528694
    David
    Staff
    Customer Support

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

    https://youtu.be/4x6CjGOyagc

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