[Resolved] Problem with hooks

Home Forums Support [Resolved] Problem with hooks

Home Forums Support Problem with hooks

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1418698
    Juan Jose

    I have a page and I want to insert a content block after main content, I try to put generate_after_main_content, and in display rules I put pages, all pages, but it doesn’t show anything.

    #1418709
    David
    Staff
    Customer Support

    Hi there,

    i can see the form – it is below the Comments container.
    If you want it before the comments container then select the before_comments_container hook

    #1418716
    Juan Jose

    What if there are no comments as I would?

    #1418732
    David
    Staff
    Customer Support

    then you would have to add it inside the main container using the after_content_hook

    See here for where the hooks are:
    https://docs.generatepress.com/article/hooks-visual-guide/#single-post

    #1418744
    Juan Jose

    Thanks!

    #1418745
    Juan Jose

    Resolved

    #1418763
    David
    Staff
    Customer Support

    You’re welcome

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