If you want to display some animated statistics or achievements, the “Icon Counter” element is just what you need. Select a font icon or image, adjust its size and colors (font icon), enter your start and end numbers along with a note about what you are counting, and you are set. Of course, you can assign some fancy animations to your icon too.
Version 2.6.0 of Visual Composer introduced the option to define the animated values for the icon counter by using an external shortcode, provided of course, that the utilized shortcode creates a valid integer (numeric) value.
This icon counter uses a custom shortcode to retrieve the number of comments for either all posts or one specific post, identified within the shortcode via post ID.
This icon counter uses a custom shortcode to retrieve the number of posts or pages on the site, using their status (“publish”, “draft”, etc.).