Hello. Thanks for this plugin.
I have a similar demand :
– show words count on frontend, to help users
– possibility to define min/max words of a field (title and description), to be sure to have good content
– possibility to send picture with a custom field, to separate text content and picture content.
Plugin Author
finnj
(@finnj)
As for SHOW the word count – It seems like a walk in the park, but one never knows.
I one of you are ready to test for me I would appreciate it.
Edit the file frontier_form.php located in the forms subdirectory: ../wp-content/plugins/frontier-post/forms/
and add the following line in line 59 (just after wp_editor call)
printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' );
As for define min/max words – Validations are on my to-do list, but still not sure when
Picture in custom fields – You will be able to achieve this, once I extend the template functionality, but you will then have to do the php code yourself, as I don’t plan to support custom fields in the standard frontier-post, but enable the users to do it them selves.
Hello
Show words count : I test it on my site and it works !
https://dl.dropboxusercontent.com/u/42140767/2014-01-07_12h22_58.png
Notice :
– you have to press “Enter” on your computer’s keyboard to show the count
– the words with a “-” count for 1.
Plugin Author
finnj
(@finnj)
I know it is not perfect, but is it usefull ?
In the meantime I am checking if I can include the tinymce wordcount plugin instead.
Yes It’s great.
I appreciate it and i am ok if you need to test some dévelopment.
Do you receive my french translation ?
Plugin Author
finnj
(@finnj)
Yes thanks, will include it in next release
Plugin Author
finnj
(@finnj)
Wordcount is implemented in version 2.0.5 using TinyMCE plugin, as the standard wp way is unpredictable.
Now the wordcount is showing in the right side of the statusbar in the editor.
You need to enable custom editor buttons (Frontier Post settings, under Advanced) to show the wordcount
French translation added to version 2.0.5, thanks
Thanks for this new version. I try to show the wordcount.
You need to enable the custom editor buttons AND to select “Full editor”.
If you want to show “Minimal Visual”, it doesn’t work for me.
Is that correct ?
Word count doesn’t work by default in plugin version 2.1.2. I found this to be caused by an additional slash in front of the the string for calling the word count. So in the file frontier_form.php, on line 64, at least one of the slashes should be deleted before printf( __( ‘Word count: %s’ ), ‘<span class=”word-count”>0</span>’ ); to make the feature functional.
original: //printf( __( ‘Word count: %s’ ), ‘<span class=”word-count”>0</span>’ );
functional: printf( __( ‘Word count: %s’ ), ‘<span class=”word-count”>0</span>’ );
Just to clear this up for anyone else having issues.