WordPress.org

Plugin Directory

WP Christmas Class

WP Christmas Class allows you to dynamically add a custom CSS class to your body tag during a date range of your choosing.

Why is my body class not showing during the active date range?

Please check to make sure the 'body_class()' function is still on your theme's body tag (this is normally found in header.php). If it does not exist, follow the example on the WordPress Codex page when searching for the 'body_class' function.

Why are my custom class styles not having an effect?

When adding your custom class styles to the stylesheet, bare in mind that these are over-riding styles and therefore should be added to the end of the stylesheet. You must also take into account stylesheet specificity hierarchy.

How do I disable my custom body class?

To remove the body class, simply disable the plugin or set the date range in the past without the repeat checkbox ticked.

Requires: 3.0.1 or higher
Compatible up to: 3.5.2
Last Updated: 2014-3-4
Active Installs: 30+

Ratings

4.5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,5,5
100,1,1
100,1,1