Counter

Parameters:

  • type – style of design, exemplary values: “standard” or “light”.
  • day – set day, exemplary value: “10”.
  • month – set month, exemplary value: “10”.
  • year – set year, exemplary value: “2018”.
  • hour – set hour, exemplary value: “12”.
  • minute – set minute, exemplary values: “30”.
  • translate_day – translate word “day” (depends on your language), exemplary value: “dzień”.
  • translate_days – translate word “days” (depends on your language), exemplary value: “dni”.
  • translate_hour – translate word “hour” (depends on your language), exemplary value: “godzin”.
  • translate_hours – translate word “hours” (depends on your language), exemplary value: “godzin”.
  • translate_minute – translate word “minute” (depends on your language), exemplary value: “minuta”.
  • translate_minutes – translate word “minutes” (depends on your language), exemplary value: “minut”.
  • translate_second – translate word “second” (depends on your language), exemplary value: “sekunda”.
  • translate_seconds – translate word “seconds” (depends on your language), exemplary value: “sekund”.
  • timezone – set timezone according to your country (http://php.net/manual/en/timezones.php), exemplary values: “UTC”, “GMT”, “America/Los_Angeles”, “Europe/Berlin”, etc..

Exemplary usage

[counter type="light" day="1" month="1" year="2018" hour="0" minute="0" translate_days="days" translate_day="day" translate_hours="hours" translate_hour="hour" translate_minutes="minutes" translate_minute="minute" translate_seconds="seconds" translate_second="second" timezone="UTC"]

See also demo of counters. In full download package (Dummy data/shortcodes-pages/counters.html) you can find the file with shortcodes we used to create demo page.

Did you know...

You can use “counter” element in drag and drop website builder (Visual Composer) and customize this element easily without coding skills. Parameters and design options are the same as in shortcode.