WordPress.org

Forums

Archives truncated? (9 posts)

  1. Roar
    Member
    Posted 10 years ago #

    Before I lose my gourd, do archives pages automatically truncate posts with ...?

    example?
    http://www.tuckle.net/index.php?cat=20

  2. oriecat
    Member
    Posted 10 years ago #

    I think that's how Kubrick is set up. I just changed my theme to default and it did that too.

  3. moshu
    Member
    Posted 10 years ago #

    Yes, and it's called "excerpt". See the template tags on the Codex.
    Actually it's a neat feature: imagine having 100 posts in a category, but thanks to this feature the reader doesn't get a ten meter long page when clicking on that category's archives :)

  4. Jinsan
    Member
    Posted 10 years ago #

    They don't automatically truncate, though you can use a plugin to summarise the first xx characters. You would have to use the excerpt/summary box for the posts otherwise it comes up blank I think with just the title. But it's a good feature for those using the search. Makes practical sense

  5. oriecat
    Member
    Posted 10 years ago #

    I think it must automatically truncate, because i have never used excerpt on my posts, and when I switched over to Default to check it, it still did that.

  6. moshu
    Member
    Posted 10 years ago #

    Take a look at the archive.php of the theme (Presentation > Theme Editor > Archive Template) and you will find the following lines:
    <div class="entry">
    <?php the_excerpt() ?>
    </div>

    You can change that to content but why would you? :)

  7. Roar
    Member
    Posted 10 years ago #

    Thanks! I like it actually, I just thought it was something I had done wrong.

  8. thechurning
    Member
    Posted 9 years ago #

    I had the same problem. Changed "the_excerpt" to "the_content" in the archive template. Also had to change it in the search template. Problem solved.

    The reason for the change: I wanted readers to be able to search for a keyword (or click on an archive date) and have the full post appear instead of a truncated post.

  9. davitz
    Member
    Posted 9 years ago #

    I too stumbled across the feature.

    Although I quite like it, how/where can I change it's settings (Especially the length of the displayed text)?
    Sidenote: I published a poem/songtext in my blog for development-purposes, and it is there that I realized that the truncated text loses it's formatting. I wonder if this eventually could be corrected?

    Thanks!
    david

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.