• Hello,

    I created a taxonomy for colors and I need to specify for each their :
    – name (I use the name field)
    – reference (RAL) (I use the ID field)
    – thumbnail for preview

    Is it possible to do it with the plugin (I didn’t found) or with a bit of code ?

    Thanks for your help,

    Caroline

    http://wordpress.org/extend/plugins/types/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Amir Helzer

    (@amirhelzer)

    WordPress taxonomy doesn’t support custom fields. There are hacks for it, but we prefer not to use them.

    Instead, you might want to create a post that connects to that taxonomy. To that post, you can add as many custom fields as you like.

    In the taxonomy page, load that post and then load its fields. It should be straight forward and clean to implement.

    Thread Starter keepclif

    (@keepclif)

    Thank you for your quick answer !

    I will try to do what you propose… What do you mean by “In the taxonomy page, load that post and then load its fields” ? Could you send me a screenshot to help me ?

    Thanks again,
    Caroline

    Hi @keepclif and @amirhelzer

    I’m currently working on the next version of one of my BuddyPress plugin and i’ve found this : http://www.codehooligans.com/2010/07/07/custom-meta-for-new-taxonomies-in-wordpress-3-0/

    It allows me to add meta to my taxonomy to store for example thumbnail/image for each category.

    It’s really simple to adapt to our code 😉

    Otherwise types seems to be a really Interesting plugin. Thanks for the great work.

    I’ve stumbled across a plugin called CPT-onomies: Using Custom Post Types as Taxonomies that might be the simplest solution for Keepclif.

    As I understood its description it lets you have a taxonomy, where each taxonomy entry has their own custom post type page with any custom fields you desire. Just like IMDB has with Titles (movies) and Names (people such as actors or directors), which are linked to each other and both of them have full-fledged pages.

    I haven’t tried the plugin in action yet, but it seemed worth mentioning.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Types – Custom Fields and Custom Post Types Management] [Plugin: Types] How to add an image’ is closed to new replies.