Archived topic
How to add related post section like GeneratePress's Distach theme?
5 replies · Started by Ravi Dixit on March 25, 2020
I am using Dispatch theme from GeneratePress Site Library. I like the Related Post section of the dispatch theme.
I want to add the same in my other site which is also using the GeneratePress but not any template from the SiteLiberay.
I am talking about this section: https://prnt.sc/rms4nk
I know it can be done using the Hooks and CSS so I please provide the code so I can add them.
Hi there,
That's actually the Custom Post Navigation added with Hooks Elements:
https://gpsites.co/dispatch/hook-elements/
If you already have a Dispatch installed then you can just copy the code from there.
Let me know if this helps :)
No, I am using it already on my Dispatch.
But I want to add the same on another website where I am using GeneratePress but no template installed from site library.
Is it possible to add this?
So go to the site that you are already using Dispatch, look for the Custom Post Navigation in the list of elements then copy the code from there.
Does that make sense or am I missing something here?
Hey, Leo!
Thanks, it is working great.
Is there any way to add related post from the same category and tags in a
the similar style?
Hi there,
not using that method - its simply getting the previous / next post links.
You would need a related posts plugin to do that.