added live page id permalink
authorIan Weller <ian@gaslightmedia.com>
Fri, 14 Jul 2017 15:43:15 +0000 (11:43 -0400)
committerIan Weller <ian@gaslightmedia.com>
Fri, 14 Jul 2017 15:43:15 +0000 (11:43 -0400)
I added the echo get_permalink with the page id for the specific page.

header.php

index 1a83ae1..9594105 100644 (file)
@@ -19,7 +19,7 @@
                     <div id="logo" class="small-12 medium-6 columns">
                         <a href="<?php bloginfo('url'); ?>"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/logo.png"></a>
                         <a class="tag" href="<?php bloginfo('url'); ?>">Grounds Open 24/7/365 - Free Admission</a>
-                        <a class="tag" href="<?php echo esc_url( get_permalink( get_page_by_path( 'about/waterfront-event-center' ) ) ); ?>">Facilities Info - Click Here</a>
+                        <a class="tag" href="<?php echo get_permalink( 4054 ); ?>">Facilities Info - Click Here</a>
                     </div>
                     <div class="medium-6 columns">    
                         <div class="row medium-uncollapse large-collapse">