TransWikia.com

Wordpress admin display post type tags as checkbox

WordPress Development Asked by The Grimmer on December 8, 2021

I used WordPress ACF plugin to created a post type called resource, also I created two tag categories named resource-type and resource-topic, I can added in those tags in the post by the enter certain key in input box, but if the input is mistype, a new tag will auto added in the list, this is not what I want and I think of make the tags as checkbox so that it would easily know what tags is available and reduce the mistype error, is it possible to change like this way?

enter image description here

One Answer

Have you considered changing them to Categories? Categories and Tags are essentially the same thing, just that Categories have a Hierarchy. Category selection is via a Checkbox so you will have more control over what is selected.

Update If you have used the function 'register_taxonomy' to create your Tags then you only need to add or adjust one variable - 'hierarchical' - which needs to be set to true. See: Codex information on register_taxonomy

If you used a plugin to create the Taxonomies it should have a similar option. Remember to backup your website before you make any changes.

Answered by t2pe on December 8, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP