wp 3: Adding buttons TinyMCE toolbar


Go to the /wp-admin/includes/post.php at line ~1454 and add the button you want at the tools line you want

For example you can add the font selector (‘fontselect’)  into the 2nd line of the tools like this:

$mce_buttons_2 = array(‘formatselect’, ‘fontselect’,’underline’, ‘justifyfull’, ‘forecolor’, ‘|’, ‘pastetext’, ‘pasteword’, ‘removeformat’, ‘|’, ‘media’, ‘charmap’, ‘|’, ‘outdent’, ‘indent’, ‘|’, ‘undo’, ‘redo’, ‘wp_help’ );

See available controls of TinyMCE on http://wiki.moxiecode.com/index.php/TinyMCE:Control_reference

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s