From 60fc3f0aeac94e830995dc5f5f0d8269306d5f6e Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 14 Jul 2016 08:54:30 -0400 Subject: [PATCH] added cabin section for mobile view --- mobile-map.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/mobile-map.php b/mobile-map.php index 7e4415d..34a07e7 100644 --- a/mobile-map.php +++ b/mobile-map.php @@ -75,11 +75,21 @@ $js_categories = json_encode($categories);
post_title, 5); - echo ""; + if(strpos($site->post_name, 'cabin') === false){ + $site_name = substr($site->post_title, 5); + echo ""; + } } ?>
+ bottom-map + + post_name, 'cabin') !== false){ + echo "
" . $site->post_title . "
"; + } + } + ?> -- 2.17.1