Flexible Custom Post Type Order

Deskripsi

This plugin helps to generate multiple re-ordering interface for your post types…

Example Display Query Code:

<?php $data = new WP_Query( 
                    array(  'post_type' => 'post', 
                            'post_status' => array( 'publish'),
                            'posts_per_page' => -1, 
                            'orderby' => 'meta_value_num', 
                            'meta_key' => 'custom_order_type_snv_1', 
                            'order' => 'ASC',   
                    )); ?>
<?php while ( $data->have_posts() ) : $data->the_post(); ?>
<?php the_title(); ?>
<?php endwhile;?>
<?php wp_reset_query(); ?&gt;

Plugin Advantages

  1. Any Post Types multiple times Re-Order
  2. Supports Hierarchical Post Types Re-Order for Both – Parent & Child Posts
  3. Supports individual child posts re-ordering from any parent post

NOTE

If desired results are not displaying on front-end after setting up re-ordering in admin, please click “Reset Order” once and set re-ordering again. This will solve your issue.

We have this plugin compatible gutenberg.

Tangkapan Layar

  • Multiple Post Type Order General Settings
  • Drag and Drop Re-Ordering interface
  • Re-Ordering interface with Display Query Code

Instalasi

  1. Upload multiple-post-types-order folder to your /wp-content/plugins/ directory.
  2. Activate the plugin from Admin > Plugins menu.
  3. Once activated you should check with Settings > Multiple Post Types Order
  4. Use MPT Order # link which appear into each post types section to re-order.

Tanya Jawab

Where can I find the settings configuration?

It is under Settings > Multiple Post Types Order.

How to apply the custom re-ordering on queries using only parameter

Include a ‘orderby’ => ‘meta_value_num’, ‘meta_key’ => ‘custom_order_type_snv_#’ parameter within your custom query.

How to apply the custom re-ordering on queries using query code

Check query code example below:
<?php $data = new WP_Query(
array( ‘post_type’ => ‘post’,
‘post_status’ => array( ‘publish’),
‘posts_per_page’ => -1,
‘orderby’ => ‘meta_value_num’,
‘meta_key’ => ‘custom_order_type_snv_1’,
‘order’ => ‘ASC’,
)); ?>
have_posts() ) : $data->the_post(); ?>

<?php wp_reset_query(); ?>

Can I also re-order multiple child posts from within the parent post?

Yes. When re-ordering any parent post will automatically re-orders its child posts with them after clicking “Save Order” button. Apart from this, you can also re-order child posts within in the same parent post.

My desired result is not displaying after re-ordering in Admin.

If desired results are not displaying on front-end after setting up re-ordering in admin, please click “Reset Order” once and set re-ordering again. This will solve your issue.

What if some of my old posts/pages/CPT’s are not displaying in MPTO Order options?

If previously or older posts/pages/cpts are not displaying then simply save/update it again.

Ulasan

24 Juni 2025
This plugin is a game-changer for managing custom post orders. I love how I can create multiple reordering interfaces for different post types — it’s flexible, user-friendly, and works seamlessly with complex content structures. The drag-and-drop interface is smooth and intuitive, and the ability to manage multiple custom orders independently is perfect for advanced use cases. Support was responsive, and the plugin is well-coded. Highly recommended for anyone needing fine-tuned control over post ordering! 💯
Baca semua 1 ulasan

Kontributor & Pengembang

“Flexible Custom Post Type Order” adalah perangkat lunak open source. Berikut ini mereka yang sudah berkontribusi pada plugin ini.

Kontributor