Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Limit the size of user updates


pcwriter
Participant

@pcwriter

@latenitebooks

To get you started, here’s a replacement file for activity/post-form.php with a 500 character textarea limit.
http://pastebin.com/eXuSa4iK

Adjust to taste on line 52. With an if/else conditional, you could set it so different roles have different limits.
Simply create a new post-form.php file in your child theme, copy/paste the contents of the pastebin file and upload to the “activity” folder of your child theme.

Hope it helps! :-)

Skip to toolbar