If I were doing this, I’d use a php include file. Set up a normal html file (without all the doctype etc – JUST the html you want to see in the sidebar), save it as change.html or whatever, then call it into the sidebar using <?php include ‘change.html’ ?> where you want it to appear.
You’ll have to use a div or li depending on where it will appear, and style it as #change or whatever in the style.css file for your theme.
Or you could use the handy Witty Text Plugin and just write what you want in the text file. It can randomly change the information for you with every page refresh, or make it easy to just change the text file.
Search this forum for Witty Text for details, since the install instructions are a bit sketchy, and you can download it at:
http://www.w-a-s-a-b-i.com/
Vkaryl’s answer also works, too. But now you have some choices.
Well, actually, witty or one of the other random-quote plugins would probably work better and be easier to configure – I just never thought about using one of those in this way….
Thread Starter
cheyne
(@cheyne)
thanks guys appreciate it 🙂
Thread Starter
cheyne
(@cheyne)
OK i really need to utilise this now. Whhich file has the menu bar code? I can’t find it :/