Skip to:
Content
Pages
Categories
Search
Top
Bottom

Allowing Line Spacing in Forum Description


  • theicebooky
    Participant

    @theicebooky

    Is it possible to allow spacing in the Forum description? Right now, even when you created different paragraphs for the description, the spacing will disappear and the paragraph will be squished together in the shown forum description.

    Is it possible to allow spacing in the forum description?

    Thank you!!

Viewing 2 replies - 1 through 2 (of 2 total)

  • theicebooky
    Participant

    @theicebooky

    Is it possible to allow spacing in the BBpress Forum description? Right now, even when you created different paragraphs for the description, the spacing will disappear and the paragraph will be squished together in the shown forum description.

    Is there a way to get different paragraphs to seperated when thr forum description is shown?

    Is there a code snippet that I can add? I don’t know how to code but I would love this to work.

    If you want picture examples, I will be more than happy to provide!


    Robin W
    Moderator

    @robin-w

    this should get you somewhere, although does throw up some raw displays in the backend

    add_filter( 'bbp_get_forum_content', 'rew_show_paras' , 10 , 2 );
    
    function rew_show_paras ($content, $forum_id) {
    	$post = get_post($forum_id);
    	$the_content = apply_filters('the_content', $post->post_content);
    return $the_content ;
    }	
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar