Title: Hide some Post Type
Last modified: August 20, 2016

---

# Hide some Post Type

 *  Resolved [varundave](https://wordpress.org/support/users/varundave/)
 * (@varundave)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/hide-some-post-type/)
 * Hello,
 * I would like to hide the default post type, post, page and attachment. I only
   want to show the custom post types created by me. How do i hide the other ones?
   
   Also, I want to record the date and update it in a custom field of that post 
   when the post type is changed. how can it be achieved ?
 * Help will be appreciated.
 * [http://wordpress.org/extend/plugins/post-type-switcher/](http://wordpress.org/extend/plugins/post-type-switcher/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [varundave](https://wordpress.org/support/users/varundave/)
 * (@varundave)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/hide-some-post-type/#post-3452683)
 * Nevermind.
    I fixed it myself.
 * Add this code to the 2 filter functions :
 * After line 68 add a “comma” and add this line as line 69
    `'_builtin' => false`
 * Same goes in
    `function select_box()`

Viewing 1 replies (of 1 total)

The topic ‘Hide some Post Type’ is closed to new replies.

 * ![](https://ps.w.org/post-type-switcher/assets/icon-256x256.jpg?rev=1823578)
 * [Post Type Switcher](https://wordpress.org/plugins/post-type-switcher/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-type-switcher/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-type-switcher/)
 * [Active Topics](https://wordpress.org/support/plugin/post-type-switcher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-type-switcher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-type-switcher/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [varundave](https://wordpress.org/support/users/varundave/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/hide-some-post-type/#post-3452683)
 * Status: resolved