Do you use ‘read more’ WordPress tag to show summary only on a blog list?
3/03/2017 2:14 AM by
By default WordPress shows the whole article content on a post list. Knowing that some posts are quite long - taking a lot of real estate on the page - it's a good idea to summarize it and add a "read more" link.
You can split your blog entries so that only the first part of certain posts is displayed on the home and archive pages. When you do this, a link will be placed after the intro, pointing the reader to the full post.
To do so, you can either edit the source index.php (or similar) file; or just click the "Read More" tag button in the first row of the visual editor toolbar (or press Alt+Shift+T
replace <?php the_content(); ?> with <?php the_excerpt(); ?>
- Figure: Bad example - changing source php files is complicated and require developer skills
- Figure: Good example - click on the "Read More" tag on the post visual editor
Note: This is out-of-the-box with WordPress. You won't need a plugin.
Custom Read More Message
To customize the message, simply add a space after <!--more and insert the text you want to show:
<!--more Read the full post -->
- Figure: Custom "read more" link
Some WordPress themes do this automatically
Many WordPress themes will have an option to not show the full blog content on the homepage. E.g. in Avada (one of the most popular themes) it has this:
- Figure: Many WordPress themes makes it easier to you
Always check theme options before going back through posts to add in the Read More tags manually.
Do you feel this rule needs an update?