Total Donation Amount as Number Variable
-
I need code that calls the total donation amount (total of all donation forms) as a number variable as I would like to use that variable in a Divi bar counter module.
Currently, I am using the following code “<div class=”custom total”>[give_totals ids=”1271,1277,1280,1285″ message=”{total}”]</div>”, which in my case generates the total donation amount, but with a £-sign in front of the number.
This is obviously not compatible with the Divi bar module as it is a text string.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Total Donation Amount as Number Variable’ is closed to new replies.