Sort Posts by Latest Update
Saroj MeherSort Posts by Latest Update is a simple WordPress plugin that modifies the main query on your homepage to sort posts by their latest update date. This ensures that the most recently updated posts appear first.
Support
For support, please contact us at http://www.sarojmeher.com/contact/.
Author
Saroj Meher
Website: www.sarojmeher.com
The plugin hooks into the pre_get_posts
action to modify the main query on the homepage, setting it to order posts by their latest update date in descending order.
No, the plugin works out of the box with no additional configuration needed.
If you need to sort posts by a different criteria, you would need to modify the plugin code accordingly.
1.0
- Initial release of the plugin.
- Upload the
sort-posts-by-update
folder to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- The plugin will now sort posts by their latest update date on the homepage.
Reviews
0 out of 5 stars
- Version: 1.0
- Last updated: 2 weeks ago
- Active installations: 0
- WordPress version: 5.0
- Tested up to: 6.6.2
- PHP version: 7.0