Linux 软件免费装
Banner图

Post Order Control

开发者 wpunicorn
更新时间 2025年10月5日 07:20
PHP版本: 7.4 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

post types drag drop post order ordering menu order

下载

1.0.0

详情介绍:

Post Order Control provides an intuitive drag-and-drop interface for reordering posts, pages, and custom post types directly in the WordPress admin. Built with accessibility and theme compatibility in mind, this plugin uses WordPress's standard menu_order field for maximum compatibility. Key Features How It Works This plugin uses WordPress's built-in menu_order field to store post ordering: Theme Integration The plugin provides multiple ways to integrate with your theme: Method 1: Helper Function (Recommended) php $posts = postordercontrol_get_ordered_posts( array( 'post_type' => 'post', 'posts_per_page' => 10, 'post_status' => 'publish', ) ); Method 2: Standard WP_Query php $query = new WP_Query( array( 'post_type' => 'post', 'orderby' => 'menu_order', 'order' => 'ASC', 'posts_per_page' => 10, ) ); Method 3: Auto-Apply (Global) Enable automatic ordering for all frontend queries in the plugin settings. Taxonomy Ordering The plugin also supports drag-and-drop ordering for taxonomies: Capabilities

安装:

  1. Upload the plugin files to /wp-content/plugins/post-order-control/
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Go to Settings → Post Order Control to configure the plugin
  4. Start ordering your content by visiting your post type admin pages

屏幕截图:

  • Taxonomy ordering in category admin
  • Comprehensive "How To" documentation tab
  • Drag-and-drop interface in post admin list

升级注意事项:

1.0.0 Initial release of Post Order Control. Install to start reordering your content with drag-and-drop functionality.

常见问题:

How do I reorder posts?

The easiest way is directly in the WordPress admin:

  1. Go to Posts → All Posts or Pages → All Pages
  2. You'll see a new "Order" column with drag handles (⋮⋮)
  3. Simply drag any row up or down to reorder
  4. The order saves automatically when you drop the row

Will this work with my theme?

Yes! This plugin uses WordPress's standard menu_order field, which is supported by most themes. If your theme doesn't automatically use the custom order, you can:

  1. Enable "Auto Apply Sort" in the plugin settings, or
  2. Modify your theme queries to use orderby => 'menu_order'

Can I order custom post types?

Yes! The plugin supports any public post type. Enable them in the General settings tab.

Can I order categories and tags?

Yes! Enable taxonomies in the Advanced settings tab, then drag and drop terms in their respective admin pages.

How do I display ordered posts in my theme?

Use the helper function postordercontrol_get_ordered_posts() or modify your WP_Query to use orderby => 'menu_order'. See the plugin's "How To" tab for detailed examples.

Can I backup my ordering data?

Yes! Use the Export/Import feature in the Advanced settings tab to backup and restore your ordering data.

更新日志:

1.0.0