Category: Wordpress
WordPress Nav Menus Redux
A couple of weeks ago I showed you how to add your own ‘Home’ link to a WordPress nav menu, and also add special classes to the last menu item.
Today’s post is an update, with improved code and information on when it needs to be applied. Enjoy.
How To Add Your Own Classes To The Last Item In A WordPress 3 Nav Menu
I’ve come across another minor obstacle with WordPress 3′s new navigation menu functionality – it doesn’t automatically add a class to the last menu item
.
However, a new site I’m building requires this, so I’ve written a short (and ugly) little function and thought I might as well share it with you.
How To Add A Home Link To A WordPress 3 Nav Menu
Version 3 of WordPress introduced proper menu functionality, taking the world’s most loved blogging software one step closer to full CMS status.
However there seems to be one thing missing, which is the ability to add a ‘Home’ link to a menu.
Fear not though, because thanks to the built-in hooks functionality it’s a simple matter to add your own, which is what I’m going to show you how to do today.
Warning: Compilation failed in WordPress
- Jonathan
- 11th Aug 2009
- Development, PHP, Wordpress
I recently came across a strange new error message on a new install of WP 2.8.3
Warning: Compilation failed: characters with values > 255 are not yet supported in classes at offset 16 in wp-includes/shortcodes.php on line <line-number>
- Subscribe to our RSS feed currently serving 74 happy readers
- Follow @divisi0nby0 stay up-to-date with 40 other followers

