BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Going back to default wp admin menu

  • This topic has 4 replies, 3 contibutors, and was last updated 10 years ago by Anonymous.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Question

    #33108
    @milena

    Hi @tjchester,

    Can I go back to wp default admin bar? I’ve been doing all these things to rtl the theme admin bar and then realized I just need it the way wp has it. It will save me a ton of time and problems..

    What file do I remove/ rename ?

    I also need to know which php file is responsible for site wide notices. Because I changed the menu to fixed and played with the header – the notice displays too high now. So I was thinking of moving it into the body, above the title. Possible right,

    Thank you.

    Answers

    #33135

    Alyssa
    Participant
    @alyssa-buddyboss

    @michael any easy way to do this?

    #33145

    Anonymous
    @

    In buddyboss-inc/theme-functions.php we deregister the default admin bar CSS, then register our own in its place. You would want to undo that. Keep our registering of adminbar-mobile.css, which is necessary for the mobile panels. You can find all of this around line 243.

    As for moving the notices to another part of the page, it is being added to buddyboss_inside_wrapper via an action. This is also set in theme-functions.php, and you would need to change the action to load it elsewhere. This is kind of complicated, you may need a developer to do this kind of stuff.

    #33372
    @milena

    Hi @michael,

    thank you.

    1. I did the first part- and it worked. However it only works if I make the changes in the original theme file: buddyboss/buddyboss-inc/theme-functions.php.

    Saving the edited file in buddyboss-child/buddyboss-inc/theme-functions.php
    or
    buddyboss-child/theme-functions.php

    does not have any effect.

    I had the same issue with other php files I edited and saved in the child theme. Where should it be saved in the child theme to work and be saved from the updates?

    2. As to sitewide notices- where are these originally placed in the buddypress default settings?

    and can I move them inside the header – using just css?

    Thank you.

    #33386

    Anonymous
    @

    buddyboss-child/theme-functions.php is the place to put your custom functions. You should be able to undo our functions in there.

    As for sitewide notices, they are natively put in wp_head (I think) but I could be wrong. Theoretically you could get them into the header via CSS with some absolute positioning maybe, but it’s a more elegant solution to get them to display elsewhere via php.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The question ‘Going back to default wp admin menu’ is closed to new replies.