103 reputation
1
bio website
location Denmark
age 21
visits member for 2 years, 8 months
seen Oct 5 at 11:53

Apr
16
comment Register google jquery gets overwritten by plugin
Problem solved :D Thank you!
Apr
16
accepted Register google jquery gets overwritten by plugin
Apr
16
comment Register google jquery gets overwritten by plugin
Now I got to work, to test this. I tried adding the remove_action() - But for some reason, the script is still being loaded :(
Apr
15
awarded  Scholar
Apr
13
comment Register google jquery gets overwritten by plugin
So what I should do in my functions.php file is following: <?php remove_action( 'wp_print_scripts', 'thethe_image_slider_head_scripts' ); ?> Call the single jquery.cycle.lite kind of script again using function someFunction() { wp_enqueue_script('slider-ui', THETHE_IMAGE_SLIDER_URL.'style/js/thethe-image-slider.js', array('jquery')); } add_action( 'wp_print_scripts', 'someFunction' );
Apr
13
comment Register google jquery gets overwritten by plugin
Let me see, when I search for the function: thethe_image_slider_head_scripts add_action('wp_print_scripts', "thethe_image_slider_head_scripts");
Apr
12
comment Register google jquery gets overwritten by plugin
Chip Bennett, no - because their isn't any add_action() - And I can't find where it's called.. So :) yeah.
Apr
12
comment Register google jquery gets overwritten by plugin
The code I linked in my actual question, is the code, that is there by default.
Apr
11
comment Register google jquery gets overwritten by plugin
I've tried both the remove_action, and setting the priority higher than the loaded jquery. It doesn't work for some reason.
Apr
11
comment Register google jquery gets overwritten by plugin
I know that current version of wordpress gets delivered with 1.7.1, the plugin overwrites the standard jquery. Also from a performance view, loading a jquery internally on the page isn't good, rather using a jquery, from google CDN, because often the jquery is already cached within' the users browser.
Apr
11
comment Register google jquery gets overwritten by plugin
How can I change that?
Apr
11
asked Register google jquery gets overwritten by plugin