Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,857
- How-to & Troubleshooting
- 128,893
- Creating & Extending
- 25,737
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,773
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,132
-
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