Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm trying to add tinyMCE instead of textarea for one of my options in my plugin with no luck so far. I tried this :


and this:


There seems to be some problem with styles as styles for tabs (HTML style/Visual style) dont work. Anybody knows about implementation that works 100% with WP 3.0 and up ?

share|improve this question
0% accept rate tells us that you don't keep track of your questions. Please mark correct answers by clicking the tick next to the answer. Otherwise, it seems you are not actively participating in the community and people will be less willing to help. –  Stephen Harris Mar 10 '12 at 13:37
add comment

migrated from stackoverflow.com Sep 21 '11 at 8:37

This question came from our site for professional and enthusiast programmers.

2 Answers

Pre WP 3.3: http://www.dev4press.com/2010/tutorials/wordpress/tips/add-rich-text-editor-to-your-plugin/

If you are using WP 3.3 or later you might look up wp_editor: http://codex.wordpress.org/Function_Reference/wp_editor

$settings = array(
    'teeny' => true,
    'textarea_rows' => 15,
    'tabindex' => 1
wp_editor(esc_html( __(get_option('whatever_you_need', 'whatever'))), 'terms_wp_content', $settings);
share|improve this answer
add comment

If I am reading your question correctly:


There's a checkbox in the options to show the custom styles of the theme.

share|improve this answer
unfortunately I need it for plugin I create, I don't want it to depend on any other plugin –  chubbyk Jan 4 '11 at 15:33
me too need the same... –  Ramkumar Sep 21 '11 at 10:32
add comment

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.