开发者 | okvee |
---|---|
更新时间 | 2025年8月25日 19:51 |
PHP版本: | 5.5 及以上 |
WordPress版本: | 6.9 |
版权: | MIT |
版权网址: | 版权信息 |
rd_postorder_is_working
and rd_postorder_admin_is_working
filters and its value is boolean.
OR!!
You can do that in the settings menu. That's very easy.
Polylang or multilingual supported.
In the new version, you can use language switcher to switch and list only posts on selected language and then re-order them.
It's clean!
My plugins are always restore everything to its default value and cleanup. I love clean db and don't let my plugins left junk in your db too.
It's completely free!
It's not the "pay for premium feature" or freemium. It's free and no ADs. However, if you like it please donate to help me buy some food.
System requirement
PHP 5.5 or higher
WordPress 4.6.0 or higher
Yes, of course.
Yes, it is supported Polylang plugin for list the posts only selected language or all languages. For the other multilingual plugins, it should work too.
No, it doesn't support custom post type.
No, on uninstall or delete the plugin, it will be reset the menu_order to zero (0) which is WordPress default value for post content.
Create your plugin and conditions whatever you want such as is_category(['your','category','id','or','name'])
and then add this code add_filter('rd_postorder_is_working', '__return_false');
to disable custom order in the categories you choose.
If you want to enable, just remove the filter or change from __return_false
to __return_true
.
Please note that to hook into this filter in the theme some times it might not work due to pre_get_posts
limitation on the template. See more at https://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts .
For anyone who use this plugin v 0.8 or newer, there is a settings page that you can check front page or categories to disable custom order. To do this, go to Settings > Rundiz PostOrder menu.
Same as disable custom order in the front-end. Add this filter hook into your theme or plugin. add_filter('rd_postorder_admin_is_working', '__return_false');
Please note that to hook into this filter in the theme some times it might not work due to pre_get_posts
limitation on the template. See more at https://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts .
menu_order
and restore on uninstall or use settings page.init
hook.