I am trying to figure out a way to display the excerpt or teaser from my posts instead of the full post on my blog page. Am I missing something? I thought this might be a built in feature but I cannot figure out a way to change the display settings. Of course I could always add the <!--more--> tag in every post, but I would prefer it to be automated. Anyone got any suggestions? I would prefer to not have to change the main index template.
Displaying teaser in "mullet" format in wordpress loop(6 posts)
Ian recommended to me in another thread a plugin called Homepage Excerpts, which can be found at:
I am just starting to play with it and have some concerns (it seems to be stripping some tags) but that said it is working better than the "more" tag which was leaving tags unclosed and breaking my page. I may look into some other excerpt plugins and compare. A plugin may be the solution to your problem as well.
Eew. Not only does it strip tags but it uses tables. I'm going to try the_excerpt_reloaded to see if that works better and I will report back. That will involve editing the template though I believe.
Another option: Justin Tadlock's guide for replacing content with an excerpt on the front page using filters: http://justintadlock.com/archives/2008/08/24/replacing-wordpress-content-with-an-excerpt-without-editing-theme-files.
You would have to go an extra step to produce a mullet-style though; Jason's code produces excerpts only.
Just tried out Post Teaser and Advanced Excepts. Advanced Excerpts tried to retain the tags (unlike Homepage Excerpts) but didn't manage to close them all correctly (like WordPress) so the page didn't validate. Post Teaser seems to do the job.
I, too, would like to get it to do mullet style but I'm out of time. I may try to figure it out for my next site.Posted 7 years ago #
You must log in to post.