Automating Wordpress

User avatar
Cah
3StarLounger
Posts: 293
Joined: 26 Mar 2010, 10:53

Automating Wordpress

Post by Cah »

Hello, on my regular website I use php to change the css stylesheet used according to the time of year. I'd like to do the same with my wordpress blog. Does anyone know how I might do that or some kind of wordpress plugin that automatically changes the theme according the season/time of year? Thanks.

User avatar
stuck
Panoramic Lounger
Posts: 8158
Joined: 25 Jan 2010, 09:09
Location: retirement

Re: Automating Wordpress

Post by stuck »

The last paragraph here:
http://www.docswordpressguide.com/fun-with-themes
says
As far as automatically changing themes, it could be done via a local DOS batch file, but it would also depend on how & when you wanted the changes. For a 4-times-a-year seasonal change, it would be easier just to have some Calendar program or Scheduled Tasks remind you. For a once-a-day change, the batch file would work fine, although the procedure's a tad complicated.
Does that help?

I got there by copying & pasting your text 'wordpress plugin that automatically changes the theme according the season/time of year' into Google, it's the first hit.

Ken