Simpler, More Consistent WordPress Navigation Walkers

There are a lot of classes used in wp_list_pages as well as wp_nav_menu and they aren’t consistent from one to the other. Here I’ve provided a couple of walker classes as well as a sample and some explanation to tighten things up and make them a little easier to style. They could also be used to customize the output to match classes used by frameworks like Twitter’s Bootstrap and Zurb’s Foundation.

Read More