WordPress.org

Ready to get started?Download WordPress

Plugin Directory

BNS Body Classes

Simple plugin that adds classes to the `body_class` output upon activation, including a range of date related classes.

0.7.1

  • Released May 2014
  • Update version compatibility
  • Update copyright years

0.7

  • Released December 2013
  • Code Reformatting to be more consistent with WordPress Coding Standards (see https://gist.github.com/Cais/8023722)
  • Updated readme.txt FAQ with a reminder to keep a back-up of any custom 'bnsbc-calendar.php' file(s)
  • Added 2015 Calendars and updated Muslim 2014 calendar

0.6

  • Released July 2013
  • Added Muslim calendars for 2013 and 2014
  • Added conditional check to only add if there are actual dates being recognized
  • Refactored option function calls into their own function to prepare for future options

0.5.2

  • Released April 2013
  • Added $classes parameter in calendars to be able to append new date classes

0.5.1

  • Released April 2013
  • Fixed wrong function being called by action hook

0.5

  • Released April 2013
  • Added additional related tags to header block
  • Added Christian Calendars for the years 2013 and 2014
  • Added Jewish Calendars for the years 2013 and 2014
  • Code formatting and code block termination comments

0.4

  • Released December 2012
  • Added conditional check on option_classes
  • Added generic (sample) calendar extension
  • Added more common dates: Valentine's Day, St. Patrick's Day, April Fool's Day, Halloween, Remembrance Day
  • i18n updates
  • Prepared for extension plugins
  • Refactored options to more appropriate naming conventions
  • Updated descriptions and FAQ to reflect new features

0.3

  • Released December 2012
  • Add "Current Date" classes
  • Add "Holidays" classes (Christmas and New Years)
  • Refactored main plugin file to OOP code format

0.2.2

  • Tested compatible with WordPress 3.4

0.2.1

  • Corrected issue with initial empty array being fed to the implode function

0.2

  • Add options page to include custom classes

0.1

  • Initial Release - January 2012

Requires: 3.0 or higher
Compatible up to: 3.9.2
Last Updated: 2014-5-3
Downloads: 926

Ratings

5 stars
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,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1
100,1,1 100,1,1
100,1,1
100,1,1 100,1,1
100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1