WordPress.org

Support

Support » Plugins and Hacks » [Resolved] specific categories assigned to a specific post type

[Resolved] specific categories assigned to a specific post type

  • Hello, I’m quite new to wordpress, so I need help with this wonderful plug in.

    I would like to know if there is a way to assign specific categories to a post type only.
    For example: post type “releases” categories “series A, series B, series C”, post type “gigs” categories “group 1, group 2, group 3”.
    I want “series x” to be shown only on “releases” and “group x” only on “gigs”.

    How can I do?

    Thanks!

    http://wordpress.org/extend/plugins/cpt-onomies/

Viewing 1 replies (of 1 total)
  • Plugin Author Rachel Carden

    @bamadesigner

    If your categories would benefit from being custom post types, i.e. you want to store data for each category, then this is where CPT-onomies come to call. You’ll have to give each set of categories a unique name, like “series_categories” and “group_categories”, and create post types for them in the CPT-onomies admin area. Then, in the “Register this Custom Post Type as a CPT-onomy” section, you can attach each category to its corresponding custom post type to create your CPT-onomy.

    If your categories don’t need to be custom post types, i.e. you just need the term and that’s all the info you need for each category, then you just need plain ole taxonomies. You still need to give each category a unique name so you can separate them out, register the taxonomies and attach it to its corresponding custom post type.

    The code is pretty simple to register a taxonomy, but there are also a few plugins that will help you out if needed.

    Check out the codex for more information on taxonomies.

    I hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] specific categories assigned to a specific post type’ is closed to new replies.