Title: [Plugin: Yet Another Related Posts Plugin] Order By problem!
Last modified: August 19, 2016

---

# [Plugin: Yet Another Related Posts Plugin] Order By problem!

 *  [kasupure](https://wordpress.org/support/users/kasupure/)
 * (@kasupure)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-order-by-problem/)
 * Hello!
    My site is kind of index of many things but i would need to have two 
   different codes at same time with YARP but im not sure how to do it. So if you
   could help me! Thanks and now i will explain rest of it.
 * I would need it to order from oldest post to newer but im not sure how to do 
   it, my code of it is atm like this:
    <?php related_posts(array(limit => (500),
   orderby =>(desc))); ?>
 * So if anyone can help me, then please help me 😛 ! Thank you.

The topic ‘[Plugin: Yet Another Related Posts Plugin] Order By problem!’ is closed
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [kasupure](https://wordpress.org/support/users/kasupure/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-order-by-problem/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
