Skip to:

Re: Adding menu items to the admin bar

@alanchrishughes: when I reread that, I wondered if you meant that your code adds a second admin bar. If that’s the case, then that’s not really what I’m after :(

Trying out @JediSthlm‘s bp-custom.php code, but keep getting UNEXPECTED “:” errors about my giant “if” line here (the one about logged in, is_single, and tags):

I took the “:” out of the line completely, and then it gave me an UNEXPECTED “;” error, even though there was no semicolon in the line.

Anyone know what’s wrong with my code? I’m sorry, it’s indented properly in my editor, I don’t know why it ended up like that in the pastebin :P

Skip to toolbar