I’d suggest adding a conditional “more” link to those posts. Something added to the theme’s functions.php file based on Twenty Ten’s handling of this might work:
function my_continue_reading_link() {
return ' <a href="'. get_permalink() . '">' . __( 'Continue reading <span class="meta-nav">→</span>' ) . '</a>';
}
function my_auto_excerpt_more( $more ) {
return ' …' . my_continue_reading_link();
}
if (is_home() add_filter( 'excerpt_more', 'my_auto_excerpt_more' );
Thanks esmi. This is something I’d like to add as well, and will take a stab at it! But if anyone out there has a solution for the links, LMK π
Ah! Sorry. I misunderstood your question. It seems that your theme is using the_excerpt() which strips all formatting out of the post teaser on that page. You could try editing index.php and replacing the_excerpt() with the_content() but not only would you then have to use the <!--more--> in every post, you’d have to be pretty careful where you added the more tag – otherwise the display could start to break up and look messy.
Another option would be to use the Optional Excerpt box for each post to create a custom excerpt that would retain its links & formatting. But the same applies here. Get the size of the custom excerpt wrong and the display could start to fragment.
Thanks! You rule… I’m rather savvy with HTML/CSS (not so much PHP/JS etc.) so I’m hoping I won’t have an issue controlling layout. I will work on this later this morning and let you know how it goes.
Interestingly enough, my index.php file doesn’t have the_excerpt() or the_content(). This is what I see for the posts, any thoughts?:
<?php $i=0; while (have_posts()) : the_post(); $i++; ?>
<div class="irecent_post" id="irecent_post-<?php the_ID(); ?>">
<div class="irecent_post_title">
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php if ( function_exists('the_title_attribute')) the_title_attribute(); else the_title(); ?>"><?php the_title(); ?></a></h3>
<div class="info">Posted by <b class="author"><?php the_author() ?></b> at <?php the_time() ?> on <?php the_time('F d Y') ?></div>
<?php if(function_exists('the_ratings')) { ?><div class="rate"><?php the_ratings();?></div><?php } ?>
</div>
<div class="irecent_post_entry">
<?php
$thumbnail = get_post_meta($id, 'image_100_100', true);
if( isset($thumbnail) && !empty($thumbnail) ):
?><img src="<?php echo $thumbnail; ?>" alt="<?php echo $post_title; ?>" /><?
endif;
the_content_limit($recents_posts_char_limit, '');
?>
</div>
</div>
<?php
The line in this case is the_content_limit($recents_posts_char_limit, '');. That could be replaced with the_content(); or the_excerpt();.
Woo-hoo! At first I didn’t think it worked because the links weren’t styled, but I saw it in the code and was able to update the CSS. PLUS the thumbnails now show up.
Thanks you SO MUCH for your help!!!
D’oh! I looks like my “older entries” link at the end of recent posts isn’t working now… could this be related to the fix we just made? I’m pretty sure I had it working before.