StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have -- and this forum will be removed on July 1st, 2013.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-19-2012, 07:57 PM
jjaycallejas jjaycallejas is offline
Registered User
Pro Plus Member
 
Join Date: Nov 2011
Posts: 154
Default jQuery conflict help?

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.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:34 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.