WordPress.org

Ready to get started?Download WordPress

Forums

Character Count (4 posts)

  1. yannisl
    Member
    Posted 6 years ago #

    Is there a way to count the number of characters in a post? I know I can do it in php, but is there a standard function?

  2. patricioqb
    Member
    Posted 6 years ago #

    The strlen() function in PHP will count the character of a string.

    Try to do something like strlen($postvar).

  3. Kafkaesqui

    Posted 6 years ago #

    No, there's no built-in WordPress function that returns character count from a post's content.

  4. yannisl
    Member
    Posted 6 years ago #

    Thanks for the reply, will give it a try

Topic Closed

This topic has been closed to new replies.

About this Topic