Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Adding menu items to the admin bar


pcwriter
Participant

@pcwriter

Bingo! I guess my brain was still foggy after my nap.

@hnla said add the global to the function scope… I had added it before the function (doh!)

@r-a-y I forgot to add the ->blog_id bit

With the help of both of you, it works perfectly now! BP Community and WP page dropdowns now DO NOT appear on sub-blogs. (Those few WP pages that mysteriously appear in the adminbar in the backend can be excluded simply by adding their page IDs in the code.)

Thanks a bunch guys!

Skip to toolbar