Title: category-specific custom fields
Last modified: August 19, 2016

---

# category-specific custom fields

 *  [tbwtf](https://wordpress.org/support/users/tbwtf/)
 * (@tbwtf)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/category-specific-custom-fields/)
 * hi.. i’d like to find out how i can add lets say a certain header thats only 
   for the music category to all my posts, using custom fields.. or if i want to
   ad a sponsor logo only to the end of all my event -category postings.. how can
   i do this?
 * also, I’d like to make “category home pages” any advice on where i can find info
   for that?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [erick_paper](https://wordpress.org/support/users/erick_paper/)
 * (@erick_paper)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/category-specific-custom-fields/#post-811182)
 * See if this plugin helps?
 * [http://www.flairpair.com/blog/wordpress/category-custom-fields](http://www.flairpair.com/blog/wordpress/category-custom-fields)
 *  [Dgold](https://wordpress.org/support/users/dgold/)
 * (@dgold)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/category-specific-custom-fields/#post-811183)
 * You’ve got 2 choices, 2 methods.
 * You can put Conditional Tags in your theme’s category.php. Basically your code
   will say something like “IF this is Category 3, then do this stuff….. IF this
   is category 4, then do this other stuff…”
    [http://codex.wordpress.org/Conditional_Tags](http://codex.wordpress.org/Conditional_Tags)
 * OR you can make a custom Category Template for any special category. That is,
   like, a “category home page”,
    [http://codex.wordpress.org/Category_Templates](http://codex.wordpress.org/Category_Templates)
 * Enjoy!
 *  [boff2000](https://wordpress.org/support/users/boff2000/)
 * (@boff2000)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/category-specific-custom-fields/#post-811224)
 * This will work for sites that have a few static categories that can have certain
   values associated – but what if users create the categories that require custom
   fields?
 * In my case, every category is essentially a new blog for a different project,
   and I want a user to be able to select a NextGen gallery ID to be associated 
   with that category and every post within. I could do it with conditional tags–
   but then I’d have to edit the php every time someone creates a new category. 
   Any ideas?
 * (I was going to start a new thread, but thought id post here instead 😛 )

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘category-specific custom fields’ is closed to new replies.

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)
 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)
 * [templates](https://wordpress.org/support/topic-tag/templates/)

 * 3 replies
 * 4 participants
 * Last reply from: [boff2000](https://wordpress.org/support/users/boff2000/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/category-specific-custom-fields/#post-811224)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
