Ian Ratledge
Member
Posted 3 years ago #
On my site http://www.crystalgamer.com I am trying to get posts on the homepage and archive menus not to display too much text.
I only want the first 3-4 lines to show. After that I want it to have a link saying "Read more"
Does anyone know how I can do this.
Please help
Many thanks
you should have a "more" button in your post editor
basically just insert
<!--more-->
where you want it to say "Read More" and it does
Ian Ratledge
Member
Posted 3 years ago #
I put the <!--more--> code in the text but it hasn't done anything when I look at it on my homepage.
Do you know what's wrong?
look in your theme's index.php for
<?php the_content ?>
does it look like this?
<?php the_content(__('Read more'));?>
Ian Ratledge
Member
Posted 3 years ago #
I don't seem to have a <?php the_content in my index.php file.
What else should I try?
Ian Ratledge
Member
Posted 3 years ago #
Ian Ratledge
Member
Posted 3 years ago #
Sorry to bump but I really need help.
Please help
Many thanks
Ian Ratledge
Member
Posted 3 years ago #