wordpress : Custom fields for taxonomies

Taxonomies are interesting in term of data management, but in the basic wordpress installation, you are allowed very few field for content management. I needed extra fields to display tag specific content on the archive page, and first I tried the Ultimate Taxonomy Manager, which allows you to define custom post type taxonomies and  taxonomy specific custom field, with major drawbacks though

  • being taxonomy specific, you cannot define a global keyword content structure for all taxonomies at once. Furthermore, you have to define taxonomy specific  custom field names, which makes generic keyword theming harder.
  • being wholy interface based, the custom field definition cannot be coded and as such is a long task

I then did a new search and found a piece of code that allows to define custom field for taxonomies, allowing same naming and content structure for all taxonomies. Everything is based on code that you include in your theme function or in a plugin, and as such can be duplicated on new websites. It also comes with major interesting features such as wysiwyg field editor, and group field repeater which allows to define unlimited amount of group of custom field. The stuff is called WordPress Taxonomies extra field and as it says it comes the easy way! You might watch for a few bugs / things to improve :

  • custom taxonomy content is stored in wordpress option table, not the best for efficiency
  • wysiwyg field works fine but does some filtering on images and paragraphs... to follow
Another plugin works fine too, does not have wywiyg option but has the advantage of using a specific table for storing taxonomy content, which seems a safer choice than using the options table : http://wordpress.org/extend/plugins/categorycustomfields/

 

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

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