So I have been thinking about a blog redesign for a little while. I am not really happy with the current design so I have been keeping my eye on things that I like and how I can incorporate it into my design.
One of the things that has been catching my eye was the descriptive text in the WordPress menus of some sites. Some examples can be see in WooThemes in both the free BlogTheme and the commercial offering f0101 & Busy Bee. I also noticed Grid Focus a free WordPress theme that has the effect that I was looking for. The biggest thing that I noticed was they rewrote the wp_page_menu() function. Some of them rewrote the dynamic classes but missed a few(WooThemes). I knew there had to be a better way so I kept searching. I ran across ThemeShaper and the post WordPress Menu Tricks and it looks like John Kristian took this a giant step further to include options to add categories and drop down menus and more flexibility with his post A Smarter Menu for WordPress BUT these solutions required an additional function to be added to the WordPress template.
I knew there had to be a simpler way. Since we are using php in WordPress why can’t I rewrite the code as it is being generated by wp_page_menu()? There is a PHP function for just this called str_replace() that seemed like it would do exactly what I was looking for. Since I am not a programmer the next step was to look for aWordpress plug-in that used this function in some way. Just to get a hint as to how to do it. My searching came to Page Lists Plus a very well written plug-in that comes VERY close to what I wanted to so. You can read the description below.
Adds customization options to the wp_list_pages function which is used to create Page menus. Change the link text and title attributes, redirect, nofollow or unlink links, and remove links from page lists altogether, all through the WordPress dashboard.
So I hacked it and now I would like to make it available in a stripped down form.
This little plug-in will add a text field under your post, this is where you would add in your menu description text.
If all goes well this should be your result.
You must log in to access this file.
To download this file you must right click and select Save As
Download: Add Wordpress Menu Description (58)
To install this plug-in simply unzip the down loadable file into your plug-ins directory and activate
I would love to hear comments.
You can receive our articles for free on your email inbox, with more web design, template, CMS and blog tips.