Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

bfa_excerpt


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Oct 7, 2012, 05:24 PM
kal's Avatar
kal
 
149 posts · May 2009
Rhode Island
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?
__________________
Ho Ho Ho
Blah Blah Blah
  #2  
Old Oct 7, 2012, 07:52 PM
lmilesw's Avatar
lmilesw
 
10,082 posts · Jul 2009
Central New York State USA
How about just using a featured image for those posts?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Oct 8, 2012, 04:29 AM
juggledad's Avatar
juggledad
 
22,170 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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)
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #4  
Old Oct 8, 2012, 03:33 PM
kal's Avatar
kal
 
149 posts · May 2009
Rhode Island
I got it. Thanks!
__________________
Ho Ho Ho
Blah Blah Blah

Last edited by kal; Oct 8, 2012 at 03:37 PM.
  #5  
Old Jan 1, 2013, 02:37 PM
runets
 
3 posts · Jan 2013
Quote:
Originally Posted by kal
I got it. Thanks!
Can you explain to me in detail how I can do this.??please
what code should be in my virtual template /
  #6  
Old Jan 7, 2013, 12:33 PM
stelten
 
1 posts · Jan 2013
Hello Juggledad,

it somehow does not work. If I change the "<?php bfa_excerpt( 55, ' ...' ); ?>" to "<?php the_content(); ?>" the site looks like this:


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 &rarr;', 'montezuma' ); ?></a>
<p class="post-categories"><?php the_category( ' &middot; ' ); ?></p>
<?php the_tags( '<p class="post-tags">', '', '</p>' ); ?>
</div>

</div>
  #7  
Old Jan 7, 2013, 01:34 PM
juggledad's Avatar
juggledad
 
22,170 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Check out the patch that is a sticky in the forum
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
<?php bfa_excerpt(); ?> is not showing the excerpts Heka Montezuma Theme 5 Oct 4, 2012 02:27 AM


All times are GMT -6. The time now is 08:11 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.