BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › Going back to default wp admin menu
Tagged: site wide notices, Wp admin bar
- This topic has 4 replies, 3 contibutors, and was last updated 10 years ago by Anonymous.
Question
October 30, 2014 at 2:36 pm #33108@milenaHi @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
October 31, 2014 at 8:27 am #33135@alyssa-buddyboss
AlyssaParticipant@michael any easy way to do this?
October 31, 2014 at 4:32 pm #33145@
AnonymousIn 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.
November 12, 2014 at 6:51 am #33372@milenaHi @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.phpdoes 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.
November 12, 2014 at 2:35 pm #33386@
Anonymousbuddyboss-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.
- The question ‘Going back to default wp admin menu’ is closed to new replies.