Show today’s Hungarian name day and the next Hungarian public holiday with a countdown and its long weekend on your site – as a block, a classic widget or a shortcode.
The plugin is made for Hungarian websites: its whole interface, settings page and user guide are translated into Hungarian. The data comes from Naptárak.com, the Hungarian online calendar since 2006, and it is bundled with the plugin: no external requests, no cookies, no data collection.
Name day
Public holidays
Appearance that fits your site
How to use
[naptarak_nevnap] – options: label, date, tomorrow, other (yes/no), date_format (long, short, full)[naptarak_unnepnap] – options: count (1–5), label, description, countdown, long_weekend (yes/no)layout (card, plain, line), scheme (auto, light, dark), accent (e.g. #b45309), credit (link, name, none)[naptarak_nevnap tomorrow="yes"], [naptarak_nevnap layout="line" date="no"], [naptarak_unnepnap count="3" scheme="dark"]igen/nem, kartya/sima/sor, vilagos/sotet, nev/nincs). Appearance options you leave out follow the site-wide settings.Source credit
The “Source: Naptárak.com” line is off by default. After activation the plugin asks once (on the Dashboard) whether to show it – with a link, name only, or not at all – and the answer can be changed any time in the settings or per block. Showing it supports the free data service of Naptárak.com.
For developers – PHP functions for themes and plugins, for example to calculate delivery dates in a webshop (dates are Y-m-d strings or DateTimeInterface objects; null means today in the site’s time zone):
naptarak_nevnap_get_names( $date = null, $include_other = false )naptarak_nevnap_is_public_holiday( $date = null )naptarak_nevnap_is_workday( $date = null )naptarak_nevnap_add_workdays( $date, $days )naptarak_nevnap_next_public_holidays( $date = null, $count = 1 )naptarak_nevnap_long_weekends( $year )naptarak_nevnap_swaps_published( $year )More, with pictures (in Hungarian): naptarak.com/wordpress-bovitmeny