Home › Forums › Product Support Forums › Related Posts Pro for WordPress Support › How to display post's category on related posts › Reply To: How to display post's category on related posts
December 28, 2015 at 5:21 pm
#7163
Indeed, I tested it and there was an error. Change line:
$post_categories = wp_get_post_categories( $post->ID );
to
$post_categories = wp_get_post_categories( $post->id );
and it should start working 🙂
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)



