Fix to side links
authorLaury GvR <laury@gaslightmedia.com>
Mon, 2 Mar 2015 21:13:14 +0000 (16:13 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 2 Mar 2015 21:13:14 +0000 (16:13 -0500)
sidebar.php

index 64fdb87..27482a6 100644 (file)
@@ -1,15 +1,15 @@
                 <div class="medium-3 columns show-for-medium-up sidebar">
                     <?php glm_side_menu(); ?>
                     <?php if (!is_page('upcoming-events')) {
-                        echo '<a class="tab" href="' . esc_url( get_permalink( get_page_by_title( 'upcoming-events' ) ) ).'"><h3>Upcoming Events</h3></a>';
+                        echo '<a class="tab" href="' . esc_url( get_permalink( get_page_by_title( 'Upcoming Events' ) ) ).'"><h3>Upcoming Events</h3></a>';
                     }
                     if (!is_page('news')) {
-                        echo '<a class="tab" href="' . esc_url( get_permalink( get_page_by_title( 'news' ) ) ).'"><h3>News</h3></a>';
+                        echo '<a class="tab" href="' . esc_url( get_permalink( get_page_by_title( 'News' ) ) ).'"><h3>News</h3></a>';
                     }
                     if (!is_page('collections')) {
-                        echo '<a class="tab" href="' . esc_url( get_permalink( get_page_by_title( 'collections' ) ) ).'"><h3>The Collections</h3></a>';
+                        echo '<a class="tab" href="' . esc_url( get_permalink( get_page_by_title( 'Collections' ) ) ).'"><h3>The Collections</h3></a>';
                     }
                     if (!is_page('sponsors')) {
-                        echo '<a class="tab" href="' . esc_url( get_permalink( get_page_by_title( 'sponsors' ) ) ).'"><h3>Sponsors</h3></a>';
+                        echo '<a class="tab" href="' . esc_url( get_permalink( get_page_by_title( 'Sponsors' ) ) ).'"><h3>Sponsors</h3></a>';
                     }?>
                 </div>