• Resolved macpheek

    (@macpheek)


    Hi, is there any way I can make a taxonomy mandatory, so when someone creates a new post they are forced to select a taxonomy?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I have to believe it’s definitely possible as a whole, but I don’t have any snippets of code or tutorial links handy to pass along for how to do it. I know it’s not something CPTUI has as part of its feature list.

    I believe you could do that using Advanced Custom Fields. Just create a taxonomy field, set it to connect to your already existing taxonomy, select the option to have it show above the content field so it’s right there for them to select, and make the field required. Haven’t tested, but I’ve done that in the past I believe.

    • This reply was modified 4 years, 10 months ago by watermelonkid.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘mandatory taxonomy’ is closed to new replies.