Title: Object type Post rendering on Custom post types
Last modified: August 31, 2016

---

# Object type Post rendering on Custom post types

 *  Resolved [elisafern](https://wordpress.org/support/users/elisafern/)
 * (@elisafern)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/object-type-post-rendering-on-custom-post-types/)
 * Hello!
 * Im displaying custom fields on Post but it is also rendering on the single custom
   post type page. Is there a way to block this?
 * [https://wordpress.org/plugins/cmb2/](https://wordpress.org/plugins/cmb2/)

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

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 4 months ago](https://wordpress.org/support/topic/object-type-post-rendering-on-custom-post-types/#post-7046295)
 * you’ll need to modify things at the theme level. I’d recommend duplicating `single.
   php` into `single-post_type.php` with “post_type” in that file being the chosen
   slug for your post type. That new file will be selected for the single post type
   views on your site, and you can safely remove the custom field display without
   affecting the default posts.
 *  Thread Starter [elisafern](https://wordpress.org/support/users/elisafern/)
 * (@elisafern)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/object-type-post-rendering-on-custom-post-types/#post-7046325)
 * I already have a single-post_type.php file for my Custom post type.
 * I was talking in the backend, when I create a new custom post type (who has Post
   capabilities), the custom fields are displayed both in the post pages and custom
   post type page in the backend.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 4 months ago](https://wordpress.org/support/topic/object-type-post-rendering-on-custom-post-types/#post-7046380)
 * You can hide them on the custom post type post editor via the Screen options 
   tab at the top of the page.
 *  Thread Starter [elisafern](https://wordpress.org/support/users/elisafern/)
 * (@elisafern)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/object-type-post-rendering-on-custom-post-types/#post-7046437)
 * Ok Thank you, working now!

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

The topic ‘Object type Post rendering on Custom post types’ is closed to new replies.

 * ![](https://ps.w.org/cmb2/assets/icon.svg?rev=2866672)
 * [CMB2](https://wordpress.org/plugins/cmb2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cmb2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cmb2/)
 * [Active Topics](https://wordpress.org/support/plugin/cmb2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cmb2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cmb2/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [elisafern](https://wordpress.org/support/users/elisafern/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/object-type-post-rendering-on-custom-post-types/#post-7046437)
 * Status: resolved