Created
August 8, 2013 17:14
-
-
Save EMGMatt/6186616 to your computer and use it in GitHub Desktop.
Wordpress Scripts Snippet for qTip2 jQuery Plugin From https://github.com/Craga89/qTip2/wiki/Getting-Started
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
wp_enqueue_style('qtip', 'path/to/jquery.qtip.min.css', null, false, true); | |
// Using imagesLoaded? Do this. | |
wp_enqueue_script('imagesloaded', 'path/to/imagesloaded.min.js', null, false, true); | |
wp_enqueue_script('qtip', 'path/to/jquery.qtip.min.js', array('jquery', 'imagesloaded'), false, true); | |
// Not using imagesLoaded? :( Okay... then this. | |
wp_enqueue_script('qtip', 'path/to/jquery.qtip.min.js', array('jquery'), false, true); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment