Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Description Appearance


  • avaiya
    Participant

    @avaiya

    Hi there. I just installed bbpress and am working out the kinks for a new membership site we’re launching in 2 weeks. I have created a category called Community Discussions , and a Forum within that category called Introduce Yourself.

    On this page https://www.avaiya.com/forums/forum/community-discussions/ you can see I’ve put in a description for the Introduce Yourself forum and it shows up as this big, long description. I’d like if it just showed one line of the description, and then you click on Introduce Yourself and that’s where you can see the entire description.

    Do you know how I can do this?

    Thanks!

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

  • Robin W
    Moderator

    @robin-w

    that link just comes up with a 404 error – are you forums private ?


    avaiya
    Participant

    @avaiya

    Sorry about that. I just changed the category & forum to public so you can see.

    Community Discussions


    Robin W
    Moderator

    @robin-w

    ok, do you know how to use ftp to move a file to your website?


    avaiya
    Participant

    @avaiya

    I have WinSCP on my computer and have done a few things with that. I don’t have a lot of experience with it though and would love instructions on moving a file if you have them. Thanks.


    Robin W
    Moderator

    @robin-w

    ok, I can’t help you with winscp, but what you need to achieve is the following.

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/loop-single-forum.php
    bbPress will now use this template instead of the original
    and you can amend this

    so line 38 says

    <div class="bbp-forum-content"><?php bbp_forum_content(); ?></div>

    delete this and in its place put these lines

    <div class="bbp-forum-content">
    		
    		<?php setup_postdata(bbp_get_forum_id()) ; 
    				
    		$excerpt = get_the_excerpt() ;
    		
    		echo $excerpt ;	?>
    		
    </div>

    This will then put the first 55 characters of your content.

    Once you have achieved that, come back and I’ll show you the second part.


    avaiya
    Participant

    @avaiya

    Thank you for your help. I need to put this on hold as I have a bunch of other things I need to resolve before tackling this. I will come back to you! Thanks!


    Robin W
    Moderator

    @robin-w

    no problem – do come back if I can help further


    avaiya
    Participant

    @avaiya

    Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Skip to toolbar