Hi, is there a way to show first n words of a blog entry in EE? Alternatively, the first paragraph?
I’m looking for a way to organize my /articles page. I need to display the list of latest articles where each list item is the first paragraph of the entry (not the article excerpt, but the first paragraph of the entry body), and have that paragraph link to the page for the full article.
Right now it just displays the last entry (which is set by the limit=“1” attribute, see below):
{exp:channel:entries channel="articles" limit="1" disable="pagination" status="Open | Featured Top Story"}
<section id="main-entry" class="blog-entry-body group">
<h2 class="blog-entry-title">{title}</h2>
{article_body}
</section>
{/exp:channel:entries}Thanks, James