WordPress.org

Ready to get started?Download WordPress

Forums

Custom header for 2nd theme (1 post)

  1. payneardo
    Member
    Posted 3 years ago #

    Hi, I am trying to setup a second theme for a user if they use an ipad and got it working but wanted to know if it is possible for that theme to call a different menu that I have setup called "IpadMenu" so I can add diffeent pages etc to this menu.

    I have looked at the header.php for the ipad theme and can see the following text, can I edit this so it displays the 2nd menu I have created ?

    Thanks for Looking

    Cheers

    Dave

    <!-- START NAV -->
    		        <div id="nav" class="group">
    		            <?php
    						$yiw_options = array(
    		                    'theme_location' => 'nav',
    		                    'container' => 'none',
    		                    'menu_class' => 'level-1',
    		                    'depth' => 3,
    		                    //'fallback_fb' => false,
    		                    //'walker' => new description_walker()
    		                );
    
    		                wp_nav_menu( $yiw_options );
    		                ?>
    		        </div>
    		        <!-- END NAV -->

    [Please post code snippets between backticks or use the code button.]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags