zilvinas
Member
Posted 2 years ago #
Hello,
I tried over 20 plugins, but none of them helps. I tried choosing in settings --> reading --> both summary and full text, but no matter what i choose i see on home page full text and at the end of the last post I see read the rest of the entry, but it's already all entry! Can anybody help me?
If needed to see how it looks, my website http://zilvinasjuraska.com
The options in Settings -> Reading are for your RSS feed - not your web pages. You will need to edit the relevant template files in your theme and replace <?php the_content();?> with <?php the_excerpt;?>. Or use the <!--more--> tag in your posts to define where the post teaser should end on post listing pages.
zilvinas
Member
Posted 2 years ago #
Thanks esmi!
You showed me the way! Just added <?php the_excerpt();?> instead of <?php the_content('Read the rest of this entry'); ?> in the main index template and it showed!
But I need one mre thing: How can I add Read the rest of this entry because it dissapeared once i changed it with excerpt?
Try adding something like:
<p class="more-link"><a href="<?php the_permalink();?><?php _e('Read the rest of this entry');?></a></p> just after <?php the_excerpt();?>
zilvinas
Member
Posted 2 years ago #
I added it, but it doesn't show up. I found another way to do that: put that read the rest of this entry manually. And I think it will be ok :) thanks for help esmi :)