Title: Adding Custom fields to wp_terms table &amp; inserting data into them
Last modified: August 20, 2016

---

# Adding Custom fields to wp_terms table & inserting data into them

 *  [Imagineworks087](https://wordpress.org/support/users/imagineworks087/)
 * (@imagineworks087)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/adding-custom-fields-to-wp_terms-table-inserting-data-into-them/)
 * I want **Custom fields** like term_date_gmt & term_modified_gmt to store date
   of creation of category & modified date into wp_terms table, using these fields
   i want to extract 5 recent categories from wordpress database for **Multisite**,
   I located the code to insert category in taxonomy.php file where should i make
   the changes in taxonomy.php file to add these custom fields, and from where i
   should make changes to table to add these extra fields…
 * Thnx in ADVANCE….

The topic ‘Adding Custom fields to wp_terms table & inserting data into them’ is
closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Imagineworks087](https://wordpress.org/support/users/imagineworks087/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/adding-custom-fields-to-wp_terms-table-inserting-data-into-them/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
