Oh, I forgot, I’m running wordpress 1.5.1.1
Well, I guess not, since sidebar is not quite a WordPress feature, rather some template fanciness we all enjoy using. 🙂
You can, though, make a plugin that will create a template tag to return/echo the info you want, and add:
<?php if (function_exists('the_name_of_the_tag')) {
the_name_of_the_tag();
?>
to the sidebar.
Hope I helped.
Hmm, you mean calling my function from the template? Do I echo() my output or is there something else to do?
Anyway, thanks for the suggestion!
The API hook you’re looking for is wp_meta
— if a theme includes this in the sidebar (not all do, but they should).
Right, echo() is your friend 😉
OK, the result of this is now the main article on my website (http://www.ramdyne.nl/). It will now show what song my laptop is playing, using XMMS Song Change plugin.