bfa_excerpt
Is it possible to include a thumbnail of a video in excerpts? A lot of my posts lately are youtube videos. Any way to include the video thumb? Or just the whole post instead of an excerpt?
|
How about just using a featured image for those posts?
|
you can edit the postformat.php virtual template and tell it what you want: 'the_content()', 'bfa_excerpt()' or ,'the_excerpt()', each wich present the posts in a sligntly different way. Read about them in the 'Limited Set of PHP code' tab in the templates section (right hand side)
|
I got it. Thanks!
|
Quote:
what code should be in my virtual template / |
Hello Juggledad,
it somehow does not work. If I change the "<?php bfa_excerpt( 55, ' ...' ); ?>" to "<?php the_content(); ?>" the site looks like this: http://twitpic.com/proxy/web7/img/71...238-scaled.jpg That can't be right. Could you please tell me how I have to change the code in order to get rid of the "read me"-option and to show the complete blogpost on the main blogsite? Here is the code how it is right now: <div id="post-<?php the_ID(); ?>" <?php post_class( 'cf' ); ?>> <h2> <span class="post-format"></span> <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a> <?php bfa_comments_popup_link( '0', '1', '%' ); ?> </h2> <?php bfa_thumb( 620, 180, true, '<div class="thumb-shadow"><div class="post-thumb">', '</div></div>' ); ?> <div class="post-bodycopy cf"> <div class="post-date"> <p class="post-month"><?php the_time( 'M' ); ?></p> <p class="post-day"><?php the_time( 'j' ); ?></p> <p class="post-year"><?php the_time( 'Y' ); ?></p> </div> <?php bfa_excerpt( 55, ' ...' ); ?> </div> <div class="post-footer"> <a class="post-readmore" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"> <?php _e( 'read more →', 'montezuma' ); ?></a> <p class="post-categories"><?php the_category( ' · ' ); ?></p> <?php the_tags( '<p class="post-tags">', '', '</p>' ); ?> </div> </div> |
Check out the patch that is a sticky in the forum
|
All times are GMT -6. The time now is 03:49 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.