skt_pathway_scripts

The SKT Pathway skt pathway scripts function.

Description

skt_pathway_scripts(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function skt_pathway_scripts() { 
  2. wp_enqueue_style( 'skt_pathway-gfonts', 'https://fonts.googleapis.com/css?family=Open+Sans:400, 300, 300italic, 400italic, 600, 600italic, 700, 700italic, 800, 800italic'); 
  3. wp_enqueue_style( 'skt_pathway-gfonts2', 'https://fonts.googleapis.com/css?family=Oswald:400, 700, 300');  
  4. wp_enqueue_style( 'skt_pathway-basic-style', get_stylesheet_uri() ); 
  5. wp_enqueue_style( 'skt_pathway-editor-style', get_template_directory_uri()."/editor-style.css" ); 
  6. wp_enqueue_style( 'skt_pathway-nivoslider-style', get_template_directory_uri()."/css/nivo-slider.css" );  
  7. wp_enqueue_style( 'skt_pathway-base-style', get_template_directory_uri()."/css/style_base.css" ); 
  8. wp_enqueue_script( 'skt_pathway-nivo-script', get_template_directory_uri() . '/js/jquery.nivo.slider.js', array('jquery') ); 
  9. wp_enqueue_script( 'skt_pathway-custom_js', get_template_directory_uri() . '/js/custom.js' ); 
  10.  
  11. if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 
  12. wp_enqueue_script( 'comment-reply' );