WordPress.org

Forums

CMS Tree Page View
Order Pages (2 posts)

  1. S_Mvh
    Member
    Posted 2 years ago #

    My site is still not sticking to the ordering of the pages in the Dashboard>Tree View.

    Where am I confirming/inserting the required code (shown below)?
    (I am new to WP and editing the files, so forgive me...)
    TY!Bets plug-in, btw. <3

    // Example using query_posts
    $args = array(
    'orderby'=> 'menu_order',
    'order'=>'ASC',
    'post_type' => 'page',
    );
    $posts = query_posts($args);

    // Example using wp_query
    $query = new WP_Query( array( 'post_type' => 'page', 'orderby' => 'title menu_order', 'order' => 'ASC' ) );

    http://wordpress.org/extend/plugins/cms-tree-page-view/

  2. Francesco Canovi
    Member
    Posted 2 years ago #

    I halso have problems with the plugin and the page sort order.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • CMS Tree Page View
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.