Support » Plugin: Yet Another Related Posts Plugin (YARPP) » [Plugin: Yet Another Related Posts Plugin] related_posts outside of the loop

Viewing 2 replies - 1 through 2 (of 2 total)
  • Just call related_posts(array(), $post_ID) or equivalently yarpp_related(array(), $post_ID). 🙂

    The array() corresponds to various options you can call on-the-fly. More info on the options are in the readme.

    Maybe the problem is I’m using too many args. How would I incorperate it into this?

    yarpp_related(array('exclude' => array('category' => 10459), 'recent' => '1 month')

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] related_posts outside of the loop’ is closed to new replies.