![]() |
I've been slicing a design for a WP theme and realized that I have a bit of an issue. Have a look at the following two pages:
Features Page:
http://bit.ly/gQQvDR
Single Feature Page:
http://bit.ly/gwb1Z0
On both pages there is a secondary navigation near the bottom. You'll notice that on the second page I need to change the color of the current page's nav element to that secondary navigation. But, since the navigation also needs to have and associated location printed below it, I'm not sure the best way to build this.
Is there a way to append content to the navigation which can be displayed below the nav element? Is there a better way to accomplish this? I can't seem to wrap my head around it.
Thanks for the help
Solution - 1When you are at the Appearance > Menus Site you need to look at the top right and you will notice a “Screen Option” tab. Click it and you will get the option to display several other input fields for each menu item, among them a checkbox to show the description. To edit the output of the content, open your functions.php and paste:
Hope this is what you wanted. Source: http://www.kriesi.at/archives/improve-your-wordpress-navigation-menu-output Solution - 2If you create a custom menu from the menu tab you can wrap the locations in a span tag directly in the label field. Ex: Brooke & Edoard Aspen, Colorado. You can even put a break tag in there if you want. |
Wordpress |
Type: | Code Example |
Category: | Coding |
Sub Category: | Code Example |
Uploaded by: | Admin |
Views: | 7 |