Getting First 100 Characters of the Post Content
I am trying to get the first 100 characters of a topic post.
So far I have this code:
$shortcontent=substr(bp_the_topic_post_content(), 0, 100);
But that is echoing the full post content wherever I have that code.
(Showing the full post twice)
Can anyone help me with this?
You must be logged in to reply to this topic.