説明
If you want to customize the post order to the other than date, id, name. For example: You want to re-arrange it to display as what you want in your agency or company website.
This plugin allow you to re-arrange the post order as you wish.
Re-arrange or re-order the posts but not interfere with sticky posts. Make your web sites different.
You can re-order by one step (move up/down) or multiple steps (sortable items – drag and drop).
Re-order across the page by drag and drop to the top or bottom and then use move up and down to make it re-order across the page.
You can also disable custom post order in some category or all everywhere by adding 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
スクリーンショット
インストール
- Upload “rundiz-postorder” folder to the “/wp-content/plugins/” directory.
- Activate the plugin through the “Plugins” menu in WordPress.
- Done.
FAQ
-
Is multisite support?
-
Yes, of course.
-
Is multilingual support?
-
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.
-
Support for re-order the pages or custom post type?
-
No, it doesn’t support custom post type.
-
Does it gonna be mess if I uninstall this plugin?
-
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.
-
How to disable custom order in some category?
-
Create your plugin and conditions whatever you want such as
is_category(['your','category','id','or','name'])
and then add this codeadd_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 topre_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. -
How to disable custom order in admin list post page?
-
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 topre_get_posts
limitation on the template. See more at https://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts .
評価
このプラグインにはレビューがありません。
貢献者と開発者
変更履歴
1.0.4
2024-07-01
- Update priority for hook
pre_get_posts
to be lower (higher number) to let other plugins hook work with this plugin either.
1.0.3
2022-02-01
- Removed no need check requirement, already checked on WP core.
- Remove donation link.
- Fix activate/uninstall process.
- Add network settings (multisite).
- Move PHP files into sub folders. Each sub folder represent admin menu.
- Update JS of re-order page to class that supported in newer web browser.
- Add view link (to front page) in re-order posts page.
- Move ajax actions to its controller.
- Move admin help tab contents to views file.
- Use
wp_send_json
instead ofecho
andwp_die
instead ofexit
. - Fix call to hook
wp_insert_post
. - Update hook new post class to always update scheduled posts number.
- Make Polylang supported (on selected language and list posts).
- Fix alter post on front pages main query only.
- Update translation.