Display related blog post by blog post category by making a function. which help you to put this as a related posts for a particular template.

send $ppp as a post per page and $cat for category slug.

 

Leave a Reply