From 5d80ff7501631e01c82a7256ef389050b0b85e17 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 4 May 2017 09:21:45 -0400 Subject: [PATCH] fixed excerpt not containing url on the front page feed had to add wp_reset_query to allow the ACF data to display and to fix the issues with the excerpt not getting the url to the post --- parts/blog-feed-front.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/parts/blog-feed-front.php b/parts/blog-feed-front.php index 1c527ae..b0ee767 100644 --- a/parts/blog-feed-front.php +++ b/parts/blog-feed-front.php @@ -3,16 +3,16 @@ +foreach($lastposts as $post) : setup_postdata($post); ?>
- ID )) { ?> - ID, 'glm-block-image', array('class' => 'blog-excerpt-img-wrap')); ?> + ID )) { ?> + ID, 'glm-block-image', array('class' => 'blog-excerpt-img-wrap')); ?>
-
+
@@ -20,4 +20,5 @@ foreach($lastposts as $posts) : setup_postdata($posts); ?>
+
-- 2.17.1