Percentage symbol | WordPress.org

[ad_1]

Hey again!

At the moment, I have the currency field where I can define “$” as the symbol and have the field populated with 1000 value for example. On the frontend, the field will show as “$1,000” which is perfect.

How can I get this done for a percentage field? I want to be able to have it populated with “20” for example and the field to appear on the frontend as “20%” – is this a quick fix? I tried with the currency field and changed the currency symbol from “$” to “%” but I need the symbol in this particular case to be after the number, not before.

Also, would it be too much of a trouble to find a way to have the currency (and percentage for that matter) symbol show all the time? In the currency field at the moment, when you’re editing the value the actual symbol disappears until you click outside of the field or jump to another one.

Thank you!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer