bbp_reply_content() adds 'DIV' tag. need to remove.
(buddypress 1.8.1 if that’s relevant)
I am trying to style my loop-single-reply template.
I am working on a copy placed in my wp_theme/bbpress directory…it is a copy of the default.
The problem is in the bbp reply DIV (that contains the author div and the content div). I need to get the content function to stop automatically adding “div” tags around the content (I want to use span tags).
I have tried to follow the rabbit trail through the files to figure out where these DIV tags are getting added, and the best I can figure is that there is a filter putting them in there.
I only need the actual content and so I have commented out the filter applied in includes/replies/template.php around line 525, and simple replaced it with
That worked, but now bbcode is not working. Is there a way to stop this behavior without altering the bbpress plugin files (which will get destroyed during an upgrade)?
My forum is private, but I can set a public test one up if that will help…
- You must be logged in to reply to this topic.