Posts are usually listed in reverse chronological order as they are often used for posting regular time-orientated content.
postMash lets you customise the order your posts are listed in using it’s simple Ajax drag-and-drop administrative interface. Plus it gives quick access to toggle posts between draft and published states. Particularly useful if you’re using WordPress as a CMS.
It now no longer requires any modifications to your template code. If you disable postMash your post will go back to your usual ordering.
Currently only available in english.
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.
If you have any questions or comments, please drop me an email: http://joelstarnes.co.uk/contact/
- None of it is working
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
Nope, not any more.
- Which browsers are supported
Any good up-to-date browser should work fine. I test in Firefox, IE7, Safari and Opera.
No hay reseñas para este plugin.
Colaboradores & Desarrolladores
“postMash – custom post order” es software de código abierto. Las siguientes personas han contribuido a este plugin.Colaboradores
¿interesado en el desarrollo?
Historial de cambios
- No longer requires modifcation to your template
- Correctly locates plugin directory, in case you’ve relocated it
- Updated menu position for WP2.7
- Better install instructions
- Fixed incorrect case in the path name to saveList.php
- Initial Release