{"id":32306,"date":"2021-12-02T15:00:19","date_gmt":"2021-12-02T14:00:19","guid":{"rendered":"https:\/\/qodeinteractive.com\/magazine\/?p=32306"},"modified":"2021-12-01T14:55:25","modified_gmt":"2021-12-01T13:55:25","slug":"how-to-create-limit-for-publishing-wordpress-posts","status":"publish","type":"post","link":"https:\/\/qodeinteractive.com\/magazine\/how-to-create-limit-for-publishing-wordpress-posts\/","title":{"rendered":"How to Create a Limit for Publishing and Submitting WordPress Posts"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]There are <strong>obvious benefits to <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-create-perfect-blogging-schedule-in-wordpress\/\">a regular posting schedule<\/a><\/strong>: on the one hand, your website visitors get fresh content with regularity, which gives them good reason to return to your website with regularity, while, on the other, frequently updated websites get a boost in the SERP rankings.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]But <strong>is more content automatically better<\/strong>? Can there be such a thing as too much content? Are there other considerations? These are the questions we would like to address before sinking our teeth in the meat of creating a post limit in WordPress.[\/vc_column_text][vc_empty_space height=&#8221;80px&#8221;][vc_widget_sidebar sidebar_id=&#8221;blog-magazine-banner&#8221;][vc_empty_space height=&#8221;80px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">Why Create a Post Limit<\/h2>\n<p>[\/vc_column_text][vc_column_text]In this case, we are talking about<strong> too much of a good thing<\/strong>: even if your content is great, there can be too much of it. Even assuming all your authors and contributors provide superb content all the time (which is a stretch even for great teams of any size), just publishing a massive amount of content all at once will result in some of it being buried. Limiting the number of posts can therefore be<strong> beneficial in getting your writers to stick to your publishing schedule<\/strong> \u2013 especially if you take into account <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-master-best-time-to-publish-a-blog-or-social-post\/\">the best time to publish an article<\/a>, while your writers might not pay the same level of attention..[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]If you are running a more serious sort of operation, you are likely employing editors to make sure your posts are proofread for grammar and compliant to any policy you may have. Limiting the number of posts per user <strong>makes your editors\u2019 workload more manageable.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Another thing you should take into account are <strong>content mills<\/strong>: websites with a massive output, usually of low quality. While search engines show preference for frequently updated websites, Google (and possibly others) have gone out of their way to exclude websites espousing this quantitative approach and rank quality content better. A lot of posts in a short amount of time might make your website look like a content farm to an algorithm, and that is best avoided.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Finally, you may be running a website which allows your users to compete with one another in some way or another \u2013 an <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-start-site-like-teachers-pay-teachers-with-wordpress\/\">online marketplace, say, such as Teachers Pay Teachers<\/a> \u2013 you want to avoid users spamming the market with their products. By limiting the number of posts per user per unit of time, you <strong>safeguard against user-generated spam<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">How to Create a Post Limit in WordPress<\/h2>\n<p>[\/vc_column_text][vc_column_text]While WordPress is extremely versatile, it does not come with a functionality which permits you to limit the number of posts for your contributors and other types of registered users. As it often happens, you can gain access to the requisite functionality by <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-install-a-wordpress-plugin\/\">installing a plugin<\/a>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]The plugin we will be using is <a href=\"https:\/\/wordpress.org\/plugins\/user-posts-limit\/\" target=\"_blank\" rel=\"noopener\">User Posts Limit<\/a>, a free and simple plugin which provides additional post limiting functionalities to various user roles. Before you begin, you need to <a href=\"https:\/\/qodeinteractive.com\/magazine\/wordpress-user-roles\/\">make sense of the user roles on your website<\/a>: know which user roles can contribute to your website, and how much do you want to limit them.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Then, after having installed and activated the plugin, access its settings by navigating to<strong> Settings\/Post Limit<\/strong> from your WordPress dashboard.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/12\/Settings-Posts-Limit.jpg\" class=\"attachment-full size-full\" alt=\"Settings Posts Limit\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/12\/Settings-Posts-Limit.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/12\/Settings-Posts-Limit-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/12\/Settings-Posts-Limit-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/12\/Settings-Posts-Limit-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]This plugin allows you to set any number of rules for your users. The default number of rules is 1, and we will be showing you how to set up a single rule. To add more rules, simply input how many rules you want in the <strong>Rules<\/strong> field and click <strong>Save Changes<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]The next field down is the <strong>Text<\/strong> field, in which you can enter the message which will appear to the users who exceed their limits. We have gone with the very simple<em> Post limit exceeded!<\/em> In the <strong>Notification<\/strong> menu, you can choose how the notification appears to the user. We will leave it at the default <em>Embed<\/em>, but you can also choose <em>Full Screen<\/em> or <em>Redirect<\/em>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]The <strong>Priority<\/strong> menu lets you choose between <em>Permissive<\/em> and <em>Restrictive<\/em>, and this functionalities governs the plugin\u2019s behaviour in case a user has two roles, and, consequently, two limits: permissive behaviour means that the higher limit applies, while the reverse is true for the restrictive behaviour.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]We won\u2019t be touching the <strong>Plugin Management Capability<\/strong> menu, as it is an advanced function not suited for this tutorial. Here we will limit ourselves to saying that it has to do with the ways a user can affect their or other users\u2019 limit.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]The<strong> Document Statistics<\/strong> checkbox should be checked if you want to log user behaviour \u2013 especially useful for your editors.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Each of the rules you establish begins with # and a number. Since we are only working with one rule, we are only seeing one set of instructions prefaced by <strong>#1<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Here you can select the <strong>Role<\/strong> to which the rule applies (we have gone with <em>Contributor<\/em>, but your website may have different roles), the <strong>Type<\/strong> of change to your website for which the rule applies (for the purposes of this tutorial, we will be going with <em>Posts<\/em>, obviously), the <strong>Limit<\/strong> itself (which can be anything, but we went with 3), and <strong>Cycle<\/strong>, which is basically when the counter resets for the users the rule applies to, and can be set to <em>Year, Month, Week<\/em>, or <em>Day<\/em>. We have gone for <em>Week<\/em>, but, of course, you make your own rules.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Once you have everything set up the way you like it, click <strong>Save Changes<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"510\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/12\/Set-Up-and-Save-Changes.jpg\" class=\"attachment-full size-full\" alt=\"Set Up and Save Changes\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/12\/Set-Up-and-Save-Changes.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/12\/Set-Up-and-Save-Changes-300x158.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/12\/Set-Up-and-Save-Changes-768x404.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/12\/Set-Up-and-Save-Changes-620x326.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]And there you have it, your contributors are now limited to three posts a week. Bear in mind, though, that we have only shown you the basics here. If you are an advanced WordPress user, you can check out <a href=\"https:\/\/en.condless.com\/user-posts-limit\/\" target=\"_blank\" rel=\"noopener\">the developer\u2019s website<\/a> for more tips on the plugin\u2019s functionalities.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">In Conclusion<\/h2>\n<p>[\/vc_column_text][vc_column_text]As you can see, limiting the total number of posts is not very complicated, and the plugin we have been using is very versatile: you can have all kinds of different rules for different user roles set up in next to no time at all and at no cost. So, whether you are looking to make life easier for your editors, make your contributors stick to their posting schedules, or simply to avoid spam or similar kinds of abuses, now you know how it can be done.<br \/>\n[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Make life easier for your editors and get your contributors to stick to a schedule by setting up a post limit in WordPress &#8211; we will show you how!<\/p>\n","protected":false},"author":16990,"featured_media":32319,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[46,27,4,13],"class_list":["post-32306","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-blogging","tag-content","tag-tips","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/32306","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/users\/16990"}],"replies":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/comments?post=32306"}],"version-history":[{"count":0,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/32306\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media\/32319"}],"wp:attachment":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media?parent=32306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/categories?post=32306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/tags?post=32306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}