Countdown Bar Demo

 

The plugin supports 2 types of countdowns.

This demo page shows the popup which contains a Unix time type countdown.

In this case it will always show the countdown for the time we defined, for example - 15th December 2025. We convert this date to Unix timestamp format - to 1765788800. It means, the countdown will be to the specified date.

How was it made?

The countdown bar can be added using the shortcode [ cmpop_countdown ].

The shortcode has a few parameters:

  • time - Here you need to set the date and time value. It can be set in 2 formats: as a timestamp (if the parameter strtotime="0"), or in textual format (if the parameter strtotime="1").
  • strtotime - Controls how the time is interpreted. The default value is "0". Learn more about it.
  • inverse - Allows to choose one of 2 styles. Can be set "0" or "1". The default value is "0".
  • The countdown bar can be inserted not only into the popup, but in any place you need on the page or post:

    In our banner and page we added the following shortcode:

    [ cmpop_countdown time="1765788800" strtotime="0" inverse="1" ]

    We also configured some of the "Basic Visual" settings - defined the width and height of the popup, added the background image and added a link, and centered the content vertically and horizontally.

    CreativeMinds Popup Plugin for WordPress helps you add responsive popups to your site with custom messages and effects. Include images, videos and rich text in multiple campaigns.
    Create multiple campaigns restricted by date, targeted to logged-in users and triggered by leave intent.

    For more information go to the plugin product page