missed a link
authorIan Weller <ian@gaslightmedia.com>
Thu, 22 Oct 2015 19:15:54 +0000 (15:15 -0400)
committerIan Weller <ian@gaslightmedia.com>
Thu, 22 Oct 2015 19:15:54 +0000 (15:15 -0400)
footer.php

index fd17313..1be459d 100644 (file)
                                         <span class="bullet"> &#8226; </span>
                                         <span>
                                             <?php $contactPage = get_page_by_title('Contact');?>
-                                            <?php if($newsPage):?>
-                                            <a href="<?php echo get_page_link($contactPage->ID);?>">Contact Us</a></span>    
+                                            <?php if($contactPage):?>
+                                            <a href="<?php echo get_page_link($contactPage->ID);?>">Contact Us</a>
+                                        <?php endif;?>
+                                        </span>    
                                     </div>
                                 </div>
                             </div>