WordPress.org

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] How can I make YARPP display results in DESC order? (3 posts)

  1. andersonmultimedia
    Member
    Posted 1 year ago #

    This is my template code:

    <?php if ($related_query->have_posts()):?>
    <h3>From the Blog</h3>
    <ul>
    	<?php while ($related_query->have_posts()) : $related_query->the_post(); ?>
    	<li><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></li>
    	<?php endwhile; ?>
    </ul>
    <?php else: ?>
    <?php endif; ?>

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

  2. andersonmultimedia
    Member
    Posted 1 year ago #

    Found it in the YARPP settings - Order results: date (new to old)

  3. jeffparker
    Member
    Plugin Author

    Posted 1 year ago #

    Great! Thanks for resolving this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yet Another Related Posts Plugin (YARPP)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic