0

Is there a way to have a specific custom taxonomy for new 3.1 post formats?

Let's say for example we want to categorize the "gallery" post format with two categories —only available for those kind of posts— as in "portfolio" and "others". How can we do that? Going even further how can we sub-categorize those with a bunch of tags only available for those custom posts (as for example "people", "landscape", "cityscape", etc.)?

Is it better to switch to custom post types + custom taxonomies to do this?

1 Answer 1

1

"Post Format" is simply a custom taxonomy, and it is - by design - not extensible.

I would recommend just implementing this procedurally, by only using specific tags with specific Post Formats.

EDIT

I would start with the Codex entry on Post Formats.

Here's a little primer I wrote on using Post Formats as a taxonomy.

As for tutorials for implementing Post Formats, there are several. Just try a Google search for "WordPress Post Formats".

3
  • thanks for your answer. I think there's something I'm not grasping though. How can tags be specific to post formats if they're not extensible custom taxonomies?
    – Vale
    Commented Jul 3, 2011 at 21:25
  • Tags can't be specific to another taxonomy (Categories, Post Formats, or any other, custom taxonomy); that's why I said that you'd have to implement it procedurally (as in: controlled by your own actions, as opposed to WordPress controlling it). Commented Jul 3, 2011 at 21:49
  • ok thanks for the additional info. I've appreciated. May you also be so kind to give me some link to any tutorial about this matter?
    – Vale
    Commented Jul 5, 2011 at 16:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.