/ Published in: PHP
All it takes is a stylesheet and a small function in the theme’s functions.php file
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
add_filter('mce_css', 'my_editor_style'); function my_editor_style($url) { $url .= ','; // Change the path here if using sub-directory $url .= trailingslashit( get_stylesheet_directory_uri() ) . 'editor-style.css'; return $url; }
URL: http://azaozz.wordpress.com/2010/01/02/can-themes-style-the-visual-editor/