adding footer function
authorIan Weller <ian@gaslightmedia.com>
Tue, 18 Aug 2015 17:00:40 +0000 (13:00 -0400)
committerIan Weller <ian@gaslightmedia.com>
Tue, 18 Aug 2015 17:00:40 +0000 (13:00 -0400)
footer.php

index 23ef8ca..43a0cf0 100644 (file)
@@ -9,18 +9,7 @@
                                             <a href="http://openweathermap.org/city/5002714" target="_blank" id="activate-weather">Weather</a>
                                         </li>
                                         <li><a class="nf-modal-link" rel="nf-modal:open" href="#ninja-forms-modal-5">Sign Up</a></li>
-                                        <li>
-                                            <?php $visitorguidePage = get_page_by_title('Visitor Guide');?>
-                                            <?php if($visitorguidePage):?>
-                                            <a href="<?php echo get_page_link($visitorguidePage->ID);?>">Visitors Guide</a>
-                                            <?php endif;?>
-                                        </li>
-                                        <li>
-                                            <?php $mediaPage = get_page_by_title('Media');?>
-                                            <?php if($mediaPage):?>
-                                            <a href="<?php echo get_page_link($mediaPage->ID);?>">Media</a>
-                                            <?php endif;?>
-                                        </li>
+                                        <?php mountpleasantcvb_footer(); ?>
                                     </ul>
                                 </div>
                                 <div class="large-2 columns show-for-large-up social">