Viewing 1 post (of 1 total)
  • Author
  • #20648

    Yoast Video SEO will help you to embed your videos (youtube, vimeo, etc.) into the google search result snippet (preview text/content) and thus your visitors will get a visual impression of your post content (preview thumbnail of the video, etc.). The plugin supports all videos which are embedded in the post/page/portfolio entry content automatically but it won’t support the slideshow videos out of the box. If you’d like to use the plugin with slideshow media files too add following code to the very bottom of functions.php:

    * Takes the youtube video ID stored in a custom field and adds a full Youtube URL to the content to allow
    * the video SEO plugin to index it.
    * The video URL is added to the top of content to make it override other video's in the post.
    * @param string $content the input content field.
    * @param array $vid the video array for the post.
    * @return string $content
    function fix_content_input( $content, $vid ) {
    $slides = avia_post_meta($vid['post_id'], 'slideshow');
    $video = '';
    foreach($slides as $slide)
    if(!empty($slide['slideshow_video'])) $video .= ' ' . $slide['slideshow_video'];
    $content = "n" . $video . "n" . $content;

    return $content;
    add_filter( 'wpseo_video_index_content', 'fix_content_input', 10, 2 );

    Then go to to your WordPress admin panel > SEO > Video SEO and hit the “Re-index Videos” button at the very bottom of the option page. That’s it – Yoast SEO will then re-index all you posts/pages and it will search the content for videos.

    All features of Yoast SEO are listed here: but here’s a short overview : automatic XML Video Sitemap generation (adding on to the WordPress SEO XML Sitemaps), MediaRSS enhancements to your RSS feed, full support for videoObject markup, snippet previews with the actual video still in them, facebook OpenGraph tags on your video pages, support for many major video platforms, including Youtube, Vimeo, Blip, DailyMotion and others

Viewing 1 post (of 1 total)

The topic ‘Use Yoast Video SEO with Kriesi's themes’ is closed to new replies.