skt_white_scripts

The SKT White skt white scripts function.

Description

skt_white_scripts(); 

Usage

  1. if ( !function_exists( 'skt_white_scripts' ) ) { 
  2. require_once '/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = skt_white_scripts(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/functions.php  
  1. function skt_white_scripts() { 
  2. wp_enqueue_style('skt-white-font', skt_white_font_url(), array()); 
  3. wp_enqueue_style( 'skt-white-basic-style', get_stylesheet_uri() ); 
  4. wp_enqueue_style('skt-white-responsive-tyle', get_template_directory_uri().'/css/theme-responsive.css'); 
  5. wp_enqueue_style( 'skt-white-editor-style', get_template_directory_uri().'/editor-style.css' ); 
  6. wp_enqueue_style( 'skt-white-base-style', get_template_directory_uri().'/css/style_base.css' ); 
  7. if ( (of_get_option('innerpageslider', true) != 'hide') || is_home() || is_front_page() ) {  
  8. wp_enqueue_script( 'skt-white-nivo-scripts', get_template_directory_uri().'/js/jquery.nivo.slider.js', array('jquery') ); 
  9. wp_enqueue_style( 'skt-white-nivo-style', get_template_directory_uri().'/css/nivo-slider.css' ); 
  10. wp_enqueue_style( 'skt-white-prettyphoto-style', get_template_directory_uri().'/css/prettyPhoto.css' ); 
  11. wp_enqueue_script( 'skt-white-customscripts', get_template_directory_uri() . '/js/custom.js', array('jquery') ); 
  12. if ( is_home() || is_front_page() ) {  
  13. wp_enqueue_script( 'skt-white-smooth-scroll', get_template_directory_uri() . '/js/smooth-scroll.js', array('jquery') ); 
  14. wp_enqueue_script( 'skt-white-lightbox', get_template_directory_uri() . '/js/lightbox.js', array('jquery') ); 
  15. wp_enqueue_style( 'skt-white-animation-style', get_template_directory_uri().'/css/animation.css' ); 
  16. if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 
  17. wp_enqueue_script( 'comment-reply' );