WordPress.org

Forums

CMS Tree Page View
[resolved] query_posts, 'orderby' to match CMS Tree Page order (3 posts)

  1. mrjonnywood
    Member
    Posted 2 years ago #

    I'm using CMS Tree Page View to order pages on my site. On some pages I also have the excerpt from child pages listed using query_posts

    The problem I have is that the order of my child page excerpts do not match the order of the menu. I've tried every variation of orderby but nothing seems to match.

    Is there a way to do this?

    You can see an example of the page here.

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

  2. mrjonnywood
    Member
    Posted 2 years ago #

    Never mind, I found the solution:

    query_posts(array(
    'orderby' => 'menu_order',
    'order' => 'ASC'
  3. Little Boy Running
    Member
    Posted 2 years ago #

    Brilliant! Thank you jwoodcreative, that's exacly what I was looking for!

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