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'm search the topic about how to use tinymce in wordpress 3.5.1 and i not found. I'm writing plugin and i have textarea that i want to add timymce into What should i do to add tinymce into suppose that i have textarea like this

<textarea class="focus_des" name="focus_des" id="focus_des" ></textarea>
share|improve this question
You should use wp_editor() to create TinyMCE instances. – Pat J May 22 '13 at 12:19
thankyou Pat J and i will try that – GoT May 22 '13 at 12:21

Use wp_editor(). There are many configuration options; you have to read the source to get all of them.


$editor_settings =  array (
    'textarea_rows' => 15,
    'media_buttons' => FALSE,
    'teeny'         => TRUE,
    'tinymce'       => TRUE,
    'dfw'           => FALSE,

$content = $get_option( 'your_option_name' );
wp_editor( $content, 'your_editor_id', $editor_settings );
share|improve this answer
thank you very mush toscho. – GoT May 22 '13 at 12:38

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.