Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In comments.php:
- // Capture the TinyMCE editor output so we can pass it to comment_form() below
- ob_start();
- $TMPEDITOR['tinymce'] = true;
- $TMPEDITOR['media_buttons'] = false;
- $TMPEDITOR['teeny'] = true;
- $TMPEDITOR['textarea_rows'] = 7;
- $TMPEDITOR['quicktags'] = false;
- wp_editor('','comment', $TMPEDITOR);
- $TMPEDITOR = ob_get_contents();
- ob_end_clean();
- $TMPCMNTFORM[ 'title_reply' ] = "";
- $TMPCMNTFORM[ 'comment_field' ] = $TMPEDITOR;
- $TMPCMNTFORM[ 'comment_notes_before' ] = "";
- $TMPCMNTFORM[ 'comment_notes_after' ] = "";
- $TMPCMNTFORM[ 'label_submit' ] = "Post";
- $TMPCMNTFORM[ 'logged_in_as' ] = "";
- comment_form( $TMPCMNTFORM );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement