Remove if statement that check for email to exists to show link to contact page
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 2 Feb 2018 13:07:30 +0000 (08:07 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 2 Feb 2018 13:07:30 +0000 (08:07 -0500)
Shouldn't need to have email in info plugin just to have the contact
page link.

sections/footer.php
style.css

index 401237e..df1d74a 100644 (file)
@@ -26,9 +26,7 @@
                 <?php if (glm_get_clientinfo_option('phone')) :?>
                 <span><?php echo glm_get_clientinfo_option('phone');?></span>
                 <?php endif;?>
-                <?php if (glm_get_clientinfo_option('email')) :?>
                 &nbsp;|&nbsp; <span><a class="contact-us-link" href="<?php echo get_permalink(get_page_by_path("contact-us"))?>">Contact Us</a></span>
-                <?php endif;?>
             </div>
         <?php endif;?>
     </div>
@@ -38,4 +36,4 @@
         </a>
     </div>
 </div>
-</footer>
\ No newline at end of file
+</footer>
index edd0034..d5ff422 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: Visit Escanaba
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for Visit Escanaba
-Version: 1.0.0
+Version: 1.0.1
 */