Reorder Posts
[resolved] Not changing post order on the front end (3 posts)

  1. Pam Patterson
    Posted 3 years ago #

    I am interesting in re-ordering regular posts - I have the admin menu item and can drag and drop the posts into the needed order but that order is not reflected on the front end. What am I missing?
    Thanks for your help


  2. Ronald Huereca
    Plugin Author

    Posted 3 years ago #

    You'll need to sort by menu_order when outputting. There are more details here: http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters

  3. kensnook
    Posted 3 years ago #

    I also installed this and I need to reorder single posts on a static page.
    I can drag-n-drop the list in the correct order but it does not show the results in the page. Ronald says he resolved the issue by posting a link with any instructions what so ever? The Plugin installs "class-reorder.php" which sets the "'orderby' => 'menu_order'" already. The link Ronald posted explains to do this but it is already done and the plugin still doesn't reorder anything. Please post EXACT instructions on how to resolve the issue for non-programmers please.

    This is the snip of code from the plugin...if it needs to be set in another .php file in the build please advise.

    //Output non hierarchical posts
    $post_query = new WP_Query(
    'post_type' => $this->post_type,
    'posts_per_page' => -1,
    'orderby' => 'menu_order',
    'order' => $this->order,
    'post_status' => $this->post_status,

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Reorder Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.