skt_full_width_scripts

The SKT Full Width skt full width scripts function.

Description

skt_full_width_scripts(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function skt_full_width_scripts() { 
  2. wp_enqueue_style( 'skt_full_width-gfonts', '//fonts.googleapis.com/css?family=Roboto+Condensed:400, 300, 300italic, 400italic, 700, 700italic' ); 
  3. wp_enqueue_style( 'skt_full_width-fonts', '//fonts.googleapis.com/css?family=Roboto:400, 300, 700'); 
  4. wp_enqueue_style( 'skt_full_width-basic-style', get_stylesheet_uri() ); 
  5. if ( (function_exists( 'of_get_option' )) && (of_get_option('sidebar-layout', true) != 1) ) { 
  6. if (of_get_option('sidebar-layout', true) == 'right') { 
  7. wp_enqueue_style( 'skt_full_width-layout', get_template_directory_uri()."/css/layouts/content-sidebar.css" ); 
  8. else { 
  9. wp_enqueue_style( 'skt_full_width-layout', get_template_directory_uri()."/css/layouts/sidebar-content.css" ); 
  10. }  
  11. else { 
  12. wp_enqueue_style( 'skt_full_width-layout', get_template_directory_uri()."/css/layouts/content-sidebar.css" ); 
  13. }  
  14.  
  15. wp_enqueue_style( 'skt_full_width-editor-style', get_template_directory_uri()."/editor-style.css", array('skt_full_width-layout') ); 
  16.  
  17. wp_enqueue_style( 'skt_full_width-main-style', get_template_directory_uri()."/css/main.css", array('skt_full_width-layout') ); 
  18.  
  19. wp_enqueue_style( 'skt_full_width-supersized-default-theme', get_template_directory_uri()."/css/supersized.css" ); 
  20.  
  21. wp_enqueue_style( 'skt_full_width-supersized-style', get_template_directory_uri()."/css/supersized.shutter.css" ); 
  22.  
  23. wp_enqueue_script( 'skt_full_width-supersized-slider', get_template_directory_uri() . '/js/supersized.3.2.7.min.js', array('jquery') ); 
  24.  
  25. //wp_enqueue_script( 'skt_full_width-superfish', get_template_directory_uri() . '/js/superfish.js', array('jquery') ); 
  26.  
  27. wp_enqueue_script( 'skt_full_width-supersized-shutter', get_template_directory_uri() . '/js/supersized.shutter.js', array('jquery') ); 
  28.  
  29. wp_enqueue_script( 'skt_full_width-custom_js', get_template_directory_uri() . '/js/custom.js' ); 
  30.  
  31. if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 
  32. wp_enqueue_script( 'comment-reply' );