WordPress.org

Ready to get started?Download WordPress

Forums

Adding menu item manually in wp_nav_menu (1 post)

  1. Code Metic
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.