Archived topic
Hook - Between content and comments
5 replies · Started by Raul on January 26, 2021
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
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
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 ?
Try generate_after_entry_content.
Used this option first nur didn't worked. No it's working. Thanks.
No problem :)