109 pointsSerious WPMU DEV-sterI'm new here
GhostPool
Member
—
23rd August 2009 (2 years ago)
How can you reduce the amount of comment characters displayed using the WPMU Dev Recent Comments plugin. Can the comment_content_stripped tag be altered to only output a set amount of characters for example?
How can you reduce the amount of comment characters displayed using the WPMU Dev Recent Comments plugin. Can the comment_content_stripped tag be altered to only output a set amount of characters for example?
Responses (2)
Erstwhile founder — 24th August 2009 (2 years ago) #
You'll need to edit the plugin and wrap the output with the substr() function:
http://us2.php.net/manual/en/function.substr.php
Thanks,
Andrew
Member — 24th August 2009 (2 years ago) #
Cheers Andrew.
Become a member