Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,006
- How-to & Troubleshooting
- 129,530
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,398
- Miscellaneous
- 9,170
-
Thanks 21cdb, the magical “plugins_loaded” is what I need to know!
—
About your problem, maybe try using the boolean $doing_admin_bar that you’re using and use and if-else statement to call the custom CSS only when it is true in your my_admin_bar_css() function?
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS