WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been reading about Custom Post Types, Custom Taxonomy and Category but I'm still getting some confusion. I want to build somewhat like an ecommerce site just to understand it better.

Say I've a problem like this

          --Operating System
                --Win 7
                --less than 1 GB
                --1 GB
                --2 GB

            --- BMW
            --- Ford

            --- Red
            --- Blue
    Price From <TextBox> to <TextBox>

My Solution will be somwhat like this:

  1. Product is a custom post type
  2. Computer and all others are hirarchical taxonomy
  3. Price is a custom field for product

what do you think, am I go the right track or can you correct me??

share|improve this question
up vote 1 down vote accepted

I'd say your on exactly the right track.

Since you're in the process of reading up on CPTs and such, I'd highly recommend giving this 4-part tutorial series a read:

Reusable Custom Meta Boxes, wp|tuts+

share|improve this answer
do you think that i can use the builtin category rather than creating custom taxonomy?? – Noor Apr 21 '12 at 13:15
@Noor A custom taxonomy would certainly be cleaner and more extensible, but categories will do - if all you care for is categorization. Matter of taste in your case, I'd say. – Johannes Pille Apr 21 '12 at 13:20

If e-commerce is the main or only purpose of your site you can choose to use normal categories and normal posts for this. Also, if you're inexperienced it will be a little easier.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.