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?
- The topic ‘use one header.php for multi site’ is closed to new replies.