Title: Locations Database and Custom Post Types
Last modified: August 20, 2016

---

# Locations Database and Custom Post Types

 *  [L Croonquist](https://wordpress.org/support/users/webjedi/)
 * (@webjedi)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/locations-database-and-custom-post-types/)
 * Ok I have a locations database with all the dog training facilities in Texas.
 * Instead of pulling from the DB and making a traditional site, I want to do something
   different. I am wondering if custom post types and custom taxonomies are my answer.
 * Someone tell me if I have this logic correct.
    Say the custom post type was training
   center (this will ultimately be a ‘post’ about an individual training center.
 * Then to find that center, I have taxonomies (state, city, zipcode) for each custom
   post type.
 * That way, if I want to see all centers in Austin, I query they custom post types
   with a taxonomy of Austin.
 * I am wondering when I choose to use custom fields vs taxonomies?
    For instance,
   I may want to display a map.. so I have lat,long information in custom fields?
 * That way I can access the information in the custom fields to display on a map
   but not in the post.
 * Is this the right thinking on this particular project?
 * WJ

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

 *  [emke](https://wordpress.org/support/users/emke/)
 * (@emke)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/locations-database-and-custom-post-types/#post-2288680)
 * Hi,
    you are on the right track. Read this article for more help – [http://ottopress.com/2011/when-to-not-use-a-custom-taxonomy/](http://ottopress.com/2011/when-to-not-use-a-custom-taxonomy/)
 *  Thread Starter [L Croonquist](https://wordpress.org/support/users/webjedi/)
 * (@webjedi)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/locations-database-and-custom-post-types/#post-2288691)
 * Wow, that’s a superb post on this topic, the best actually. Thanks for taking
   time to share that man.
 * WJ

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

The topic ‘Locations Database and Custom Post Types’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)

 * 2 replies
 * 2 participants
 * Last reply from: [L Croonquist](https://wordpress.org/support/users/webjedi/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/locations-database-and-custom-post-types/#post-2288691)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
