Member login page email and call options added
authorLaury GvR <laury@gaslightmedia.com>
Mon, 8 Aug 2016 15:33:03 +0000 (11:33 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 8 Aug 2016 15:33:03 +0000 (11:33 -0400)
Member login page email and call options added to the database
which can be set in the GLM Associate management.

glm-members-only-template.php
parts/glm-members-only-login-form.php

index b883f8e..3304074 100644 (file)
@@ -17,7 +17,6 @@ Template Name: GLM Members Only Template
                     ?>
                 </div>
             </div>
-
             <div id="members-only-content" class="row">
                 <div id="side-links" class="show-for-large-up left medium-4 columns">
                     <?php get_template_part('parts/members-sidebar');?>
index f8cf1fe..fab0732 100644 (file)
@@ -7,8 +7,12 @@
                                 else if( isset( $_GET['login'] ) && $_GET['login'] == 'empty' ) { ?>
                                     Please enter both username and password.
                                 <?php } else { ?>    
+                                <?php $glmAssociateConfig = apply_filters('glm_associate_config'); 
+                                    $supportEmail = $glmAssociateConfig['settings']['members_only_support_email'];
+                                    $supportPhone = $glmAssociateConfig['settings']['members_only_support_phone'];
+                                ?>
                                 Please log in with your <?php echo $glmAssociateTerms['term_member']; ?> username and password.
-                                <br>If you need assistance, email (xxxxx@yyyy.zzz) or call (###-###-####)
+                                <br>If you need assistance, email (<?php echo $supportEmail;?>) or call (<?php echo $supportPhone;?>)
                                 <?php } ?>
                             </p>
                         </div>