the_app_scripts

The SKT The App the app scripts function.

Description

the_app_scripts(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function the_app_scripts() { 
  2. wp_enqueue_style( 'the-app-fonts', the_app_fonts_url(), array(), null ); 
  3. wp_enqueue_style( 'the_app-basic-style', get_stylesheet_uri() ); 
  4. wp_enqueue_style( 'the_app-editor-style', get_template_directory_uri()."/editor-style.css" ); 
  5. wp_enqueue_style( 'the_app-nivoslider-style', get_template_directory_uri()."/css/nivo-slider.css" );  
  6. wp_enqueue_style( 'the_app-base-style', get_template_directory_uri()."/css/style_base.css" ); 
  7. wp_enqueue_style( 'the_app-responsive-style', get_template_directory_uri()."/css/responsive.css" ); 
  8. wp_enqueue_script( 'the_app-nivo-script', get_template_directory_uri() . '/js/jquery.nivo.slider.js', array('jquery') ); 
  9. wp_enqueue_script( 'the_app-custom_js', get_template_directory_uri() . '/js/custom.js'); 
  10. wp_enqueue_style( 'the_app-animation-style', get_template_directory_uri().'/css/animation.css' ); 
  11.  
  12. if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 
  13. wp_enqueue_script( 'comment-reply' );