Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'd like to Add custom field to Category. I mean when I creat a category I only have

Name:

Slug:

Parent:

Description:

Since I have a TV Series Site, I want to add some more fields, I want something like this, when I create a new category (Category=Series)

Name:

Artist:

Year:

Type:

Genre:

Summary:

Slug:

Parent:

Description:

And so on...

Any help please? Thanks in advance.

share|improve this question
    
possible duplicate of Any examples of adding custom fields to the category editor? –  Jan Fabry Feb 8 '11 at 9:47
    
Here is a cheat sheet I use when doing this. It has the relevant action hooks & filters in one short list. charlestonsw.com/… –  Charleston Software Associates Feb 3 '13 at 16:05
add comment

2 Answers 2

I posted an How To about it a week ago http://en.bainternet.info/2011/wordpress-category-extra-fields

hope this helps.

Ohad.

share|improve this answer
add comment

Paul Menard provided an example of how to create and use term meta in his blog...
Custom meta for new taxonomies in WordPress 3.0.

There's no example of creating the DB table or checking $_POST vars are set, so you'll need to do those little things yourself, but it looks like a decent code base to build on top of ... :)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.