WordPress.org

Ready to get started?Download WordPress

Forums

Frontier Post
[resolved] Character count (11 posts)

  1. Imsfortune
    Member
    Posted 7 months ago #

    Is there a way to show character count like when we post the content on the backend? (using plugin)

    Thank you for helping.

    http://wordpress.org/plugins/frontier-post/

  2. finnj
    Member
    Plugin Author

    Posted 6 months ago #

    Will check

  3. pabaly
    Member
    Posted 6 months ago #

    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.

  4. finnj
    Member
    Plugin Author

    Posted 6 months ago #

    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.

  5. pabaly
    Member
    Posted 6 months ago #

    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.

  6. finnj
    Member
    Plugin Author

    Posted 6 months ago #

    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.

  7. pabaly
    Member
    Posted 6 months ago #

    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 ?

  8. finnj
    Member
    Plugin Author

    Posted 6 months ago #

    Yes thanks, will include it in next release

  9. finnj
    Member
    Plugin Author

    Posted 6 months ago #

    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

  10. pabaly
    Member
    Posted 6 months ago #

    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 ?

  11. finnj
    Member
    Plugin Author

    Posted 6 months ago #

    Yes

Reply

You must log in to post.

About this Plugin

About this Topic