Twenty Thirteen: enqueue Genericons CSS file for use in visual editor styles. Props DrewAPicture, closes #24595.
git-svn-id: http://core.svn.wordpress.org/trunk@24541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c63d6d84f0
commit
c9f348113b
|
@ -47,7 +47,7 @@ if ( version_compare( $GLOBALS['wp_version'], '3.6-alpha', '<' ) )
|
||||||
* Twenty Thirteen supports.
|
* Twenty Thirteen supports.
|
||||||
*
|
*
|
||||||
* @uses load_theme_textdomain() For translation/localization support.
|
* @uses load_theme_textdomain() For translation/localization support.
|
||||||
* @uses add_editor_style() To add a Visual Editor stylesheet.
|
* @uses add_editor_style() To add Visual Editor stylesheets.
|
||||||
* @uses add_theme_support() To add support for automatic feed links, post
|
* @uses add_theme_support() To add support for automatic feed links, post
|
||||||
* formats, and post thumbnails.
|
* formats, and post thumbnails.
|
||||||
* @uses register_nav_menu() To add support for a navigation menu.
|
* @uses register_nav_menu() To add support for a navigation menu.
|
||||||
|
@ -70,9 +70,9 @@ function twentythirteen_setup() {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This theme styles the visual editor to resemble the theme style,
|
* This theme styles the visual editor to resemble the theme style,
|
||||||
* specifically font, colors, and column width.
|
* specifically font, colors, icons, and column width.
|
||||||
*/
|
*/
|
||||||
add_editor_style( 'css/editor-style.css' );
|
add_editor_style( array( 'css/editor-style.css', 'fonts/genericons.css' ) );
|
||||||
|
|
||||||
// Adds RSS feed links to <head> for posts and comments.
|
// Adds RSS feed links to <head> for posts and comments.
|
||||||
add_theme_support( 'automatic-feed-links' );
|
add_theme_support( 'automatic-feed-links' );
|
||||||
|
|
Loading…
Reference in New Issue