WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

    $wp_query->set('orderby', 'menu_order');  
    $wp_query->set('order', 'ASC');  

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
up vote 0 down vote accepted

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

share|improve this answer

Your Answer


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.