• Hi,
    investigating about an issue with my plugin, I found that if I create a custom post type with CPT UI, and add support for post formats to it, the taxonomy post_format is not registered for the custom post type, so (for example) using get_object_taxonomies doesn’t return post_format among its results.
    Here I found a (closed) bug report for WP core: it seems that adding post support is not enough and the taxonomy has to be registered explicitly.
    I suppose it’s really a rare case, but I thought it would be better to tell you about it…

    You guys are doing a great job!

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

    (@tw2113)

    The BenchPresser

    Not quite sure what is potentially handled by us in this case. We essentially handle gathering of arguments to be passed into register_post_type and register_taxonomy. If there are other steps involved, then it’s an odd crosshair of should it also be handled by us? or should it be left to the active theme for the user’s site?

Viewing 1 replies (of 1 total)
  • The topic ‘Post formats are not registered for custom post types’ is closed to new replies.