WPMS Global Content

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,

  1. Extract downloaded zip file
  2. Upload ‘wpms-global-content’ directory to to ‘/wp-content/plugins/’ directory of WordPress
  3. 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.

wpms global content configurationThis plugin contains only 3 options.

  1. 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.
  2. Header Content : Add content you want to display in header.
  3. 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.

Tags: , , , , ,

20 Responses to “WPMS Global Content”

  1. Ramon
    December 30, 2011 at 1:16 am #

    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

  2. Ramon
    December 29, 2011 at 2:22 pm #

    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!

  3. Dave C
    October 3, 2011 at 7:38 pm #

    Great plugin! I’m wondering how I can stop it from stripping ?php tags though?

    • Neerav
      October 4, 2011 at 5:51 pm #

      Hi Dave,

      Its not possible to add PHP code upto latest version . I’ll try to add this feature in future release.

      Regards,
      Neerav

      • Logan
        October 24, 2011 at 1:36 am #

        I’d love to be able to include style tags in the html block. But it also strips those out.

        • Neerav
          December 30, 2011 at 5:17 pm #

          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

  4. Dani
    September 20, 2011 at 4:20 am #

    Hi,

    is there anyway to deactivate this plugin for the main site, but have it active on all the sub-sites or blogs?

    • Neerav
      December 30, 2011 at 5:20 pm #

      Hi Dani,

      There is option to exclude particular blog. Most probably main site id is 1. Hope this will help.

      Regards,
      Neerav

  5. Jim
    July 8, 2011 at 1:58 am #

    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?

    • Neerav
      July 8, 2011 at 5:03 pm #

      Hi Jim,

      Thanks for notifying me about this issue. I’ll look into it and will release fixed version by this weekend.

      Cheers,
      Neerav

    • Neerav
      July 9, 2011 at 6:23 am #

      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

      • Jim
        July 11, 2011 at 3:36 pm #

        Thanks! I’ll upgrade ASAP and report back if I encounter any further issues. Cheers.

  6. Jim
    June 21, 2011 at 10:19 pm #

    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. :-\

    • Neerav
      July 6, 2011 at 3:30 pm #

      Hey Jim,

      thanks for taking time to share it here. I have updated documentation.

      Regards,
      Neerav

  7. Pau
    June 20, 2011 at 10:13 am #

    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

    • Pau
      June 20, 2011 at 10:40 am #

      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!

      • Pau
        June 20, 2011 at 11:38 am #

        OK, I said nothing. I’ve just found out that users have no access to «extensions» tab.

  8. Aaron
    May 26, 2011 at 3:35 pm #

    Exactly what I was looking for.

    Thanks mate!

    Keep up the good work.

Leave a Reply

You must be logged in to post a comment.