• Resolved rhodesyman

    (@rhodesyman)


    Hi,

    I’ve found a bug which stops custom post types ordering by anything else except date. When selecting any other order options in the menu admin panel, it doesn’t change the wordpress query’s orderby attribute. After some digging I found the problem in the jc-submenu/walkers/SubmenuWalker.php file at line 425 and line 489.

    They read:
    ‘order_by’ => $orderby

    but should read:
    ‘orderby’ => $orderby

    Just wanted to share this in case it helps anyone else!

    Cheers.

    http://wordpress.org/plugins/jc-submenu/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Post Order Bug’ is closed to new replies.