Is there a global header plugin that can keep all (sub) sites looking like they are a part of my "network" regardless of what kinds of customizations people do with their individual site?
Is there a global header plugin that can keep all (sub) sites looking like they are a part of my "network" regardless of what kinds of customizations people do with their individual site?
A global header would typically best be done via the theme you're using. If you're using a variety of themes of course, that could be a bit difficult.
Really though, I think the theme is the best way to accomplish that and it would be easily done too, by simply hard-coding an image/url in the theme's header and removing any header settings from the theme (to avoid confusion on the user's part).
Alternatively, using the Custom Admin Bar, you could add in a graphic image and link(s) to your admin bar. That's another way of branding the experience. http://premium.wpmudev.org/project/custom-admin-bar
Well I want a news feed and links in the header. I'm putting this one on the custom theme development specs that I will be asking one of you to help me with down the road.
@y3kgeek I use this plug "WPMS Global Content" to add my Google adsence to the top and bottom of blogs and i think it is just the think your looking for as you can add any thing in there.
If you are using BuddyPress on your site, you may want to consider putting a function that does what you want into a bp-custom file, and then using the add_action( 'bp_head', 'your_function' ); hook. This will allow you to have your function executed throughout your network where the bp_head action is called. You can have any sort of HTML in there.
For example, I develop locally using MAMP and altering my host file. Just to make sure I'm not mistakenly working on a live site, I put the following into my bp-custom.php file:
This adds a red bar across the top of every page of every subsite that says "LOCAL DEVELOPMENT" - and let's me know right away that I've got MAMP running, and am working locally. You could experiment with this to include some sort of branding element that works for you.
Responses (4)
WPMU DEV Fanatic — 25th October 2011 18:16 #
Hi y3kgeek,
A global header would typically best be done via the theme you're using. If you're using a variety of themes of course, that could be a bit difficult.
Really though, I think the theme is the best way to accomplish that and it would be easily done too, by simply hard-coding an image/url in the theme's header and removing any header settings from the theme (to avoid confusion on the user's part).
Alternatively, using the Custom Admin Bar, you could add in a graphic image and link(s) to your admin bar. That's another way of branding the experience.
http://premium.wpmudev.org/project/custom-admin-bar
Hope this helps!
-David
Member — 25th October 2011 20:27 #
Well I want a news feed and links in the header. I'm putting this one on the custom theme development specs that I will be asking one of you to help me with down the road.
Member par excellence — 26th October 2011 20:10 #
@y3kgeek I use this plug "WPMS Global Content" to add my Google adsence to the top and bottom of blogs and i think it is just the think your looking for as you can add any thing in there.
I have to say it is not the best but it works :)
Member — 26th October 2011 20:25 #
If you are using BuddyPress on your site, you may want to consider putting a function that does what you want into a bp-custom file, and then using the add_action( 'bp_head', 'your_function' ); hook. This will allow you to have your function executed throughout your network where the bp_head action is called. You can have any sort of HTML in there.
For example, I develop locally using MAMP and altering my host file. Just to make sure I'm not mistakenly working on a live site, I put the following into my bp-custom.php file:
This adds a red bar across the top of every page of every subsite that says "LOCAL DEVELOPMENT" - and let's me know right away that I've got MAMP running, and am working locally. You could experiment with this to include some sort of branding element that works for you.
Become a member