This site makes extensive use of JavaScript.
Please
enable JavaScript
in your browser.
Classic Theme
Thottbot Theme
Random Title Generation <3
Post Reply
Return to board index
Post by
Riven
This isn't a suggestion so much as a comment. Just today I noticed that whenever you load WoWhead the page title changes... I was especially amused by "Use it to find Mankrik's Wife". ;) I love it. Don't know how I missed it before. I think whenever I looked at the title bar it always seemed to have "Best when used!" on it so I never noticed. ^^
It's cute! Kudos!
Post by
TheOnyx
We appreciate the feedback. We always like when people notice the little things we do to make the site just a little bit better. :)
Post by
Marcela
I hadn't noticed this (haven't been to the site lately) but I refreshed several times to see what was up. The "Thrall-tested, Jaina-approved" made me lol :D
Post by
299634
This post was from a user who has deleted their account.
Post by
Wildhorn
Ahem
Post by
299634
This post was from a user who has deleted their account.
Post by
pelf
Define a list of titles you want to use. When the page loads, pick a random number between 0 and number_of_items - 1 and choose the title at that index.
<title><?= random_title =></title>
Among other possible implementations...
Post by
Snakers
A possible solution:
<?php
$array = array('title 1', 'title 2', 'title 3', 'etc...');
$randkey = array_rand($array);
?>
...
<title><?php echo $array; ?></title>
Just fill the array with all the titles and there you go.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.