"Theme of the Day" sort of system.... I am no coder, anyone heard of something like this?
"Theme of the Day" sort of system.... I am no coder, anyone heard of something like this?
So you want WP to automatically change a theme everyday?
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.
Heh - I didn't know there was one. Guess I'll go hunting....
Yup. It randomises everything. Even your dogs breakfast.
Now if I had a link to a plugins repository.... [edit: nev'mind, found it....]
wp-plugins.net/org ?
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))];
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
This topic has been closed to new replies.