If you have worked with WordPress for any amount of time, you have probably come across a small bug in the system. This bug is the inability to sort pages using the Page Order feature in WordPress. The plugin I’m going to tell you about allows you to manipulate the order of pages as long as the template you are using supports the wp_list_pages function. If you don’t know what that means, let me explain. The pages that are listed on your WordPress page are stored in a database. There is a function inside of WordPress that allows the developer of your template to get the pages. That function is called wp_list_pages. Sometimes, however, developers decide to use a direct query of the database to get the pages. In this case, they may create their own statement to get the pages instead of using wp_list_pages. If they have, your template will not work with this plugin unless the function that pulls the pages for your template is changed. You can often look in the header.php file to see how the pages are pulled - using the function or using a direct database query.
If you see the wp_list_pages function, you should change the sort order so that it looks like this:
<?php wp_list_pages(’sort_column=menu_order’); ?>
Click on this line to get the ShiftThis WordPress Page Order Plugin!
Enjoy!
Popularity: 18% [?]





























Be The First To Comment
Related Post
Please Leave Your Comments Below