Skip to content

Commit

Permalink
Merge pull request MWDelaney#21 from reardestani/master
Browse files Browse the repository at this point in the history
Update bootstrap-shortcodes.php
  • Loading branch information
MWDelaney committed Oct 21, 2013
2 parents e095f13 + 916ea90 commit 1a13c4b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions bootstrap-shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,16 @@
require_once(dirname(__FILE__) . '/includes/functions.php');
require_once(dirname(__FILE__) . '/includes/actions-filters.php');

wp_enqueue_script( 'bootsrap-shortcodes-tooltip', BS_SHORTCODES_URL . 'js/bootstrap-shortcodes-tooltip.js', array( 'jquery' ), false, true );
wp_enqueue_script( 'bootsrap-shortcodes-popover', BS_SHORTCODES_URL . 'js/bootstrap-shortcodes-popover.js', array( 'jquery' ), false, true );
function bootsrap_shortcodes_scripts() {

// Bootstrap tooltip js
wp_enqueue_script( 'bootsrap-shortcodes-tooltip', BS_SHORTCODES_URL . 'js/bootstrap-shortcodes-tooltip.js', array( 'jquery' ), false, true );

// Bootstrap popover js
wp_enqueue_script( 'bootsrap-shortcodes-popover', BS_SHORTCODES_URL . 'js/bootstrap-shortcodes-popover.js', array( 'jquery' ), false, true );

}
add_action( 'wp_enqueue_scripts', 'bootsrap_shortcodes_scripts' ); // Register this fxn and allow Wordpress to call it automatcally in the header

// Begin Shortcodes
class BoostrapShortcodes {
Expand Down

0 comments on commit 1a13c4b

Please sign in to comment.