• Resolved subspace87

    (@subspace87)


    Hello everyone,

    I’ve been working on my new wordpress website, which I am proud of, but I have this one problem that I can’t seem to figure out. When I embed a youtube video within a post, it will not show up in the front page post, although it does show up when I click on the post, which brings up a new window.

    This is my website, https://www.abcgamingclan.com/wordpress

    As you can see, the “test” post is not showing the video and in order to see the video, one would need to click on the test post.

    I want it to work like this website, https://www.aesirgaming.com

    In the aesirgaming website, you can see that the youtube video shows up on the front page post.

    I did get the video to show up earlier by editing the post.php file within my theme but it also made the pictures in the other posts come out. In other words one would see the preview picture and the full picture together, not what I want. I only want the videos to show up on the front page post when I embed them.

    Thanks for your help,

    – Subspace

Viewing 3 replies - 1 through 3 (of 3 total)
  • hotplugin

    (@hotplugin)

    you could embed your video as a custom field and call it where you want,
    else just move your embedding to top of post

    esmi

    (@esmi)

    Your theme may be using <?php the_excerpt();?> instead of <?php the_content();?> in its index.php template files. Try editing the index.php and replacing <?php the_excerpt();?> with <?php the_content();?>. Or add your video to the option Excerpt field on each Post.

    Thread Starter subspace87

    (@subspace87)

    Thank you for your replies. I didn’t see the excerpt field at first but then I activated it and added the iframe youtube code to the excerpt field in the post and now the video shows up on the front page. Thank you for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Video on front page post’ is closed to new replies.