Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


Better excerpt cut off

bh8vnbh8vn
edited April 2012 in Feedback
This discussion is related to the Bootstrap addon.

In current version, the cut off seems not so well The final word in excerpt like that This is the final wor...

If you want so: This if the final word ...

In discussions/helper_function.php

From line 91, replace all the $body with:

$Body = substr($Body, 0, 400);
                $pos = strrpos($Body, " ");
                $Body = substr($Body, 0, $pos);
                $Body = strip_tags($Body);

Just my feedback

Best Answer

This discussion has been closed.