예제 #1
0
/**
 * Load our special font CSS files.
 *
 * @since Twenty Thirteen 1.0
 */
function tesseract_custom_header_fonts()
{
    // Add Source Sans Pro and Bitter fonts.
    wp_enqueue_style('tesseract-fonts', tesseract_fonts_url(), array(), null);
    // Add Genericons font.
    wp_enqueue_style('genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.03');
}
예제 #2
0
/**
 * Enqueue Google fonts style to admin screen for custom header display.
 */
function tesseract_admin_fonts()
{
    wp_enqueue_style('tesseract-font', tesseract_fonts_url(), array(), '1.0.0');
}