WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
manual placement with different template (3 posts)

  1. rhythmdoctor
    Member
    Posted 2 years ago #

    Im trying to add the related posts to my page in 2 different places and Id like to use one template (with thumbs) in one area and another (just text) in the sidebar. Is there a way to configure the template options manually using the if related posts, show related posts code? Thanks in advance

  2. zachmb
    Member
    Posted 2 years ago #

    Is there a way to configure the template options manually using the if related posts, show related posts code?

    I'm actually running into this problem myself, embarrassingly enough...

    Please help?

  3. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    I've settled on how this will work in YARPP 3.4... it's actually the same as what you can do now in 3.3. You'll want to make a call like this:

    related_posts(array('use_template'=>true, 'template_file'=>'...'));

    where ... is the filename of your template. The template file must be in your active theme's directory.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic