Support » Plugin: CMS Tree Page View » ordering posts, not only pages PHP notices

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pär Thernström

    (@eskapism)

    I’m not planning to do anything do modify the output on the frontend. That’s up to you to fix that 🙂

    The notices I will take a look at… thanks for finding and making a screenshot.

    crysman

    (@crysman)

    Thanks for reply, but… what is changing order good for in the first place, when it does NOT change order in the frontend? It is only misleading and confusing. If you do not plan to implement ordering posts, then OK, but it should be disabled and/or not available at all…

    MattV

    (@mattv)

    @crysman: you can show the plugin´s page order by using menu_order in your queries. For example:

    $query = new WP_Query( array( 'orderby' => 'menu_order' ) );
    $pages = get_pages( array( 'sort_column' => 'menu_order' ) );
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ordering posts, not only pages PHP notices’ is closed to new replies.