Title: Change Default Category View SQL Query
Last modified: August 19, 2016

---

# Change Default Category View SQL Query

 *  [rbernabe](https://wordpress.org/support/users/rbernabe/)
 * (@rbernabe)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/change-default-category-view-sql-query/)
 * Hi All
 * I have a new SQL query that I’d like to use to view categories instead of the
   default. It will sort based on a custom field. I have the query, I just need 
   to know where to put it so that anytime anyone clicks on a category, this SQL
   query is used and not the default.
 * Can anyone help?
 * Thanks!
    Rob

The topic ‘Change Default Category View SQL Query’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [rbernabe](https://wordpress.org/support/users/rbernabe/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/change-default-category-view-sql-query/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
