minileven_scripts

Enqueue scripts and styles.

Description

minileven_scripts(); 

Usage

  1. if ( !function_exists( 'minileven_scripts' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/minileven/theme/pub/minileven/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = minileven_scripts(); 
  7.  

Defined (1)

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

/modules/minileven/theme/pub/minileven/functions.php  
  1. function minileven_scripts() { 
  2. global $post; 
  3.  
  4. wp_enqueue_style( 'style', get_stylesheet_uri() ); 
  5.  
  6. wp_enqueue_script( 'small-menu', get_template_directory_uri() . '/js/small-menu.js', array( 'jquery' ), '20120206', true ); 
  7.  
  8. if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 
  9. wp_enqueue_script( 'comment-reply' );