• Hi, we’d love to use your plugin for a donation page, but it’s a custom form using PHP. Is there a way in the plugin for the current donation total amount to be automatically pulled in, rather than added manually? Could you provide a link to any documentation on how to do this? Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author rhewlif

    (@henryp)

    The thermometer accepts shortcodes to dynamically adjust the raised totals (see the FAQ), so I think you could write your own function to create a custom shortcode that pulls in data from a database/form.. like these templates: https://generatewp.com/shortcodes/

    Thread Starter jonasweb

    (@jonasweb)

    Thank you for your fast response! The shortcode idea should work. One other question, is there a way to change the way the thermometer itself looks? My client wants it to look less like a real thermometer, meaning without the large round part at the end on the left. Is there a way to do this?

    Plugin Author rhewlif

    (@henryp)

    The svg shape is hardcoded in the therm_svg.php file so it would mean removing/adjusting coordinates here for the fill/border etc. If it’s just to square off the ‘bulb’ part then this is probably relatively simple to do.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can we pull in the current donation total with PHP?’ is closed to new replies.