removing test echo statements
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 30 Aug 2016 20:24:29 +0000 (16:24 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 30 Aug 2016 20:24:29 +0000 (16:24 -0400)
parts/community-map.php

index 72b223e..98fdad9 100644 (file)
@@ -59,15 +59,12 @@ foreach ($nav_posts as $p){
     $sites[$p->ID]['title'] = get_the_title($p->ID );
     $sites[$p->ID]['image'] = wp_get_attachment_url( get_post_thumbnail_id($p->ID));
     $sites[$p->ID]['excerpt'] = get_the_excerpt( $p->ID );
-    echo $p->ID;
 
     // $content = strip_tags($page_object->post_content);
     // $filter_content = mb_substr($content, 0, strpos($content, ' ', 260));
     // $filter_content = json_encode(strip_shortcodes($filter_content));
     // $filter_content = trim(preg_replace('/\s+/', ' ',$filter_content);
 
-
-
     $filter_content = substr(strip_tags($page_object->post_content),0, 300);
     $filter_content = strip_shortcodes($filter_content);
     $sites[$p->ID]['content'] = $filter_content;