From: Laury GvR Date: Wed, 30 May 2018 17:24:58 +0000 (-0400) Subject: Featured products now use blocks X-Git-Tag: v1.0.0^2~25 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=fc005bd07385687e4c2bc8732a377dc7a110b08f;p=WP-Themes%2Fmurdicksmackinacfudge.git Featured products now use blocks --- diff --git a/functions.php b/functions.php index a949a88..3ebc92a 100644 --- a/functions.php +++ b/functions.php @@ -159,6 +159,7 @@ add_action('init', 'mytheme_init', 10); function wpse_setup_theme() { add_image_size('glm-block', 271, 160,true); + add_image_size('glm-block-product', 500, 250,true); add_image_size('glm-map-image', 290, 190,true); add_image_size('glm-blog-image', 300, 225,true); } diff --git a/parts/glm-blocks-bottom.php b/parts/glm-blocks-bottom.php new file mode 100644 index 0000000..60cfa6d --- /dev/null +++ b/parts/glm-blocks-bottom.php @@ -0,0 +1,55 @@ + + + + + + + diff --git a/parts/glm-blocks-products.php b/parts/glm-blocks-products.php new file mode 100644 index 0000000..e66495a --- /dev/null +++ b/parts/glm-blocks-products.php @@ -0,0 +1,68 @@ + + + + + + + +
+
+ + + url):?> + + + + + + + url):?> + + + + + + post_content) { ?> +
+ post_content; ?> +
+ + + url):?> + + + +
+ +
+ + + + diff --git a/sections/front-page.php b/sections/front-page.php index 76204b3..21ce9e7 100644 --- a/sections/front-page.php +++ b/sections/front-page.php @@ -5,15 +5,16 @@
-
- +