Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Your plugin already does this…
    //Output non hierarchical posts
    $post_query = new WP_Query(
    array(
    ‘post_type’ => $this->post_type,
    ‘posts_per_page’ => -1,
    ‘orderby’ => ‘menu_order’, /*this line sets to “menu_order”*/
    ‘order’ => $this->order,
    ‘post_status’ => $this->post_status,
    )
    Please tell me where else this must be set (what .php file in the build?)

    Ryan,
    I am trying to use this plugin to simply reorder single posts by the order that I put them in using your drag and drop listing of my single posts…NOT by date. This doesn’t work. Can you please explain in detail what needs to be changed to make this work. I do not write PHP so I need to know which file to modify and what to change. I tried adding mhamann’s code…
    $wp_query->set(‘orderby’, ‘menu_order’);
    $wp_query->set(‘order’, ‘DESC’);
    $wp_query->get_posts();

    this didn’t do anything. By the description of the plugin I would figure it would just reorder by the listing from top to bottom where I place them.

    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(
    array(
    ‘post_type’ => $this->post_type,
    ‘posts_per_page’ => -1,
    ‘orderby’ => ‘menu_order’,
    ‘order’ => $this->order,
    ‘post_status’ => $this->post_status,
    )

Viewing 3 replies - 1 through 3 (of 3 total)