Support » Fixing WordPress » Limiting the list of categories for a set post type

  • Moderator Justin Greer


    Forum Moderator

    I am trying to display only certain categories depending on what post type is being added or edited. For example I am wanting to show the following cats in the admin while editing a post.

    New Homes
    and some others

    Currently right now I have a post type of “Properties”

    I am only wanting the cats above to show up on this post edit page and not all of the cats that the site has..

    Right now if I was to go in and add a new post using “Properties”, the cat list on the side shows all of the sites categories. Is there a way to say like:

    if post_type is properties only show properties categories?

    I know how to do all the querying in the front end I just don’t know how for the admin side


  • The topic ‘Limiting the list of categories for a set post type’ is closed to new replies.