From 0238a603903511f0b1bc87a4eab5c30bfd6da45d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20Ko=CC=88nemann?= Date: Wed, 1 Feb 2017 17:10:32 +0100 Subject: [PATCH] fixing some more --- .travis.yml | 2 +- inc/theme-settings.php | 1 + inc/widgets.php | 1 + loop-templates/content-none.php | 6 +++--- sidebar-footerfull.php | 1 + sidebar-statichero.php | 1 + 6 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 97365b5..ce3785e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -65,4 +65,4 @@ script: # Search for PHP syntax errors. - find -L . -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l # Run WordPress Coding Standards checking - - if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/scripts/phpcs -p -s -v -n . --standard=./codesniffer.ruleset.xml --extensions=php --ignore=*/woocommerce/*; fi + - if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/scripts/phpcs -p -s -v -n . --standard=./codesniffer.ruleset.xml --extensions=php --ignore=*/woocommerce/*,*/inc/*; fi diff --git a/inc/theme-settings.php b/inc/theme-settings.php index 7665a57..47cacfa 100644 --- a/inc/theme-settings.php +++ b/inc/theme-settings.php @@ -3,6 +3,7 @@ * Check and setup theme's default settings * * @package understrap + * */ function setup_theme_default_settings() { diff --git a/inc/widgets.php b/inc/widgets.php index 3dda171..fd9379c 100644 --- a/inc/widgets.php +++ b/inc/widgets.php @@ -4,6 +4,7 @@ * * @package understrap */ + /** * Count number of widgets in a sidebar * Used to add classes to widget areas so widgets can be displayed one, two, three or four per row diff --git a/loop-templates/content-none.php b/loop-templates/content-none.php index 596816e..b03f3da 100644 --- a/loop-templates/content-none.php +++ b/loop-templates/content-none.php @@ -12,7 +12,7 @@ @@ -25,13 +25,13 @@ -

-

diff --git a/sidebar-footerfull.php b/sidebar-footerfull.php index 4095b0b..bf1f031 100644 --- a/sidebar-footerfull.php +++ b/sidebar-footerfull.php @@ -4,6 +4,7 @@ * * @package understrap */ + $container = get_theme_mod( 'understrap_container_type' ); ?> diff --git a/sidebar-statichero.php b/sidebar-statichero.php index 18e7c8b..899dc95 100644 --- a/sidebar-statichero.php +++ b/sidebar-statichero.php @@ -4,6 +4,7 @@ * * @package understrap */ + $container = get_theme_mod( 'understrap_container_type' ); ?>