=== postMash - custom post order ===
Contributors: JoelStarnes
Tags: order posts, ajax, re-order, drag-and-drop, admin, manage, post, posts
Requires at least: 2.1
Tested up to: 2.6
Stable tag: 1.0.1
Customise the order your posts are display in using this simple drag-and-drop Ajax interface.
== Description ==
Customise the order your posts are listed in with this simple Ajax drag-and-drop administrative interface with an option to toggle the post between draft and published states.
Feedback is greatly appreciated: http://joelstarnes.co.uk/contact
== Installation ==
1. Download Plugin
1. Unzip & Upload to `/wp-content/plugins/`
1. Activate in 'Plugins' admin menu
1. Then have fun..
By default posts are shown in reverse chronological order, to show the posts in the order you set in postMash you will need to use different code to display your posts. The important bit is that 'orderby' is set to 'menu_order' as in the following example.
`
function wp_cat_posts( $catID = 0 ) {
$catID = (int) $catID;
$posts = get_posts(array('category' => $catID, 'numberposts' => -1, 'order' => ASC, 'orderby' => menu_order));
foreach( (array) $posts as $post ) {
echo '' . $post->post_title . '
';
}
}
`
== Frequently Asked Questions ==
If you have any questions or comments, please drop me an email: http://joelstarnes.co.uk/contact/
= None of it's working =
The most likely cause is that you have another plugin which has included an incompatible javascript library onto the postMash admin page.
Try opening up your WP admin and browse to your postMash page, then take a look at the page source. Check if the prototype or scriptaculous scripts are included in the header. If so then the next step is to track down the offending plugin, which you can do by disabling each of your plugins in turn and checking when the scripts are no longer included.
= Do I need any special code in my template =
Yes, by default posts are shown in reverse chronological order, to show the posts in the order you set in postMash you will need to use different code to display your posts. Look in the install section for an example.
= Which browsers are supported =
Any good up-to-date browser should work fine. I test in Firefox, IE7, Safari and Opera.
==Change Log==
= 0.1.1 =
- Fixed incorrect case in the path name to saveList.php
= 1.0.0 =
- Initial Release
== Localization ==
Currently only available in english.