Advertisement
Beee

microkid + yarpp

Jul 3rd, 2013
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1. if ( function_exists('MRP_show_related_posts')) {
  2.     echo "<hr />\n";
  3.     $related_posts = MRP_get_related_posts( $post->ID, true );
  4.     if ($related_posts) {
  5.         MRP_show_related_posts();
  6.     } else if ( function_exists('yarpp_init')) {
  7.         related_posts();
  8.     }
  9. } else if ( function_exists('yarpp_init')) {
  10.     echo "<hr />\n";
  11.     related_posts();
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement