Add contact us page line to header
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 3 Dec 2014 13:42:55 +0000 (08:42 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 3 Dec 2014 13:42:55 +0000 (08:42 -0500)
header.php

index 9371a8f..917521c 100644 (file)
@@ -15,7 +15,7 @@
             <nav id="sec-nav">
             <ul>
                 <li><a href="<?php bloginfo('url'); ?>">Home</a></li>
-                <li><a href="<?php bloginfo('url'); ?>">Contact Us</a></li>
+                <li><a href="<?php echo esc_url( get_permalink( get_page_by_title( 'Contact Us' ) ) ); ?>">Contact Us</a></li>
                 <li><a href="https://inetpro.prestonfeather.com/cgi-bin/catalog/login.html?id=Sja2yTub" target="_blank">I-Net Pro</a></li>
             </ul>
             </nav>