changing frontpage view all events button url from esc_url to try and fix
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 3 Feb 2017 19:03:15 +0000 (14:03 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 3 Feb 2017 19:03:15 +0000 (14:03 -0500)
redirection that works with middle click

parts/sidebar.php

index ea771d9..cad2e51 100644 (file)
@@ -3,7 +3,7 @@
     <div class="date-overlay"></div>
     <form class="text-left">
        <?php get_template_part('parts/event-feed'); ?>
-        <a class="small-centered columns medium-text-right" id="glm-all-events" href="<?php echo esc_url(get_permalink(16)); ?>"><button>View All Events</button></a>
+        <a class="small-centered columns medium-text-right" id="glm-all-events" href="<?php echo get_permalink(16); ?>"><button>View All Events</button></a>
         <label for="frontpage-sidebar"><h4>Quick Links</h4></label>
         <?php get_template_part("parts/frontpage-sidebar-dropdown") ?>
     </form>