• 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();?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • jack randall

    (@theotherlebowski)

    what theme and plugins are you using? it’s most likely your theme being a nuisance

    Thread Starter mugluck

    (@mugluck)

    I recently took over the site, so still learning. It’s a custom site with lots of bits and pieces. The admin bar was there in the initial install, until I changed the default profile page.

    Plugins:
    Advanced Custom Fields + Repeater Field plugin
    BackupBuddy (Lot’s of trouble getting this to complete)
    Categories Images
    Category Order & Taxonomy Terms Order
    Custom Post Type UI
    Directory
    IFrame Shortcode
    iThemes Sync
    Login With Ajax
    Ninja Forms
    Search Everything
    TinyMCE Advanced
    Widget Entries
    Wordfence Security
    WP Page Numbers
    WP Smush
    WP Super Cache
    WP-Members
    Yoast SEO

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Admin Bar Vanishing’ is closed to new replies.