Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 119528

sclinclin on "[Plugin: Replace Featured Image with Video] Featured Video Box Missing for Posts"

$
0
0

Disagree I need your help. I tried your fix, but it keeps showing me the video on the page, but no as a thumbnail in the frontpage.

I'm using a theme called "Gridly".

I think I'm doing something wrong on the "single.php"

This is what I do with your fix:

<div class="gridly-image">
<?php if(get_post_meta(get_the_ID(), "_related-video", true) != ''){
echo get_post_meta(get_the_ID(), "_related-video", true);
}else{
the_post_thumbnail( 'summary-image' );
}  ?>
</div>

This is how it looks without your fix:

<div class="gridly-image"><?php the_post_thumbnail( 'detail-image' ); ?></div>

I hope you can give a hand, it's killing me!!! Thanks you!!!


Viewing all articles
Browse latest Browse all 119528

Trending Articles