WordPress plugin

A Valentine’s Day mode

A light holiday mode for 14 February: hearts rise up the screen and pop on click, a garland swings above the first screen, the main buttons beat gently. And an envelope next to the button opens a valentine with your greeting and promo code.

WordPress 6.0+PHP 7.4+≈ 25 KBAny themeEvery year by itself
I want it on my site

Try it right here

The plugin works on this page exactly as it does on a real site.

  1. Click the button below or the heart in the bottom left corner.
  2. Click a heart and it pops. Hover over a button and hearts fly out.
  3. Open the envelope next to the button: there is a valentine inside.
This is how the mode looks on an ordinary WordPress site: a garland, hearts and an envelope with a valentine.
This is how the mode looks on an ordinary WordPress site: a garland, hearts and an envelope with a valentine.

What it does

Hearts

Rise up the screen; a click on a heart pops it.

A garland

Paper hearts on strings swing, harder when you hover over them.

Buttons that beat

Main buttons pulse now and then and release hearts on hover.

A valentine

An envelope next to the button opens a card with text, a promo code and a link.

Hearts behind the cursor

A small trail of hearts follows the mouse.

Analytics events

Turning it on, opening the valentine, copying the promo code.

Settings

Its own page in the WordPress admin, no code.

Mode
off · button in season · on in season · button all year
Season
7–15 February or your dates, every year
Valentine
title, text, promo code, link
Effects
each one turns on separately
Button
left or right, offset from the bottom

Under the hood

Vanilla JavaScript with no libraries or dependencies.

Themes
any: effects find the first screen and buttons themselves
Page caching
the season is checked in the browser
Accessibility
no animation with reduced motion; the valentine stays
Languages
Ukrainian and English; texts via Polylang or WPML

Questions

Is it only for flower shops?

No: a valentine is a reason for any business to give a discount or a gift.

Won’t the beating buttons be annoying?

They beat briefly once every few seconds. The effect can be turned off separately.

How do I measure the result?

Opening the valentine and copying the promo code are sent to Google Analytics as events.

Want this plugin on your site?

I’ll install it, match it to your theme and brand, or build a seasonal mode for your holiday.

Message me on Telegram

Other plugins