WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Yet Another Related Posts Plugin] Template tag usage - custom template (2 posts)

  1. adambundy
    Member
    Posted 4 years ago #

    Is there a way to specify the template to be used within the template tag (<?php related_entries(); ?>)?? Thanks!

  2. Yes, you should be able to specify something like

    related_entries(array('use_template'=>true, 'template_file'=>'yarpp-template-test.php'));

    where yarpp-template-test.php is in your theme.

Topic Closed

This topic has been closed to new replies.

About this Topic