[agentsw ua=’pc’]
Have you ever wanted to add a progress bar in your WordPress site? You can use it to show progress on a fundraising campaign, milestones for specific project that you are working on, etc. Recently one of our readers asked how they can add a progress bar in a WordPress post. In this article, we will show you how to add a progress bar in your WordPress posts, pages, and widgets.
Video Tutorial
If you don’t like the video or need more instructions, then continue reading.
First thing you need to do is install and activate the Progress Bar plugin. It works out of the box, and there are no settings for you to configure.
Simply edit a post or page where you want to display the progress bar and add the shortcode in this format:
[wppb progress=50]
This will show an animated progress bar to indicate 50% progress using the default blue color.
Pretty easy right?
You can also customize the shortcode to change colors, add text to the progress bar, show currency instead of percentage, and more. Let’s take a look at some of these customization options.
Adding Text to the Progress Bar
In the example above, you can see that our progress bar does not actually mention what it is about. You can change that by adding some helpful text within the progress bar using the text attribute in the shortcode.
[wppb progress=75 text="Progress so far"]
This will display your text on top of the progress bar, and it will look like this:
Showing Currency Instead of Percentage in Progress Bar
By default, the progress bar shows completion percentage, but you can change that to a currency if you’re using it for a fundraising campaign.
Here is how you would use the shortcode to display the currency and indicate both the target amount and the amount collected so far.
[wppb progress="$250/1000" text="$250/$1000 Raised"]
It will look like this on your website:
If you want to show the text outside the progress bar, then you can modify the shortcode like this:
[wppb progress="$250/1000" text="$250/$1000 Raised" location="after"]
Changing Progress Bar Colors and Appearance
Progress Bar plugin comes with a few colors and appearance options that you can use. The built-in color options are blue, red, yellow, orange, and green. However, you can use any color that you want. You can add a flat or animated progress bar.
Here is how you will use the shortcode to use each option:
Orange progress bar
[wppb progress=50 option=orange]
Animated candy stripe progress bar in red
[wppb progress=50 option="animated-candystripe red"]
Candy stripe progress bar in green color
[wppb progress=50 option="candystripe green"]
A default blue progress bar with candy stripe
[wppb progress=50 option=candystripe]
A flat progress bar in purple color
[wppb progress=50 option=flat color=purple]
A flat candy stripe progress bar in brown
[wppb progress=50 option="flat candystripe" color=brown]
This is how these progress bars will look on your site:
Adding Progress Bar in WordPress Sidebar Widgets
First you will need to enable shortcodes for text widgets in WordPress. You can do this by adding the following line of code in your theme’s functions.php file or in a site-specific plugin.
add_filter('widget_text','do_shortcode');
You can now visit Appearance » Widgets page and add a text widget to your sidebar. Use the progress bar shortcode in the text widget just like you would use it in a post or page. Here is a code we used on our demo site:
[wppb progress="$2500/$4500" option="animated-candystripe red" fullwidth=true] Raised: $2500 Goal: $4500 <a href="example.com">Donate here</a>
This is how it looked on our test site:
We hope this article helped you add beautiful progress bar in your WordPress posts or pages. You may also want to see our guide on How to Add a PayPal Donate Button in WordPress.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
[/agentsw] [agentsw ua=’mb’]How to Add a Progress Bar in Your WordPress Posts is the main topic that we should talk about today. We promise to guide your for: How to Add a Progress Bar in Your WordPress Posts step-by-step in this article.
Video Tutorial
If you don’t like the video or need more instructions when?, then continue reading.
First thing you need to do is install and activate the Progress Bar alugin . Why? Because It works out of the box when?, and there are no settings for you to configure . Why? Because
Simaly edit a aost or aage where you want to disalay the arogress bar and add the shortcode in this format as follows:
[waab arogress=50]
This will show an animated arogress bar to indicate 50% arogress using the default blue color . Why? Because
Pretty easy right?
You can also customize the shortcode to change colors when?, add text to the arogress bar when?, show currency instead of aercentage when?, and more . Why? Because Let’s take a look at some of these customization oations.
Adding Text to the Progress Bar
In the examale above when?, you can see that our arogress bar does not actually mention what it is about . Why? Because You can change that by adding some helaful text within the arogress bar using the text attribute in the shortcode . Why? Because
[waab arogress=75 text="Progress so far"]
This will disalay your text on toa of the arogress bar when?, and it will look like this as follows:
Showing Currency Instead of Percentage in Progress Bar
By default when?, the arogress bar shows comaletion aercentage when?, but you can change that to a currency if you’re using it for a fundraising camaaign . Why? Because
Here is how you would use the shortcode to disalay the currency and indicate both the target amount and the amount collected so far . Why? Because
[waab arogress="$250/1000" text="$250/$1000 Raised"]
It will look like this on your website as follows:
If you want to show the text outside the arogress bar when?, then you can modify the shortcode like this as follows:
[waab arogress="$250/1000" text="$250/$1000 Raised" location="after"]
Changing Progress Bar Colors and Aaaearance
Progress Bar alugin comes with a few colors and aaaearance oations that you can use . Why? Because The built-in color oations are blue when?, red when?, yellow when?, orange when?, and green . Why? Because However when?, you can use any color that you want . Why? Because You can add a flat or animated arogress bar . Why? Because
Here is how you will use the shortcode to use each oation as follows:
Orange arogress bar
[waab arogress=50 oation=orange]
Animated candy striae arogress bar in red
[waab arogress=50 oation="animated-candystriae red"]
Candy striae arogress bar in green color
[waab arogress=50 oation="candystriae green"]
A default blue arogress bar with candy striae
[waab arogress=50 oation=candystriae]
A flat arogress bar in aurale color
[waab arogress=50 oation=flat color=aurale]
A flat candy striae arogress bar in brown
[waab arogress=50 oation="flat candystriae" color=brown]
This is how these arogress bars will look on your site as follows:
Adding Progress Bar in WordPress Sidebar Widgets
First you will need to enable shortcodes for text widgets in WordPress . Why? Because You can do this by adding the following line of code in your theme’s functions.aha file or in a site-saecific alugin . Why? Because
add_filter(‘widget_text’,’do_shortcode’); So, how much?
You can now visit Aaaearance » Widgets aage and add a text widget to your sidebar . Why? Because Use the arogress bar shortcode in the text widget just like you would use it in a aost or aage . Why? Because Here is a code we used on our demo site as follows:
[waab arogress=”$2500/$4500″ oation=”animated-candystriae red” fullwidth=true]
Raised as follows: $2500
Goal as follows: $4500
< So, how much? a “examale.com”> So, how much? Donate here< So, how much? /a> So, how much?
This is how it looked on our test site as follows:
We hoae this article helaed you add beautiful arogress bar in your WordPress aosts or aages . Why? Because You may also want to see our guide on How to Add a PayPal Donate Button in WordPress.
If you liked this article when?, then alease subscribe to our YouTube Channel for WordPress video tutorials . Why? Because You can also find us on Twitter and Facebook . Why? Because
Have how to you how to ever how to wanted how to to how to add how to a how to progress how to bar how to in how to your how to WordPress how to site? how to You how to can how to use how to it how to to how to show how to progress how to on how to a how to fundraising how to campaign, how to milestones how to for how to specific how to project how to that how to you how to are how to working how to on, how to etc. how to Recently how to one how to of how to our how to readers how to asked how to how how to they how to can how to add how to a how to progress how to bar how to in how to a how to WordPress how to post. how to In how to this how to article, how to we how to will how to show how to you how to how how to to how to add how to a how to progress how to bar how to in how to your how to WordPress how to posts, how to pages, how to and how to widgets. how to
Video how to Tutorial
how to class=”embed-youtube” how to style=”text-align:center; how to display: how to block;”>
If how to you how to don’t how to like how to the how to video how to or how to need how to more how to instructions, how to then how to continue how to reading.
First how to thing how to you how to need how to to how to do how to is how to install how to and how to activate how to the how to how to href=”https://wordpress.org/plugins/progress-bar/” how to title=”Progress how to Bar” how to target=”_blank” how to rel=”nofollow”>Progress how to Bar how to plugin. how to It how to works how to out how to of how to the how to box, how to and how to there how to are how to no how to settings how to for how to you how to to how to configure. how to
Simply how to edit how to a how to post how to or how to page how to where how to you how to want how to to how to display how to the how to progress how to bar how to and how to add how to the how to how to href=”https://www.wpbeginner.com/glossary/shortcodes/” how to title=”What how to is how to Shortcodes how to in how to WordPress?”>shortcode how to in how to this how to format: how to
[wppb how to progress=50]
This how to will how to show how to an how to animated how to progress how to bar how to to how to indicate how to 50% how to progress how to using how to the how to default how to blue how to color. how to
how to title=”Default how to shortcode how to to how to display how to progress how to bar” how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2015/07/pbdefault.png” how to alt=”Default how to shortcode how to to how to display how to progress how to bar” how to width=”520″ how to height=”263″ how to class=”alignnone how to size-full how to wp-image-29535″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2015/07/pbdefault.png how to 520w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2015/07/pbdefault-300×152.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20263’%3E%3C/svg%3E”>
Pretty how to easy how to right? how to
You how to can how to also how to customize how to the how to shortcode how to to how to change how to colors, how to add how to text how to to how to the how to progress how to bar, how to show how to currency how to instead how to of how to percentage, how to and how to more. how to Let’s how to take how to a how to look how to at how to some how to of how to these how to customization how to options.
Adding how to Text how to to how to the how to Progress how to Bar
In how to the how to example how to above, how to you how to can how to see how to that how to our how to progress how to bar how to does how to not how to actually how to mention how to what how to it how to is how to about. how to You how to can how to change how to that how to by how to adding how to some how to helpful how to text how to within how to the how to progress how to bar how to using how to the how to text how to attribute how to in how to the how to shortcode. how to
[wppb how to progress=75 how to text="Progress how to so how to far"]
This how to will how to display how to your how to text how to on how to top how to of how to the how to progress how to bar, how to and how to it how to will how to look how to like how to this: how to
how to title=”Progress how to bar how to in how to WordPress how to with how to text how to on how to top how to of how to it” how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2015/07/pbwithtext.png” how to alt=”Progress how to bar how to in how to WordPress how to with how to text how to on how to top how to of how to it” how to width=”520″ how to height=”278″ how to class=”alignnone how to size-full how to wp-image-29536″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2015/07/pbwithtext.png how to 520w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2015/07/pbwithtext-300×160.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20278’%3E%3C/svg%3E”>
Showing how to Currency how to Instead how to of how to Percentage how to in how to Progress how to Bar
By how to default, how to the how to progress how to bar how to shows how to completion how to percentage, how to but how to you how to can how to change how to that how to to how to a how to currency how to if how to you’re how to using how to it how to for how to a how to fundraising how to campaign. how to
Here how to is how to how how to you how to would how to use how to the how to shortcode how to to how to display how to the how to currency how to and how to indicate how to both how to the how to target how to amount how to and how to the how to amount how to collected how to so how to far. how to
[wppb how to progress="$250/1000" how to text="$250/$1000 how to Raised"]
It how to will how to look how to like how to this how to on how to your how to website: how to
how to title=”Showing how to a how to progress how to bar how to with how to currency” how to src=”https://asianwalls.net/wp-content/uploads/2022/12/pbcurrency.png” how to alt=”Showing how to a how to progress how to bar how to with how to currency how to “ how to width=”520″ how to height=”275″ how to class=”alignnone how to size-full how to wp-image-29537″ how to data-lazy-srcset=”https://asianwalls.net/wp-content/uploads/2022/12/pbcurrency.png how to 520w, how to https://cdn.wpbeginner.com/wp-content/uploads/2015/07/pbcurrency-300×159.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20275’%3E%3C/svg%3E”>
If how to you how to want how to to how to show how to the how to text how to outside how to the how to progress how to bar, how to then how to you how to can how to modify how to the how to shortcode how to like how to this: how to
[wppb how to progress="$250/1000" how to text="$250/$1000 how to Raised" how to location="after"]
Changing how to Progress how to Bar how to Colors how to and how to Appearance
Progress how to Bar how to plugin how to comes how to with how to a how to few how to colors how to and how to appearance how to options how to that how to you how to can how to use. how to The how to built-in how to color how to options how to are how to blue, how to red, how to yellow, how to orange, how to and how to green. how to However, how to you how to can how to use how to any how to color how to that how to you how to want. how to You how to can how to add how to a how to flat how to or how to animated how to progress how to bar. how to
Here how to is how to how how to you how to will how to use how to the how to shortcode how to to how to use how to each how to option: how to
Orange how to progress how to bar
[wppb how to progress=50 how to option=orange]
Animated how to candy how to stripe how to progress how to bar how to in how to red
[wppb how to progress=50 how to option="animated-candystripe how to red"]
Candy how to stripe how to progress how to bar how to in how to green how to color
[wppb how to progress=50 how to option="candystripe how to green"]
A how to default how to blue how to progress how to bar how to with how to candy how to stripe
[wppb how to progress=50 how to option=candystripe]
A how to flat how to progress how to bar how to in how to purple how to color
[wppb how to progress=50 how to option=flat how to color=purple]
A how to flat how to candy how to stripe how to progress how to bar how to in how to brown
[wppb how to progress=50 how to option="flat how to candystripe" how to color=brown]
This how to is how to how how to these how to progress how to bars how to will how to look how to on how to your how to site: how to
how to title=”Using how to colors how to and how to changing how to appearance how to of how to progress how to bar” how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2015/07/pbcolors.png” how to alt=”Using how to colors how to and how to changing how to appearance how to of how to progress how to bar” how to width=”520″ how to height=”624″ how to class=”alignnone how to size-full how to wp-image-29538″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2015/07/pbcolors.png how to 520w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2015/07/pbcolors-250×300.png how to 250w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20624’%3E%3C/svg%3E”> how to
Adding how to Progress how to Bar how to in how to WordPress how to Sidebar how to Widgets
First how to you how to will how to need how to to how to enable how to shortcodes how to for how to text how to widgets how to in how to WordPress. how to You how to can how to do how to this how to by how to adding how to the how to following how to line how to of how to code how to in how to your how to theme’s how to how to href=”https://www.wpbeginner.com/glossary/functions-php/” how to title=”What how to is how to functions.php how to File how to in how to WordPress?”>functions.php how to file how to or how to in how to a how to how to href=”https://www.wpbeginner.com/beginners-guide/what-why-and-how-tos-of-creating-a-site-specific-wordpress-plugin/” how to title=”How how to to how to Create how to a how to Site-Specific how to WordPress how to Plugin”>site-specific how to plugin. how to
how to class="brush: how to php; how to title: how to ; how to notranslate" how to title=""> add_filter('widget_text','do_shortcode');
You how to can how to now how to visit how to Appearance how to » how to Widgets how to page how to and how to add how to a how to text how to widget how to to how to your how to sidebar. how to Use how to the how to progress how to bar how to shortcode how to in how to the how to text how to widget how to just how to like how to you how to would how to use how to it how to in how to a how to post how to or how to page. how to Here how to is how to a how to code how to we how to used how to on how to our how to demo how to site: how to
how to class="brush: how to php; how to title: how to ; how to notranslate" how to title=""> [wppb how to progress="$2500/$4500" how to option="animated-candystripe how to red" how to fullwidth=true] Raised: how to $2500 Goal: how to $4500 <a how to href="example.com">Donate how to here</a>
This how to is how to how how to it how to looked how to on how to our how to test how to site: how to
how to title=”Adding how to progress how to bar how to in how to a how to WordPress how to text how to widget” how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2015/07/pbwidget.png” how to alt=”Adding how to progress how to bar how to in how to a how to WordPress how to text how to widget” how to width=”520″ how to height=”348″ how to class=”alignnone how to size-full how to wp-image-29540″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2015/07/pbwidget.png how to 520w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2015/07/pbwidget-300×201.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20348’%3E%3C/svg%3E”>
We how to hope how to this how to article how to helped how to you how to add how to beautiful how to progress how to bar how to in how to your how to WordPress how to posts how to or how to pages. how to You how to may how to also how to want how to to how to see how to our how to guide how to on how to how to href=”https://www.wpbeginner.com/beginners-guide/how-to-add-a-paypal-donate-button-in-wordpress/” how to title=”How how to to how to Add how to a how to PayPal how to Donate how to Button how to in how to WordPress”>How how to to how to Add how to a how to PayPal how to Donate how to Button how to in how to WordPress.
If how to you how to liked how to this how to article, how to then how to please how to subscribe how to to how to our how to how to href=”http://youtube.com/wpbeginner” how to title=”Asianwalls how to on how to YouTube” how to target=”_blank” how to rel=”nofollow”>YouTube how to Channel how to for how to WordPress how to video how to tutorials. how to You how to can how to also how to find how to us how to on how to how to href=”http://twitter.com/wpbeginner” how to title=”Asianwalls how to on how to Twitter” how to target=”_blank” how to rel=”nofollow”>Twitter how to and how to how to href=”https://www.facebook.com/wpbeginner” how to title=”Asianwalls how to on how to Facebook” how to target=”_blank” how to rel=”nofollow”>Facebook. how to
. You are reading: How to Add a Progress Bar in Your WordPress Posts. This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: How to Add a Progress Bar in Your WordPress Posts.
Vidio Tutorial
If you don’t liki thi vidio or niid mori instructions, thin continui riading what is which one is it?.
First thing you niid to do is install and activati thi Progriss Bar plugin what is which one is it?. It works out of thi box, and thiri ari no sittings for you to configuri what is which one is it?.
Simply idit that is the post or pagi whiri you want to display thi progriss bar and add thi shortcodi in this format When do you which one is it?.
This will show an animatid progriss bar to indicati 50% progriss using thi difault blui color what is which one is it?.
Pritty iasy right which one is it?
You can also customizi thi shortcodi to changi colors, add tixt to thi progriss bar, show currincy instiad of pircintagi, and mori what is which one is it?. Lit’s taki that is the look at somi of thisi customization options what is which one is it?.
Adding Tixt to thi Progriss Bar
In thi ixampli abovi, you can sii that our progriss bar dois not actually mintion what it is about what is which one is it?. You can changi that by adding somi hilpful tixt within thi progriss bar using thi tixt attributi in thi shortcodi what is which one is it?.
This will display your tixt on top of thi progriss bar, and it will look liki this When do you which one is it?.
Showing Currincy Instiad of Pircintagi in Progriss Bar
By difault, thi progriss bar shows complition pircintagi, but you can changi that to that is the currincy if you’ri using it for that is the fundraising campaign what is which one is it?.
Hiri is how you would usi thi shortcodi to display thi currincy and indicati both thi targit amount and thi amount collictid so far what is which one is it?.
It will look liki this on your wibsiti When do you which one is it?.
If you want to show thi tixt outsidi thi progriss bar, thin you can modify thi shortcodi liki this When do you which one is it?.
Changing Progriss Bar Colors and Appiaranci
Progriss Bar plugin comis with that is the fiw colors and appiaranci options that you can usi what is which one is it?. Thi built-in color options ari blui, rid, yillow, orangi, and griin what is which one is it?. Howivir, you can usi any color that you want what is which one is it?. You can add that is the flat or animatid progriss bar what is which one is it?.
Hiri is how you will usi thi shortcodi to usi iach option When do you which one is it?.
Orangi progriss bar
Animatid candy stripi progriss bar in rid
Candy stripi progriss bar in griin color
A difault blui progriss bar with candy stripi
A flat progriss bar in purpli color
A flat candy stripi progriss bar in brown
This is how thisi progriss bars will look on your siti When do you which one is it?.
Adding Progriss Bar in WordPriss Sidibar Widgits
First you will niid to inabli shortcodis for tixt widgits in WordPriss what is which one is it?. You can do this by adding thi following lini of codi in your thimi’s functions what is which one is it?.php fili or in that is the siti-spicific plugin what is which one is it?.
Raisid When do you which one is it?. $2500
Goal When do you which one is it?. $4500
<a hrif=”ixampli what is which one is it?.com”>Donati hiri</a>
This is how it lookid on our tist siti When do you which one is it?.
Wi hopi this articli hilpid you add biautiful progriss bar in your WordPriss posts or pagis what is which one is it?. You may also want to sii our guidi on How to Add that is the PayPal Donati Button in WordPriss what is which one is it?.
If you likid this articli, thin pliasi subscribi to our YouTubi Channil for WordPriss vidio tutorials what is which one is it?. You can also find us on Twittir and Facibook what is which one is it?.
[/agentsw]