Admin Bar Vanishing
-
So, I recently popped open Buddypress and loaded her up. No problems, except for a weird issue where the default page theme php was loading all the unaffiliated page links on the nav menu in the member profile pages. Replace that with a Buddypress.php file and a few changes and it’s working.
Buuut. Now the admin bar has vanished. Like, gone, there’s a 32 pixel blank space at the top of the page.
I can’t exactly test plugin compatibility by loading and unloading on the live site without causing trouble for clients.
I’m still a noob with php, just picked it up six months ago, and mostly because no-one else could.
Is there a way to force the admin bar to load?
site: http://www.missionsinterlink.org.au
This is the buddypress page file, everything else is buddypress core:
<?php get_header();?> <!-- Secondary Nav --> <!-- Show Secondary Menu if the page is a child or has children --> <?php global $post; $children = get_pages( array( 'child_of' => $post->ID ) ); if ( is_page() && $post->post_parent || count( $children ) < 1 ) : ?> <div class="row subnav"> <div class="container"> <div class="columns large-12"> <ul> <?php wp_list_pages( array('title_li'=>'','depth'=>1,'child_of'=>get_post_top_ancestor_id()) ); ?> </ul> </div> </div> </div> <?php else : ?> <?php endif; ?> <!-- Main Content Area --> <div class="row content fullwidth"> <!-- Main Content Column --> <div class="main columns large-12"> <!-- Inner Header --> <div class="row innerHeader"> <div class="container"> <div class="columns large-12"> <h1 class="pageTitle"><?php the_title(); ?></h1> </div> </div> </div> <div class="pageContent"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php the_content();?> <?php endwhile; ?> <?php endif; ?> </div> </div> <?php get_footer();?> <?php get_wpfooter();?>
The topic ‘Admin Bar Vanishing’ is closed to new replies.