From 4b6d0c20a8e7a68fd1a32855b8074908501c71a6 Mon Sep 17 00:00:00 2001 From: Markus Ankenbrand Date: Sat, 10 Sep 2016 21:27:12 +0200 Subject: [PATCH] Add correct id for post_class --- single.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/single.php b/single.php index a8dca48..dc4997f 100644 --- a/single.php +++ b/single.php @@ -97,7 +97,7 @@ 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('ID); echo(' style="background-image: url('.$thumb['0'].');">
'); echo('
'); echo('

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

');