Plugin Directory

Occasions

Author: Oliver Schlöbe

Do it like Google! Just like Google change their logos on certain occasions such as Christmas or New Year's Eve, the Occasions plugin offers the possibility to display text or HTML on specified dates. The occasions can be easily managed by a fancy and comfortable AJAX-Interface.

There's a little screencast available introducing what the plugin does!

Changelog:

08.05.2009 - version 1.0.1 - Changed database collation to fix issues on a few systems

Features:

  • "Date dependencies" on chosing start and end dates
  • AJAX interface for managing the occasions
  • Object-oriented code
  • Supports changing location/ renaming of wp-content/ folder with WP 2.6
  • Entirely possible to be localized, including the JS calendar

Usage:

To display the list of current occasions, use:

<?php
if( class_exists('Occasions') ) {
  $Occasions->_output();
}
?>

To return the output of current occasions, e.g. to load into a variable, use:

<?php
if( class_exists('Occasions') ) {
   $occasionsoutput = $Occasions->_return();
}
?>

There is also a Shortcode available:

[Occasions]

Included languages:

  • English
  • German (de_DE) (Thanks to me ;-))
  • Belorussian (by_BY) (Thanks for contributing belorussian language goes to Marcis Gasuns)
  • Russian (ru_RU) (Thanks for contributing russian language goes to Thomas Gorny)

Want update feeds, code documentation and more? Visit extend.schloebe.de

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data
100,1,1

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(2 ratings)