While Wordpress provides a robust platform for web publishing requirements with many additional functions available as Plugins there are still software requirements that may not be catered for.
The Script Manager plugin for Wordpress allows you to easily add such additional sections of programming code known as scripts.
In many cases Script Manager avoids the need for users to edit template and css files associated with their blog in order to implement a function they wish to use.
Scripts intended to operate globally throughout your blog should be inserted in Settings / Scripts where 3 windows are available for entry of scripts in the Header and Footer or as Onload Events.
Note that scripts in the header can also be used to insert arbitrary <meta> and <style> tags while scripts in the footer can accommodate arbitrary html code.
Scripts required to operate only on a single post or page should be entered in the Scripts window in the functions listed underneath the Editor. Click on the drop down arrow to the right of the grey bar to open the Scripts window.
For entry specific scripts you can use the Behaviour buttons to specify whether the entry script will operate in addition to site wide scripts on that entry or will replace the site wide script for that entry.
Scripts in Onload Events
The opportunity to enter scripts as Onload Events is included to cover all eventualities. You should rarely have any items in here. Only poorly written scripts would ever require you to add a body.onload event. Well-written scripts will run fine if inserted in the footer scripts, because they will insert themselves correctly into body.onload.
Similarly, some browsers may not properly recognise a body.onload event. In both cases, the Onload Events option ensures that the script will execute.
Therefore, users should try scripts in the header and/or footer first before resorting to Onload Events.
Script Manager – examples of use:
To insert custom css in the header
e.g. to change a font
To insert a meta in the header,
e.g. if Google requires you to install a google analytics meta tag on your site if it fails to verify the analytics code for any reason.
To insert an Aweber popup form in the footer
This package is part of Semiologic Pro, and is access-restricted.
Bleeding Edge Zip
Frequently Asked Questions
The Semiologic forum is the best place to report issues.