This topic contains 2 replies, has 2 voices, and was last updated by  webdev 1 year, 4 months ago.

  • Creator
    Topic
  • #9132

    webdev
    Participant

    Hi,

    Before we started using MB, I’d been creating a Metabox Grouper class to combine related metaboxes or custom fields.

    Turns out, MB has everything I was thinking of adding and more, but it’s missing one tiny thing…

    When I inserted a standard WP custom taxonomy, rather than create my own drop-down or select, as you’ve done, I simply called the WP functions:
    post_categories_meta_box() and post_tags_meta_box()
    which inserts the standard WP interface for adding terms. This has the advantage of allowing users to add new terms without leaving the ‘Add new post type’ screen.

    Could you add another option for the category and tag metaboxes to output the standard WP interface, as well as all the options you have?

    Unless of course I’m missing something that would allow users to insert them from the post-new page already?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #9145

    Anh Tran
    Keymaster

    Hi,

    The “adding new terms” is one thing that in my head for a long time. I’m stuck with the current UI of taxonomy field.

    Do you think an option is needed? As you can always use the default WP’s UI and remove the taxonomy field from the meta box?

    #9155

    webdev
    Participant

    I’m mainly thinking of when you want to have a taxonomy field in a metabox with other custom fields or taxonomies…

    The main reason I started doing it is because I’m currently writing a plugin that has a LOT of taxonomies and custom fields for a custom post type, and the client wanted to group together related elements so as to avoid having so many metaboxes.

    And it was really straight-forward using the functions I mention above. It would be useful for my purposes, but I can see it’s a bit of an edge case 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.