Sort Posts by Latest Update
Sort Posts by Latest Update

Sort Posts by Latest Update

Saroj Meher

Sort 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

How does this plugin work?

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.

Is there any configuration required?

No, the plugin works out of the box with no additional configuration needed.

What if I want to sort posts by a different criteria?

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.
  1. Upload the sort-posts-by-update folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. 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