removing page title from the members only section
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 24 Oct 2017 12:43:50 +0000 (08:43 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 24 Oct 2017 12:43:50 +0000 (08:43 -0400)
members only section didn't previously have a page title, removing the one I just added

parts/glm-members-only-top-bar.php

index 9daaa07..c6b0782 100644 (file)
@@ -4,17 +4,6 @@
          bcn_display();
          echo "</div>";
     } ?>
-    <h1 class="page-title">
-        <?php
-            if ( is_member() ) {
-                echo get_member_name();
-            } else if ( glm_is_event_detail() ) {
-                echo glm_get_event_name();
-            } else {
-                echo get_the_title();
-            }
-        ?>
-    </h1>
     <div class="small-12 medium-6 columns members-only-buttons">
         <a class='button glm-button' href="<?php echo wp_logout_url( home_url() ); ?>">Logout</a>
         <?php if (current_user_can("glm_members_member")) { ?>