• Here’s my problem, i have entrys that are very large, and in my main page is showed the WHOLE ENTRY so my main page is very saturated (www.adjournal.tk) how can i use just a summary in the main page instead the full story?????

    example:

    from this (exp. full story)
    pedro was a driver in new york who hates his dog and his parents

    to this (exp. summary)
    pedro was a driver in new york…

Viewing 8 replies - 1 through 8 (of 8 total)
  • Go into your index.php file and change where it says the_content to the_excerpt. Beware though, because the_excerpt will strip all HTML and images from a post when excerpting it.

    or put

    <!-- more -->

    somewhere in your post to make a “read more” link on the index page.

    I personally don’t like the idea of excerpt destroying html.

    Thread Starter godjag

    (@godjag)

    it works!!!!

    really really THX MY FRIEND!!!!!!!

    Instead of using the excerpt I agree with womby. You should use the more tag because if you go to your site it seems all your posts are like one paragraph large (theres no more tag saying that you actually wrote like a page)

    I’m trying this technique of using the more tag in posts on my website which I am in the process of setting up.
    However I have one issue with the behaviour of it, in that a lot of my posts consist of large blockquotes. If the more tag is placed within these blockquotes however, they do not close properly untill the start of the next post – eg. read the rest of this entry, comments, edit this & permalink all fall within the quotes, rather than the quotes closing before these items (which are not part of the post as such, & therefore to my mind, definitely not part of the quote.
    I can fix the problem on the front page by closing the block quote before more, & then reopening it directly after – however this means that there is a break in the quote with a blank line when you view the entire article.

    I’ve had a play about & found that the problem I described above only affects certain themes.
    By looking at the themes I have managed to avoid this problem.
    However – the other problem I have discovered is that when only showing summaries using the more tag, the page no longer validates if you have the tag within a quote, as it spits out errors for each post saying:

    start tag was here
    end tag for “blockquote” omitted, but OMITTAG NO was specified

    This is odd, I cannot get the more tag to work in any of my posts and am using the default theme (I’m still getting the full article). Any suggestions would be greatly appreciated.

    Correction, now it works – most peculiar. I first added a leading paragraph to the existing post, followed by the more tag but it would not work. Then I just tried adding the more tag within the body of the existing post and it did work.

    Stranger things happen at sea I guess.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Use Just a Summary in Main Page’ is closed to new replies.