How Do I Lengthen The Amount Of Text Allowed For The Last Post


Well-known member
On the board index, at the "last post" section, how do I make it allow more characters before it cuts if off and adds "..." to the end of it?

I'm building a custom style, and I made room for more text.

Jake Bunce

XenForo moderator
Staff member
Admin CP -> Appearance -> Templates -> node_forum_level_2

Edit the length in red (scroll right):

Rich (BB code):
		<div class="nodeLastPost secondaryContent">
			<xen:if is="{$forum.privateInfo}">
				<span class="noMessages muted">({xen:phrase private})</span>
			<xen:elseif is="{$}" />
				{xen:phrase latest}: <a href="{xen:link posts, $forum.lastPost}" title="{$forum.lastPost.title}">{xen:helper wordTrim, $forum.lastPost.title, 30}</a>
				<span class="lastThreadMeta"><xen:if is="{xen:helper isIgnored, $forum.last_post_user_id}">{xen:phrase ignored_member}<xen:else /><xen:username user="$forum.lastPost" /></xen:if>, <xen:datetime time="$" class="muted" /></span>
			<xen:else />
				<span class="noMessages muted">({xen:phrase contains_no_messages})</span>