Title: Create a custom post type
Last modified: December 15, 2022

---

# Create a custom post type

 *  [miketopher](https://wordpress.org/support/users/miketopher/)
 * (@miketopher)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/create-a-custom-post-type/)
 * I’ve read [https://developer.wordpress.org/reference/functions/comment_type/](https://developer.wordpress.org/reference/functions/comment_type/)
 * But I can’t find examples on registering a custom “comment type”
 * I’m making a plugin that uses a separate “comment type” so i can separate them
   from the regular comments, think of them like “Reviews” i believe woocommerce
   also uses custom comment type, for reviews…
 * Could someone point me to snippets/examples on registering comment types, comment
   met (for that custom comment type) ?
 * Thank you

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

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/create-a-custom-post-type/#post-16293610)
 * Unfortunately, this is not as easy as with custom post types. Here is a post 
   that explains this a bit: [https://wordpress.stackexchange.com/questions/186258/can-i-store-my-custom-comment-type-into-wp-comments-table](https://wordpress.stackexchange.com/questions/186258/can-i-store-my-custom-comment-type-into-wp-comments-table)
 *  Thread Starter [miketopher](https://wordpress.org/support/users/miketopher/)
 * (@miketopher)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/create-a-custom-post-type/#post-16300620)
 * Thank you [@threadi](https://wordpress.org/support/users/threadi/)
 * In that link the winning answer says “Using code above, you can safely use ‘my_custom_comment_type’
   to store comments that will be not mixed up with standard comments.”
 * It seems his code is regarding something else I don’t quite understand just yet,
   but probably will need to.
 * Besides that though, I’m having trouble actually registering the comment type
   itself. I’m expecting that, the WP Admin UI will show in the admin menu something
   like “Reviews” < – being an example of the custom Comment Type name..
 * From what you said, its not that easy registering custom comment types specifically“
   to a custom post type” and, i suppose thats fine as long as i can completely 
   separate my “custom comments” from the regular comment system as much as possible
   as I’m just re-purposing the comment system for something else where the comment
   system happens to match my needs.
 * So, any chance you can point me to registering the new comment type, where I 
   would see something show in the admin menu?
 * When I google things, i get nothing but custom post type, and things about custom
   comment Forms and stuff..
 *  Thread Starter [miketopher](https://wordpress.org/support/users/miketopher/)
 * (@miketopher)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/create-a-custom-post-type/#post-16300623)
 * Just finding something now, it looks like there’s no “registering” a comment 
   type, it looks like the “type” may be meta within each specific comment?

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

The topic ‘Create a custom post type’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 3 replies
 * 2 participants
 * Last reply from: [miketopher](https://wordpress.org/support/users/miketopher/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/create-a-custom-post-type/#post-16300623)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
