@@ -20,6 +20,7 @@ function register_display_settings($wp_customize)
2020 $ wp_customize ->add_setting (
2121 'cc_base_include_donate ' ,
2222 array (
23+ 'type ' => 'theme_mod ' ,
2324 'default ' => true ,
2425 'transport ' => 'refresh ' ,
2526 'capability ' => 'manage_options ' ,
@@ -29,6 +30,7 @@ function register_display_settings($wp_customize)
2930 $ wp_customize ->add_setting (
3031 'cc_base_enabled_announcement ' ,
3132 array (
33+ 'type ' => 'theme_mod ' ,
3234 'default ' => true ,
3335 'transport ' => 'refresh ' ,
3436 'capability ' => 'manage_options ' ,
@@ -38,6 +40,7 @@ function register_display_settings($wp_customize)
3840 $ wp_customize ->add_setting (
3941 'cc_base_show_authors ' ,
4042 array (
43+ 'type ' => 'theme_mod ' ,
4144 'default ' => true ,
4245 'transport ' => 'refresh ' ,
4346 'capability ' => 'manage_options ' ,
@@ -89,6 +92,7 @@ function register_featured_content_settings($wp_customize)
8992 $ wp_customize ->add_setting (
9093 'cc_base_enable_featured_content ' ,
9194 array (
95+ 'type ' => 'theme_mod ' ,
9296 'default ' => true ,
9397 'transport ' => 'refresh ' ,
9498 'capability ' => 'manage_options ' ,
@@ -98,6 +102,7 @@ function register_featured_content_settings($wp_customize)
98102 $ wp_customize ->add_setting (
99103 'cc_base_featured_content ' ,
100104 array (
105+ 'type ' => 'theme_mod ' ,
101106 'default ' => '' ,
102107 'transport ' => 'refresh ' ,
103108 'capability ' => 'manage_options ' ,
@@ -107,6 +112,7 @@ function register_featured_content_settings($wp_customize)
107112 $ wp_customize ->add_setting (
108113 'cc_base_featured_content_background_color ' ,
109114 array (
115+ 'type ' => 'theme_mod ' ,
110116 'default ' => '#ffffff ' ,
111117 'transport ' => 'refresh ' ,
112118 'capability ' => 'manage_options ' ,
@@ -116,6 +122,7 @@ function register_featured_content_settings($wp_customize)
116122 $ wp_customize ->add_setting (
117123 'cc_base_featured_content_background_image ' ,
118124 array (
125+ 'type ' => 'theme_mod ' ,
119126 'default ' => null ,
120127 'transport ' => 'refresh ' ,
121128 'capability ' => 'manage_options ' ,
0 commit comments