Video Format

Including video projects in your portfolio is easy with Visual Portfolio. Follow these steps to create a video project:

Creating a Video Project

  • Go to Projects → Add New in your WordPress dashboard.
  • In the Doc tab, select Video as the post format.
  • After setting the post format to Video, a Video panel will appear in the Doc tab.
  • Enter the link to your video in this field.

If you are using Images as the Content Source, you will need to add the video URL directly within the block editor. Read more here – https://visualportfolio.co/docs/portfolio-blocks/content-source/images/

Supported Video Vendors

  • Youtube
  • Vimeo

Pro Only:

  • Instagram Reels (IGTV)
  • YouTube Shorts
  • TikTok
  • Twitch
  • Facebook Video
  • DailyMotion
  • Wistia
  • VideoPress
  • TED
  • Rutube
  • Metacafe
  • Coub
  • Self Hosted Video links

Output Video in Post

While Visual Portfolio supports the video post format, this does not guarantee that your theme will automatically display the video within post content. The video will be used in Portfolio blocks, but may not show up in the post content itself.

Embed the Video Manually

Simply add the video embed code directly into your post content.

Change Post Content Output Template

Modify your theme’s template to automatically display the video. Add the following code to your theme’s template file:

<?php
$video_url = get_post_meta( get_the_ID(), '_vp_format_video_url', true );

if ( 'video' === get_post_format() && $video_url ) {
    $oembed = wp_oembed_get( $video_url );

    if ( $oembed ) {
        echo $oembed;
    }
}
Was this page helpful?