WordPress Quick Tips

Posts Tagged ‘navigation

Create a custom menu by creating your own Walker

Posted by: Vincent on: July 9, 2010

Alright, so I usually use wp_list_pages to create my menus. This usually works pretty well, but every now and then a project comes along that requires more than the functionality provided by the wp_list_pages function. So maybe you want a menu that should have a nested sub menu when viewing a page and/or child to [...]

Custom CSS class for your menu items

Posted by: Vincent on: February 4, 2010

When using the wp_list_pages function in WordPress you get a generated list of your WordPress pages. To be able to style them, the items get several CSS classes. Example: These classes work in most cases, but in thoose cases they don’t you can change the class by using the filter page_css_class. The function accepts two [...]


About

WordPress Quick Tips is a blog supplying great tips about WordPress.

We hope to create a great knowledge resource for WordPress developers as well as serving a reminder for all the forgetful ones.

The blog is created and run by Vincent of Oakwood Creative

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 86 other followers

Follow

Get every new post delivered to your Inbox.

Join 86 other followers