Support » Plugin: Yet Another Related Posts Plugin (YARPP) » [Plugin: Yet Another Related Posts Plugin] Limit loops on a template

  • Resolved hypescience

    (@hypescience)


    Hello Guys,

    I am really excited with the YARPP possibilities here. The plugin is awsome.

    I want to show related posts on the sidebar as well at the end of the posts. I am using 2 different templates to do so with thumbs. The problem is that I want to show 15 related posts on the sidebar and only 5 on the bottom of the post. Is that a way that I can limit the loop to 5 related posts hard coding it on the template? In that way I would be free to increase to as many as I want in the plugin options to see them on the sidebar.

    The code follows.

    Thanks,

    Marcelo

    [Code moderated as per the Forum Rules. Please use the pastebin]

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] Limit loops on a template’ is closed to new replies.