Title: Multiple Custom Post Types Issue
Last modified: August 19, 2016

---

# Multiple Custom Post Types Issue

 *  Resolved [empek](https://wordpress.org/support/users/empek/)
 * (@empek)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/multiple-custom-post-types-issue/)
 * Hello fellow WordPressers,
 * I need your help! The problem is that I have registered two custom post types
   for a specific WP Theme. The post types register successfully, and both display
   the custom fields attached to them. The problem is that the first post type updates
   its content, and the second one does not. Just to be clear, by update, I mean
   when you create a new post in that post type, enter content, and values for the
   custom fields, hit publish/update, and you are returned the page with blank fields.
   This is not the case for the first post type, So it’s gotta be a typo somewhere
   in the last block of code, or a misnamed value.
 * The code is as follows ([link to code on pastie.org](http://pastie.org/private/mja7xri1tisj90cjjqowzq)):
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).]_
 * Feel free to ask any questions that may help you help me. 🙂
 * **Thanks a million in advance!**

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

 *  Thread Starter [empek](https://wordpress.org/support/users/empek/)
 * (@empek)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/multiple-custom-post-types-issue/#post-1891071)
 * **SOLVED.**
 * I’ve figured it out myself. Leave a reply if you’re interested in the solution.
 *  [Marenubium](https://wordpress.org/support/users/marenubium/)
 * (@marenubium)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/multiple-custom-post-types-issue/#post-1891383)
 * please tell me your solution, having the same problem here.
    Thank you.

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

The topic ‘Multiple Custom Post Types Issue’ is closed to new replies.

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Marenubium](https://wordpress.org/support/users/marenubium/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/multiple-custom-post-types-issue/#post-1891383)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
