![]() |
I want to add category 'descriptions' to my main navigation (list categories) for a theme I am working on.
I am building this theme on WordPress 3.0, and would like to utilize the wp_nav_menu functionality, but cant seem to get it to display the category description as well.
The end goal is to do something like this - http://www.woothemes.com/demo/papercut/
Using the new menu navigation tool in wp 3 and have it display my categories, but also have it display each category description. I already have everything worked out except getting it to display the category descriptions.
Here is my current html structure for this area:
[[LINK href="http://pastie.org/993046"]]View Code[[/LINK]]
Solution - 1I was going to publish a similar tutorial in my site in a few days. Here's the modified code of it, to insert description inside em Will produce
Solution - 2can i help you? you want to show the category description? or you want to show the description of the nav_menu witch is relates to the category? Solution - 3Try this where 5 is the cat ID. |
Wordpress |
Type: | Code Example |
Category: | Coding |
Sub Category: | Code Example |
Uploaded by: | Admin |
Views: | 6 |