add_editor_style not working
-
Has anyone had any luck getting add_editor_style to work in WP 4.1.5 or later? It isn’t working for me.
Here’s the code I placed in my theme’s functions.php file:
add_action(‘init’, ‘mytheme_add_editor_styles’ );
function mytheme_add_editor_styles() {
add_editor_style(‘editor-style.css’);
}I put the editor-style.css file in the root directory of my theme. The css file does not load in the head of the document.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘add_editor_style not working’ is closed to new replies.