Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

International Namedays

Описание

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;

?>

Скриншоты

  • Examples
  • See code in HTML output and in template…

Установка

Installation to [WordPress] (http://wordpress.org):

  1. Upload plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Edit your theme’s php files and insert the code like in description

Часто задаваемые вопросы

Where are you get the nameday lists

From Wikipedia.

Can I offer a job for you?

Yes. Currently I am looking for a job.
Please don’t hesitate if you are my next boss… 🙂
Yes! Budapest.

Отзывы

Посмотреть все 2 отзыва

Участники и разработчики

«International Namedays» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «International Namedays» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.