Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Blogs and Blogging (http://www.greenguysboard.com/board/forumdisplay.php?f=8)
-   -   How to collapse text post (http://www.greenguysboard.com/board/showthread.php?t=55629)

LD 2009-12-08 10:55 AM

How to collapse text post
 
I have a mainstream blog that is mostly text articles, and I want the first few lines to to display with a link that says "more" which opens the entire article. Is there a plug that does this?

Thanks!

HowlingWulf 2009-12-08 12:08 PM

It's built into Wordpress. You want your template to call the_except() instead of the_content() when listing posts. Or use the_content() with comment.
http://codex.wordpress.org/Template_Tags/the_excerpt

cd34 2009-12-08 12:10 PM

Do you use the wordpress editor? If so, there is a 'more' button in the editor which puts a break in and allows the post to continue on the second page.

Settings, Reading, For each article in a feed, show Full Text/Summary

this splits it at a hardcoded # of characters, I don't remember how many, but, it breaks on a character boundary and they back up a little so they don't split a word. It uses the excerpt if one is written, otherwise, splits the post.

LD 2009-12-08 02:02 PM

Quote:

Originally Posted by cd34 (Post 471395)
Do you use the wordpress editor? If so, there is a 'more' button in the editor which puts a break in and allows the post to continue on the second page.

Settings, Reading, For each article in a feed, show Full Text/Summary

Perfect! I don't know how I missed something so simple..I'm used to working with pics and never had a need to do it.


All times are GMT -4. The time now is 01:20 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc