Hello,
I was wondering if anyone could help me out with a small conflict I have.
I'm currently loading jQuery tabs like this:
PHP Code:
add_action('wp_enqueue_scripts', 'loading_jquery_tools');
function loading_jquery_tools() {
wp_enqueue_script(
'jquery-tools',
'http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js',
array( 'jquery' )
);
}
but have reached a snag in terms of a plugin I'd like to use that conflicts the me loading jQuery.
In that plugins help section they suggest something like this:
PHP Code:
if (!wp_script_is('jquery', 'queue')){
wp_enqueue_script('jquery');
}
I tried some variations of these but can't seem to get it right. I know the issue is with how I'm enqueueing jquery because when I remove it, the problem goes away.