Lego2012
12/13/2016 - 4:33 PM

Waypoints

Waypoints

<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.

//* Enqueue Scripts
add_action( 'wp_enqueue_scripts', 'custom_load_scripts' );
function custom_load_scripts() {

    wp_enqueue_style( 'animate', get_stylesheet_directory_uri() . '/css/animate.min.css' );

    wp_enqueue_script( 'waypoints', get_stylesheet_directory_uri() . '/js/waypoints.min.js', array( 'jquery' ), '', true );
    wp_enqueue_script( 'waypoints-init', get_stylesheet_directory_uri() .'/js/waypoints-init.js' , array( 'jquery', 'waypoints' ), '1.0.0', true );

}