Linux 软件免费装
Banner图

JDR Category Post Order & Pinned Posts

开发者 jundarwinragodos
更新时间 2026年11月1日 01:10
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

post order category order custom post order reorder posts pin posts

下载

1.0.0 1.1.0

详情介绍:

This plugin gives editors one focused screen (Tools → Category Post Order) to:
  1. Choose a content type (posts or any custom post type) and either its global order or one category, tag or custom taxonomy term.
  2. Arrange posts as visual cards, or pin a few to the top and let the rest sort automatically (newest, oldest, title A–Z or Z–A).
  3. Preview the numbered order, then Save. Discard, Undo and conflict detection keep edits safe.
  4. See where the order applies and check the integration when a listing does not follow it.
Each term keeps its own order per content type. The same post can be 2nd in "Residential" and 9th in "Commercial". The global order is stored separately and never mixed with term orders. What it changes, and what it never changes No external services, tracking, accounts or page builder required.

安装:

  1. Upload the jdr-category-post-order folder to /wp-content/plugins/ or install the ZIP via Plugins → Add New → Upload Plugin.
  2. Activate JDR Category Post Order & Pinned Posts.
  3. Go to Tools → Category Post Order → Settings (administrators):
  4. Tick the content types to arrange, and for each one the taxonomies that should have per-term orders. Posts + Categories are enabled by default.
  5. Optionally turn on native archives: the blog/post-type archive uses the global order; selected taxonomy archives use the term's order.
  6. Choose what a term archive does when the term has no saved order: keep the theme order (default) or use the global order.
  7. Go to Tools → Category Post Order → Arrange, choose a content type and a term, arrange or pin, and click Save order.
Who can arrange: users who can edit others' posts of that content type (Editors and Administrators by default). Change it with the jdcpo_scope_capability filter. Only Administrators see Settings.

屏幕截图:

  • Pinned-first mode: a few posts pinned to the top, the rest sorted automatically.
  • Settings: choose content types, taxonomies and which archives use a saved order.

升级注意事项:

1.1.0 Adds developer hooks and a feature-request link. No changes to saved orders.

常见问题:

Does it use menu_order?

No. menu_order is one number per post, so it cannot hold different positions in different categories. The plugin stores an ordered list per term and content type (term meta) and a global list per content type (an option).

What happens to new posts?

In Manual mode they appear first or last (your choice), newest first, until you arrange them. In Pinned-first mode they join the automatically sorted remainder.

What if a post leaves a category or is deleted?

It simply stops appearing in that listing. Its stale entry is removed the next time the order is saved.

Do drafts show up on my site?

No. Drafts, scheduled and private posts are listed on the Arrange screen so you can position them in advance, but the plugin never changes which posts a visitor's query returns.

Does it work with WooCommerce products?

Not yet. Products can be enabled in Settings, but WooCommerce shop and category pages use WooCommerce's own sorting, so they don't follow a saved order. WooCommerce support is being considered: if you need it, say so in the support forum.

Is my data deleted when I deactivate?

No. Data is kept on deactivation and on deletion, unless you tick "Delete all saved orders and settings when the plugin is deleted" in Settings.

更新日志:

1.1.0 1.0.0