How would I load wp_editor someehere else other than the admin area?
How would I load wp_editor someehere else other than the admin area?
How would I load wp_editor someehere else other than the admin area?
You can always use wp_editor on the admin end. One such situation may be by using metabox. In this case let’s say you want to manage custom description about the post. So instead of a simple textarea, you can use wp_editor. Ex: In the example given in the above add_meta_box Codex url, you can replace … Read more
Oh, this was quite easy. I had used: $args = array(“textarea_name” => “wpet_options[txt]”, ‘default_editor’ => ‘text’); wp_editor( ‘xxx’, “wpet_options[txt]”, $args ); But what I really wanted was: $post = get_post( 117, ‘OBJECT’ ); wp_editor( $post, ‘editor’ ); This page explains more: http://code.tutsplus.com/articles/quick-tip-using-wp_editor–wp-27136
Like to convert textarea into using wp_editor
how to set max-length at the wp_editor
Edit Page blank
How to add custom button in wp_editor
Removing line breaks when in text view with wp_editor
wpautop is not working when displaying content saved using wp_editor in a custom meta box
Git this to work by using the following line of code in my theme’s functions.php. $wordcount = str_word_count( strip_tags( $content ), 0 ); I got this piece of code from a stackoverflow post. The only disadvantage with this code is that it does not update dynamically which is not a big issue as the current … Read more