skt_parallaxme_scripts

The SKT Parallaxme skt parallaxme scripts function.

Description

skt_parallaxme_scripts(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function skt_parallaxme_scripts() { 
  2. wp_enqueue_style( 'skt_parallaxme-gfonts', '//fonts.googleapis.com/css?family=PT+Sans+Narrow:400, 700|PT+Sans:400, 400italic, 700, 700italic' ); 
  3. wp_enqueue_style( 'skt_parallaxme-basic-style', get_stylesheet_uri() ); 
  4. wp_enqueue_style( 'skt_parallaxme-editor-style', get_template_directory_uri()."/editor-style.css" ); 
  5. wp_enqueue_style( 'skt_parallaxme-normalize-style', get_template_directory_uri()."/css/normalize.css" ); 
  6. wp_enqueue_style( 'skt_parallaxme-boilerplate-style', get_template_directory_uri()."/css/boilerplate.css" ); 
  7. wp_enqueue_style( 'skt_parallaxme-prettyphoto-style', get_template_directory_uri()."/css/prettyphoto.css" ); 
  8. wp_enqueue_style( 'skt_parallaxme-jquery_bxslider-style', get_template_directory_uri()."/css/jquery.bxslider.css" ); 
  9. wp_enqueue_style( 'skt_parallaxme-layout-style', get_template_directory_uri()."/css/layout.css" ); 
  10. wp_enqueue_style( 'skt_parallaxme-skeleton-style', get_template_directory_uri()."/css/skeleton.css" ); 
  11. wp_enqueue_style( 'skt_parallaxme-base-style', get_template_directory_uri()."/css/style_base.css" ); 
  12.  
  13. //supersized script and styles enque 
  14. if ( (of_get_option('innerpageslider', true) != 'hide') || is_home() || is_front_page() ) { 
  15. wp_enqueue_style( 'skt_parallaxme-supersized-default-theme', get_template_directory_uri()."/css/supersized.css" ); 
  16. wp_enqueue_style( 'skt_parallaxme-supersized-style', get_template_directory_uri()."/css/supersized.shutter.css" ); 
  17.  
  18. wp_enqueue_script( 'skt_parallaxme-supersized-easing', get_template_directory_uri() . '/js/jquery.easing.min.js', array('jquery') ); 
  19. wp_enqueue_script( 'skt_parallaxme-supersized-slider', get_template_directory_uri() . '/js/supersized.3.2.7.min.js', array('jquery') ); 
  20. wp_enqueue_script( 'skt_parallaxme-supersized-shutter', get_template_directory_uri() . '/js/supersized.shutter.js', array('jquery') ); 
  21.  
  22. wp_enqueue_script( 'skt_parallaxme-jquery_validate', get_template_directory_uri() . '/js/jquery.validate.js', array('jquery') ); 
  23. wp_enqueue_script( 'skt_parallaxme-jquery_bxslider', get_template_directory_uri() . '/js/jquery.bxslider.js', array('jquery') ); 
  24. wp_enqueue_script( 'skt_parallaxme-smooth_scroll', get_template_directory_uri() . '/js/smooth-scroll.js' ); 
  25. wp_enqueue_script( 'skt_parallaxme-filter_gallery', get_template_directory_uri() . '/js/filter-gallery.js' ); 
  26. wp_enqueue_script( 'skt_parallaxme-prettyphoto', get_template_directory_uri() . '/js/jquery.prettyPhoto.js', array('jquery') ); 
  27. wp_enqueue_script( 'skt_parallaxme-custom_js', get_template_directory_uri() . '/js/custom.js' ); 
  28.  
  29. if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 
  30. wp_enqueue_script( 'comment-reply' );