2013-02-01, 12:50 AM
I just modified functions.php
found
and added after
and all my jQuery conflicts were fixed, well 99% of them. I still have some issues when a remote ad loads more jQuery but that is rare.
So far, so good. As long as the page loads and is not cutoff, the noConflict works for all local and remote <script> calls, even inline stuff.
found
$contents = $plugins->run_hooks("pre_output_page", $contents);
and added after
$contents = str_replace("<body", "<body onload='javascript:$.noConflict();'", $contents);
and all my jQuery conflicts were fixed, well 99% of them. I still have some issues when a remote ad loads more jQuery but that is rare.
So far, so good. As long as the page loads and is not cutoff, the noConflict works for all local and remote <script> calls, even inline stuff.