otw_head_styles

The Carbon Light - Business responsive otw head styles function.

Description

otw_head_styles(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function otw_head_styles() { 
  2. if (! is_admin() ) { 
  3. /** Included Google Fonts */ 
  4. wp_register_style('googleFont-OpenSans', 'http://fonts.googleapis.com/css?family=Open+Sans:400, 700'); 
  5. wp_enqueue_style( 'googleFont-OpenSans'); 
  6. wp_register_style('googleFont-OpenSansCond', 'http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300, 700'); 
  7. wp_enqueue_style( 'googleFont-OpenSansCond'); 
  8.  
  9. /** Includ Icon Font CSS Styles */ 
  10. wp_register_style('general_foundicons', get_template_directory_uri() . '/stylesheets/general_foundicons.css', array(), '1.0', 'screen' ); 
  11. wp_enqueue_style( 'general_foundicons'); 
  12. wp_register_style('social_foundicons', get_template_directory_uri() . '/stylesheets/social_foundicons.css', array(), '1.0', 'screen' ); 
  13. wp_enqueue_style( 'social_foundicons'); 
  14.  
  15. /** Includ CSS Files */ 
  16. wp_register_style('jquery-ui', get_template_directory_uri() . '/stylesheets/jquery-ui-1.9.1.css', array(), '1.9.1', 'all' ); 
  17. wp_enqueue_style( 'jquery-ui'); 
  18. wp_register_style('footable', get_template_directory_uri() . '/stylesheets/footable-0.1.css', array(), '0.1', 'all' ); 
  19. wp_enqueue_style( 'footable'); 
  20. wp_register_style('footable-sortable', get_template_directory_uri() . '/stylesheets/footable.sortable-0.1.css', array(), '0.1', 'all' ); 
  21. wp_enqueue_style( 'footable-sortable'); 
  22. wp_register_style('carbon-all', get_template_directory_uri() . '/stylesheets/carbon-all.css', array(), '1.0', 'all' ); 
  23. wp_enqueue_style( 'carbon-all'); 
  24.  
  25. /** Enable Threaded Comments */ 
  26. if (is_singular() AND comments_open() AND (get_option('thread_comments') == 1)) { 
  27. wp_enqueue_script('comment-reply');