Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

1 Answer 1

OK, I found the solutions, anyone else can benefit from it.

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.