Title: Merging data from two custom fields
Last modified: August 21, 2016

---

# Merging data from two custom fields

 *  [Adarnik](https://wordpress.org/support/users/adarnik/)
 * (@adarnik)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/merging-data-from-two-custom-fields/)
 * Hi,
 * I have recently installed a new theme, where to count the post views a custom
   field with a key “post_views_count” is used. However in my previous themes, WordPress
   used a custom field with a key “views”.
 * As a result, number of views for my posts are shown based on the new custom field
   with a key “post_views_count”.
 * ** How can I merge “post_views_count” and “views” or make sure even a new theme
   continues using “views” field?**
 * I guess for that I will need to go to myphpadmin but **what command I need to
   write?**
 * Thank you.

The topic ‘Merging data from two custom fields’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Adarnik](https://wordpress.org/support/users/adarnik/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/merging-data-from-two-custom-fields/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
