WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

postMash - custom post order

Customise the order your posts are display in using this simple drag-and-drop Ajax interface.

You no longer need to modify your template code in any way!!

Here is the old install info, not needed now, but maybe useful if you want to remove the old code from you template, but can't remember what you changed..

Open wp-content/themes/your-theme-name/index.php and find the beginning of ‘the loop’. Which will start: if(have_posts()). Then add the following code directly before this:

<?php  
    $wp_query->set('orderby', 'menu_order');  
    $wp_query->set('order', 'ASC');  
    $wp_query->get_posts();  
?>

This just tells WP to get the posts ordered according to their ‘menu_order’ position. Therefore you can get the posts ordered anytime you use a function such as get_posts simply by giving it the required arguments:

<?php get_posts('orderby=menu_order&order=ASC'); ?>

Checkout the get_posts() function in the wordpress codex for more info. Note that it says menu_order is only useful for pages, posts have a menu_order position too, it just isn’t used. postMash provides you with an iterface so that you can use it.

Requires: 2.1 or higher
Compatible up to: 2.8.4
Last Updated: 2009-8-12
Active Installs: 9,000+

Ratings

1 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

50,2,1
67,3,2
83,6,5
57,7,4
50,4,2
56,9,5
100,1,1
100,2,2
50,2,1
0,1,0
0,1,0
80,5,4
80,5,4
100,1,1
0,1,0
50,2,1
0,1,0