Last active
August 29, 2015 14:19
-
-
Save midoriberlin/400a2c58d26ec1033817 to your computer and use it in GitHub Desktop.
Connecting the WordPress post editor to your custom stylesheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Connect the WordPress post editor to your custom stylesheet | |
function my_theme_add_editor_styles() { | |
add_editor_style( 'custom-editor-style.css' ); | |
} | |
add_action( 'admin_init', 'my_theme_add_editor_styles' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment