If you can’t tell from my post titles. I’m in a musical mood lately. When I started listening to Wir Sind Helden, I thought to myself that every line of their lyrics could be the tagline for a weblog. And now I’ve done it. My tagline is now a random Helden lyric. The script is literally 3 lines of PHP (stolen from the Hello Dolly plugin in WordPress), so I won’t bother to repeat it here.
Update 27 Sep 2004 I’ve switched musical directions. The lyrics are now Wouldn’t It Be Nice by the Beach Boys, but may return to the Helden in the future.

{ 5 comments }
Looks great
Phantastic!
Hey! Could you enlighten me as to how you did it exactly? I’m a bit of a novice when it comes to php, you see…
function heldomatic() { // Based on Hello Dolly by Matt Mullenweg $lyrics="Blah 1 Blah 2 Blah 3" ; // Here we split it into lines $lyrics = explode("n", $lyrics); // And then randomly echo a line echo wptexturize( $lyrics[ mt_rand(0, count($lyrics) ) ] ); }I found a plugin which does the same thing. But thank you for helping.
http://www.w-a-s-a-b-i.com/archives/2004/05/27/wordpress-random-witty-text-plugin/
Comments on this entry are closed.