diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ab9fe2d..dae9780 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,6 +2,7 @@ + @@ -26,10 +27,19 @@ - - + + + + + + + + + + + @@ -176,12 +186,12 @@ - @@ -235,10 +245,19 @@ - - + + + + + + + + + + + diff --git a/single.php b/single.php index 2bfde6a..911dd94 100644 --- a/single.php +++ b/single.php @@ -95,11 +95,11 @@ )); foreach($tagebuch as $tb){ if(get_field('urlaub',$tb->ID)->ID === get_the_ID()){ - $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'post-thumb' ); + $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($tb->ID), 'post-thumb' ); - echo('
'); - echo('
'); - echo('

'.the_title().'

'); + echo('
'); + echo('
'); + echo('

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

'); } } ?>