[wp-hackers] WordPress Front-End tinyMCE

Scott Kingsley Clark scott at skcdev.com
Thu Jul 7 17:30:02 UTC 2011

Here's the actual code we're using in the TinyMCE for Pods package,
I'm sure you can make use of it in some way. After looking, you don't
need to put a textarea in there before it - my bad!

// New TinyMCE API by azaozz
require_once(PODS_DIR . '/ui/wp-editor/wp-editor.php');
require_once(ABSPATH . '/wp-admin/includes/template.php');

global $wp_editor;
echo $wp_editor->editor($value, $css_id, array(), false);

More information about the wp-hackers mailing list