Use excerpt in posts

Support Area Forums Authentic Use excerpt in posts

Viewing 3 posts - 1 through 3 (of 3 total)
URL to the page in question:
  • Author
    Posts
  • #5883

    Hi!
    Is there possible to use excerpts in the blog posts. It would be nice if just a part of the different blog articles shows up when I go to the blog. Today it shows the whole text when I scroll down the different blog posts.

    Thanks for help:)

    #5928
    Bill Robbins
    Moderator

    Ole,

    You can do that. One option is to is to use the “more” tag that’s part of the WordPress post editor. When you insert that tag, WordPress will place a more link in the archive view and all content after that will be visible only on the single post view.

    The other option is to edit the theme just a bit. Here’s what to do there:

    1. Go to the appearance section and select edit to open up the theme editor.
    2. From the list of files on your right, choose archive.php and look for this spot:
      
      the_content(__('Read more', 'organizedthemes'))
      
    3. Replace that with this:
      
      the_excerpt()
      
    4. Save your changes

    That will replace the full content in the archive view with the excerpt.

    If you run into any trouble, just let me know,
    Bill

    #5969

    I tried both options and I think the “more” tag works well for us.

    Thank you 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Use excerpt in posts’ is closed to new replies.