Update phone number from plugin
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 15 Nov 2017 15:49:19 +0000 (10:49 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 15 Nov 2017 15:49:19 +0000 (10:49 -0500)
Use the client info phone number in the plugin.

header.php

index 113c6b4..bd2172d 100644 (file)
@@ -23,7 +23,9 @@
                         </div>
                         <div class="medium-2 columns show-for-medium-up text-right">
                             <ul>
-                                <li>231-651-0434</li>
+                                <li><?php if ( glm_get_clientinfo_option('phone') ) {
+                                    echo glm_get_clientinfo_option('phone');
+                                    } ?></li>
                                 <li><a href="<?php echo get_permalink(47); ?>">Contact Us</a></li>
                             </ul>
                         </div>