Howdy,
Glad to release yet another plugin named ‘WPMS Global Content’. You can download it from http://wordpress.org/extend/plugins/wpms-global-content/
Its quite easy to install,
- Extract downloaded zip file
- Upload ‘wpms-global-content’ directory to to ‘/wp-content/plugins/’ directory of WordPress
- Activate plugin through the ‘Plugins’ menu in WordPress
Once you activate the plugin, you will find a link named ‘WPMS Global Content’ in your ‘Settings’ tab of root site of wordpress multisite network.
Clicking on this link will open configuration page for the plugin as per below image.
This plugin contains only 3 options.
- Exclude Following Blogs : Add a list of comma separated blog ids on which you don’t want to show global header/footer, plugin won’t add global header/footer to that blogs.
- Header Content : Add content you want to display in header.
- Footer Content : Add content you want to display in footer.
Header content will be inserted in html div tag with ID ‘wpmsgcheader’ and footer content will be inserted in html div tag with ID ‘wpmsgcfooter’.
You can use this ids to add suitable css style.
That it for the documentation part
. If you have any suggestion or find any bug, fill free to drop comment.


Please disregard my previous comment. Now it seems to work well with plugin Use Google Libraries.
In another domain does not work, but this goes well.
Regards
I have tested it with WordPress 3.3, and it works perfectly.
But it has conflict with Use Google Libraries plugin.
With this plugin activated, the head content and footer content goes both to the footer area.
Desactivating this plugin all works fine.
Thank you very much for this great plugin!
Great plugin! I’m wondering how I can stop it from stripping ?php tags though?
Hi Dave,
Its not possible to add PHP code upto latest version . I’ll try to add this feature in future release.
Regards,
Neerav
I’d love to be able to include style tags in the html block. But it also strips those out.
Hi Logan,
You can add css in your theme stylesheet for time being. I’ll try to add such facility in upcoming version.
Regards,
Neerav
Hi,
is there anyway to deactivate this plugin for the main site, but have it active on all the sub-sites or blogs?
Hi Dani,
There is option to exclude particular blog. Most probably main site id is 1. Hope this will help.
Regards,
Neerav
Hello again. Activating wpms-global-content after updating to WP 3.2 (Multisite) generates the following error:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘wp_tiny_mce_preload_dialogs’ was given in /home/username/public_html/wp-includes/plugin.php on line 405
Deactivating the plugin eliminates the error. Any chance an update is in the works?
Hi Jim,
Thanks for notifying me about this issue. I’ll look into it and will release fixed version by this weekend.
Cheers,
Neerav
Hi Jim,
Just released updated version with fixes for version WordPress version 3.2 and improved options panel.
Hope you will like it.
Cheers,
Neerav
Thanks! I’ll upgrade ASAP and report back if I encounter any further issues. Cheers.
Very nice! Testing this on a new WPMS network now and so far so good… You just might want to clarify in the docs that the plugin must be “Network Activated” for the header/footer to appear on all sites. Perhaps obvious to some, but I followed your instructions at first. :-\
Hey Jim,
thanks for taking time to share it here. I have updated documentation.
Regards,
Neerav
Hi,
I’ve noticed that all the websites on the network can edit access to the extension, not only the main website. How can I avoid this?
Thanks!
Pau
Well, Ok, it seems the users cannot edit the global fields but they can deactivate the extension. How can I avoid them to do so?
Thanks!
OK, I said nothing. I’ve just found out that users have no access to «extensions» tab.
Exactly what I was looking for.
Thanks mate!
Keep up the good work.
Thanks Aaron. Glad you like it
My Plesure!