How to echo the results of the wp_editor
-
Hi,
I need a second textarea to the posts/pages. So I used the wp_editor but I don’t find how I echo the content of it to the site in the loop. what am i missing here?
This is the code to ass the wp_editor:/* Second Editor tinyMCE */ add_action( 'edit_form_advanced', 'my_second_editor' ); add_action( 'edit_post_form', 'my_second_editor' ); function my_second_editor() { $args = array( 'textarea_rows' => 5, 'media_buttons' => true ); // get and set $content somehow... wp_editor( '', 'my_second_editor', $args ); }
Any help will be much appreciated ??
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘How to echo the results of the wp_editor’ is closed to new replies.