Hi,
the primary menu is generated in template menu-primary.php. The menu items are displayed to the user just if you have some menu with items associated.
I didn’t understand very well what Do you mean by ‘adding | pipe between them. Anyway, the
<li>
tags are generated by the WordPress function ‘wp_nav_menu’.
http://codex.wordpress.org/Function_Reference/wp_nav_menu
Thanks. What I meant by adding the sign pipe between the items was creating for example :
About | Contact us | Company
With no access to the list itself I could not do that.
Do you have a solution how do i do that when the list is inside a php command?
This is something that you should do with css beside changing the theme templates.
For example, I would add right borders of each menu item, something like:
#menu-primary li a {
border-right: 3px solid red;
}
This example is just and example, so you can play with it and others (background, margin, padding and others) until you have something next to wat you need.
Another option is using the :after and content… I can’t test it right now, but would be something like this:
#menu-primary li a:after {
content: '|';
}
Did you get the idea? I’m sure that what you want would be done better with css beside changing php templates 🙂