MattR7 Posted July 23, 2020 Share Posted July 23, 2020 Does anyone know of a way to limit the length of comments on blog pages? We have a relatively new online magazine and want to have comments enabled for discussion. However, some people feel the need to write a full article themselves in the comments. Is there a way to have a character limit or something like that? Link to comment
derricksrandomviews Posted July 23, 2020 Share Posted July 23, 2020 (edited) Well I don't think you can get a css word or character counter but you might just ask people to limit their responses, don't know if this will work in custom css but worth a try, best I could come up with. If it works you can change the word count from 250 to whatever. .comment-form-field.comment-textarea:after { display: block; content: "Remember to keep your comment under 250 words, or it will not be posted!"; font-size: 20px; padding: 5px 10px; color: red; font-style: italic; text-align: center; } Edited July 23, 2020 by derricksrandomviews Link to comment
derricksrandomviews Posted August 9, 2020 Share Posted August 9, 2020 (edited) If this is for a description you are providing and want to count the words: https://www.lettercount.com/ https://wordcounter.net/ Edited August 9, 2020 by derricksrandomviews Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment