repomonkey
Member
Posted 5 years ago #
Hi guys - hoping you can help me with this. Currently customizing my blog and I'd like to insert a little weather widget in the sidebar. The code is:
<script type="text/javascript" src="http://www.weatherchannel.com.au/Magic94scripts/mgrqispi94.dll?appname=WC&prgname=WOYS&Id=3904"></script>
But I have no idea how to tailor that so it'll function in the sidebar file - anyone help, or is this sort of thing not possible?
Cheers
You might try using the WordPress Widget Plugin but that could require 'widgetizing' your Theme.
In the Codex article, WordPress Widgets, there is a Resources section that has links to the widget download and information on making your theme wigdet capable. There's also a list of Themes that are already widget capable as well as a list of Widgets.
manstraw
Member
Posted 5 years ago #
You can generally edit sidebar.php in your theme folder. Or, install widgets as MichaelH suggested. If you install widgets, you can add a text widget (already available with the basic install) and put your javascript in there. It's that easy.