About Brad
I am the CEO and Co-Founder of WebDevStudios.com, a co-host on the SitePoint Podcast, and the co-author of Professional WordPress.

Comments

  1. hi,

    awesome tip ! thanx a lot for sharing this ! i was looking for something like that for ages :) never thougth saving the taxonomies meta datas to wp_options table in association with the term id…

    as i need this kind of feature in many projects (till now i was doing horrible twiks to achive that sort of things…) i’m just playing with it right now :)

    so i thought i should share with your other readers (for sure you’re already aware of what i’m going to say :) that to clean up the data base on terms deletion you may use something like that :

    http://pastie.org/1027996

    Thanxs again !

    Séb.

  2. Modesty says:

    Hi Brad,

    I’m trying to do something like this for taxonomy terms… but with more meta data… do you have any ideas how to pull that one off? I’d like to add at least 4 new fields and an image for each taxonomy term…

  3. ronald says:

    So how would we actually USE the values that we store like this, in say, a WordPress post or page?

    • ronald says:

      actually, if you could enhance the sample plugin with code on how to do this for more than one additional option per category (stored in wp_options as an array) I would be over the moon.

  4. Jghazally says:

    Thanks For the tip Brad,
    Just a quick note, I saw this implemented in WP e-Commerce for product Categories in 3.8, and noticed the alignment was off we fixed it by removing the and td’s and replacing it with
    Could just be something we did, but thought I’ll leave a note..

    best
    jeff

  5. Scott says:

    thanks brad!

Trackbacks

  1. [...] This post was mentioned on Twitter by Brad Williams. Brad Williams said: New blog post: How To: Save Taxonomy Meta Data as an Options Array in WordPress http://bit.ly/9YoG7k [...]

Speak Your Mind

*