Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: “BuddyPress” logo on the top left hand side


peterverkooijen
Participant

@peterverkooijen

I\\\’ve tried replacing this:

\\\’ **** Default BuddyPress admin bar logo ********

function bp_adminbar_logo() {

global $bp;

echo \\\’root_domain . \\\’\\\”><img id=\\\”admin-bar-logo\\\” src=\\\”\\\’ . apply_filters( \\\’bp_admin_bar_logo_src\\\’, site_url( MUPLUGINDIR . \\\’ … admin_bar_logo.gif\\\’ ) ) . \\\’\\\” alt=\\\”\\\’ . apply_filters( \\\’bp_admin_bar_logo_alt_text\\\’, __( \\\’BuddyPress\\\’, \\\’buddypress\\\’ ) ) . \\\’\\\” >\\\’;

}\\\’

with this:

\\\’ **** Default BuddyPress admin bar logo ********

function bp_adminbar_logo() {

global $bp;

echo \\\’root_domain . \\\’\\\”>Home\\\’;

}\\\’

That should only replace the img with text, but for some reason it messes up the entire top line navigation. Apparently there\\\’s some code mixed in with the already overcomplicated img link that\\\’s required for what follows after. What and why?!

Aaarrrggghhh…. I give up. It’s impossible to show the code without it becoming a mess.

[code 1="a" 2="bit" 3="to" 4="avoid" 5="escaping" 6="mess" language="modified"][/code]

Aaarrrggghhh…. I give up. It’s impossible to show the code without it becoming a mess.

Skip to toolbar