WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was wondering how to display just the following buttons:




unordered list

ordered list

insert link



-- Thanks in advance.

share|improve this question
up vote 8 down vote accepted

Hi @José Pablo Orozco Marín:

If you are looking for how to code the custom buttons yourself, WordPress' Codex has a great example that shows you how:

The example is complicated because it shows you how to add your own controls but if you are using the standard buttons you don't need to make is to complex. Here's a list of the standard buttons:

To illustrate I've modified the example to show only the buttons you wanted. This code can be placed in your theme's functions.php file or in a .php file for a plugin that you might be writing:

function myplugin_addbuttons() {
  // Don't bother doing this stuff if the current user lacks permissions
  if ( ! current_user_can('edit_posts') && ! current_user_can('edit_pages') )

  // Add only in Rich Editor mode
  if ( get_user_option('rich_editing') == 'true') {
    add_filter('mce_buttons', 'register_myplugin_button');

function register_myplugin_button($buttons) {
  $buttons = array(
  return $buttons;

// init process for button control
add_action('init', 'myplugin_addbuttons');

And here's what it looks like when add a New Post:

share|improve this answer
The full arrays for mce_buttons and mce_buttons_2. – brasofilo Sep 22 '13 at 4:47
@brasofilo Nice! Thanks. – MikeSchinkel Sep 22 '13 at 21:10

With the tinyMCE advanced plugin you can control many aspects of the tinyMCE editor. You can add options, remove options and rearrange them as well.

The plugin can be downloaded here: http://wordpress.org/extend/plugins/tinymce-advanced/

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.