WordPress Snippets at WPcustoms

enable more tinyMCE buttons in editor

Enable more buttons for your post editor using the visual view and tinymce.


/**
 * Snippet Name: enable more tinyMCE buttons in editor
 * Snippet URL: http://www.wpcustoms.net/snippets/enable-tinymce-buttons-editor/
 */
 function wpc_add_more_buttons($buttons) {
 $buttons[] = 'hr';
 $buttons[] = 'del';
 $buttons[] = 'sub';
 $buttons[] = 'sup';
 $buttons[] = 'fontselect';
 $buttons[] = 'fontsizeselect';
 $buttons[] = 'cleanup';
 $buttons[] = 'styleselect';
 return $buttons;
}
add_filter("mce_buttons_3", "wpc_add_more_buttons");