• Resolved David Gard

    (@duck_boy)


    Hey all,

    I’m trying to create a custom taxonomy that has a hierarchical structure, but I’m aware the WP doesn’t create the meta box for you in this situation. Is anyone able to point me towards some information on how to create these?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter David Gard

    (@duck_boy)

    Hey T31os,

    Thanks for that, but I had already stumbled across that, and while it’s a good tutorial on creating the metabox it doesn’t go in to detail about how to make it parent-child(hierarchical) in type and then how to link it to a custom taxonomy. Don’t spose you know anything about that?

    Thanks.

    Nope, can’t say i do unfortunately..

    Take a look at how WordPress registers the category one.

    The callback function post_categories_meta_box is declared in wp-admin/includes/meta-boxes.php

    There are some changes to how the hierarchal taxonomies are dealt with in edit-form-advanced.php under WP 3.0, so you might benefit from waiting if you’re not in an immediate rush.

    If you’re curious to see the changes(i’m not honestly sure how much of a difference these changes will make), it’s quite easy to get a 3.0 install up and running, using SVN or the Beta Tester plugin you can get setup with the necessary files..

    Thread Starter David Gard

    (@duck_boy)

    Ok, will have a look at that.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do you create a meta box for a hierarchical taxonomy?’ is closed to new replies.