removing get_post from get permalink
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 14 Dec 2015 19:11:26 +0000 (14:11 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 14 Dec 2015 19:11:26 +0000 (14:11 -0500)
front-page.php

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