=== Global Posts Ordering === Contributors: BASICS09, nonverbla Plugin Name: Global Posts Ordering Plugin URI: http://www.basics09.de/ Tags: post types, global, multiple, post, posts, page, custom post type, admin, drag-and-drop, simple, AJAX, manage, menu_order, order, ordering, re-order Author URI: http://www.basics09.de/ Author: BASICS09, nonverbla Donate link: http://www.nonverbla.de/ Requires at least: 3.0 Tested up to: 3.3.1 Stable tag: 0.9.2 Version: 0.9.2 Adjust the global order of posts from various post types via simple drag and drop. == Description == Yet another plugin for ordering posts? YES! This plugin makes it possible to adjust the global order of posts from different post types. Basically, it tries to get together the best functionalities of the superb plugins postMash and Simple Page Ordering. *Global Posts Ordering* uses the stand-alone admin options page of postMash for globally setting the order of posts and the very cool AJAX approach of 'Simple Page Ordering'. Best you test it yourself and see if it fits your needs. == Installation == * Install easily with the WordPress plugin control panel or manually download the plugin and upload the extracted folder to the `/wp-content/plugins/` directory * Activate the plugin through the 'Plugins' menu in WordPress * Open the file functions.php in your theme and put the following in there: ` if ( class_exists("global_posts_ordering") ) { $global_posts_ordering = new global_posts_ordering(array("my_post_type_1", "my_post_type_2", "my_post_type_3")); } ` You can include the built in post types 'post' and 'page' as well as custom post types. * Save the functions.php file. * You now should have a new top level Admin-Menu button saying 'Posts Order'. Click it and there it is, your global drag & drop ordering interface :) * Don't forget to set the "orderby" option, if you fetch your posts in your template, for example like this: ` $args = array( "post_type"=>array("my_post_type_1", "my_post_type_2", "my_post_type_3"), "orderby"=>"menu_order", "order"=>"ASC", "numberposts"=>-1 ); $posts = get_posts($args); ` Of course, there are many different ways to fetch posts in your template. It's only important to set the "orderby" to "menu_order" and "order" to "ASC". Other ways to get the posts ordered by menu_order are described on the postMash Installation Page * If anything doesn't work, please comment. == Screenshots == 1. Just drag the posts up and down to change their order == Changelog == = 0.9.2 = * Prevent the plugin from producing errors if no post types are given * CSS Tweaks = 0.9.1 = * resolved an error with localization = 0.9 = * Initial Release