• Hi,

    sorry for silly question, but i made wp menu like this:

    /* Další menu */
    
    function register_my_menus() {
      register_nav_menus(
        array( '1-hlavni' => __( '1. řádek hlavního menu' ), '2-hlavni' => __( '2. řádek hlavního menu' ))
      );
    }
    
    add_action( 'init', 'register_my_menus' );

    In Admin I can work with it. But I don`t really know how to implement it to the template.

    I tried this but it doesn`t work:

    <?php wp_nav_menu( array('1-hlavni')); ?>

    Thank you very much.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Show WP menu in header’ is closed to new replies.