0

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

1

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.

3
  • Yes I wanted those tags can be display as checkbox, can it be achieve? Jul 24 '20 at 0:24
  • I have updated my answer for you, hope it helps!
    – t2pe
    Jul 24 '20 at 8:56
  • How can I make the existing "tags" taxonomy hierarchical?
    – Shawn
    Apr 12 at 9:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.