I have two
wp_editor() instances on pages and posts used to populate the sidebars of my three-column website. I would like to use the default wordpress word-count script on the two wp-editor areas to get the word-count of the content within them.
I enqueued the script and added the required HTML but the wordcount was always that of the main content editor area.
Has anyone managed to use this functionality with custom wp_editor areas and what HTML will I use?
I have searched on the web but could not find any examples where the default script is used.
Thanks in advance nav