WordPress.org

Ready to get started?Download WordPress

Forums

use one header.php for multi site (1 post)

  1. strandcreative
    Member
    Posted 3 months ago #

    Hi,

    We have a WordPress installation in the root directory.
    We are then having another 5 WordPress installs in different directories on the server so we can have different branches managing different content with separate logins.

    If we make changes to the header.php on the main site in the root, we woiuld like this to update on all the other 5 installs via an include file function. I've tried to use the include function to bring in the header.php from the URL but it doesn't work. Can you use a specific URL in the include function?

    <?php
    include('http://www.domain.com/wp-content/themes/themename/header.php');
    ?>

    Is there an easier method that I'm missing where we can get those changes to update on all the other installs via one header.php template?

Reply

You must log in to post.

About this Topic

  • RSS feed for this topic
  • Started 3 months ago by strandcreative
  • This topic is not resolved
  • WordPress version: 3.9.1