WordPress.org

Ready to get started?Download WordPress

Plugin Directory

International Namedays

This plugin displays namedays for different countries.

This plugin displays namedays for different countries.

Usage

kgyt_nameday( [DISPLAY], [COUNTRY], [TIMESTAMP] );

display (boolean) - if true (default) the nameday is visible

country (string) - select two letter countrycode (hu, pl, no, se, dk, cz, sk)

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, pl, no, se, dk, cz, sk)

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;

?>

Requires: 1.0 or higher
Compatible up to: 3.9.1
Last Updated: 2014-7-20
Downloads: 1,984

Ratings

5 stars
5 out of 5 stars

Support

1 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says 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