Title: [Plugin: WP User Frontend] textarea with TinyMCE
Last modified: August 20, 2016

---

# [Plugin: WP User Frontend] textarea with TinyMCE

 *  [David Dumonde](https://wordpress.org/support/users/everlearners/)
 * (@everlearners)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-textarea-with-tinymce/)
 * This plugin has really great potential, and it solves a big problem for a project
   I’m doing. Thanks for your great work.
 * I did a little tinkering to see if I could get this working with the new wp_editor()
   in WP 3.3.1. Thought I’d share.
 * In wpuf_add_post.php I replaced this (about line 41)
 * `<textarea name="wpuf_post_content" id="new-post-desc" cols="40" rows="8"></textarea
   >`
 * with this
 * `<?php wp_editor( '', 'wpuf_post_content', $settings = array('textarea_name','
   wpuf_post_content') ); ?>`
 * And in wpuf_edit_post.php I replaced this (about line 74)
 * `<textarea name="wpuf_post_content" id="new-post-desc" cols="40" rows="8"><?php
   echo esc_html($post->post_content); ?></textarea>`
 * with this
 * `<?php wp_editor( $post->post_content, 'wpuf_post_content', $settings = array('
   textarea_name','wpuf_post_content') ); ?>`
 * Seems to work beautifully, though I’ve only done a tiny bit of testing. I’m a
   PHP newbie, so let me know if I’ve done something awful here.
 * Note that the codex says that the ID in wp_editor() may only be lowercase letters
   with no underscores, hyphens, and so forth. I did not follow that here for my
   quick tinkering, but the appropriate adjustments proabably should be made.
 * [http://wordpress.org/extend/plugins/wp-user-frontend/](http://wordpress.org/extend/plugins/wp-user-frontend/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Samrat Khan](https://wordpress.org/support/users/aynamohol/)
 * (@aynamohol)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-textarea-with-tinymce/#post-2504415)
 * contact with the plugin developer… he can help you… his name is: Tareq Hasan 
   from Bangladesh
 *  [Samrat Khan](https://wordpress.org/support/users/aynamohol/)
 * (@aynamohol)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-textarea-with-tinymce/#post-2504416)
 * Sir, I have a solution for you.. if you like it…
 * First install the MCEcomments plugin and active to your wordpress and put the
   following id=”comment” instead of id=”new-post-desc” in textarea.
 * `<textarea name="wpuf_post_content" id="comment" cols="60" rows="8"></textarea
   >`
    thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WP User Frontend] textarea with TinyMCE’ is closed to new replies.

 * ![](https://ps.w.org/wp-user-frontend/assets/icon-256x256.gif?rev=2818776)
 * [User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration](https://wordpress.org/plugins/wp-user-frontend/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-frontend/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-frontend/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-frontend/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-frontend/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-frontend/reviews/)

## Tags

 * [wp_editor](https://wordpress.org/support/topic-tag/wp_editor/)

 * 2 replies
 * 2 participants
 * Last reply from: [Samrat Khan](https://wordpress.org/support/users/aynamohol/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-textarea-with-tinymce/#post-2504416)
 * Status: not resolved