Support » Plugin: Featured Video Plus » Showing Featured Video on archive pages

Viewing 1 replies (of 1 total)
  • if ( has_post_video() ) { // check if the post has a video Thumbnail assigned to it.
    	the_post_video($size);
    }
    else if(has_post_thumbnail()){
    	the_post_thumbnail($size);
    }

    This code seems to do the trick. I’d love to know if there’s a better way.

Viewing 1 replies (of 1 total)
  • The topic ‘Showing Featured Video on archive pages’ is closed to new replies.