Ready to get started?Download WordPress


Featured Video Plus
[resolved] Use post video & post thumbnail inside the Theme (3 posts)

  1. lonchbox
    Posted 9 months ago #

    I try to use set the post thumbnail and the video at the same time inside my theme. The problem is the video doesn´t show, how should I do it?

    firt show the post thumbnail:

    <?php the_post_thumbnail('single', array('itemprop' => 'image')); ?>

    then I use this code for the video but don´t work:
    <?php the_post_video($post->ID,'single'); ?>

    How can I do it if I want to use the post thumbnail apart of the video?


  2. lonchbox
    Posted 9 months ago #

    Actually works, but not in a local server

  3. lonchbox
    Posted 9 months ago #

    don´t know why or what happend but works in both, local and host server :P


You must log in to post.

About this Plugin

About this Topic