Skip to content

Instantly share code, notes, and snippets.

@richstrauss
Created October 10, 2016 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richstrauss/e87a25eceab7c1509743dc0afd2176f4 to your computer and use it in GitHub Desktop.
Save richstrauss/e87a25eceab7c1509743dc0afd2176f4 to your computer and use it in GitHub Desktop.
Enqueue Zozo Tabs and Accordion Scripts
<?php
/**
* Enqueue Zozo Tabs and Accordion Scripts
*/
add_action( 'wp_enqueue_scripts', 'zozo_enqueue_scripts' );
function zozo_enqueue_scripts()
{
wp_enqueue_script( 'jquery-easing', dynamik_get_stylesheet_location( 'url' ) . 'js/jquery.easing.min.js', array( 'jquery' ), CHILD_THEME_VERSION, true );
wp_enqueue_script( 'zozo-tabs', dynamik_get_stylesheet_location( 'url' ) . 'js/zozo.tabs.min.js', array( 'jquery' ), CHILD_THEME_VERSION, true );
wp_enqueue_script( 'zozo-accordion', dynamik_get_stylesheet_location( 'url' ) . 'js/zozo.accordion.min.js', array( 'jquery' ), CHILD_THEME_VERSION, true );
wp_enqueue_style( 'zozo-stylesheet', dynamik_get_stylesheet_location( 'url' ) . 'css/zozo.tabs.min.css', array(), CHILD_THEME_VERSION );
wp_enqueue_style( 'zozo-flat-styles', dynamik_get_stylesheet_location( 'url' ) . 'css/zozo.tabs.flat.min.css', array(), CHILD_THEME_VERSION );
wp_enqueue_style( 'zozo-accordion-stylesheet', dynamik_get_stylesheet_location( 'url' ) . 'css/zozo.accordion.min.css', array(), CHILD_THEME_VERSION );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment