You can add buttons to wordpress wysiwyg editor using following code. For changing wordpress wysiwyg editor, we need to use the quick_tags.js file using hook.
how to add buttons to wordpress wysiwyg editor
But from wordpress 3.1 version we can customize the wordpress editor by using wordpress filter.
Adding more buttons to the editor is really easy. Simply paste this snippet into your theme’s functions.php file.
function enable_more_buttons($buttons) { $buttons[] = 'hr'; $buttons[] = 'sub'; $buttons[] = 'sup'; $buttons[] = 'fontselect'; $buttons[] = 'fontsizeselect'; $buttons[] = 'cleanup'; $buttons[] = 'styleselect'; return $buttons; } add_filter("mce_buttons_3", "enable_more_buttons");
Note: If you are not wordpress developer then do not use above code. Ask your developers to do this for you.