fixed block linking to incorrect page
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 14 Dec 2015 18:52:59 +0000 (13:52 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 14 Dec 2015 18:52:59 +0000 (13:52 -0500)
front-page.php

index 0a76d84..78d6aef 100644 (file)
@@ -44,7 +44,7 @@
                                 </div>
                                 <br>
                                 <div class="block-button">
-                                    <label><a href="<?php echo esc_url( get_permalink( get_page_by_title( '2015 Events Calendar' ) ) ); ?>">View All Events</a></label>
+                                    <label><a href="<?php echo esc_url( get_permalink( get_post( 1414 ) ) ); ?>">View All Events</a></label>
                                 </div>
                                 <br>
                             </div>