I haven’t been working with WP for a while and noticed that there are some new features in WP 3+ such as creating meta data for taxonomies. I’d like to be able to add unique meta data setups for different categories on my posts – what would be the best approach for this? Take for example the following categories:

“press releases”
“cases”
“concepts”

In the first, I’d like the admin to be able to attach more than just 1 image (the default thumbnail). In the other two I need the option of an additional textbox.

Is this easier to do with custom post types? I’d rather work with the regular post categories.

Thanks,
-Staffan

2 Answers
2

WordPress doen’t have a term/texonomy meta table in its database so in order to save the meta data you will need to either create your own table hold the data, use the Options table to hold the data or use a plugin that creates that table for you like Simple Term Meta.

some tutorials

  • add meta data to categories using
    the options table
  • add meta data to taxonomies using
    the options table

Hope this helps.

Leave a Reply

Your email address will not be published. Required fields are marked *