Return to Bug Report

"In this section" links out of order

Home Forums Graphene Mobile Neo Bug Report "In this section" links out of order

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9858
    isomeme
    Member

    When a page has child pages, most themes list the links in order by the page order number attribute. This is often important when the child pages form a logical sequence. In GMNeo, the default menu follows the proper order, but the on-page links to child pages are in another, seemingly random order.

    #44761
    isomeme
    Member

    I have found (and locally fixed) the bug. In loop-children.php, line 13 in the current code is

    ‘orderby’ => ‘menu_order, title’,

    The comma shouldn’t be there; the correct version is

    ‘orderby’ => ‘menu_order title’,

    Should I submit a patch or something?

    #44762
    Syahir Hakim
    Keymaster

    Hello,

    Thanks for reporting the bug (and providing the fix!). We’ll include the fix in the next update.

    #44763
    isomeme
    Member

    Excellent, thanks very much.

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

You must be logged in to reply to this topic.