@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.