Home Plugins my posts order
My Post Order logo

My Post Order

by Kapil Chugh on WordPress.org

A plugin which allows you to sort posts, pages, custom post type in ANY order and display the same in your sidebar.

(7)
Add new section based on select posts individually criteria.

Add new section based on select posts individually criteria.

While WordPress allows you to make your posts sticky, or even sort them in ascending or descending order, sometimes this is just not enough. What if you want to display the posts in ANY order you need? Unfortunately there is no such functionality in WordPress, which is where this plugin saves the day.

This plugin works on sections of posts, which you can define based on the following three criteria:

  1. Select posts individually : You can use the drag-and-drop feature to rearrange posts in ANY order.
  2. Select a category : You can also select posts from any category and change the posts order.
  3. Show XML/RSS Feed : Here you just need to give the URL of XML Feed and it will fetch latest feed/posts.

You can display ordered posts in theme with query_posts or get_posts or WP_Query like this :
query_posts(‘section_name=NAME_OF_SECTION’);

Here NAME_OF_SECTION must be replaced with your actual section name. If no section found with mentioned name then nothing will change.

OR

Once the sections are created, you can display these posts using widgets.

  • If you are using custom template option in widget then template file should be placed in custom-templates folder of your plugin (/wp-content/plugins/my-posts-order/includes/custom-templates/loop.php) and (/wp-content/plugins/my-posts-order/includes/custom-templates/loop_rss.php).

Now wasn’t that easy!

Active installations500+
Weekly downloads
18-18.18%
Version1.2.1.1
Last updated1/11/2013
WordPress version3.0
Tested up to3.5.2
Tags
arrange post ordercustom post ordercustom post typepage ordersort post