开发者 | cais |
---|---|
更新时间 | 2016年4月11日 01:51 |
PHP版本: | 3.0 及以上 |
版权: | GNU General Public License v2 |
版权网址: | 版权信息 |
body_class
output upon activation, including: a full list of date related classes; a few holiday classes; and, a generic sample full calendar extension.
= What are the "Current Date" classes? The "Current Date" classes are a collection of classes dynamically created classes relevant to the date the reader lands on the site. These classes would include on December 1, 2012 at 5:00pm (GMT-5) the following:
After changing the sample file to 'bnsbc-calendar.php' simple find the date you want to add the class to and amend that line. For example, to add a class for the Ides of March you would edit the March 15 entry and add an appropriate class such as:
/bns-content/
for customizationsbns-bc
to bns-body-classes
readme.txt
to reference update safe location/folderreadme.txt
FAQ with a reminder to keep a back-up of any custom 'bnsbc-calendar.php' file(s)option_classes
implode
function