plugin-icon

International Namedays

제작자: kgyt·
This plugin displays namedays for different countries.
등급
5/5
버전
2.3
활성화된 설치 항목
400
최근 업데이트일
Jul 20, 2014

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; ?>
무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 3.9.40
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.