From 3a29c74bf6de7e9df906fb53ce0cda3c9040cd31 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Fri, 14 Dec 2018 12:35:52 -0500 Subject: [PATCH] Frontpage blocks now use proper bg images and check for image existence properly --- functions.php | 2 +- parts/{glm-blocks-front.php => glm-blocks-footer.php} | 11 ++++++----- sections/front-page.php | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) rename parts/{glm-blocks-front.php => glm-blocks-footer.php} (78%) diff --git a/functions.php b/functions.php index 29c71a0..c085412 100644 --- a/functions.php +++ b/functions.php @@ -8,7 +8,7 @@ $frontPageId = get_option('page_on_front'); add_action('widgets_init', 'glm_quicksite_widget_init'); add_action('widgets_init', 'glm_weather_widget_init'); -define('GLM_BLOCKS_FRONT_GROUP_ID', "8213"); // L: 8249, A: , dev70: 8213 +define('GLM_BLOCKS_FRONT_GROUP_ID', "8249"); // L: 8249, A: , dev70: 8213 if (!function_exists('glm_quicksite_widget_init')) { diff --git a/parts/glm-blocks-front.php b/parts/glm-blocks-footer.php similarity index 78% rename from parts/glm-blocks-front.php rename to parts/glm-blocks-footer.php index 3fae3e1..a213f82 100644 --- a/parts/glm-blocks-front.php +++ b/parts/glm-blocks-footer.php @@ -7,12 +7,13 @@
ID); ?> - - > - -
+ ID); ?> + + > + +
+
diff --git a/sections/front-page.php b/sections/front-page.php index addc65d..bae8160 100644 --- a/sections/front-page.php +++ b/sections/front-page.php @@ -29,7 +29,7 @@ - +
-- 2.17.1