Archived topic
Related Posts based on category of current post
7 replies · Started by Mouhcine on April 28, 2020
Hello
it's possible to show related Posts based on category of current post by using Wp Show Post plugin.
Thank you
Hi there,
Technically it's possible.
You would create a list/shortcode with WP Show Posts for each category then insert it using hooks element and set the display rules accordingly to each category:
https://docs.generatepress.com/article/hooks-element-overview/
However, the same posts within the category will always show as WP Show Posts doesn't have random post order option.
Let me know if this makes sense.
Hi Leo,
Thank you for your reply.
Is there another solution to generate it automatically without create list/shortcode for each category ?
You would need a related posts plugin.
This one seems to have pretty good reviews:
https://en-ca.wordpress.org/plugins/contextual-related-posts/
Ok thank you!
No problem :)
At the moment I am testing Contextual Related Posts but if I choose one of the styles from this plug on my GP based website it shows me only the standard GP style. No changes.
Hi there,
can you raise a new topic and share a link to the page where we can see the issue