Remote themes?
-
I’m sure it can be done so here goes:
Trying to host one theme for two WP installs. Wanting/needing to only have one set of theme files to edit (for obvious reasons). I can get around rerouting the css to the master css file with an at import rule. But what about the php theme files. How do you call templates out of a different install.
In other words, how do you define an absolute url location that is outside of the install in this line of example line of code:
<?php include (TEMPLATEPATH . '/header.php'); ?>
I’ve tried
<?php include (TEMPLATEPATH . 'https://mysite.com/wp-content/themes/header.php'); ?>
and it doesn’t work.Thanks in advance for help you php gurus.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Remote themes?’ is closed to new replies.