Hey there!
Could you please test this using the under development version from https://github.com/aristath/kirki and let me know if that fixes your issue?
Also could you please tell me how you’re trying to get the value?
Is it using get_theme_mod? Did you define a default value in your get_theme_mod call?
Thread Starter
nude
(@nude)
Hey Aristeides Stathopoulos,
I am using kirki-demo to examine this issue and also I use Reset WP plugin to reset the theme to run default values of customizer.
By activating the kirki-demo theme and going to Appearance> customize > checkbox controls >checkbox demo (first filed) the checkbox displays true default value correctly but if you check function.php and set default value of this element on => false , 0 or ‘0’ as you’ll see the default value does not change and stays true.
Thanks.