/ Published in: PHP

Customize the TinyMCE buttons that are displayed in the Wordpress editor. Add this to your Wordpress theme's functions.php file.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * Customize tinymce formatting buttons. */ function myformatTinyMCE($in) { $in['theme_advanced_buttons1']='bold,italic,|,bullist,numlist,blockquote,|,link,unlink,|,wp_adv'; $in['theme_advanced_buttons2']='pastetext,pasteword,removeformat,|,charmap,|,undo,redo'; return $in; } add_filter('tiny_mce_before_init', 'myformatTinyMCE' );
Comments
