Hi everyone,
I'm working on a page, here someone could post his articles with WYSIWYG, and I want to call the WP's default one. But I could not figure it out in the public pages. Because I only found the methods to integrate it in the admin panel:
add_filter('admin_head','zd_multilang_tinymce');
function zd_multilang_tinymce() {
wp_admin_css('thickbox');
wp_print_scripts('jquery-ui-core');
wp_print_scripts('jquery-ui-tabs');
wp_print_scripts('post');
wp_print_scripts('editor');
add_thickbox();
wp_print_scripts('media-upload');
if (function_exists('wp_tiny_mce')) wp_tiny_mce();
// use the if condition because this function doesn't exist in version prior to 2.7
}
But I want to call the tinyMCE editor in a public page.