• Resolved filfil

    (@filfil)


    Hi,

    might someone please help me to achieve that when clicking on single categories or a month in the archive there is not shown just a preview of four up to five lines without images? I’d like to have shown the complete article including all images. To see what I mean please check out my blog.
    It might be of interest which theme I’m using: it is Veryplaintxt.
    Thanks in advance for any assistance,

    Stefan

Viewing 5 replies - 1 through 5 (of 5 total)
  • This is the result of your theme’s use of the_excerpt rather than the_content in your archive.php file.

    While the_content shows the full content of a post, the_excerpt only displays the first 30 or so words. Thankfully it’s very simple to fix this…

    Open up your theme’s archive.php file and browse to line 34. Simply replacing the_excerpt with the_content should do the trick.

    Thread Starter filfil

    (@filfil)

    Thanks a lot WildBil2Me, it worked pefectly!

    Thread Starter filfil

    (@filfil)

    I got the same problem with the search-function. So I tried the same. I went to the search.php in order to replace the_excerpt by the_content. But I couln’t find the_excerpt there. There already is the_content but still only an excerpt is shown as search result. What to do about that?

    I’m seeing the_excerpt on line 16 of the search.php file.

    Is it possible you just missed it?

    Thread Starter filfil

    (@filfil)

    Oh no, I don’t know how I could miss it! Shame on me! I relied on the google-search-function. I wondered why it didn’t find anything like “excerpt” and tried it three times before returning to the forum. Sorry about that and thanks again for your help. The things one has to change are so simple but if you don’t know where to look you’re lost. That’s why I really appreciate your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘how to show complete article instead of just a preview?’ is closed to new replies.