Support » Fixing WordPress » Can't insert Youtube on Home Page but appears in post

  • Hi,

    I’m trying to embed a Youtube video in a post on my homepage. Neither does the link work, underneath ‘Click here’. However – it doesn’t show on the homepage, but it shows up when you click the link for the article.

    My homepage is http://getyourloverback.com. The article in question is at the very top – Try This ‘Opening Move’ To Get Your Ex Back…

    If you click on the link to the article on the homepage, then the video and external link appearin the full post:

    So why don’t the video and link work on the homepage?????

    Can somebody PLEASE help?

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • This is because you’re using the_excerpt(); on the front page which strips all html tags out.

    If you stop using that then your video will show.

    Cool. How do I disable _excerpt();?

    Thanks.

    Cool. How do I disable _excerpt();?

    Thanks.

    Open up the theme file index.php in a text editor, do a search for the_excerpt, and change it to the_content. That should sort it out.

    Thanks a lot. Will that alter the other posts on the home page, though? I want to leave them as they are.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can't insert Youtube on Home Page but appears in post’ is closed to new replies.