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 have loaded WP visual editor in comments using wp_editor function and I want to customize the height and buttons of the editor, also it would be much better to show Text mode/tab only and disable the Visual mode/tab.

Here my code:

    $settings = array(
                      false,        // wpautop
                      false,        // media_buttons
                      'comment',    // textarea_name
                      5,            // textarea_rows
                      'None',       // tabindex
                      'None',       // editor_css
                      'test',       // editor_class
                      true,         // teeny
                      true,         // tinymce
                      true          // quicktags

<?php wp_editor( 'Enter your comments here', get_the_ID(), $settings); ?> 


share|improve this question

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.