From: Anthony Talarico Date: Tue, 2 Aug 2016 18:03:03 +0000 (-0400) Subject: fixed sytanx error in the nav image map args array X-Git-Tag: v1.0.0^2~189 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=4e68617054f1279489fdef13f2e396cec8b4900c;p=WP-Themes%2Fpetoskeyarea.git fixed sytanx error in the nav image map args array --- diff --git a/parts/community-map.php b/parts/community-map.php index 94a9450..38e666a 100644 --- a/parts/community-map.php +++ b/parts/community-map.php @@ -27,7 +27,7 @@ 'page', 'post__in' => array(276,275,274,273,983,981,985), 'posts_per_page' => -1, @@ -35,24 +35,24 @@ // 'post__in' => array(69,71,73,75, 77, 79) ); -$posts = get_posts($args); +$nav_posts = get_posts($nav_args); -foreach ($posts as $p){ +foreach ($nav_posts as $p){ $sites[$p->ID] = get_permalink($p->ID); } $js_sites = json_encode($sites); ?> + \ No newline at end of file +