Title: Using Custom Fields to Categorize Posts
Last modified: August 18, 2016

---

# Using Custom Fields to Categorize Posts

 *  [skidder](https://wordpress.org/support/users/skidder/)
 * (@skidder)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/using-custom-fields-to-categorize-posts/)
 * Hello,
 * I’d like to use WordPress more as a database to create a web application that
   would categorize each entry (or post) in several categories… like office location,
   issue type, and one or two others.
 * Is this possible to do using custom fields? In other words, if I declare and 
   define all these custom fields that are consistant, is it possible to search 
   using these fields?
 * I’m not afraid to get my hands dirty in working with the templates but there 
   is so much to look at.
 * thanks!
    s

Viewing 1 replies (of 1 total)

 *  [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * (@alphaoide)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/using-custom-fields-to-categorize-posts/#post-246855)
 * If you do that, you may need to construct your own SQL query to get the Posts.
   Because, as far as I know there’s no built-in function to get Posts by custom-
   field, or search custom field.
 * Nonetheless, if you’re familiar with SQL, it’s pretty much feasible.
 * However, I was wondering if you couldn’t just assign multiple categories to a
   Post?

Viewing 1 replies (of 1 total)

The topic ‘Using Custom Fields to Categorize Posts’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * Last activity: [20 years, 9 months ago](https://wordpress.org/support/topic/using-custom-fields-to-categorize-posts/#post-246855)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
