adding url params to the event map links for the up map in the dropdown and front...
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 15 Jan 2019 21:01:06 +0000 (16:01 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 15 Jan 2019 21:01:06 +0000 (16:01 -0500)
parts/events-search-widget.php

index 6f0c53d..c618841 100644 (file)
@@ -5,9 +5,9 @@
             Winter, spring summer or fall - you are sure to find something to do in Michigan's Upper Peninsula!
             <div class="up-map-wrapper">
                 <img class="up-map-image" src="<?php echo get_template_directory_uri(); ?>/assets/map_region.png" alt="">
-                <a class="map_west" href=""><img src="<?php echo get_template_directory_uri(); ?>/assets/map_west.png"></a>
-                <a class="map_central" href=""><img src="<?php echo get_template_directory_uri(); ?>/assets/map_central.png"></a>
-                <a class="map_east" href=""><img src="<?php echo get_template_directory_uri(); ?>/assets/map_east.png"></a>
+                <a class="map_west" href="<?php echo get_permalink(757); ?>?region=3"><img src="<?php echo get_template_directory_uri(); ?>/assets/map_west.png"></a>
+                <a class="map_central" href="<?php echo get_permalink(757); ?>?region=2"><img src="<?php echo get_template_directory_uri(); ?>/assets/map_central.png"></a>
+                <a class="map_east" href="<?php echo get_permalink(757); ?>?region=1"><img src="<?php echo get_template_directory_uri(); ?>/assets/map_east.png"></a>
             </div>
         </div>
         <div class="small-12 large-5 columns">