Wordpress help - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: Wordpress help (/showthread.php?tid=62776) Wordpress help by Tasha on 07-07-2006 at 09:14 PM
Hum... Anyone who's familiar with wordpress will know that it has a description for your blog, which you enter in the options panel. What I want to do is have that random, so it comes up with random quotes everytime my site is loaded. (Am I making sense here? =P) So like, in the description bit on www.tashaj.info, where it currently says "test", say, person a loads the page, it'll say "hi!" and person b loads it and it says "lol", how can I make something that randomises it? So basically like a random word thing... But actually in wordpress. RE: Wordpress help by Thor on 07-07-2006 at 09:31 PM
If u can add PhP code into that window, then here's some code: code: EDIT: Had done something wrong, fixed now... I haven't tested it, but it should do the trick. RE: Wordpress help by Nathan on 07-07-2006 at 09:58 PM
That wouldn't work. I tested it and no it doesnt. RE: Wordpress help by Nathan on 07-07-2006 at 10:26 PM
code:Sorry about the DP. This works and is much better RE: Wordpress help by RaceProUK on 07-07-2006 at 10:34 PM
Is your blog hosted n a Unix server? If so, there's a program called 'fortune': invoke it, and use the output from it as your quote. |