pbspirits
Member
Posted 1 year ago #
On my site at http://www.enjoypb.com when you click on the category list (i.e. positive vibes) you're taken to the post-summary page (I only have one post up right now). The title is linked to the full post but, the [...] or, more link, isn't expanding the text to the full post.
Any idea how I could fix this [...] link so my readers won't have to figure out the title link (they're not too blog-savvy yet).
My theme is WP-Bats and I'm using WP 3.0.1 on my own LAMP server.
Thanks!
Your category template file is using <?php the excerpt();?> instead of <?php the_content;?>. Simply edit the the file (possibly called category.php) and replace <?php the excerpt();?> with <?php the_content;?> and then start using the more tag in your posts..
pbspirits
Member
Posted 1 year ago #
Thanks esmi. For any future readers I wasn't sure how to change an if/else statement so I just changed the word 'excerpt' to content and it works great. For my theme of WP-Bats this was in the index.php file in the theme's directory. Thanks for your help.
Before:
<div class="posts-content">
<?php if(is_category() || is_archive() || is_search() | is_tag()){ ?>
<?php the_excerpt() ;?>
<?php }else{ ;?>
<?php the_content ("Read the end of this entry ...");?>
<?php } ?>
</div>
After:
<div class="posts-content">
<?php if(is_category() || is_archive() || is_search() | is_tag()){ ?>
<?php the_content() ;?>
<?php }else{ ;?>
<?php the_content ("Read the end of this entry ...");?>
<?php } ?>
</div>