mistaken
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Bento] bento_primary_menu() locationif any one else ever needs this answered
find this line in the ‘templates-tags.php’
in the ‘bento_primary_menu’ function
<div id=”nav-primary” class=”nav”>
remove the ‘nav-primary’ id, this appears to be how the location of the menu is controlled. now you can use a class or other id to style to your own needs.
Forum: Themes and Templates
In reply to: [Bento] bento_primary_menu() locationThank you. . .
now i am even more lost than i was before. I expected to go to this location and find html and maybe some controlling php for deciding which type of menu layout had been selected from the customize settings.
instead i find
wp_nav_menu(
array(
‘theme_location’ => ‘primary-menu’,
‘depth’ => $depth,
‘menu_class’ => ‘primary-menu’,
‘container_class’ => ‘menu-container’,
‘link_before’ => ‘<span class=”menu-item-inner”>’,
‘link_after’ => ‘</span>’,
‘fallback_cb’ => ‘false’,
)
inside a id=nav-primary. I am guessing that some of those variables are are loading from settings pulled in from some where else.
can you give me a clue where/how i might look either add or modify where the existing location is.