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.

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
  #4  
Old 09-21-2012, 06:35 PM
jjaycallejas jjaycallejas is offline
Registered User
Pro Plus Member
 
Join Date: Nov 2011
Posts: 154
Default

heres the code that got everything working together nicely. All is well

PHP Code:
    function add_jquery_tools() {
    if ( !
is_admin() ) {
        
wp_register_script('addons_script''http://cdn.jquerytools.org/1.2.5/all/jquery.tools.min.js', array('jquery'), '');
        
wp_enqueue_script('addons_script');
    }
    if ( !
is_admin() ) {
        
wp_register_script('addons_javascript'get_bloginfo('url').'/wp-content/themes/mytheme/tooltips.js'false'');
        
wp_enqueue_script('addons_javascript');
    }
}    
 
add_action('wp_print_scripts''add_jquery_tools'); 
 

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 09:34 PM.

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