From: Anthony Talarico Date: Tue, 2 May 2017 17:37:28 +0000 (-0400) Subject: adding advanced custom field data for the front page support section X-Git-Tag: v1.0.0^2~40 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=90f26e29b74ddb4e372659e79be288fc13585684;p=WP-Themes%2Fgreatlakescfa.git adding advanced custom field data for the front page support section adding the_field function to the front page theme template file. Also had to fix a var in the foreach for the blog posts template file as it was overriding the global post variable --- diff --git a/parts/blog-feed-front.php b/parts/blog-feed-front.php index 9d24001..0a86445 100644 --- a/parts/blog-feed-front.php +++ b/parts/blog-feed-front.php @@ -3,12 +3,12 @@ +foreach($lastposts as $posts) : setup_postdata($posts); ?>
- ID )) { ?> + ID )) { ?>
- ID, array(190, 190), array('class' => 'blog-excerpt-img-wrap')); ?> + ID, array(190, 190), array('class' => 'blog-excerpt-img-wrap')); ?>
@@ -22,4 +22,4 @@ foreach($lastposts as $post) : setup_postdata($post); ?>
-
\ No newline at end of file +
diff --git a/sections/front-page.php b/sections/front-page.php index b3b638c..e6c58dd 100644 --- a/sections/front-page.php +++ b/sections/front-page.php @@ -27,7 +27,9 @@
+
+
@@ -61,16 +63,17 @@
+
-
+
+
-

Generous supporters bring the dream to life

-

As an independent 501(c)3 charitable organization, the Great Lakes Center for the Arts wouldn't be possible without the generosity of our supporters. We invite you to consider joining the family of dream makers who believe in the power of the arts!

+