Hello Jenny,
Sorry for my ignorance but can you please tell me if setting the color in the Global general settings does not help in such cases?
Once set in the general settings, one does not need to set that every time for new posts.
Rather than adding custom colors in the custom template or stylesheet, you can add the same colors in the Global settings.
Looking forward to helping you. Thank you.
Thread Starter
M
(@angelxchild)
It’s fine to have it for people who wish to set the global colors, but for those who don’t, you’re adding default colors regardless, with no way of removing those colors. If no color values are set, the default should be transparent, or just not add those inline styles at all.
Hello Jenny
Sorry to disappoint but the plugin is coded in this way only.
Most of the users set global values to the options, otherwise, plugin’s styling gets break.
What I’m adding internally is a request to introduce a new filter to disable inline stylesheet.
Hope that helps. If there’s anything else, please let me know. I’m here to help. Thank you.
Hello Jenny,
I have discussed this issue with our developers, they told me about the existing filter present in the plugin which will remove the inline CSS.
Please add below code in the functions.php file present in your theme file and it will remove the inline CSS.
add_filter( 'wp_review_color_output', '__return_empty_string' );
Hope this helps.
Thank you.
Thread Starter
M
(@angelxchild)
Tried adding that to my functions.php, didn’t do anything.
Hello @angelxchild,
It is working fine for me. Are you using any cache plugin or Cloudflare cache? If yes please try clearing the cache or disable the cache plugin for some time.
Looking forward to helping you.
Thank you.