More field organization
authorChuck Scott <cscott@gaslightmedia.com>
Wed, 20 May 2015 20:28:38 +0000 (16:28 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Wed, 20 May 2015 20:28:38 +0000 (16:28 -0400)
simple-wp-membership/view.php

index b4b576b..52b2e54 100644 (file)
 
                                <div class="minorBreak"> </div>
                                <div class="row"><div class="small-12 columns sectionTitle">Personal</div></div>
-                       '.($m['email'] != '' ? '
+                       '.($m['Primary name'] != '' ? '
                                <div class="row">
-                                       <!-- Email Address -->
-                                       <div class="small-12 columns end fieldValue">'.$m['email'].'</div>
+                                       <!-- Primary name -->
+                                       <div class="small-12 columns end fieldValue">'.$m['Primary name'].'</div>
+                               </div>
+                       ' : '').'
+                       '.($m['Primary email'] != '' ? '
+                               <div class="row">
+                                       <!-- Primary Email -->
+                                       <div class="small-12 columns end fieldValue">'.$m['Primary email'].'</div>
                                </div>
                        ' : '').'
                        '.($m['phone'] != '' ? '
                                <div class="row">
-                                       <!-- Cell Phone -->
+                                       <!-- Cell Phone / Primary phone -->
                                        <div class="small-12 columns end fieldValue">'.$m['phone'].'</div>
                                </div>
                        ' : '').'