Title: [Plugin: Network Latest Posts] Sort order
Last modified: August 20, 2016

---

# [Plugin: Network Latest Posts] Sort order

 *  Resolved [Ronaldus](https://wordpress.org/support/users/ronaldus/)
 * (@ronaldus)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-network-latest-posts-sort-order/)
 * Hi there, what a very nice plugin!!
    Just trying it out, and have some more css
   adjustments to do I guess.
 * AND a question:
    I set the plugin to sort posts form newest to older. Works fine,
   until I update/adjust an older post. When saving, it leaves the date OK, but 
   puts this post on top, as if it were the latest post.
 * Can you look into this please?
 * Thx for your efforts and kind regards!
 * [http://wordpress.org/extend/plugins/network-latest-posts/](http://wordpress.org/extend/plugins/network-latest-posts/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Jose Luis SAYAGO](https://wordpress.org/support/users/iluminatus/)
 * (@iluminatus)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-network-latest-posts-sort-order/#post-2980653)
 * Hello Ronaldus, thanks for your comments. Actually that’s the expected behavior,
   this plugin pull the **_last\_modified_** date from posts. It means, each time
   you update a post even if it’s old, it’s considered recent content (for some 
   people this is useful because if you’re editing an old post it means you want
   to keep people up to date).
 * Nonetheless, if you want to change this behavior, and pull the posts based on
   their creation date you may want to adjust the plugin to pull this value instead,
   I’ll explain you how to do so:
 * Open the **network-latest-post.php** file and look for this variable `$all_posts[
   $post->post_modified] = $post;` on line 364. Then replace it by this one: `$all_posts[
   $post->post_date] = $post;`. It should do the trick.
 * Cheers.
 *  Thread Starter [Ronaldus](https://wordpress.org/support/users/ronaldus/)
 * (@ronaldus)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-network-latest-posts-sort-order/#post-2980663)
 * Great, Jose Luis!!
    That did the trick indeed!!
 * Thx and cheers,
    Ronald
 *  Plugin Author [Jose Luis SAYAGO](https://wordpress.org/support/users/iluminatus/)
 * (@iluminatus)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-network-latest-posts-sort-order/#post-2980684)
 * Hello Ronald,
 * Glad it’s working the way you want it now. Thanks for your feedback!
 * Kind regards.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Network Latest Posts] Sort order’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/network-latest-posts_61c601.svg)
 * [Network Latest Posts](https://wordpress.org/plugins/network-latest-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/network-latest-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/network-latest-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/network-latest-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/network-latest-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/network-latest-posts/reviews/)

## Tags

 * [edit](https://wordpress.org/support/topic-tag/edit/)
 * [sort order](https://wordpress.org/support/topic-tag/sort-order/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jose Luis SAYAGO](https://wordpress.org/support/users/iluminatus/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-network-latest-posts-sort-order/#post-2980684)
 * Status: resolved