This plugin cycles a stylesheet for each day and season of the Liturgical year.
Churches that follow the liturgy change their sanctuary aesthetics according to the liturgical date or season. This plugin uses CSS to allow these same changes to be made to a website’s theme. The Liturgical Year Themes Wordpress plugin uses the
easter_days() php functions to calculate the current liturgical day or season. A correlating CSS file is loaded which allows the designer to override their default theme with one fitting for the current time on the Christian calendar. The plugin also provides the option of printing the day or season’s title in the document markup. The Liturgical Year Themes plugin is targeted at church websites, but can also be useful for journals and blogs that value the liturgy.
*Currently this plugin follows the Liturgical year practiced by western churches. In the future I may include an option to select the eastern liturgical calendar as an alternative.
- Make your website’s appearance consistent with the movements of the liturgical year.
- Print the title of the current liturgical day or season.
- Upload the /liturgical-year-themes/ folder to your blog’s plugins folder (usually /wp-content/plugins/) and activate it.
- Upload the /liturgy/ folder into your current theme directory (usually /wp-content/themes/your-themes-name/).
<?php get_liturgical_time(); ?>to your header template file after the style.css reference and before the closing
- Edit the stylesheets in the /liturgy/ directory to override your theme’s default styles.
Included CSS files
*editing the file names will require editing the corresponding reference in the plugin function.
you can use
<?php get_liturgical_time('title'); ?> to print the date or season title (you will need to wrap it in your own html tag) and
<?php get_liturgical_time('name') ?> to print a dashed referenced suitable for file names.
How It Works
Advent days and seasons are calculated according to their fixed calendar dates. Easter days and seasons are calculated using the php function
easter_days() which provides the number of days between March 21 and Easter, after which all of the Easter dates and seasons can be derived. Fixed calendar dates include an additional test to allow for the possibility of leap year.
This plugin is still very much a work in progress so I would love any comments, criticisms, or suggestions on how it can be improved. I plan on releasing a more mature version which will include an admin menu to control options and preferences sometime before the Season of Lent.