Support » Plugin: Featured Video Plus » FVP on Portfolio Posts

Viewing 2 replies - 1 through 2 (of 2 total)
  • I tried this code on theme’s Functions.php.

    /*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( 'postimagediv', 'portfolio', 'side' );
    function add_meta_boxes() {
        /* Add FVP to PORTFOLIO */
        add_meta_box( 'featured_video_plus-box', 'portfolio', 'side' );

    First part (Removing Featured Image) worked like charm.
    But the second part, where i wanted to add Featured Video Plus metabox, did not work at all.

    Any suggestions?

    I found a solution from another thread.

    @anton Timmermans

    On line 89 of the file php/backend.php there is the following line:
    $post_types = get_post_types(array("public" => true));

    This means our post types don’t get a custom meta box. Could you change this to:
    $post_types = get_post_types(array("show_ui" => true));

    It worked very well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘FVP on Portfolio Posts’ is closed to new replies.