Skip to:
Content
Pages
Categories
Search
Top
Bottom

Message To BP Team: Weird Admin Bar Relationship between WP 3.1 and BP 1.2.8

  • I finally figured out how to get rid of the admin bar at the top of the page. The suggested `define ( ‘BP_DISABLE_ADMIN_BAR’, true );` did not work at all. I placed it in the wp-config.php, bb-config.php, and bp-custom.php and it still didn’t work.

    WP seemed to have an admin bar function that was overriding the admin bar functions in BP. I had to comment out the following lines in files wp-settings.php and post-template.php:

    `require( ABSPATH . WPINC . ‘/admin-bar.php’ );` in wp-settings.php

    `if ( is_admin_bar_showing() )
    $classes[] = ‘admin-bar’;` in post-template.php

    Just wanted to share that with you. I’m not sure what it will affect in the future. Hopefully nothing else. However, for now it works.

  • The topic ‘Message To BP Team: Weird Admin Bar Relationship between WP 3.1 and BP 1.2.8’ is closed to new replies.
Skip to toolbar