Tag Info

New answers tagged


You could do this with jQuery's .appendTo(): jQuery('head style').appendTo('body'); You can remove registered actions from 'wp_head' and register them with 'wp_footer' but the trick is determining which callback functions output the tag. Maybe you could use the $wp_filter global to find all functions hooked into 'wp_head', execute each one to an output ...


This is not a WP problem. Just move it with jQuery: $("header style").appendTo("footer"); Done.


This is possible. I have tested it on my own server, but it might be better to just remove the comments yourself, or put them as php comments regardless. I only demo'd this with header.php, and used the code from this page to assist me. First of all, take the entire contents of your header.php (or whatever other file you want to remove comments from) and ...

Top 50 recent answers are included