This members-only tutorial provides clear and complete steps to implement Supa Mike's tutorial on animated progress bars with the additional functionality of the countup or increasing number being read from a custom field set on the options page via ACF Pro.

Step 1

Install and activate Advanced Custom Fields Pro plugin.

Let us enable ACF Options page.

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: Enable ACF Options Page

Code:

if ( function_exists( 'acf_add_options_page' ) ) {
    acf_add_options_page();
}

Go to Custom Fields > Add New.

Create a field group titled say, "Sitewide" having a Number-type of custom field with the name of countup. Set it to appear on the Options Page.

Step 2

Click on Options in the admin menu and enter your desired number that should get incremented as the circle does the progress animation.

Step 3

Let us load Waypoints and jQuery Circle Progress on the site's homepage.

Install and activate My Custom Functionality plugin.

Connect to your hosting account using a FTP client and navigate to site's /wp-content/plugins/my-custom-functionality-master.

Upload jquery.waypoints.min.js and circle-progress.min.js to the plugin's assets/js directory.

Edit plugin.php and add the following inside the custom_enqueue_files() function:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $399 one-time).

Already a member? Log in below or here.

Need help implementing a tutorial in your site or want to hire me for custom work?

HIRE ME

Find the article helpful and wish to donate?

DONATE

Comments

You need to be logged in to view and post comments.
Not a member yet? Join here.
magnifiercross
>
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: