Re: conditional bp header items
Hmm… not sure how to remove the widget JS/CSS that use wp_enqueue_script and wp_enqueue_style.
If anyone has any pointers for this without hacking the core, let me know.
—
Also, I’d just like to say to the BP devs that instead of separating each CSS/JS file into separate components, why not load all BP javascripts in one file?
Same goes for the widget CSS files. (I understand the BP CSS is a little too much to jam into one file… with all the different structure.css files!)
This would help reduce the number of server requests and also keep the HTML source a little bit leaner.
Just a thought.