Scalable WordPress Navigation Using Sort Order

8 responses on “Scalable WordPress Navigation Using Sort Order

  1. Michael Waters

    Very nice. I was using the increments of to for the main and sub pages, but this approach clearly outlines the relationship between the main and sub menu pages.

    Like

  2. homeion

    Do you read my mind? This was on my next todo list to look into. Thanks.
    A couple og questions. You didn’t mention the drop down. I’ve got a theme that let sub-pages be on the drop down, but most don’t. Or at least those I’ve been using don’t. Do you use a plugin? I think I’ve heard of a script.
    The other question: some themes handle pages better than others. Let’s say if I have 5-7 pages, how do I find a theme that handles them?
    Thanks again.

    Like

  3. Jens Törnell

    Why not just build in a better sort order manager into WordPress core, like My Page Order Plugin.

    This plugin works great I think and something like this should be build into the code.

    Like

  4. Gary H

    I use the ‘My Page Order’ plugin, it’s got a nice drag n drop interface so you can move pages around to your heart’s content with no need to worry about those numbers any more!

    http://wordpress.org/extend/plugins/my-page-order/

    Like

  5. John Crenshaw

    I agree with Jens and Gary…My Page Order is indispensable and should be a part of the core. The numbers are just too much of a hassle to even use.

    Like

  6. Scott Ellis

    Homeion, Most themes I’ve used and built support drop downs though I know many don’t, this was clearly aimed at those that do. I don’t use a script per se for navigation, traditional html, css and javascript as necessary. As for how particular themes handle several pages, it’s hard for me to address in a simple answer since there are so many themes out there. I’m going to work on a tutorial about building a content map which might help a little. It also depends on how the pages are being used, all top level, mostly sub pages, …?

    Jens, You’ll have to talk to Automattic about building it into the core! I know from hearing Matt talk about the core several times that it is something the do only very sparingly in an effort to keep the WordPress core as slimmed down and flexible as possible leaving things like this up to plug-ins. It’s a conscious decision on their part.

    While I don’t personally use My Page Order I’ve seen it in action and it’s a great plug-in no doubt. Part of the reason for this tutorial is 1) just to give people an option and understanding of how to build scalable page navigation and 2) since I do WordPress work full time, we build the sites/themes to not over depend on Plug-ins since trying to future support every plug-in is just not practical. That’s definitely not a knock against your plug-in, I think it’s an awesome piece of work, I just prefer to build our themes as plug-in independent as possible.

    Unfortunately, it was a lesson learned from experience when a plugin we regularly used wasn’t compatible with a new version of WP and my phone started blowing up with client calls who’s websites started acting funny.

    Like

  7. Vid

    Great idea.

    Like

  8. john

    Scott,
    thanks for the tips. I am new to wordpress and I trying to convert my site over to a wordpress blog.
    thanks,
    John

    Like

Continue the discussion

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Published

July 29, 2009

Creating navigation which reflects the items you want in the order you want can seem a little tricky, but Scott Ellis demonstrates a simple solution that also provides great flexibility for adding future content without having to redo what you have done.

Rate this:

Speakers

Scott Ellis 3

Tags

navigation 4
pages 4

Language

English 2300

Download
MP4: Low
OGG: Low
Subtitles
Subtitle this video →
Follow

Get every new post delivered to your Inbox.

Join 11,816 other followers

%d bloggers like this: