• Resolved easywpquestion

    (@easywordpressquestion)


    I apologize if this question has been answered before. I couldn’t find one.

    When I paste a youtube video into a post, there is no thumbnail that appears on the front page in the post excerpt. I just want an image of the video, or even an image I select, to appear on the front page, not have the youtube video play from the front page.

    Can anyone help me?

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Your theme may be using <?php the_excerpt();?> instead of <?php the_content();?> in its index.php template file. Try editing the file and replacing <?php the_excerpt();?> with <?php the_content();?>.

    Thread Starter easywpquestion

    (@easywordpressquestion)

    My index.php does not have that code in it. I found this workaround:

    On the post page, use the html editor, and insert this at the top:

    <a style="visibility:hidden; height:0; width:0; margin:0; float:left;" href="link"><img src="https://[link to image]" alt="" title="" /></a>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘TouTube Thumbnail on Front Page Post Excerpt’ is closed to new replies.