Quantcast
Channel: bbPress.org » All Posts
Viewing all articles
Browse latest Browse all 3638

different ways to get reply content?

$
0
0

What is the best way to get the content of a reply? Right now I’m using bbp_get_reply_content() and it was working fine until I added the GD bbPress Attachments plugin. Somehow that plugin is adding text to the end of the reply content, which doesn’t show up in the forums itself but does show up in a custom forum loop I have on my homepage. E.g replies look like this: “Lorem ipsum etc. Attachments: [delete | detach] [delete | detach] [delete | detach].” FYI, I’m using wp_trim_words to only get the first 30 or so words of the reply, so this garbage text from the plugin only appears on very short replies.

Is there a different way to get the reply text? Anybody else have this issue with the attachment plugin?

Thanks.


Viewing all articles
Browse latest Browse all 3638

Trending Articles