Sometime we have a website that authors can sign up to and write articles as a guest author and publish their golden words. However we don’t want low quality posts submitted. So, If we want the posts to be not empty and to be longer than 250 words just suppose some number of words. In this situation how WordPress can help us to achieve this functionality. As I said in my other articles that WordPress is very rich CMS and its allow is to do any thing we need just name it and we can prevent authors from publishing short content with the help of few functions.
Here’s one idea using a custom post status, for example
We can then view all posts with too short content here:
Extra filter Tab for short content posts
To prevent authors from publishing posts with too short content, we can use the
where we force the post status back to short on publish. We can use this to warn the user that the content is too short:
Here’s a screenshot of the warning:
You can modify this to your needs, for example if you need this for other post types than post.