twentythirteen_custom_header_fonts

Load our special font CSS files.

Description

twentythirteen_custom_header_fonts(); 

Usage

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

Defined (1)

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

/inc/custom-header.php  
  1. function twentythirteen_custom_header_fonts() { 
  2. // Add Source Sans Pro and Bitter fonts. 
  3. wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), null ); 
  4.  
  5. // Add Genericons font. 
  6. wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.03' );