Support » Plugin: Simple Page Ordering » Messes up hierarchical ordering

  • Using 2.2.4

    Background: I’ve been tasked to manage a few WordPress based sites, and in order to make WordPress function like a makeshift CMS I’m using a combination of plugins reach the required functionality. For example, I am using “Flexi Pages Widget” to create contextual secondary navigation in the sidebar, and “Dynamic Widgets” to make the right navigation widget show on the right pages. In combo with “Simple Page Ordering” and a hierarchy of pages I am able to emulate a simple CMS for a lightweight website.

    Consider the following web site structure. The numbers in parenthesis are the “Order” attributes for each page, as I specified them when I did it manually:

    – ACME Start Page (10)
    – Our products (20)
    – – Evil Anvil (21)
    – – Perfect Poison (22)
    – Contact us (30)

    The contextual sidebar navigation for all the Products pages will then look like this:

    Our Products
    Evil Anvil
    Perfect Poison

    The problem: Let’s say I use “Simple Page Order” to drag “Perfect Poison” to before “Evil Anvil”, then the new “Order” attributes will be:

    – ACME Start Page (10)
    – Our products (20)
    – – Perfect Poison (1)
    – – Evil Anvil (2)
    – Contact us (30)

    And the sidebar navigation will look like:

    Perfect Poison
    Evil Anvil
    Our Products

    Which, of course, is messed up because “Our Products” must be the top item in the menu, or it doesn’t make sense.

    It would be really nice if “Simple Page Ordering” could handle the hierarchical structure better.

    Of course, I realize the problem might fundamentally lie in the “Flexi Pages Widget” plugin, blindly using the “Order” attributes without respecting underlying hierarchy.

    https://wordpress.org/plugins/simple-page-ordering/

Viewing 1 replies (of 1 total)
  • kevcenteno

    (@kevcenteno)

    +1

    It looks like SPO isn’t updating the menu_order of parent items, meaning that parent items can potentially have a menu_order value that puts them below its children items

Viewing 1 replies (of 1 total)
  • The topic ‘Messes up hierarchical ordering’ is closed to new replies.