Support » Networking WordPress » Global Navigation Across Site

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    just before the nav bar code put
    <?php switch_to_blog(1); ?>
    right after the navbar code put
    <?php restore_current_blog(); ?>
    then it will always show the pages from Blog #1.

    For example, anyway. 🙂

    To pull from multiple blogs, you;d have to do that a couple times for each one.

    But on a large site, the switch_to_blog function gets expensive.

    Thanks. It worked perfectly for my current needs. I don’t suppose their is a script (perhaps php) that checks for the number of blogs, and automatically switches and pulls categories/pages as needed?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Global Navigation Across Site’ is closed to new replies.