The MU forums have moved to WordPress.org

Add script to every theme (2 posts)

  1. nroot
    Member
    Posted 16 years ago #

    Is there some place I can put the JavaScript so that it will always execute, regardless of custom theme/templates?

    We've got a 30+ user MU installation where people are free to customize & create their own themes. But I've got a piece of JavaScript (web stat tracking ping) that I'd like to ensure is *always* executed on every page render. I really don't want to have to run around asking people to put it into their custom themes.

    Tnx- N

  2. drmiketemp
    Member
    Posted 16 years ago #

    Maybe a plugin added to the mu-plugins subdirectory...

About this Topic

  • Started 16 years ago by nroot
  • Latest reply from drmiketemp