[Plugin: Video Thumbnails] video_thumbnail as post_thumbnail
-
hey,
your plugin works really fine, but I have one little problem. I wrote my postings a few hours before publishing on my site. if I pos a video I can generate a thumbnail only after publishing.
what have I to do, that it saves the video-thumbnail as post-thumbnail?
my code in the index.php looks like this:
<div class="post" id="post-<?php the_ID(); ?>"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <div class="postmetadata3"><?php the_author_posts_link(); ?> | <?php the_time(' d. F Y') ?> <?php edit_post_link('Edit', '', ' '); ?></div><div class="postmetadata1" style="margin-top: -7px;">Eingeordnet in <?php the_category(', ') ?></div><div class="postmetadata1" style="margin-top: -7px; margin-bottom: 5px;"><?php the_tags('Tags: ', ', ', '<br />'); ?></div> <div class="entry" style="text-align:justify;"> <?php if ( has_post_thumbnail() and !in_category( array( 'fail-compilation' , 'linkschleuder' , 'win-compilation' , 'ohne-worte' , 'musik' )) )the_post_thumbnail(array( 600,600 ), array( 'class' => 'thumby' )); ?> <?php if( in_category( array( 'fail-compilation' , 'linkschleuder' , 'win-compilation' , 'ohne-worte' , 'musik' )) ) { the_content(); } else { the_excerpt() ?> <a class="more-link" href="<?php the_permalink() ?>">Weiterlesen</a> <font color="#96100F">⇒</font> <?php } ?> <div class="postmetadata2"><span style="font-weight:normal;"><?php comments_popup_link('Keiner macht sich wichtig ⇒', '1 macht sich wichtig ⇒', '% machen sich wichtig ⇒'); ?></span></div> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> </div>
thanks for helping!!
https://www.ads-software.com/extend/plugins/video-thumbnails/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Video Thumbnails] video_thumbnail as post_thumbnail’ is closed to new replies.