Featured Video Plus
FVP on Portfolio Posts (3 posts)

  1. Ruzgar Dogu
    Posted 2 years ago #

    I am using FVP without any problem. But when i set a new portfolio, FVP box doesn't show up.

    Nothing is wrong on Pages and Posts. But i want to use it on portfolio posts. But FVP box is missing.

    WP Template is Grafika.

    Thank you.


  2. Ruzgar Dogu
    Posted 2 years ago #

    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?

  3. Ruzgar Dogu
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Featured Video Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic