• Resolved stephgordon445

    (@stephgordon445)


    My post categories, media categories and custom post type categories are all merged together and all show up when choosing a category for anything, how do i seperate them back into only the post type they go to?

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

    (@tw2113)

    The BenchPresser

    Not quite sure what may have triggered this, if it was perhaps somehow triggered via an applied update to CPTUI for example, or something else completely. We very intently don’t affect posts/terms without intent by the user, via confirmation and needed to check appropriate checkboxes.

    Not finding much for term splitting plugins that could help for a given time.

    Perhaps some more context of what happened would help me out. Otherwise, the only really good idea I have would be restoring from a backup of the database.

    Thread Starter stephgordon445

    (@stephgordon445)

    I don’t know what happened. The categories I set for each custom post type show all together and not just for that post type like it should. I am using a plugin for media categories and I have regular post categories.

    do you have an email i can send login info to for you to take a look?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Honestly not a lot I’m going to be able to deduce with a login to the website. CPTUI specifically doesn’t do anything with regards to taxonomy term assignment. The absolute closest I can think of is if you tried to rename your custom taxonomies and used the “Migrate terms” checkbox.

    We do a query for terms at that point, and update the associated taxonomy with this line: https://github.com/WebDevStudios/custom-post-type-ui/blob/1.5.2/inc/taxonomies.php#L1362

    Thread Starter stephgordon445

    (@stephgordon445)

    I set up 2 custom post types: bod and associations. I set different categories for each. but, when i go to add a new bod or association, under categories, the categories I set for both show and not just the post type I want. does that make more sense?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    As far as I’m aware, I’m having to believe this is the default behavior by WordPress core. We’re 100% hands off with regards to term creation, regardless of taxonomy. We don’t intercept anything and do our own thing with them. Our focus is collecting the parameters to pass into register_post_type() and register_taxonomy(). After that is done, the rest is WordPress core or other plugins/theme code that does their own things.

    At the database level, I believe they’re still separated out and there’s no term sharing like there was years ago, but in terms of the lists in the UI, it still shows all of them, regardless of which post type may have been edited at the time of term creation.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘category problem’ is closed to new replies.