diff options
| author | Max | 2018-11-04 22:32:44 +0100 |
|---|---|---|
| committer | Max | 2018-11-04 22:32:44 +0100 |
| commit | 76402a87f366838bf06f6e36a552be43dfb5641c (patch) | |
| tree | ec38e2d9115dee07496edce79129461dce64dd81 /dist/inc/theme-settings.php | |
| parent | a3e1f8c9c14edf58185f290a492d86d6d688813b (diff) | |
| download | fuselkoenig_de-76402a87f366838bf06f6e36a552be43dfb5641c.tar.gz | |
Removes dist/ folder.
Diffstat (limited to 'dist/inc/theme-settings.php')
| -rwxr-xr-x | dist/inc/theme-settings.php | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/dist/inc/theme-settings.php b/dist/inc/theme-settings.php deleted file mode 100755 index 9bee616..0000000 --- a/dist/inc/theme-settings.php +++ /dev/null @@ -1,36 +0,0 @@ -<?php -/** - * Check and setup theme's default settings - * - * @package understrap - * - */ - -if ( ! defined( 'ABSPATH' ) ) { - exit; // Exit if accessed directly. -} - -if ( ! function_exists ( 'understrap_setup_theme_default_settings' ) ) { - function understrap_setup_theme_default_settings() { - - // check if settings are set, if not set defaults. - // Caution: DO NOT check existence using === always check with == . - // Latest blog posts style. - $understrap_posts_index_style = get_theme_mod( 'understrap_posts_index_style' ); - if ( '' == $understrap_posts_index_style ) { - set_theme_mod( 'understrap_posts_index_style', 'default' ); - } - - // Sidebar position. - $understrap_sidebar_position = get_theme_mod( 'understrap_sidebar_position' ); - if ( '' == $understrap_sidebar_position ) { - set_theme_mod( 'understrap_sidebar_position', 'right' ); - } - - // Container width. - $understrap_container_type = get_theme_mod( 'understrap_container_type' ); - if ( '' == $understrap_container_type ) { - set_theme_mod( 'understrap_container_type', 'container' ); - } - } -}
\ No newline at end of file |
