How to display wp-editor word count?
-
I’m using the built-in wp-editor for a post submission screen (custom post type), so I fiddle with TinyMCE for custom buttons. I’d like to have the word count show on the status bar, but can’t find how to do it. I’ve hunted all over the place!
My code is simple (I’ve removed a bit of surround <div> stuff, and $sub_content is the content in the editor):
$args = array( 'media_buttons' => false, 'textarea_rows' => 25, 'tinymce' => array ('theme_advanced_buttons1' => 'bold,italic,|,bullist,numlist,|,spellchecker','statusbar' => true) ); wp_editor($sub_content, 'sub_content', $args);
I assume I need another parameter in the $args, but can’t find any reference to what I need.
Any help appreciated!
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘How to display wp-editor word count?’ is closed to new replies.