Add link to Urlaub from Album and Tagebuch
This commit is contained in:
parent
63f784acf5
commit
dbef8ebdcb
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ function atravelblog_related_posts() {
|
||||||
echo('</div> <!-- /related-posts -->');
|
echo('</div> <!-- /related-posts -->');
|
||||||
endif;
|
endif;
|
||||||
wp_reset_query();
|
wp_reset_query();
|
||||||
} elseif($cat == 'Tour') {
|
} elseif($cat == 'Tour' || $cat == 'Album' || $cat == 'Tagebuch') {
|
||||||
$urlaub = new WP_Query(array('p' => get_field('urlaub')[0]));
|
$urlaub = new WP_Query(array('p' => get_field('urlaub')[0]));
|
||||||
if ($urlaub->have_posts()) :
|
if ($urlaub->have_posts()) :
|
||||||
echo('<h4 style="color: white; margin-top: 20px;" class="section-inner">Urlaub:</h4>');
|
echo('<h4 style="color: white; margin-top: 20px;" class="section-inner">Urlaub:</h4>');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue