Get your own customer support community
 

In advanced templates, what code do I use to output an excerpt? And why the odd behavior?

I've switched to using advanced templates, and am currently using the following code on my home page to try to output an excerpt:

<$MTEntryExcerpt$>

This has yielded some unsavory results. Even though I have the excerpt field set to output 100 words, I'm getting very mixed results. Here are the problems I seem to be having:

- media, including photos and video are stripped, even on very short posts
- paragraph formatting is stripped entirely
- some posts having nothing except their title and footer info output

Most of these are a result of not creating an excerpt explicitly, but by relying on TypePad to create one based on the post body, but I think they still occur even if an excerpt is entered directly (I know the paragraph formatting being stripped still does). All of these issues go away (perhaps obviously) when I swap in <$MTEntryBody$> (and make no other changes).

So my questions are:

- is there some other tag I should be using to output the excerpt?
- why the (very, very) odd behavior? am I doing something wrong?
- it seems that basic templates may not have this same odd behavior, is that true?
 
sad I’m frustrated
Inappropriate?
1 person has this question

User_default_medium