fixing syntax error with get_permalink for the default image in the community map...
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 29 Aug 2016 20:29:32 +0000 (16:29 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 29 Aug 2016 20:29:32 +0000 (16:29 -0400)
parts/community-map.php

index 6aed8c2..85cbbd1 100644 (file)
@@ -14,7 +14,7 @@
             <?php $community_page_content = substr(strip_tags($community_page_object->post_content),0, 300) . "..."; ?>
             <?php $community_page_content = json_encode(strip_shortcodes($community_page_content)); ?>
 
-                <a class="map-page-link" href="<?php $community_page_url ;?>"><div class="map-image-container"></div></a>
+                <a class="map-page-link" href="<?php echo $community_page_url ;?>"><div class="map-image-container"></div></a>
                 <div class="map-page-title-container"><a class="map-page-link map-title-link" href="#"><h4 class="map-page-title"></h4></a></div>
                 <div class="map-page-content">  </div>