WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type UI
[resolved] assign not-built-in taxonomies (2 posts)

  1. nicomollet
    Member
    Posted 3 years ago #

    Hello, I have tried your plugin a lot, and it is working great so far.

    My request is : Why don't you *only* allow to assign built-in taxonomies to custom types, in the edit "Custom Post Type" screen ?

    For now, Categories and Tags are the only objects allowed while it should be possible to allow to assign custom taxonomies.

    I know we can do it in with "in Attach to Post Type" while editing a taxonomy.
    It's just that some plugins need to check if custom taxonomies are attached to custom type with : $wp_post_types["mycustomposttype"]->taxonomies

    The fix is easy :

    //replace
    if ( $add_tax->name != 'nav_menu' && $add_tax->_builtin == 1 ) {
    //by
    if ( $add_tax->name != 'nav_menu') {

    Thanks

  2. Brad Williams
    Member
    Plugin Author

    Posted 3 years ago #

    This will be included in v0.6.2 being released tomorrow.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic