Linux 软件免费装
Banner图

Naptárak.com Névnap

开发者 naptarak
更新时间 2026年10月24日 06:26
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

calendar hungarian name day public holidays névnap

下载

1.0.0

详情介绍:

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 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): More, with pictures (in Hungarian): naptarak.com/wordpress-bovitmeny

安装:

  1. Install the plugin from Plugins → Add New Plugin (search for "Naptárak.com Névnap"), or upload the naptarak-com-nevnap folder to the /wp-content/plugins/ directory.
  2. Activate the plugin.
  3. Add the "Name day" or the "Next public holiday" block, the widget or a shortcode.
  4. Optionally set the defaults in Settings → Naptárak.com Névnap; the How to use tab there explains every option.

屏幕截图:

  • Automatic light/dark: on a dark page the box adapts; on a gradient the card gets its own background.
  • Always dark and always light looks, and custom accent colours.
  • The block's Appearance settings in the editor.
  • The site-wide settings with a live preview (Settings → Naptárak.com Névnap).
  • The How to use tab: block, widget, shortcode options and examples.

常见问题:

Does it work with dark themes?

Yes. In automatic mode the box reads the text colour around it and adapts, also when the visitor or the theme switches modes. If the background is unclear (for example an image or a gradient behind it), the card gets a solid background. If this does not suit your site, choose the always light or always dark look in the settings or per block.

How do I change the colours?

Set the accent colour in Settings → Naptárak.com Névnap, per block in the Appearance panel, or with accent="#b45309" in a shortcode. Text and background colours can be set in the block's colour settings.

Does it work with page caching?

Yes. Each box also contains the next seven days, and a tiny script shows the right one if a cached page is served on a later day. If your cache keeps pages for longer than a week, clear it at least weekly.

What happens before next year's working-day swaps are published?

Public holidays are known years ahead; the working-day swaps are decided by a government decree every year. The plugin is updated after the decree is published; until then the box shows a short note and the PHP functions only take weekends and public holidays into account.

Does it contact Naptárak.com or collect data?

No. All data is inside the plugin and it makes no requests. The "Source: Naptárak.com" line is off by default; if you switch it on, it is a plain link to the matching page of Naptárak.com.

Why is the credit line not shown?

Credits are shown only if you opt in. Switch it on in Settings → Naptárak.com Névnap (name only, or with a link), or per block in the Appearance panel.

Is the plugin available in Hungarian?

Yes. The interface, the block settings, the settings page and its How to use tab are fully translated into Hungarian; they appear in Hungarian when the site language is Hungarian.

Which time zone is used?

The one set in Settings → General.

What about 24 December?

The plugin uses the same data as Naptárak.com. From 2024 to 2026, 24 December was a rest day by working-day swap, which the plugin includes. If the law makes it a public holiday, the plugin will be updated after it is promulgated.

更新日志:

1.0.0