Daily Offer and Advent Calendar

Description

Build a 24-day countdown calendar where each day reveals a title, description, coupon code and a call-to-action button. Perfect for a classic Christmas advent calendar or a 24-day daily-offer campaign.

Two modes

  • Advent mode — a fixed 24-day advent countdown. Locked days show a festive icon (bundled with the plugin) chosen automatically per day, plus the day number and a lock.
  • Daily offer mode — up to 24 days. Locked days show the day number and a lock.

Security first

A locked day’s content — including its coupon code — is never placed in the page HTML. Whether a day is open is decided on the server from the site’s timezone, so visitors cannot read tomorrow’s coupon by viewing the page source. Only days whose date has arrived render their content.

Features

  • Unlimited calendars, each with its own start date.
  • Per day: title, description (bold / italic / strikethrough), coupon code with one-click copy, and a link that becomes a button.
  • Clean, theme-friendly black-and-white design that inherits your theme’s fonts.
  • Display anywhere with a shortcode: [promo_naptar id="123"] — works in the block editor, page builders, and popup plugins.
  • Accessible popup: keyboard focus trap, closes with Esc or a click outside. Mobile-friendly single column.
  • Deletes all its data (calendars, days and coupon codes) when you delete the plugin.

Pro version

A separate Pro version adds:

  • Your own per-day images plus a decorative cover image on the closed cards.
  • Brand colors (main and border) per calendar.
  • Sponsor / vendor name per day (for multi-partner campaigns).
  • Automatic image matching by name prefix.

The Pro version is a separate download and is not required to use this free plugin, which is fully functional on its own. Learn more: https://tanfolyamokonline.hu/termek/promocios-naptar-pro-wordpress-bovitmeny

Screenshots

Installation

  1. In WP Admin, go to Plugins > Add New > Upload Plugin.
  2. Upload the ZIP and click Activate.
  3. In the left menu, open “Offer Calendar” > New calendar.
  4. Set a start date, choose Advent mode or a day count, fill in the days, and paste the shortcode where you want it to appear.

FAQ

Can visitors see future coupon codes in the page source?

No. Locked days never render their content (title, description, coupon, button) into the HTML. The open/closed decision is made on the server using the site’s timezone, so future coupons are not present in the page source until the day arrives.

Where do the advent icons come from?

Advent mode uses a bundled festive icon set. Each day gets a fixed icon by its number (day 1 gets the first icon, and so on). There is no image upload in this free version.

How do I show a calendar on a page?

Copy the shortcode shown in the calendar editor (for example [promo_naptar id="123"]) and paste it into a Shortcode block, a page builder shortcode widget, or a popup plugin’s content.

Does deleting the plugin remove my data?

Yes. Deleting the plugin removes all calendars, days and coupon codes from the database. Deactivating does not remove anything.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Daily Offer and Advent Calendar” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.1

  • Hungarian (hu_HU) translation added; the admin and front end now display in Hungarian on Hungarian sites.

1.0.0

  • Initial release.