WordPress.org

Forums

[resolved] Multisite - ONE Menu Navigation! (7 posts)

  1. ShayPetrone
    Member
    Posted 3 years ago #

    Hello,

    I run a DJ business and I have changed to wordpress to run my website. I am scratching my head trying to figure out how to get multisite and my navigation menus to all be the same. I know what I want to do but I cant figure out how to do it. I want the navigation to appear as follows and links separated by the "|":

    Home | Media | DJ Services | Rentals | Testimonials | Contact

    I want that same menu to be on all my multisite pages and want the buttons to link as follows:

    Home: http://yummehent.com/vibe/
    Media: http://yummehent.com/vibe/media/
    DJ Services: ( a page thats not completed yet )
    Rentals: http://yummehent.com/vibe/rentals/
    Testimonials: http://yummehent.com/vibe/testimonials
    Contact: ( a page thats not completed yet)

    ---------------
    When I go to http://www.yummehent.com/vibe and view source I am able to find the following code:

    <div id="menu_navigation">
    <div id="menu-nav">
    <div class="menu">

      <li class="page_item page-item-2">Home<li class="page_item page-item-5">Media<li class="page_item page-item-7">DJ Services<li class="page_item page-item-9">Rentals<li class="page_item page-item-11">Testimonials<li class="page_item page-item-13">Contact
    </div>
    </div>

    That is the navigation code. I know if I change all the links there with the above posted links that I will have exactly what I want and can change all the code for each multi site on each multi site and have the code working perfectly!!!!!

    BUT I CAN NOT FIGURE OUT WHERE THE CODE IS!!!! I have tried everything I could think of and am not having any success!!!

    All I want to do is to be able to go to any of the multi site pages and all the links are the same no matter which multi site page you are on so that it looks like just one web page!

    Any help would be AWESOME! Thank you!

  2. ShayPetrone
    Member
    Posted 3 years ago #

    help! can an admin please remove my links and put example.com instead, I have started to get spammed from random people!

  3. esmi
    Forum Moderator
    Posted 3 years ago #

    Sorry - it is not policy to remove links from posts except in extreme circumstances. Being spammed isn't an extreme circumstance.

  4. ShayPetrone
    Member
    Posted 3 years ago #

    yes it is, just change the yummehent.com to example.com and your set! Lets not be gay about this.

  5. That is the navigation code. I know if I change all the links there with the above posted links that I will have exactly what I want and can change all the code for each multi site on each multi site and have the code working perfectly!!!!!

    BUT I CAN NOT FIGURE OUT WHERE THE CODE IS!!!! I have tried everything I could think of and am not having any success!!!

    In your THEME files.

    The code will not look the same as the rendered surce. you will see a php function called wp_list_menus.

  6. brentini
    Member
    Posted 3 years ago #

    This post is listed as resolved but I do not see an actual viable solution.

    Please remove the resolved tag on this thread until it is actually resolved with an answer that the community feels is a viable solution for all of us.

    Thank you for your cooperation and I look forward to reading the solution once someone shares it with the community.

    Best regards.

  7. Jeff Farthing
    Member
    Posted 2 years ago #

    How about:

    <?php
    switch_to_blog( 1 );
    wp_nav_menu(
        // Arguments
    );
    restore_current_blog();
    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags