megaresponsive_lite_scripts

Enqueue scripts and styles.

Description

megaresponsive_lite_scripts(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function megaresponsive_lite_scripts() { 
  2.  
  3. wp_enqueue_style( 'megaresponsive_lite-bootstrap-style', get_template_directory_uri() . '/css/bootstrap.css', array(), '20130801', 'all' ); 
  4.  
  5. wp_enqueue_style( 'megaresponsive_lite-custom-style', get_template_directory_uri() . '/css/bootstrap-responsive.css', array(), '20130801', 'all' ); 
  6.  
  7. wp_enqueue_style( 'megaresponsive_lite-style', get_stylesheet_uri() ); 
  8.  
  9. wp_enqueue_script( 'megaresponsive_lite-bootstrap', get_template_directory_uri() . '/js/bootstrap.min.js', array(), '20130801', true ); 
  10.  
  11. wp_enqueue_script( 'megaresponsive_lite-tinyscrollbar', get_template_directory_uri() . '/js/jquery.tinyscrollbar.min.js', array(), '', true );  
  12.  
  13. wp_enqueue_script( 'megaresponsive_lite-tinynav', get_template_directory_uri() . '/js/tinynav.js', array(), '20130801', true ); 
  14.  
  15. wp_enqueue_script( 'megaresponsive_lite-functions', get_template_directory_uri() . '/js/functions.js', array('jquery'), '20130801', true ); 
  16.  
  17. wp_enqueue_script( 'megaresponsive_lite-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20120206', true );  
  18.  
  19. wp_enqueue_script( 'megaresponsive_lite-ajaxLoop', get_template_directory_uri() . '/js/ajaxLoop.js', array('jquery'), '1.0.0', true ); 
  20.  
  21. wp_enqueue_script( 'megaresponsive_lite-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true );  
  22.  
  23. wp_register_style( 'megaresponsive_lite_open-sans', 'http://fonts.googleapis.com/css?family=Open+Sans:400, 600, 700, 300|Roboto+Slab');  
  24.  
  25. wp_enqueue_style( 'megaresponsive_lite_open-sans' ); 
  26.  
  27. if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 
  28.  
  29. wp_enqueue_script( 'comment-reply' ); 
  30.  
  31.  
  32. if ( is_singular() && wp_attachment_is_image() ) { 
  33.  
  34. wp_enqueue_script( 'megaresponsive_lite-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20120202' ); 
  35.  
  36.