From 9df10d5e55d88f7348b66b2108aee0be79cd0935 Mon Sep 17 00:00:00 2001 From: Markus Ankenbrand Date: Sat, 10 Sep 2016 21:21:47 +0200 Subject: [PATCH] Call post_class separately --- single.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/single.php b/single.php index 911dd94..c2b391b 100644 --- a/single.php +++ b/single.php @@ -95,9 +95,9 @@ )); foreach($tagebuch as $tb){ if(get_field('urlaub',$tb->ID)->ID === get_the_ID()){ - $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($tb->ID), 'post-thumb' ); - - echo('
'); + echo('
'); echo('
'); echo('

'.get_the_title($tb->ID).'

'); }