
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.
Showcase content with a card slider that presents images, text, and buttons in a smooth, customizable layout to keep visitors engaged.
Add a unified chat tool to your site that connects users via WhatsApp, Messenger, Telegram, or email for seamless support.
Use a news ticker to display headlines and updates that highlight key information and keep users informed in real time.

Show WordPress posts with a WordPress feed that keeps content fresh, improves navigation, and helps visitors discover more of your site.
Create interactive personality quizzes with custom results and flexible design to boost engagement and help visitors explore tailored outcomes easily.
Show Medium articles in a Medium feed that keeps content fresh, improves readability, and helps visitors discover more posts.
Show products, apps, or designs inside a clean device mockup that improves visualization, builds credibility, and helps visitors make confident decisions.
Showcase visuals with a multi row image slider that displays images in layered rows, improves design, and helps visitors explore content more easily.
Use event flip cards to highlight upcoming activities, improve visibility, and help visitors discover events that increase attendance and engagement.
Showcase content with a card carousel that combines images and text, improves visual design, and helps visitors explore key information.
Add a translation widget to your site so users can switch languages easily and access content in their preferred language.

Create consent forms that collect signatures, save submissions, send notifications, and help you manage approvals efficiently.
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!
