Plugin Directory

Occasions

Do it like Google! Define any number of occasions in your BE with a fancy AJAX-Interface and the plugin will display them in time... just like Google.

Download Version 1.0.2

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.

Developer on Google+ | Developer on Twitter

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

Author: Alphawolf

Requires: 2.5 or higher
Compatible up to: 3.4-alpha-19620
Last Updated: 2012-1-23 Downloads: 1,785

Average Rating

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

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

Log in to vote.

100,1,1
100,1,1