Archived topic
How to Display Related Post within a Particular Topic
1 reply · Started by Sohaib on June 7, 2022
Hi there guys,
need some help regarding displaying related posts that cover a particular topic theme, like if I have a post on iPhone, then all the related articles (on iPhone) show up either after the content or after the first paragraph ends.
how can I make that happen?
Hi there,
Have you found a related posts plugin?
If so you can try adding it using the generate_after_content hook:
https://docs.generatepress.com/article/hooks-visual-guide/#single-post
The plugin usually offers a shortcode solution so you can use a block element hook with a shortcode block:
https://docs.generatepress.com/article/block-element-hook/
There is no hook in the page content or after the first paragraph unfortunately.