• Resolved ronr1999

    (@ronr1999)


    Ver 0.8.2

    We’re using custom post type with two custom taxonomies – Company and Category. We need to alert the user that it’s required to choose only one Company and at least one or more Categories. Any thoughts on how this might be done? An alert would work… but where?

    Thanks!

    https://wordpress.org/plugins/custom-post-type-ui/

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

    (@tw2113)

    The BenchPresser

    Hmm, very good question. It’d likely be best to have handled by javascript and whatnot in the post editor. Sadly this specific question falls outside the scope of what our plugin does, which is simply get the post types and taxonomies registered. What you do with them afterwards is unrelated.

    That said, I’ll leave the thread “unresolved” in case someone else comes in and has better ideas.

    Thread Starter ronr1999

    (@ronr1999)

    Thanks for the response. I’ll poke around and see what I can come up with.

    Thread Starter ronr1999

    (@ronr1999)

    Made it work using a couple of extra plugins:

    Radio Buttons for Taxonomies
    Change “Company” from checkbox to radio so they can only choose one.

    Force Post Category Selection
    Forces user to assign at least one category to a post before publishing. If none chosen then an alert pops up.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Good to see a solution was found one way or another ronr1999, and thanks for posting how in case others are curious. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Making Custom Taxonomy Required’ is closed to new replies.