WP Manifestindependent plugin directory
manifest / content / post-type-order

Post type order

Order posts in any post type. Made for WordPress.

by Trendwerk · github.com/trendwerk/post-type-order · website

2stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/trendwerk/post-type-order/archive/refs/heads/master.zip

Readme

Post type order

Order posts in any post type. Made for WordPress.

Features

  • Allows admins to order posts from any post type in a separate "Order" menu
  • Automatically orders posts
  • Divide ordering by taxonomy

Installation

composer require trendwerk/post-type-order

Usage

Step 1

Add the post type support 'order' to any post type

'supports' => array( 'title', 'editor', 'revisions', 'order' )

Step 2 (optional)

You can divide the post type ordering by taxonomy

'supports'          => array( 'title', 'editor', 'revisions', 'order' ),
'order_by_taxonomy' => $taxonomy

If you want to use this, it's impossible to do automatic ordering. You will need to adjust the query manually. Below is an example of a custom loop. This is a little more complex, but I'm sure you'll figure it out.

$posts = new WP_Query( array(
    'post_type' => $post_type,
    'post__in'  => TP_Post_Type_Order::get_posts( $term, $taxonomy, $post_type ),
    'orderby'   => 'post__in'
) );

Step 3

Order up!

Read the full README on GitHub →

Releases

TagPublished
1.0.4 Feb 13, 2026
1.0.3 Mar 13, 2023
1.0.2 Aug 5, 2016
1.0.1 Jan 22, 2016
1.0.0 Jan 30, 2015

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.