From: Anthony Talarico Date: Thu, 14 Jul 2016 12:54:30 +0000 (-0400) Subject: added cabin section for mobile view X-Git-Tag: v1.0.0~68^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=60fc3f0aeac94e830995dc5f5f0d8269306d5f6e;p=WP-Themes%2Fpetoskeyveterinarian.git added cabin section for mobile view --- 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 . "
"; + } + } + ?>