Changed get_page_by_title to get_post
authorLaury GvR <laury@gaslightmedia.com>
Wed, 3 Feb 2016 17:37:38 +0000 (12:37 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 3 Feb 2016 17:37:38 +0000 (12:37 -0500)
footer.php
parts/client-info-footer.php
style.css

index 4e08f93..0bec9bd 100644 (file)
@@ -18,7 +18,7 @@
                             <div class="row collapse">
                                 <?php get_template_part('parts/client-info-footer');?>
                                 <div class="small-11 small-text-center medium-offset-0 medium-5 large-offset-3 large-4 columns">
-                                    <a href="<?php bloginfo('url'); ?>/<?php echo get_page_uri(get_page_by_title('E-News Signup'))?>"><img src="<?php echo get_template_directory_uri(); ?>/assets/signup.png"></a>
+                                    <a href="<?php bloginfo('url'); ?>/<?php echo get_post(2352)?>"><img src="<?php echo get_template_directory_uri(); ?>/assets/signup.png"></a>
                                 </div>
                             </div>
                         </footer>
index 73f7e4b..11a16bf 100644 (file)
@@ -24,7 +24,7 @@
         <span class="bullet"> &#8226; </span><span><?php echo glm_get_clientinfo_option('extra');?></span>
     <?php endif;?>
     <?php endif;?>
-    <?php $contactPage = get_page_by_title('Contact Us');?>
+    <?php $contactPage = get_post(1942);?>
     <?php if($contactPage):?>
     <span class="bullet"> &#8226; </span><span><a href="<?php echo get_page_link($contactPage->ID);?>">Contact Us</a></span>
     <?php endif;?>
index e63936c..4fb3687 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: NLEA
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for NLEA
-Version: 1.0.7
+Version: 1.0.9
 */