mh_magazine_lite_scripts

The MH Magazine lite mh magazine lite scripts function.

Description

mh_magazine_lite_scripts(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function mh_magazine_lite_scripts() { 
  2. global $mh_magazine_lite_version; 
  3. wp_enqueue_style('mh-google-fonts', 'https://fonts.googleapis.com/css?family=Open+Sans:400, 400italic, 700, 600', array(), null); 
  4. wp_enqueue_style('mh-magazine-lite', get_stylesheet_uri(), false, $mh_magazine_lite_version); 
  5. wp_enqueue_style('mh-font-awesome', get_template_directory_uri() . '/includes/font-awesome.min.css', array(), null); 
  6. wp_enqueue_script('mh-scripts', get_template_directory_uri() . '/js/scripts.js', array('jquery'), $mh_magazine_lite_version); 
  7. if (is_singular() && comments_open() && get_option('thread_comments') == 1) { 
  8. wp_enqueue_script('comment-reply');