I would like to limit characters in BuddyPress posts to certain limit . Ex: Set it to the limit of 150 ... just like twitter's 140.

Googled about it and found nothing. Does any one have Idea on this?


3 Answers 3


Simple solution is to add a maxlength attribute to the textarea field. For example

<textarea maxlength="140">


This question was answered 3 years ago on wordpress.org. Here is the function, which you can easily modify to your needs.

  • 1
    Hi ommunist, welcome to WPSE. Can you provide the code in your answer? Answers with just a link are considered poor quality, and become useless should the link ever die. Thanks! Sep 27, 2012 at 9:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.