Why are my blog post updates missing paragraph breaks when shown in the activity stream?
-
I have a community of poets and so most of their posts are poetry, as you could imagine.
The written poem
goes by lines
of a certain length,
and breaks often.Again, back to the activity stream, it presents posts (poems) in a horrible unreadable fashion – a paragraph of the one single line where everything is smashed together (excerpts).
I wish there was an option in settings to choose between a whole post or an excerpts on the activity page, as it is given in the wordpress reading settings:“For each article in a feed, show
o Full text
o Summary”If anybody can tell me what and where to change in codes to fix it, I would really appreciate.
http://svetkidoma.net/activity (it is all in Russian, sorry, but you will get a picture)
Roger Coathup said:
“I don’t have a problem with paragraph breaks in the activity stream. My blog posts are being shown correctly with the breaks. I’m using a default installation of BP1.2.5.2
Paragraphs can be removed by a filter in WordPress / BuddyPress. Have you made any changes to your functions.php or bp-custom.php to turn off the ‘autop’ filter? i.e. do you have any code like this in those files:
add_action(“init”,”remove_autop_filters_from_activity”);
function remove_autop_filters_from_activity(){
remove_filter( ‘bp_get_activity_content_body’, ‘wpautop’ );
remove_filter( ‘bp_get_activity_content’, ‘wpautop’ );
}Perhaps there is something in the blog template you are using that is doing this?”
- The topic ‘Why are my blog post updates missing paragraph breaks when shown in the activity stream?’ is closed to new replies.