WordPress.org

Ready to get started?Download WordPress

Forums

Simple Page Ordering
Pages listed in exact opposite order (3 posts)

  1. Anointed
    Member
    Posted 2 years ago #

    I've noticed that I have to move the sub-pages around in the exact opposite order to get them to display on the front end the way I would expect.
    using WP_Query('posts_per_page=-1&post_type=section&orderby=menu_order&order=ASC....
    While the top level parent pages seem to respect the ASC the sub-pages don't seem to.

    Menu screenshot:
    http://screensnapr.com/v/dNB1Ff.png

    Front end:
    http://screensnapr.com/v/zUaswC.png

    notice the sub-pages offset

  2. Dzikri Aziz
    Member
    Posted 2 years ago #

    Hi,

    I'm not the plugin author, but I think this is the expected behaviour of the current state of the plugin. It doesn't support child pages yet, so it would set the orders in one level only.

    On the other hand, to get what you need, you will have to set the child pages orders completely separated from the first-level pages, so 'General Settings' should be set to 0, and 'Activate bbPress...' should be set to 1.

    HTH, and for the plugin author, please correct me if I's mistaken :)

  3. Jake Goldman
    10up Engineer
    Plugin Author

    Posted 2 years ago #

    Not true - the plugin fully supports child pages. The only thing it doesn't support is dragging and dropping pages into different levels in the hierarchy.

    Not sure why your sub pages aren't ordering correctly. Wonder if there's a conflicting plug-in.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic