이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

WP CountUP JS

설명

Display multiple animated counters into your WordPress site.

Gutenberg

The plugin is compatible with Gutenberg, so you can add the custom block called CountUp to your posts and pages. Check the wiki for more details.

Shortcode

It’s 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 is:

[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]

Example

You can use the shortcode in two ways, as mentioned before. 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.

Available Attributes

The shortcode and Gutenberg block accepts the next arguments:

  • decimals – Puts the desired decimals into your counter.
  • delay – Set a delay in milliseconds to start the counter.
  • duration – The counter duration represented by a number (seconds).
  • easing – Easing the counter.
  • end – A number to end (arrive) the counter.
  • grouping – Groups the content into sections (eg. 1,000 vs 1000).
  • prefix – A text as counter prefix.
  • reset – Reset the counter after view.
  • scroll – If true, start the counter when the user visualize it.
  • separator – You can use a separator (default is comma).
  • start – A number to start the counter.
  • suffix – A text as counter suffix.

Settings

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 the end of string.

스크린샷

  • 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.

블록

이 플러그인은 1(을)를 제공합니다.

  • CountUp

설치

  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.

후기

2021년 12월 4일 답글 1개
Light plugin, simple to use, works on all browsers, and fast support. Perfect! Thanks!
2021년 4월 7일 답글 4개
Sadly, this plug uses the “target-densitydpi” key which is no longer supported on chrome so it generates errors and simply stops running.
2018년 2월 14일 답글 1개
It works! Easy to use and has all the options you need, and does exactly what it is supposed to.
2017년 4월 3일 답글 22개
Hi Roel, Thanks for this plugin. Its very easy to use. However, I had a few feature requests: 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 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. 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
2017년 4월 1일 답글 2개
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!
모든 10 평가 읽기

기여자 & 개발자

“WP CountUP JS”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “WP CountUP JS”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

4.2.4

  • IMPROVE: Remove Gutenberg dependencies, those aren’t needed anymore.

4.2.3

  • FIX: Decimal counters shows as integers instead of floats.

4.2.2

  • FIX: JavaScript file wasn’t loading properly in some posts and pages for shortcodes.

4.2.1

  • FIX: Main script was loading as type JavaScript instead of Module.

4.2.0

  • Compatible with Gutenberg. Now the plugin has its own Gutenberg Block.