cyberchimps_admin_style

The Responsive II cyberchimps admin style function.

Description

cyberchimps_admin_style(); 

Usage

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

Defined (1)

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

/core/functions-admin.php  
  1. function cyberchimps_admin_style() { 
  2. $suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; 
  3. $rtl = ( is_rtl() ) ? '-rtl' : ''; 
  4. $template_directory_uri = get_template_directory_uri(); 
  5.  
  6. wp_register_style( 'responsive-bootstrap', $template_directory_uri . '/core/bootstrap/stylesheets/bootstrap' . $rtl . $suffix . '.css', false, '3.1.1' ); 
  7. // @TODO Check that it works for RTL too 
  8. wp_register_style( 'upsell-style', $template_directory_uri . '/core/css/upsell' . $suffix . '.css', array(), '2.0.0' ); 
  9. wp_register_style( 'responsive-theme-options', $template_directory_uri . '/libraries/css/theme-options' . $suffix . '.css', array(), '2.0.0' ); 
  10. wp_register_script( 'responsive-theme-options', $template_directory_uri . '/libraries/js/theme-options' . $suffix . '.js', array( 'jquery' ), '2.0.0' );