Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm trying to create a page for each of the categories i got in my blog and it should appear on the menu i got in Chunk theme.

the idea is to have a link to each of the categories which would guide you to something like this 'http://blog.direktio.com/category/business-intelligence/'

so I found out that wp_nav_menu is the one that creates the menus, and that it has a parameter named

'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>'

which allows me to add other stuff to the wrapping of the menu created by the function..

so te idea is to do something like this:

<?php wp_nav_menu( array( 'theme_location' => 'primary', 'items_wrap' => 'sssssss %3$s' ) ); ?>

so I would get a menu with some 'sssss' and then the usual list items....

but hey... it doesn't show 'sssss' at all... so the question here is why is this parameter items_wrap not working according to documentation

thanks in advance for any help

edit: as requested here is a link to the theme in question, hadn't include that since it is one of the default themes anyway... i don't think there is a real problem with the them per se, im reading wp_nav_menu docs (more) thouroughly now

edit2: found an answer.... lemme write it!

share|improve this question
add comment

closed as too localized by Tom J Nowell, Brian Fegter, kaiser, Wyck, Rarst Sep 27 '12 at 21:39

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 0 down vote accepted

after searching around a little, I found that (as you may have noticed) I'm a newbie in wordpress.... there is no need to screw with code to do this

I had never seen the "Menus" option in the administration side bar.... so ... go there and create a new menu...

from which you can put custom links, links to the categories, to the pages you already have and when you are happy with the result, just save it, and in the Theme locations little widget at your left, select which menu you want to go in which position in your theme.... and thats it....

if further ilustration is required ask me

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.