描述
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
安装
- 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.
常见问题
-
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.