manipulate wp_head()
-
We are working on WordPress multisite (formerly WPMU) and need to hack the functionality of wp_head() used in the template.
Basically, what i need is an array of javascripts(and css) wp_head() intends to insert into the page and make sure wp_head() doesnt insert it .
I want to handle the loading of those scripts myself and not effect the other workings of wp_head() . If it were a single blog, i could simply do away with wp_head and hardcode everything i needed. but here there are hundreds of sites using the same theme and different plugins, so its important for plugins to be able to use regular wordpress functions to add javascripts and css.
of course one way would be output buffer manipulation, but im looking for a lesser hacky solution.
- The topic ‘manipulate wp_head()’ is closed to new replies.