Title: Menu order bug
Last modified: January 12, 2021

---

# Menu order bug

 *  [uniqcode](https://wordpress.org/support/users/uniqcode/)
 * (@uniqcode)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/menu-order-bug/)
 * Hi
    Thanks for the plugin.
 * There appears to be a bug that prevents the Item Order options from working –
   taxonomy items are always shown in the same order in the menu, no matter which
   order is chosen in the settings.
 * The problem appears to be that DynTaxMI_Plugin_DynTaxMI::get_taxonomy_defaults()
   sets a default value of ‘ordering’ which overwrites the ‘order’ and ‘orderby’
   that are subsequently read from the options.
 * I fixed it by commenting out this line in that function:
    `'ordering' => 'topic_count-
   desc',`
    -  This topic was modified 5 years, 4 months ago by [uniqcode](https://wordpress.org/support/users/uniqcode/).

The topic ‘Menu order bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/dynamic-taxonomy-menu-items.svg)
 * [Dynamic Taxonomy Menu Items](https://wordpress.org/plugins/dynamic-taxonomy-menu-items/)
 * [Support Threads](https://wordpress.org/support/plugin/dynamic-taxonomy-menu-items/)
 * [Active Topics](https://wordpress.org/support/plugin/dynamic-taxonomy-menu-items/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dynamic-taxonomy-menu-items/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dynamic-taxonomy-menu-items/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [uniqcode](https://wordpress.org/support/users/uniqcode/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/menu-order-bug/)
 * Status: not resolved