• Resolved etna32

    (@etna32)


    Hi,
    I cannot see the “Add Media” button when I add/edit a Video post.
    Can you please tell me how to add an image inside the post?
    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor wpvideogallery

    (@wpvideogallery)

    The Video Files/URLs should always be added using their own fields available in our video forms. For this reason, we have disabled the “Add Media” button on our Video forms to prevent users from adding videos in the description box. But, you can enable it back by adding the following code to the bottom of your theme’s functions.php file,

    function aiovg_add_media_buttons() {
    	global $current_screen;
    	if ( 'aiovg_videos' == $current_screen->post_type ) add_action( 'media_buttons', 'media_buttons' );	
    }
    add_action( 'admin_head', 'aiovg_add_media_buttons', 99 );

    Hope this solved your issue!

    Thread Starter etna32

    (@etna32)

    It worked perfect, thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add media inside Video post’ is closed to new replies.