WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Video on front page post (4 posts)

  1. subspace87
    Member
    Posted 2 years ago #

    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, http://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, http://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

  2. hotplugin
    Member
    Posted 2 years ago #

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

  3. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    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.

  4. subspace87
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.