International Namedays plugin for WordPress
Description
This plugin displays namedays for different countries.
Please send an e-mail, if you like this plugin.
Keywords
névnap (hu), svátek (jmeniny) (cz), meniny (sk), imieniny (pl),
navnedag (dk), namnsdag (se), navnedag (no), nameday (en)
Usage
kgyt_nameday( [DISPLAY], [COUNTRY], [TIMESTAMP] );
- display (boolean)
- if true (default) the nameday is visible
- country (string)
- select two letter countrycode (hu, cz, sk, pl, dk, se, no)
- timestamp (int)
- set the date or timezone
Usage in posts
Print today’s Hungarian nameday:
<!-- kgyt_nameday -->
or
Print today’s nameday from special country:
<!-- kgyt_nameday COUNTRY -->
or
Print Hungarian nameday of special time:
<!-- kgyt_nameday TIMESTAMP -->
or
Print customized nameday:
<!-- kgyt_nameday COUNTRY TIMESTAMP -->
- country (string)
- select two letter countrycode (hu, cz, sk, pl, dk, se, no)
- timestamp (int)
- set the date or timezone
Examples
Print today’s Hungarian nameday:
<?php kgyt_nameday(); ?>
Get yesterday Swedish nameday:
<?php $nameday = kgyt_nameday( false, 'se', time() - ( 3600 * 24 ) ); echo $nameday; ?>
Installation to WordPress
- Unpack plugin
- Upload plugin to the /wp-content/plugins/ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Edit your theme’s php files and insert the code above
License
This program is free software. Public Domain.
You can use this file with WordPress or any other compatible software.
Changelog
2.2: Wednesday 18. August, 2010.
Bugfix (Czech nameday for 18. August)
2.1: Thursday 17. September, 2009.
Bugfix (Hungarian nameday for 17. September)
2.0: Wednesday 8. July, 2009.
Second release (namedays in posts)
1.1: Saturday 4. April, 2009.
New countries (cz, sk, dk, no)
1.0: Friday 3. April, 2009.
First release (hu, pl, se)
Download
Please download this plugin from
WordPress Plugin Directory.
If that page is out of order, you can download here:
international-namedays.2.2.zip




