Viewing 1 replies (of 1 total)
  • Plugin Contributor Patrick Jackson

    (@pjackson1972)

    Hi johnnyr209,

    The category attribute applies to the category taxonomy built in to wordpress, used by regular posts. It may also be added to custom post types by adding ‘category’ to the list of taxonomies when registering the post type.

    If that’s the case, then the list of categories you see available for your custom post type will be the same list you see for a regular wordpress post.

    From the behavior you’re describing, It may be that your ‘clinic-pictures’ is actually a term in a custom taxonomy.

    You may want to try using the attributes for a custom taxonomy and term.

    [ic_add_posts tax='taxonomy' term='term']

    So, your example might look like the following.

    [ic_add_posts post_type='grad_resource' tax='custom-category' term='clinic-pictures']

    …where custom-category is the slug for your custom taxonomy.

    Does any of that help?

Viewing 1 replies (of 1 total)

The topic ‘Category within Custom Post Type’ is closed to new replies.