Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
add_action( 'wp_enqueue_scripts', 'rb_register_scripts' );
function rb_register_scripts() {
wp_enqueue_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css', array(), CHILD_THEME_VERSION );
wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800,400italic', array(), CHILD_THEME_VERSION );
wp_enqueue_style( 'tackett', get_bloginfo( 'stylesheet_directory' ) . '/css/terra.css' );
wp_enqueue_script( 'jquery' );
wp_enqueue_script( 'jquery-ui-tabs' );
wp_enqueue_script( 'tabs', get_bloginfo( 'stylesheet_directory' ) . '/js/tabs.js', array( 'jquery' ) );
wp_enqueue_script( 'image-scroll', get_bloginfo( 'stylesheet_directory' ) . '/js/jquery.imageScroll.min.js', array( 'jquery' ) );
wp_enqueue_script( 'image-scroll-init', get_bloginfo( 'stylesheet_directory' ) . '/js/imagescrollinit.js', array( 'image-scroll' ) );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.