Tags are a great way to organize your content however many beginners often mistake it for SEO keywords which can lead to posts with dozens of tags. If you manage a multi-author blog or training a new author on your site, then it’s really helpful if you limit the tags allowed for each post. In this article, we will show you how you can set a maximum number of tags for a WordPress post.
Before we start, it’s important that you understand the difference between categories vs tags. It will help you understand how to better use them to improve your site structure.
If you don’t like the video or need more instructions, then continue reading.
First thing you need to do is install and activate the WP Limit Tags plugin. Upon activation, visit the Settings » WP Limit Tags page to configure the plugin.
On the configuration page, you need to enter the maximum number of tags you want to allow for each post. After that select the post types where you want to enable this restriction. Once you are done, click on the save changes button to store your settings.
Now when you go to create a new post or edit an existing one, your tag box will have the maximum limit in place.
For example, if your maximum tag limit is 3, then after you add the third tag, this plugin will remove the add button. This limits you from adding the fourth tag.
We hope this article helped you set a maximum number of tags allowed for each WordPress post. If you want to clean up your site’s category and tag structure, then you should check out this Term Management Tool which helps you bulk edit and merge categories / tags.
We also have a tutorial on how to limit the number of tags displayed in your WordPress theme which may be helpful for theme developers.
If you want to change how your theme displays tags, then take a look at our tutorial on how to style tags in WordPress. You may also want to check out our list of 10 most wanted category hacks and plugins for WordPress.