Home / admin / Changing the HTML editor font in wp 3.2
  • How to Changing the HTML editor font in wp 3.2


    As pointed out in a recent article by Justin Tadlock the font within the HTML editor is not that easy on the eyes. Adding this snippet to the functions.php of your wordpress theme will let you change the font for the wordpress HTML editor.

    ( click code to copy )

    wordpress snippet : PHP

    add_action( 'admin_head-post.php', 'devpress_fix_html_editor_font' );
    add_action( 'admin_head-post-new.php', 'devpress_fix_html_editor_font' );
    function devpress_fix_html_editor_font() { ?>
    <style type="text/css">#editorcontainer #content, #wp_mce_fullscreen { font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; }</style>
    <?php }

    ( WordPress codex functions, hooks, in this snippet. )

    admin_head, add_action, _e, wp,
  • Ameenullah

    Hi Kevin

    the link referring to Justin Tadlock is removed. shows 404!