elivz / craft-single-cat
A Craft CMS field for selecting one category from a dropdown.
Package info
Type:craft-plugin
pkg:composer/elivz/craft-single-cat
Fund package maintenance!
Requires
- craftcms/cms: ^5.0.0
- verbb/base: ^3.0.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Single Cat for Craft CMS
Single Cat is a Craft CMS plugin that gives authors a compact dropdown when a content model needs exactly one category. Keep the relationship native to Craft without presenting a full element selector for a small, deliberate choice.
Choose the category group for the field and present its categories in a dropdown. Authors get a quick, familiar control with no ambiguity about selecting several values.
Features
- Store the selected value as a native Craft category.
- Choose from the configured group without opening an element modal.
- Use the chosen category's fields and URL in normal templates.
- Query the selected category as a native element in headless builds.
Documentation
Visit the Single Cat Plugin page for all documentation, guides, pricing and developer resources.
Credit & Thanks
Originally created by Eli Van Zoeren.
Support
Get in touch with us via the Single Cat Support page or by creating a GitHub issue.
Sponsor
Single Cat is licensed under the MIT license, so it will always be free and open source. If you'd like to support it anyway, you can sponsor its development.