skt_photo_world_scripts

The SKT Photo World skt photo world scripts function.

Description

skt_photo_world_scripts(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function skt_photo_world_scripts() { 
  2. wp_enqueue_style( 'skt-photo-world-gfonts', '//fonts.googleapis.com/css?family=Roboto+Condensed:400, 300, 300italic, 400italic, 700, 700italic' ); 
  3. wp_enqueue_style( 'skt-photo-world-fonts', '//fonts.googleapis.com/css?family=Roboto:400, 300, 700'); 
  4. wp_enqueue_style( 'skt-photo-world-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-photo-world-layout', get_template_directory_uri()."/css/layouts/content-sidebar.css" ); 
  8. else { 
  9. wp_enqueue_style( 'skt-photo-world-layout', get_template_directory_uri()."/css/layouts/sidebar-content.css" ); 
  10. }  
  11. else { 
  12. wp_enqueue_style( 'skt-photo-world-layout', get_template_directory_uri()."/css/layouts/content-sidebar.css" ); 
  13. }  
  14.  
  15. wp_enqueue_style( 'skt-photo-world-editor-style', get_template_directory_uri()."/editor-style.css", array('skt_photo_world-layout') ); 
  16.  
  17. wp_enqueue_style( 'skt-photo-world-main-style', get_template_directory_uri()."/css/main.css", array('skt-photo-world-layout') ); 
  18.  
  19. wp_enqueue_style( 'skt-photo-world-supersized-default-theme', get_template_directory_uri()."/css/supersized.css" ); 
  20.  
  21. wp_enqueue_style( 'skt-photo-world-supersized-style', get_template_directory_uri()."/css/supersized.shutter.css" ); 
  22.  
  23. wp_enqueue_script( 'skt-photo-world-supersized-slider', get_template_directory_uri() . '/js/supersized.3.2.7.min.js', array('jquery') ); 
  24.  
  25. wp_enqueue_script( 'skt-photo-world-supersized-shutter', get_template_directory_uri() . '/js/supersized.shutter.js', array('jquery') ); 
  26.  
  27. wp_enqueue_script( 'skt-photo-world-shutter-min', get_template_directory_uri() . '/theme/supersized.shutter.min.js', array('jquery') ); 
  28.  
  29. wp_enqueue_script( 'skt-photo-world-shutter', get_template_directory_uri() . '/theme/supersized.shutter.js', array('jquery') ); 
  30.  
  31. wp_enqueue_script( 'skt-photo-world-custom', get_template_directory_uri() . '/js/custom.js', array('jquery') ); 
  32.  
  33. if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 
  34. wp_enqueue_script( 'comment-reply' );