user1049961
user1049961

Reputation: 2736

Wordpress - post_meta vs taxonomy vs custom table

I'm building a car services database. Each car service is able to repair multiple models of cars.

What is the best way to store the relation between car services and types, to be able to later query that?

My options are:

I'll have cca 3000 car services, each service might have cca 20 models selected.

What's the preffered way? Any help appreciated.

Upvotes: 0

Views: 256

Answers (1)

Luka Peharda
Luka Peharda

Reputation: 1013

Depends on what additional information do you need for car models.

If you'll be using this only as a filter (or searching) use custom hierarchical taxonomy with top terms being car makers and models as be their children.

Upvotes: 1

Related Questions