WP CountUP JS

Description

This plugin is based on Inorganik CountUp.js and Countup JS WordPress plugin (this plugin just permit you create one counter per page).

You can use this plugin with shortcodes and create a lot of animated numerical counter and display it into your site.

Usage & Options

Is very easy to use this plugin, you can use the shortcode after install it, but there are two ways to use the plugin:

The first way:

[countup start="your-value" end="your-value" decimals="your-value" duration="your-value"]

The second way. To use this format you need to check the Use the end number inside the shortcode? setting in the plugin option page:

[countup start="the-start-number" decimals="your-value" duration="your-value"]the-end-number[/countup]

The shortcode accepts the next arguments:

  • start – The number that the counter use to start.
  • end – The number that the counter use to end.
  • decimals – Puts the desired decimals into your counter.
  • duration – The counter duration represented by a number (seconds).
  • scroll – If true, start the counter when the user visualize it.
  • suffix – A text that will work as the counter suffix.
  • prefix – A text that will work as the counter prefix.

Example

You can use the shortcode in two ways:

If you are using the first way:

[countup start="0" end="55" decimals="2" duration="5" prefix="my_prefix" scroll="false"]

If you are using the second way (remember to check the Use the end number inside the shortcode?):

[countup start="0" decimals="2" duration="5"]55[/countup]

Copy and paste any example in one of your posts and test.

Settings Page

You know how to use the plugin now, but you can still edit some options inside of the plugin settings page (Go to Settings->CountUP.js).

Inside of the settings page, you can find the next settings:

  • Easing: Easing the counter.
  • Grouping: Groups the content into sections (eg. 1,000 vs 1000).
  • Separator: You can use a separator (default is comma).
  • Decimal: Symbol to use for decimal spot (default is dot).
  • Prefix: Character(s) at beginning of string.
  • Suffix: Character(s) at end of string.

Screenshots

  • Screenshot-1: Output counters on the site.
  • Screenshot-2: Shortcode example.
  • Screenshot-3: Plugin options page.
  • Screenshot-4: CountUp.js Options inside shortcode.
  • Screenshot-5: Output counters on the site with individual prefix and suffix.

Installation

  1. Install the plugin via WordPress Plugin Installer.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to “Settings”->”CountUP.js” menu to configure options of the plugin.

FAQ

Installation Instructions
  1. Install the plugin via WordPress Plugin Installer.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to “Settings”->”CountUP.js” menu to configure options of the plugin.

Reviews

Excellent

It works! Easy to use and has all the options you need, and does exactly what it is supposed to.

Easy to use, need some features

Hi Roel,

Thanks for this plugin. Its very easy to use. However, I had a few feature requests:

  1. I want the counter to run on a decimal number. Something like 0 to 2.5 in 1 second. I tried using [countup start=”0″ end=”2.5″ decimals=”1″ scroll=”true” duration=”1″], but that ends at 25 instead of 2.5
  2. I want a suffix, but want it in a slighly smaller size than the number. So in 2.5 Lakh, Lakh needs to be in a smaller font. If I put it outside the counter div, it goes to the next line.
  3. Is it possible to have run the counter whenever someone scrolls up and down and comes to that section?

If these features are already available, pls let me know how to implement them.

Thanks!
Priyanka

Absolutely amazing plugin!

This plugin is the only one out there that allows you to use dynamic number directly from the database by using shortcode within a shortcode.

For instance [countup start=”1″ decimals=”0″ duration=”5″][users_count][/countup]

Thank you for adding this functionality. That person who gave you 4 stars needs to resubmit his review as it was his only reason for not giving you 5 stars!

I’d give you 6 stars to cover it 😉

Thanks again!

Works perfectly.

Works perfectly!
The one missing star is only because I wish I could use an ending number from outside the shortcode itself. Like…

[countup start="0" duration="3"]2,500[/countup]
Then I could stick some PHP in there and source the number dynamically from content. Love the plugin though. You have all the classes n’stuff you need to make this do pretty much anything you want and it’s simple and light. 🙂

Just What I Needed!

Finding this functionality to trigger the animation when the user scrolls to the content is tough. This works right out of the box. The newest params are so helpful. Thank you!

Read all 9 reviews

Contributors & Developers

“WP CountUP JS” is open source software. The following people have contributed to this plugin.

Contributors

Translate “WP CountUP JS” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0

  • Release

1.1

  • jQuery issue was solved.

2.0

  • Now you can add the options from CountUP.js Options Page inside of the shortcode.

2.1

  • All counters starts their animations before to reach the target counter.
  • Now, when you scroll to the target counter, the counter will start its animation.

2.2

  • Now you can add an option if you wanna start the counter when the page is loaded or when scroll it.

2.3

  • Bug fixed where counter at the top starts counters at bottom.
  • Now, every counter works independently.

3.0

  • Bug fixed where some counters didn’t start after scroll into it.
  • You can use two ways to use the shortcode.

3.1

  • Bug fixed where the plugin was initializing at the same time that other plugins, breaking them.

4.0

  • The whole plugin is using OOP style.
  • The core plugin was updated to 1.9.3 version.

4.0.1

  • Bug fixed where uBlock browser extension was blocking the “showCounter.js” file.
  • “showCounter.js” file renamed to “wp-countup-show-counter.js” due to the previous bug.