Short preview in Smarty is...

/ Published in: Smarty
Save to your folder(s)

Short preview in Smarty is generated from longer text like this.

Copy this code and paste it in your HTML
  1. {$article|strip_tags|substr:0:25}{if strlen($article) > 25}...{/if}

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.