Title: Using Custom Post Type
Last modified: August 21, 2016

---

# Using Custom Post Type

 *  Resolved [Pancho Perez](https://wordpress.org/support/users/lonchbox/)
 * (@lonchbox)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/using-custom-post-type/)
 * Thanx for this plugin, it resolve very well this necesities.
 * But, how can I activate the use featured video in a custom post type?, it´s possible?
 * [http://wordpress.org/extend/plugins/featured-video-plus/](http://wordpress.org/extend/plugins/featured-video-plus/)

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

 *  [martinjesus](https://wordpress.org/support/users/martinjesus/)
 * (@martinjesus)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/using-custom-post-type/#post-3937919)
 * Hi there,
 * I will be also interested in this functionality!
 * Anyone knows how to implement it?
 * Thanks in advance!
 * Jesús
 *  Thread Starter [Pancho Perez](https://wordpress.org/support/users/lonchbox/)
 * (@lonchbox)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/using-custom-post-type/#post-3937995)
 * [@martinjesus](https://wordpress.org/support/users/martinjesus/) I it works, 
   don´t need anything.
 * Now I´m wondering if I can remove the video metabox from normal post and just
   keep it in selected Custom Post Types.
 *  Thread Starter [Pancho Perez](https://wordpress.org/support/users/lonchbox/)
 * (@lonchbox)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/using-custom-post-type/#post-3938017)
 * Hi,
 * I found a way, is not part of the plugin but is a hack inside the theme to remove
   the Featured Video Metabox for specific CPTs using _add\_meta\_boxes_ action.
 * use this code:
 *     ```
       /*Remove metaboxs from CPTs*/
       add_action( 'add_meta_boxes', 'custom_remove_meta_boxes' );
       function custom_remove_meta_boxes() {
           /* MY_CPT */
           remove_meta_box( 'featured_video_plus-box', 'MY_CPT', 'side' );
           /* page */
           remove_meta_box( 'featured_video_plus-box', 'page', 'side' );
           /* post */
           remove_meta_box( 'featured_video_plus-box', 'post', 'side' );
       }
       ```
   
 * Hope it helps.
 *  Plugin Author [Alex](https://wordpress.org/support/users/ahoereth/)
 * (@ahoereth)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/using-custom-post-type/#post-3938020)
 * Will consider this for a future version. Have to look into which settings are
   actually required because they already got quite bloated.. Is this resolved for
   the moment?
 *  Thread Starter [Pancho Perez](https://wordpress.org/support/users/lonchbox/)
 * (@lonchbox)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/using-custom-post-type/#post-3938021)
 * yes, that hack resolve my needs.
 * Maybe you can add this settings in the settings -> writing to choos the CPTs 
   to use the featured videp plus box.
 * Thanx in advance.
 *  [Ruzgar Dogu](https://wordpress.org/support/users/ruzgar-dogu/)
 * (@ruzgar-dogu)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/using-custom-post-type/#post-3938046)
 * [@lonchbox](https://wordpress.org/support/users/lonchbox/)
 * I tried your code, and succeeded in removing meta boxes on both pages and posts.
 *     ```
       /*Add or Remove metaboxs from Custom Post Types*/
       add_action( 'add_meta_boxes', 'custom_remove_meta_boxes' );
       function custom_remove_meta_boxes() {
           /* Remove Featured Image / PORTFOLIO */
           remove_meta_box( 'featured_video_plus-box', 'post', 'side' );
       }
       function add_meta_boxes() {
           /* Add FVP to PORTFOLIO */
           add_meta_box( 'featured_video_plus-box', 'portfolio', 'side' );
       }
       ```
   
 * But unfortunately, FVP does not show up on “Portfolio” custom post type. Meaning,
   second part of the code
 *     ```
       function add_meta_boxes() {
           /* Add FVP to PORTFOLIO */
           add_meta_box( 'featured_video_plus-box', 'portfolio', 'side' );
       }
       ```
   
 * does not work. Probably because the core functions does not recognize ‘featured_video_plus-
   box’ reference. Do you have any idea how to enable FVP on Custom Post Type.
 * Sorry that i had to write here, i already started a new thread, but no replies
   since.
 * Thanks.

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

The topic ‘Using Custom Post Type’ is closed to new replies.

 * ![](https://ps.w.org/featured-video-plus/assets/icon.svg?rev=1170997)
 * [Featured Video Plus](https://wordpress.org/plugins/featured-video-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/featured-video-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/featured-video-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-video-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-video-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-video-plus/reviews/)

## Tags

 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)

 * 6 replies
 * 4 participants
 * Last reply from: [Ruzgar Dogu](https://wordpress.org/support/users/ruzgar-dogu/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/using-custom-post-type/#post-3938046)
 * Status: resolved