Unlock font size and font select in your wordpress editor

*This doesn’t seem to work for the newer versions of WordPress(above 3.7.x). I’ve made a new plugin for them here.

I find the fact that fontsize and fontselector menus are locked by default in wordpress text editor very frustrating.  Nevertheless unlocking them is very easy(so I decided that it is worth of writing a wordpress tutorial  about it) I`ll post the code you need to use. You can either do it by adding it to functions.php of your theme or as a separate plugin. As I said the fix is very easy and you`ll finally be able to properly customize your posts.

Plugin Name: TinyMCE Edits
Plugin URI: http://webbamboo.net/
Description: Advanced menus in TinyMCE
Version: 0.1
Author: Pavel (aka Immortal) Petrov
Author URI: http://webbamboo.net/
License: Creative Commons Attribution-ShareAlike
Tags: wordpress tinymce
function add_mce_buttons($buttons){
 array_push($buttons, "fontsizeselect");
 array_push($buttons, "fontselect");
 return $buttons;
add_filter("mce_buttons", "add_mce_buttons");


In the following posts I`ll cover how to easily add google fonts to your wordpress editor.

  • Pingback: Greece()

  • Does your website have a contact page? I’m having trouble locating it but, I’d like to shoot you an e-mail. I’ve got some ideas for your blog you might be interested in hearing. Either way, great site and I look forward to seeing it grow over time.

    • admin

      Hi you can contact me at contact AT awordpress.net . I`m open for any ideas and comments you might have and thanks for taking the time to write!

  • My brother recommended I might like this website.

    He was totally right. This post actually made my day.

    You cann’t imagine simply how much time I had spent for this info! Thanks!

    • admin

      I`m glad you found the article useful! Feel free to mail us with wordpress related topics for which you want to read about…

  • I found this tip really helpful after a client said to me she wants control over font choices in the WP admin. Until she said that I never even realized that option was “missing” by design. Still think normally we should control fonts mostly by CSS, but there are times when this is needed.