changed get_page title to get post using id
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 18 Nov 2015 20:48:30 +0000 (15:48 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 18 Nov 2015 20:48:30 +0000 (15:48 -0500)
header.php

index 9ea82c9..65aeab7 100644 (file)
@@ -26,7 +26,7 @@
                             </div>
                             <div class="right large-8">
                                 <ul class="social right">
-                                    <?php $aboutPage = get_page_by_title('About');?>
+                                    <?php $aboutPage = get_post(196);?>
                                     <?php if($aboutPage):?>
                                         <li><a href="<?php echo get_page_link($aboutPage->ID);?>">About</a></li>
                                     <?php endif;?>