Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2010-01-17 08:38:30
- amavai
- Member
- Registered: 2009-08-25
- Posts: 37
Excerpt Character limit
Hi Forum!
Hope that someone can help.
I have an article with 50 words in the excerpt field. And what I want is to show on the home page only the first 15 characters of it.All the plugins that I found , rss_auto_excerpt and kgr_safe_excerpt works with the body of the article but not with the excerpt.
for example:
<txp:rss_auto_excerpt words=“15” overrideexcerpt=“1” striptags=“1” showlinkwithexcerpt=“0” stripbreakstabs=“1” excerptwraptag=”“ />
this code generate the first 15 words of the body text. If I put 0 in the overrideexcerpt, the output is the total amount of characters without limitations.
I need to output the first 15 words of my excerpt field only.
Any ideas?
Thanks!
Offline
Re: Excerpt Character limit
Hi
rss_auto_excerpt work with any field (body, excerpt, custom field) you have to tell him with : body=“excerpt” like it s noticed at the end of the help page
Cheers
Offline
#3 2010-01-17 11:00:56
- amavai
- Member
- Registered: 2009-08-25
- Posts: 37
Re: Excerpt Character limit
Thank you very much Dragondz!
Offline
Pages: 1