Page 1 of 1

Truncate long post

Posted: Tue Dec 09, 2008 3:04 pm
by Wolfdog
Is there anyway I can truncate long blog post, as so the whole article is not on the front page? Like only show a small portion of the huge article on the main page then going to the article shows the rest of it.

Posted: Tue Dec 09, 2008 3:18 pm
by Don Chambers
That is exactly what the extended body is designed to do.

Place your first paragraph or 2 in "entry body" and the rest of the text in "extended body". If your template is using the default entries.tpl file, or has its own that has been designed to separate these two pieces of text, overview page views will show only the entry body with a link that typically reads "Continue reading ENTRY TITLE..."

Re: Truncate long post

Posted: Tue Dec 09, 2008 3:22 pm
by yellowled
Wolfdog wrote:Is there anyway I can truncate long blog post, as so the whole article is not on the front page? Like only show a small portion of the huge article on the main page then going to the article shows the rest of it.
Yes. Go to the page where you create/edit posts. First, there's the field for the entry. Below that is a line that says "extended entry" with a plus sign in front of it. Click on that plus sign. Now there's another field which you can use for the extended entry. Whatever you enter here will only show up in single entry view, except if your template doesn't consider extended entries. Most of them do, however.

YL

Posted: Tue Dec 09, 2008 10:22 pm
by Wolfdog
Heh, I didn't realize that was there. Thank you.