WordPress.org

Ready to get started?Download WordPress

Ideas

Custom Fields [meta data] for categories and tags [terms]

  1. Vlad Lasky
    Member

    12345

    Just like pages and posts have custom fields, so should categories and tags (terms)

    Here are some examples for when this would be useful:

    *Displaying category images or tags, i.e. an image that is displayed whenever a category or tag archive is viewed. The path to the image file could be stored in the category or tag custom field, which would be retrieved by a template tag in the theme.

    *Associating banner ads with category archive or tag pages. The banner ad code or configuration parameters could be stored in a custom field. This would also be retrieved and displayed by code within the theme.

    *Tracking the number of times that a category or tag archive page is viewed, much in the similar way that this is done by other post plugins like WP-PostViews.

    At the moment, there is a plugin "WP Category Meta" that implements custom fields for terms, but it has not been updated to work with WordPress 3.2

    I think the functionality of this plugin should be formally implemented in the WordPress code base.

    This plugin creates an additional table for terms meta, plus some PHP functions to update and access the terms meta. Their syntax is virtually identical to the ones used for post meta.

    The plugin can be found here:

    http://wordpress.org/extend/plugins/wp-category-meta/

    Posted: 3 years ago #
  2. Jonathan Dingman
    Member

    12345

    +1 I'd love to see this too

    Posted: 3 years ago #
  3. Nio
    Member

    12345

    What about Custom Fields [meta data] for custom taxonomies [terms]?

    Posted: 2 years ago #
  4. Gonzalo
    Member

    12345

    Please... Custom Fields [meta data] for everything!! :)

    Posted: 2 years ago #
  5. Marlus Araujo
    Member

    +1 Custom Fields [meta data] for taxonomies

    Posted: 2 years ago #
  6. serpico
    Member

    12345

    Awesome suggestion. This would also presumably allow for Featured Images to be applied to taxonomies?

    Posted: 2 years ago #
  7. Jonathan Dingman
    Member

    12345

    I wouldn't necessarily assume that, those would be separate features in my mind.

    Posted: 2 years ago #
  8. serpico
    Member

    12345

    Yes, but as the Featured Image facility requires the meta data structure, then it should be a natural progression.

    Separate, ok. But a sensible evolution and a feature which would justify the original request to add meta data for taxonomies.

    Eitherway, it gets my vote.

    Posted: 2 years ago #
  9. simsommax12
    Member

    I think this is one of the best idea for the meta data because we can use plugins are they all right or they are not better than custom feild

    Posted: 2 years ago #
  10. SEO Dave
    Member

    12345

    I spent the best part of 2 days trying to get an image associated with a category so I could use it within an image slider feature. Having Category custom fields would have made this so much easier to acheive at theme level.

    So YES.

    David

    Posted: 2 years ago #

RSS feed for this topic

Reply »

You must log in to post.

  • Rating

    12345
    113 Votes
  • Status

    This idea is under consideration