• Hello All,
    I am trying to get the categories to display in the edit screen for custom post types. My custom post types use the default WordPress categories. The category header shows up in the edit screen but not the category each post has been assigned to. Just blank space.

    I’ve looked for a solution to this but have only found info on how to add in custom taxonomies to the edit screen. If someone could push me in the right direction I would appreciate it.

    Thanx

Viewing 2 replies - 1 through 2 (of 2 total)
  • I think you need to add the 'taxonomies' => array('category','post_tag') argument to register_post_types.

    If you already have that, can you add a Category to a CP?

    Thread Starter danpkraus

    (@danpkraus)

    Yes I can. The issue is with the “View All Custom Types” page. “Categories” is shown with the Post Title, Date Published and Author, but no categories are listed. I can click on “Quick Edit” and then the categories the Custom Post Type has are shown.

    There must be a simple bit of code I need to implement to get these to display in the back-end. Just not sure what it is. Seems a little strange that Custom Post Types don’t display default categories in the “View All Custom Types” screen. The Tags don’t show up either.

    Hope that makes more sense.

    Thanx,
    Daniel

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Post Type display categories on edit screen’ is closed to new replies.