{"id":26,"date":"2010-02-01T18:59:50","date_gmt":"2010-02-01T16:59:50","guid":{"rendered":"http:\/\/faq.kgyt.eu\/hu\/?p=26"},"modified":"2018-01-25T23:21:52","modified_gmt":"2018-01-25T21:21:52","slug":"nemzetkozi-nevnapok-bovitmeny-wordpress-hez","status":"publish","type":"page","link":"https:\/\/faq.kgyt.eu\/en\/namedays\/","title":{"rendered":"International Namedays plugin for WordPress"},"content":{"rendered":"<p><\/p>\n<h2>Description<\/h2>\n<p>This plugin displays namedays for different countries.<\/p>\n<p><!--more--><\/p>\n<p>Please send an e-mail, if you like this plugin.<\/p>\n<h2>Keywords<\/h2>\n<p>n\u00e9vnap (hu), sv\u00e1tek (jmeniny) (cz), meniny (sk), imieniny (pl),<br \/>\n\t\tnavnedag (dk), namnsdag (se), navnedag (no), nameday (en)<\/p>\n<h2>Usage<\/h2>\n<p><code>kgyt_nameday( [DISPLAY], [COUNTRY], [TIMESTAMP] );<\/code><\/p>\n<dl>\n<dt>display (boolean)<\/dt>\n<dd>if true (default) the nameday is visible<\/dd>\n<dt>country (string)<\/dt>\n<dd>select two letter countrycode (hu, cz, sk, pl, dk, se, no)<\/dd>\n<dt>timestamp (int)<\/dt>\n<dd>set the date or timezone<\/dd>\n<\/dl>\n<h2>Usage in posts<\/h2>\n<p>Print today&#8217;s Hungarian nameday:<\/p>\n<p><code>&lt;!-- kgyt_nameday --&gt;<\/code><\/p>\n<p>or<\/p>\n<p>Print today&#8217;s nameday from special country:<\/p>\n<p><code>&lt;!-- kgyt_nameday COUNTRY --&gt;<\/code><\/p>\n<p>or<\/p>\n<p>Print Hungarian nameday of special time:<\/p>\n<p><code>&lt;!-- kgyt_nameday TIMESTAMP --&gt;<\/code><\/p>\n<p>or<\/p>\n<p>Print customized nameday:<\/p>\n<p><code>&lt;!-- kgyt_nameday COUNTRY TIMESTAMP --&gt;<\/code><\/p>\n<dl>\n<dt>country (string)<\/dt>\n<dd>select two letter countrycode (hu, cz, sk, pl, dk, se, no)<\/dd>\n<dt>timestamp (int)<\/dt>\n<dd>set the date or timezone<\/dd>\n<\/dl>\n<h2>Examples<\/h2>\n<p>Print today&#8217;s Hungarian nameday:<\/p>\n<pre><span class=\"s_tag\">&lt;?php<\/span> <span class=\"s_func\">kgyt_nameday()<\/span>; <span class=\"s_tag\">?&gt;<\/span><\/pre>\n<p>Get yesterday Swedish nameday:<\/p>\n<pre><span class=\"s_tag\">&lt;?php<\/span>\r\n\t<span class=\"s_var\">$nameday<\/span> = <span class=\"s_func\">kgyt_nameday(<\/span> <span class=\"s_bool\">false<\/span>, <span class=\"s_str\">'se'<\/span>, <span class=\"s_func\">time()<\/span> - ( <span class=\"s_int\">3600<\/span> * <span class=\"s_int\">24<\/span> ) <span class=\"s_func\">)<\/span>;\r\n\t<span class=\"s_func\">echo<\/span> <span class=\"s_var\">$nameday<\/span>;\r\n<span class=\"s_tag\">?&gt;<\/span><\/pre>\n<h2>Installation to WordPress<\/h2>\n<ol>\n<li>Unpack plugin<\/li>\n<li>Upload plugin to the \/wp-content\/plugins\/ directory<\/li>\n<li>Activate the plugin through the &#8216;Plugins&#8217; menu in WordPress<\/li>\n<li>Edit your theme&#8217;s php files and insert the code above<\/li>\n<\/ol>\n<h2>License<\/h2>\n<p>This program is free software. Public Domain.<br \/>\n\t\tYou can use this file with WordPress or any other compatible software.<\/p>\n<h2>Changelog<\/h2>\n<p><strong>2.2:<\/strong> Wednesday 18. August, 2010.<br \/>\n\t\tBugfix (Czech nameday for 18. August)<\/p>\n<p><strong>2.1:<\/strong> Thursday 17. September, 2009.<br \/>\n\t\tBugfix (Hungarian nameday for 17. September)<\/p>\n<p><strong>2.0:<\/strong> Wednesday 8. July, 2009.<br \/>\n\t\tSecond release (namedays in posts)<\/p>\n<p><strong>1.1:<\/strong> Saturday 4. April, 2009.<br \/>\n\t\tNew countries (cz, sk, dk, no)<\/p>\n<p><strong>1.0:<\/strong> Friday 3. April, 2009.<br \/>\n\t\tFirst release (hu, pl, se)<\/p>\n<h2>Download<\/h2>\n<p>Please download this plugin from<br \/>\n\t\t<a href=\"http:\/\/wordpress.org\/extend\/plugins\/international-namedays\/\">WordPress Plugin Directory<\/a>.<\/p>\n<p>If that page is out of order, you can download here:<br \/>\n\t\t<a href=\"http:\/\/kgyt.hu\/faq\/namedays\/international-namedays.2.2.zip\">international-namedays.2.2.zip<\/a><\/p>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Sorry, this entry is only available in Magyar.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-26","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P7l1e3-q","_links":{"self":[{"href":"https:\/\/faq.kgyt.eu\/en\/wp-json\/wp\/v2\/pages\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/faq.kgyt.eu\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/faq.kgyt.eu\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/faq.kgyt.eu\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/faq.kgyt.eu\/en\/wp-json\/wp\/v2\/comments?post=26"}],"version-history":[{"count":1,"href":"https:\/\/faq.kgyt.eu\/en\/wp-json\/wp\/v2\/pages\/26\/revisions"}],"predecessor-version":[{"id":75,"href":"https:\/\/faq.kgyt.eu\/en\/wp-json\/wp\/v2\/pages\/26\/revisions\/75"}],"wp:attachment":[{"href":"https:\/\/faq.kgyt.eu\/en\/wp-json\/wp\/v2\/media?parent=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}