
By default WordPress does not allow you to limit how many taxonomy terms can be attached to a post.
Enabling this plugin allows the use of the “limit” attribute when initially calling register_taxonomy().
If the limit is set to 1 then only one term can be added to the post. If the limit is greater than one then that many
terms may be added to the post. If the limit is attribute is not set, or it’s set to -1 this plugin has no effect.
Example code showing the use of the limit attribute:
register_taxonomy('artists', 'art_work', [ 'label' => 'Artists', 'show_ui' => true, 'limit' => 1, ]); This example shows the use of a custom taxonomy called “artists” and the post type is “art_work”.
Here is another example but this time it’s editing the previously registered taxonomy “post_tag”:
// First load the taxonomy $taxonomy = get_taxonomy('post_tag'); // Edit it to only allow 2 tags to be added per post $taxonomy->limit = 2; // Re-save it with our updated settings (note casting the object to an array before saving) register_taxonomy('post_tag', 'post', (array)$taxonomy); Starting from $0 per month.
Rating
Reviewers
1 reviews
Tags
Developed By
dahousecatz
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Show Airbnb reviews to build trust, improve credibility, and help visitors make confident booking decisions that support higher property sales.

Show Tumblr posts with a Tumblr feed that keeps content fresh, improves navigation, and helps visitors discover more posts.
Showcase your abilities with a structured skill list that highlights strengths clearly, builds credibility, and improves your chances of getting hired.
Show RSS feed updates with an RSS feed slider that auto updates, displays posts in a smooth layout, and keeps visitors engaged.
Showcase content with a creative card carousel that rotates banner style items to highlight offers and important messages.
Add announcements to your site to share important updates, keep visitors informed, and guide them toward actions that support engagement and conversions.
Show Yelp reviews to build trust, strengthen credibility, and help visitors make confident decisions that support higher sales.
Create event listings with an events board widget that displays upcoming activities clearly, helps visitors discover events, and supports easy management.
Add social media and RSS feeds to your site to display fresh content, grow your online presence, and keep visitors engaged with real time updates.

Create consent forms that collect signatures, save submissions, send notifications, and help you manage approvals efficiently.
Create a TDEE Calculator that helps visitors estimate daily calorie needs and make informed decisions.
Use a news ticker to display headlines and updates that highlight key information and keep users informed in real time.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
