[Resolved] Hook – Between content and comments

Home Forums Support [Resolved] Hook – Between content and comments

Home Forums Support Hook – Between content and comments

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1634497
    Raul

    Hi,
    is there a possibility to add a hook between my single post content and comments/tags? There is only after_content_hook or before the content text.

    I need this here:

    – “article content”
    – pagination by hook
    – comments and tags

    #1634613
    David
    Staff
    Customer Support

    Hi there,

    If you want it between the post content and the post meta then you use the generate_after_content hook with a lower priority of 5

    After the content and before the comments is the generate_before_comments_container hook – see here:

    https://docs.generatepress.com/article/hooks-visual-guide/#single-post

    #1634687
    Raul

    No I need the hook exactly under the standard pagination of single post but for this there is no possibility at the moment. Isn’t it ?

    #1634700
    Leo
    Staff
    Customer Support

    Try generate_after_entry_content.

    #1634732
    Raul

    Used this option first nur didn’t worked. No it’s working. Thanks.

    #1634735
    Leo
    Staff
    Customer Support

    No problem 🙂

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