Child Page Order ('orderby')

  • Anonymous

    #1835

    I just started using WP + Graphene and I wanted to be helpful and support this great theme.

    My issue was with loop-chldren.php r197 line 16. The orderby statement was ignoring the page order I had set. However, the issue seemed to resolve itself by changing:

    'orderby' => 'menu_order, title',

    to

    'orderby' => 'menu_order', 'title',

    I hope this information is useful.

    Admin

    Syahir Hakim

    #17268

    The correct syntax is actually:

    'orderby' => 'menu_order title',

    I’ve fixed this and will be in the next update.

    hanabel

    #17269

    I’ve been using the Graphene theme to build a site for a client (it’s really great–thank you!). I built a child theme. All has been well until today, when I changed the order of a child page, and my whole navbar then re-ordered and is ignoring my set page order. When I switch to another theme the page order is correct. When I switch to the Graphene base theme, the page order is broken the same way, so I know it’s not my child theme. Is this the same issue?

    hanabel

    #17270

    Just wanted to clarify: the mis-ordered pages are the top level pages in the top main navbar. So perhaps this is a separate issue?

    The problem did occur after I changed the order of two child pages of a top-level page, oddly.

    Anonymous

    #17271

    Hi hanabel,

    Are you using Graphene 1.5.3?

    If so, please see this post for your fix:

    https://forum.graphene-theme.com/graphene-support/update-to-153-menu-order

    hanabel

    #17272

    Josh,

    Thank you so much. I really appreciate it!

    Johanna

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!