From: Anthony Talarico Date: Tue, 2 Aug 2016 17:47:00 +0000 (-0400) Subject: temporarily duplicated the code from the front page image map script to the nav bar... X-Git-Tag: v1.0.0^2~191 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=ba8de9c7b31a24c3b78ce83c08c5de99bb9aefd5;p=WP-Themes%2Fpetoskeyarea.git temporarily duplicated the code from the front page image map script to the nav bar parts image map until I can get it all working from one part --- diff --git a/parts/community-map.php b/parts/community-map.php index 5bddc42..9d31d3a 100644 --- a/parts/community-map.php +++ b/parts/community-map.php @@ -8,7 +8,7 @@ petoskey bay-harbor boyne-city - alanson + alanson bay-view harbor-springs walloon-lake @@ -25,4 +25,34 @@ - \ No newline at end of file + + 'page', + 'post__in' => array(276,275,274,273,983,981,985), + 'posts_per_page' => -1, + 'numberposts' => -1 +// 'post__in' => array(69,71,73,75, 77, 79) +); + +$posts = get_posts($args); + +foreach ($posts as $p){ + $sites[$p->ID] = get_permalink($p->ID); +} + $js_sites = json_encode($sites); +?> + + \ No newline at end of file