Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to be able to reorder posts and have them listed in this custom order from the category page.

I've downloaded and activated the Postmash plugin but am having problems with installation.

I've copied this text

<?php  
    $wp_query->set('orderby', 'menu_order');  
    $wp_query->set('order', 'ASC');  
    $wp_query->get_posts();  
?> 

into index.php as instructed, but I don't understand where I need to use this line of code

<?php get_posts('orderby=menu_order&order=ASC'); ?>

to reorder my posts on the category page.

Assistance would be much appreciated! TIA.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Used this Postmash plugin instead. Works perfectly without modifications to templates.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.