Adding menu item manually in wp_nav_menu
-
In my theme there is a function for nav menus
function ct_nav() {
<nav>
<?php wp_nav_menu( array( ‘container_id’ => ‘nav’, ‘theme_location’ => ‘primary’) ); ?>
</nav>
}How could i add more item manually? using this function alone.
- The topic ‘Adding menu item manually in wp_nav_menu’ is closed to new replies.