WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Page sorting issue

[Resolved] Page sorting issue

  • I’ve searched for this issue and can’t seem to find the answer anywhere, so please bare with me if this has been covered.
    I’ve created a header and footer navigation menu using wp_list_pages to automatically pull from the pages I’ve set up. I’ve ordered them using the order number on each page and have included (‘sort_column=menu_order&title_li’)
    However I have to order them in reverse on the individual pages to get them to show up in the correct order of my header navigation, but for some reason it then reverses the order in my footer navigation. I’m at a complete loss as to why it would be doing this.

    Any help would be appreciated.

    Cheers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    @esmi

    Forum Moderator

    Does your theme using floats to create the menus? Sounds like it uses float:right; on the top menu and float:left; on the bottom menu.

    Wow, thank-you! I would never have thought to look at my floats. That solved it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Page sorting issue’ is closed to new replies.
Skip to toolbar