Title: shortcode overrides
Last modified: September 14, 2026

---

# shortcode overrides

 *  Resolved [conejogardens](https://wordpress.org/support/users/conejogardens/)
 * (@conejogardens)
 * [3 weeks, 5 days ago](https://wordpress.org/support/topic/shortcode-overrides/)
 * I am developing a new site and one of the things we have done is incorporated
   the thermometer on different pages. However, different pages might have different
   background. Example one page has a dark blue background #011022, while another
   page has a light background #FBF3E9.
 * I have tried to inject raisedcolor=#6F8F57 into the shortcode, but it is defaulting
   to the Donation Thermometer settings color. Is there a way to override the default
   settings with a shortcode override for any of the colors?
    -  This topic was modified 3 weeks, 5 days ago by [conejogardens](https://wordpress.org/support/users/conejogardens/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [rhewlif](https://wordpress.org/support/users/henryp/)
 * (@henryp)
 * [3 weeks, 4 days ago](https://wordpress.org/support/topic/shortcode-overrides/#post-19020561)
 * Hi, I can’t seem to reproduce the problem with the shortcode parameter like you
   mention. This shortcode below will change just the colour of the raised value
   number over what is saved as the default on the settings page:
 *     ```wp-block-code
       [thermometer raisedcolor=#3858e9]
       ```
   
 * If you want to change the thermometer fill colour then use fill=#3858e9 etc. 
   Further colour parameters for other elements can be found on the help tab on 
   the plugin settings page.
 * If you share the shortcode you are trying then perhaps I can troubleshoot further.
   Are you also on the latest version?
 *  Thread Starter [conejogardens](https://wordpress.org/support/users/conejogardens/)
 * (@conejogardens)
 * [3 weeks, 3 days ago](https://wordpress.org/support/topic/shortcode-overrides/#post-19021176)
 * Thank you! This was very helpful and confirmed that the shortcode override works
   as expected.
 * I tracked down the issue on my end. I’m using a custom wrapper shortcode around`[
   thermometer]`, and the wrapper was not passing the optional color parameters 
   through to the underlying Thermometer shortcode.
 * I’ve updated the wrapper to pass through the supported color attributes, and `
   raisedcolor` is now working perfectly on a per-thermometer basis while preserving
   the global defaults.
 * So this was **not an issue with the Donation Thermometer plugin**. Everything
   is working as intended.
 * Thanks again for the quick response and for maintaining the plugin!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-overrides%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/donation-thermometer/assets/icon-256x256.png?rev=3197594)
 * [Donation Thermometer](https://wordpress.org/plugins/donation-thermometer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/donation-thermometer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/donation-thermometer/)
 * [Active Topics](https://wordpress.org/support/plugin/donation-thermometer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/donation-thermometer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/donation-thermometer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [conejogardens](https://wordpress.org/support/users/conejogardens/)
 * Last activity: [3 weeks, 3 days ago](https://wordpress.org/support/topic/shortcode-overrides/#post-19021176)
 * Status: resolved