responsive_scripts

Enqueue scripts and styles.

Description

responsive_scripts(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function responsive_scripts() { 
  2. wp_enqueue_style( 'responsive-style', get_stylesheet_uri() ); 
  3.  
  4. if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 
  5. wp_enqueue_script( 'comment-reply' ); 
  6.  
  7. wp_enqueue_script( 'responsive-modernizr', get_template_directory_uri() . '/js/responsive-modernizr.js', array( 'jquery' ), '2.6.1', false ); 
  8. wp_enqueue_script( 'responsive-scripts', get_template_directory_uri() . '/js/responsive-scripts.js', array( 'jquery' ), '1.2.3', true ); 
  9.  
  10. wp_enqueue_script( 'responsive-small-menu', get_template_directory_uri() . '/js/small-menu.js', array( 'jquery' ), '20120206', true );