Video thumbnails plugin
-
I downloaded Video thumbnails plugin which…every time I embed a video it will automatically generate a video thumbnail as my “featured image”
The whole reason I needed this is because I have a top row list below my nav that shows all the categories as the latest post thumbnail.
the plugin worked. I can now have a thumbnail of the latest video post instead of attempting to awkwardly show the video content which makes things seem ugly.
One problem with this plugin. when you go to the post itself… it shows the video thumbnail, and the embedded video at the same time like
post-title
video-thumbnail
embedded videowhen I go to the post… the plugin shows a featured image with the thumbnail, and a video thumbnail.
I want it so when I actually go to the post or see the post…I only see the embedded video and not the thumbnail. I cant seem to figure out how to do this.
I tried messing with the files content.php ….
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header"> <?php the_title( sprintf('<h1 class="entry-title"><a href="%s">', esc_url( get_permalink() ) ),'</a></h1>' ); ?> </header> <div class="row"> <?php if( has_post_thumbnail() ): ?> <div class="col-xs-12 col-sm-4"> <div class="thumbnail"><?php the_post_thumbnail('small'); ?></div> </div> <div class="col-xs-12 col-sm-8"> <?php the_content(); ?> </div> <?php else: ?> <div class="col-xs-12"> <?php the_content(); ?> </div> <?php endif; ?> </div> </article>
and
content-featured.php …<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if( has_post_thumbnail() ): ?> <div class="thumbnail"><?php the_post_thumbnail('small'); ?></div> <?php endif; ?> <?php the_category(); ?> </article>
I somehow feel these files are totally conflicting with what im trying to do.
any ideas?
- The topic ‘Video thumbnails plugin’ is closed to new replies.