From dbef8ebdcb354eff4f387ad7b044bf7f06c81127 Mon Sep 17 00:00:00 2001 From: Markus Ankenbrand Date: Mon, 12 Sep 2016 13:39:32 +0200 Subject: [PATCH] Add link to Urlaub from Album and Tagebuch --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 4483030..cadbf37 100644 --- a/functions.php +++ b/functions.php @@ -93,7 +93,7 @@ function atravelblog_related_posts() { echo(' '); endif; wp_reset_query(); - } elseif($cat == 'Tour') { + } elseif($cat == 'Tour' || $cat == 'Album' || $cat == 'Tagebuch') { $urlaub = new WP_Query(array('p' => get_field('urlaub')[0])); if ($urlaub->have_posts()) : echo('

Urlaub:

');