Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1379779
    ferdia
    Participant

    Hello,

    I’m having problem adding a top menu to my site.
    I’ve added this to my functions.php file

    // BEGIN SECOND MENU LOCATION
    function register_login_menu() {
    register_nav_menu(‘login-menu’,__( ‘login Menu’ ));
    }
    add_action( ‘init’, ‘register_login_menu’ );
    // END SECOND MENU

    Afterwars i added this code to ../x-child/framework/views integrity/wp-header.php
    <div id=”extra_menu”> <?php wp_nav_menu(array(‘theme_location’ => ‘login-menu’, ‘container_class’ => ‘woo_login_class’)); ?></div>
    <?php x_get_view( ‘global’, ‘_slider-above’ ); ?>

    You can see the results using this link: http://eye-site-testing.com/

    Two things are happening that i don’t onderstand.
    1.The new menu is not displaying in the menu’s locations in the backend.
    2. There is a list of all the pages in the website appearing from this menu.

    Thanks

    #1379876
    Rahul
    Moderator

    Hey There,

    Thanks for writing in!

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1379779 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>