Can Someone Help Me Write This Loop?
I read elsewhere that you can change the default theme by finding this line of code in the upgrade-schema.php file:
add_option('template', 'default');
add_option('stylesheet', 'default'); I'd like to get my hands on a php loop that will basically do the following:
if(day-of-the-month = 1, return "Blue Theme"}
else if {day-of-the-mont = 2, return "Red Theme"}
else if {day-of-the-month = 3, return "Green Theme"}
etc...
Can someone get me started on this? I know it's crazy simple, but the small amount of tinkering with php that I do has gotten me nowhere so far.
-
Manfred Ekblad -
[ 1 ] Thanks - 1 reply
{{ DiscussionBoard.errors[2025413].message }}-
Christopher Airey -
Thanks
{{ DiscussionBoard.errors[2025897].message }} -
-
-
Manfred Ekblad -
Thanks - 1 reply
{{ DiscussionBoard.errors[2026120].message }}-
Christopher Airey -
Thanks
{{ DiscussionBoard.errors[2027980].message }} -
-