So you want WP to automatically change a theme everyday?
Thread Starter
vkaryl
(@vkaryl)
Yes. Randomly or in set rotation, doesn’t matter to begin with because as with so much else, while I can’t write something like that from scratch, if I get a working whatever I can change it….
Well I would begin with the randomize plugin. Might need tweaking but shouldnt be difficult. Get it installed and we can have a look.
Thread Starter
vkaryl
(@vkaryl)
Heh – I didn’t know there was one. Guess I’ll go hunting….
Yup. It randomises everything. Even your dogs breakfast.
Thread Starter
vkaryl
(@vkaryl)
Now if I had a link to a plugins repository…. [edit: nev’mind, found it….]
Thread Starter
vkaryl
(@vkaryl)
Yep, there and others…. got some stuff to play with, we’ll see what I come up with. If anything.
The call is going to need to go in header.php.
The Theme Switcher plugin could be adapted to randomly select a theme from the list of installed themes and set a cookie that expires in one day. To select a random theme, try:
$themes = get_themes();
$theme = $themes[mt_rand(0, count($themes))];
Thread Starter
vkaryl
(@vkaryl)
Thanks ryan – I’ll try that first. Simpler is always better, I think….
@vkarl I will be interested to see if you get that to work. Thanks