Only showing snippets for blogs
URL to the page in question:
-
Hi Bill,
Is there anyway to only show snippets with a “Read more…” of each blog post on the actual page for that category rather than showing the full content of each blog?
Greg,
Great question. One option is to place a “more” tag in your posts where you’d like to have the content break in the blog archive view. WordPress will place a “more” link at that point that directs to the single view.
If you’d like to change it without placing a more link, you can edit the theme a bit. Here’s how:
- Go to the Appearance section and select Edit.
- From the list of files on the right, choose archive.php and look for this spot:
<?php the_content(__('Read more', 'organizedthemes'));?>
- Replace that with this:
- Save your changes.
That will cause an excerpt to be displayed instead of the full content.
If you have any questions or trouble, let me know.
Enjoy your week,
Bill
- The topic ‘Only showing snippets for blogs’ is closed to new replies.