/** * Load a minified version of the theme's stylesheet along with any other * required theme CSS files. * * @since 1.0.0 * @access public * @return void */ function alpha_enqueue_styles() { wp_enqueue_style('alpha-style'); if (apply_filters('alpha_enable_google_fonts', true)) { wp_enqueue_style('alpha-google-fonts', alpha_google_fonts_string('Raleway:400,600|Lato:400,400italic,700'), array(), null); } }
/** * Add custom styles to the WordPress editor to give a better representation of * what the front of the site will look like. * * @since 1.0.0 * @access public * @return void */ function alpha_add_editor_styles() { $styles = array('css/editor-style' . alpha_get_suffix() . '.css'); if (apply_filters('alpha_enable_google_fonts', true)) { $styles[] = alpha_google_fonts_string('Raleway:400,600|Lato:400,400italic,700', true); } add_editor_style($styles); }