Okay
Jump to Article Category ... All Categories Aardvark (73) Buddy (62) Gauge (96) General Support (2) Huber (69) Network (16) Socialize (73) The Review (70) Ultimate Reviewer (20) Zine (formerly Magzine) (37)
  Print

How do I display related posts based on categories instead of tags?

In your child theme's functions.php file add:

function ghostpool_related_posts_by_cats( $tags, $cats ) {
    return $cats;
}
add_filter( 'ghostpool_related_posts_type', 'ghostpool_related_posts_by_cats', 10, 2 );