moving members only topbar above bread crumbs
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 25 May 2017 17:45:44 +0000 (13:45 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 25 May 2017 17:45:44 +0000 (13:45 -0400)
members only topbar is currently below breadcrumbs on interior pages in members only
template, moving above the breadcrumbs

sections/interior-page.php

index 6bde974..ebaf5c7 100644 (file)
@@ -8,6 +8,8 @@
                                     <div class="members-only-template large-push-4 large-8 columns" data-equalizer-watch>
                                             <?php if (current_user_can("glm_members_member")) { ?>
                                                 <!-- If user is logged in as a member, display top bar, bread crumbs, & content -->
+                                            
+                                                <?php get_template_part('parts/glm-members-only-top-bar'); ?>
                                                 <?php if(function_exists('bcn_display') && !is_front_page())
                                              {
                                                 echo "<div class=\"breadcrumbs small-12 columns\">"; 
@@ -15,7 +17,6 @@
                                                 echo "</div>";
                                             }
                                             ?>
-                                                <?php get_template_part('parts/glm-members-only-top-bar'); ?>
                                                 <?php get_template_part('parts/main-content'); ?>
                                             <?php } else if (get_the_ID() == get_option("glm_members_database_option_members_only_id")) {?>
                                                 <!-- Otherwise, if it's the main members only page, display content & form -->