From 43347a763bd0e3586bf6d6b06e111ea1bc8d2807 Mon Sep 17 00:00:00 2001 From: Markus Ankenbrand Date: Mon, 12 Sep 2016 12:29:05 +0200 Subject: [PATCH] Fix formatting add log for Tour category --- functions.php | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/functions.php b/functions.php index a64a43a..5880961 100644 --- a/functions.php +++ b/functions.php @@ -23,25 +23,25 @@ add_filter('acf/fields/google_map/api', 'my_acf_google_map_api'); // Related posts function function atravelblog_related_posts() { - - echo(' '); - wp_reset_query(); - - } + echo(' '); + wp_reset_query(); + } elseif($cat == 'Tour') { + var_dump(get_field('urlaub')); + } } \ No newline at end of file