multisite with dynamic footer.php; same theme
-
I have few blogs running on a single multisite install, and want to use the same theme for all of them.
The catch: I want to vary the footer.php depending on what blog is being accessed.
i.e., if blog123 is accessed, one set of footer info/links is displayed, if blog 234 is accessed, another set is displayed, etc…
I assume the syntax would be similar to the conditional tags needed for the meta robots in the header (like below)
<?php if(is_single() || is_page() || is_home() || is_category()) { ?> <meta name="robots" content="index,follow,noodp" /> <?php } else { ?> <meta name="robots" content="noindex,noarchive,follow,noodp" /> <?php } ?>
but am unsure how to single out a single blog id or domain.
tks.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘multisite with dynamic footer.php; same theme’ is closed to new replies.