Title: Theme Rotator
Last modified: August 19, 2016

---

# Theme Rotator

 *  [draver](https://wordpress.org/support/users/draver/)
 * (@draver)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/theme-rotator/)
 * Hello. I’m searching for a theme rotator. I have two themes on my blog (night
   theme/day theme) but i can’t find a suitable method to automaticaly switch them.
   If anyone worked with such a plugin or anything else, please help me.
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/theme-rotator/#post-913172)
 * You mean something like this:
    [http://wordpress.org/extend/plugins/theme-switcher/](http://wordpress.org/extend/plugins/theme-switcher/)
 *  Thread Starter [draver](https://wordpress.org/support/users/draver/)
 * (@draver)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/theme-rotator/#post-913217)
 * I need a plugin to do this job automatically. For example, at 20:00, the night
   theme will appear in front of default theme (day theme).
 *  Thread Starter [draver](https://wordpress.org/support/users/draver/)
 * (@draver)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/theme-rotator/#post-913336)
 * No plugin found, so i used a php script. If you want a theme during the day and
   another theme during the night, paste this code in the header.php in head section
   after <title> tag
 *     ```
       <?php
       $hour = date('G');
   
       if (($hour < 8) or ($hour >17)) {
       $css = 'style_night.css';
       } elseif ($hour > 8) {
       $css = 'style_day.css';
       }
   
       echo '<link rel="stylesheet" href="/wp-content/themes/default/'.$css.'"type="text/css" media="screen, projection"/>';
   
       ?>
       ```
   
 * This script is using the time from server. If you have some question, just ask.
 *  Thread Starter [draver](https://wordpress.org/support/users/draver/)
 * (@draver)
 * [17 years ago](https://wordpress.org/support/topic/theme-rotator/#post-913613)
 * Another solution for theme rotator is the Day Switcher plugin.
    [http://blog.thomascook.fr/demo/en/day-switcher/](http://blog.thomascook.fr/demo/en/day-switcher/)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Theme Rotator’ is closed to new replies.

 * 4 replies
 * 2 participants
 * Last reply from: [draver](https://wordpress.org/support/users/draver/)
 * Last activity: [17 years ago](https://wordpress.org/support/topic/theme-rotator/#post-913613)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
