Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
kevinsuave Posted June 30, 2015 Posted June 30, 2015 Im showing latest forum posts in a block on my frontpage. However, instead of showing the entire title of the post, I only want it to show a max number of characters. How would I go about doing this?Code is as follows:{wordbreak="$topic->title"}Thanks!
kevinsuave Posted July 4, 2015 Author Posted July 4, 2015 There's gotta be an easy solution for this? I tried {wordbreak="$topic->title" length="10"} but that didn't work.
kevinsuave Posted July 5, 2015 Author Posted July 5, 2015 Hate having to keep bumping this, but I am kinda desperate. Anyone please?
kevinsuave Posted July 5, 2015 Author Posted July 5, 2015 I've now put data-ipstruncate-size="1 lines" in the div that contains the title, but that didn't work..
kevinsuave Posted July 5, 2015 Author Posted July 5, 2015 Thank you, kind sir. That worked like a charm!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.