Linux 软件免费装
Banner图

Plugin Name

开发者 danlong
crearegroup
更新时间 2014年3月5日 01:02
捐献地址: 去捐款
PHP版本: 3.0.1 及以上
WordPress版本: 3.5.2
版权: GPLv2 or later
版权网址: 版权信息

标签

theme switcher custom class body class christmas class seasonal class

下载

详情介绍:

Using WP Christmas class, you can easily define a date range which will add a custom class to your body tag. Using this custom class you can use simple CSS to change the entire look and feel of your website during the festive season. An option is available to make your date range automatically update for the following year. As the date ranges can be picked by yourself, this is not restricted to just the Christmas period, but also can be used throughout the year ( e.g. Easter, Promotional periods, Summer, Spring, Autumn etc).

安装:

Installing and using WP Christmas Class could not be simpler:
  1. Upload /wp-christmas-class/ to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Simply control all features from the Administrator Dashboard via 'Settings > WP Christmas Class'

屏幕截图:

  • This shows the WP Christmas Class settings page.
  • Here shows the custom body class being applied to your theme.
  • An example of how the custom body class can change the style of the website.

升级注意事项:

0.1
  • No upgrades are currently available as this is the initial release.

常见问题:

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.

更新日志:

0.2 0.1