changing page id for the default dropdown map content
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 4 Oct 2016 17:25:49 +0000 (13:25 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 4 Oct 2016 17:25:49 +0000 (13:25 -0400)
parts/dropdown-map.php

index f4ab5bd..e0946cd 100644 (file)
                 </svg>
               
                <div id="mapRegionData">
-                    <?php $community_page_object  = get_page( 254 ); ?>
-                    <?php $community_page_image  = wp_get_attachment_image_src( get_post_thumbnail_id( 254 ), 'map-image'); ?>
-                    <?php $community_page_url     = get_permalink( 254 ); ?>
+                    <?php $community_page_object  = get_page( 186 ); ?>
+                    <?php $community_page_image  = wp_get_attachment_image_src( get_post_thumbnail_id( 186 ), 'map-image'); ?>
+                    <?php $community_page_url     = get_permalink( 186 ); ?>
                     <?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)); ?>
-                    <?php $community_page_content = json_encode( get_the_excerpt( 254 ) ); ?>
+                    <?php $community_page_content = json_encode( get_the_excerpt( 186 ) ); ?>
                     
                     
                     <div class="map-page-title-container"><a class="map-page-link map-title-link" href="<?php echo $community_page_url ;?>"></a></div>