Skip to:
Content
Pages
Categories
Search
Top
Bottom

Altering the BuddyPress top admin bar without touching core?

  • First of all, thanks for the great work with BuddyPress so far! I’m playing around with it, and enjoying it a lot. Can’t wait for 1.0 and some real documentation, that’ll certainly me develop themes and such. :)

    Anyway, I’m trying to drastically alter the top menu bar, preferably without hacking bp-core-adminbar.php, although I will as a last resort. I need to make these changes work across ALL themes on blogs, as well as the members part.

    Can I use bp-custom.php in any way to resolve this?

    Thanks a lot!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    If it is css changes you can use a file called site-wide.css (or something similar). I’m at work so can’t look at source for HTML changes at the moment.

    I’m afraid I need to make actual HTML changes, from removing elements to adding new ones.

    Avatar of Gordonbrander
    Anonymous

    You could try using http://wordpress.org/extend/plugins/remove-buddypress-admin-bar/ and then create a little plugin that copies the parts of the bar you want and hooks into wp_head.

    (Heads up: check the source of the remove-buddypress-admin-bar plugin: there is a parameter you may need to set based on what version of BP you’re running.)

    Thanks for the tip, I’ll check that one out! If possible, I’d avoid it though, since plugins can act up on updates and if this works, I won’t be there to manage it all the time.

    Avatar of Gordonbrander
    Anonymous

    @Tdh plugins might have their issues, but I would *highly recommend* doing it via plugin. If you hack the core you won’t be able to upgrade the software without losing your changes.

    Yeah I know, that’s why I wondered if it was possible to do something using bp-custom.php (which is meant for custom core overrides to keep it outside the actual core, unless I’ve misunderstood everything?). But yeah, I guess that plugin is my best bet, will have to give it a go tomorrow.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.