Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to: Modify the bp admin bar


dennissmolek
Participant

@dennissmolek

I removed the bar completely and replaced it with my own segment of code. you can copy bp-core-adminbar.php to get whatever it is you want but say you want a totally custom bar you’ll have to kill the original. heres how I did it:

function ovc_adminbar() {
require('ovcbar.php');

remove_action( 'wp_footer', 'bp_core_admin_bar', 8 );
}

add_action('wp_footer','ovc_adminbar',1);

ovcbar.php is where my markup is, the function name is ovc_admin bar..

this is all in functions.php

Skip to toolbar