XF 2.0 [Done] Limit New Threads widget output how?

GazCBG

Member
Hi,

I am using the New Threads widget in Enhanced view and would like to limit the output.
I did this in XF1 a year or so ago using snippet, but don't have the code.

Code:
{{ bb_code(snippet($post.message, 750), 'post', $post) }}
<a href="{{ link('threads', $thread) }}" class="button" style="float:right;">Read more</a>

Thanks
 
Last edited:
Top Bottom