Update theme-settings.php
If someone tries to override in child temp
This commit is contained in:
parent
9baf0b29fb
commit
c5a142b762
|
@ -5,7 +5,9 @@
|
||||||
* @package understrap
|
* @package understrap
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
function setup_theme_default_settings() {
|
|
||||||
|
if ( ! function_exists( 'setup_theme_default_settings' ) ) :
|
||||||
|
function setup_theme_default_settings() {
|
||||||
|
|
||||||
// check if settings are set, if not set defaults.
|
// check if settings are set, if not set defaults.
|
||||||
// Caution: DO NOT check existence using === always check with == .
|
// Caution: DO NOT check existence using === always check with == .
|
||||||
|
@ -26,4 +28,5 @@ function setup_theme_default_settings() {
|
||||||
if ( '' == $understrap_container_type ) {
|
if ( '' == $understrap_container_type ) {
|
||||||
set_theme_mod( 'understrap_container_type', 'container' );
|
set_theme_mod( 'understrap_container_type', 'container' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
endif;
|
||||||
|
|
Reference in New Issue