Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Change order of two plugins that insert stuff after the_content WordPress


I am using the Yet Another Related Posts plugin, and I've hard-coded a list of categories using the_category(); to my single.php just after the_content();

Is there a way to ensure that my the_category(', '); tag is shown BEFORE the YARP? Right now the plugin for YARP is inserting the list of related posts first, and then my list of categories comes after it.

Answers (3)


Lew Ayotte answers:

Set YARPP to not display automatically, then add related_posts(); to your theme files...

Dan | gteh comments:

thanks. Don't know why i didn't think of that. Been having a rough day lol


Peter Michael answers:


if( function_exists('related_posts') ){related_posts();}

below the_category() and disable automatic output in the YARP settings


Just Me answers:

Take a look here