"In this section" links out of order

  • isomeme

    #9858

    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.

    isomeme

    #44761

    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?

    Admin

    Syahir Hakim

    #44762

    Hello,

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

    isomeme

    #44763

    Excellent, thanks very much.

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

  • You must be logged in to reply to this topic.