Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add description for each topic in list

  • @aaronbennett2097

    Participant

    Hi all.

    I’ve set bbpress up to show topic descriptions, which looks great. But for consistency, I’d like to be able to show the excerpt of each topic under it’s title on the topic-list template.

    Hope this is possible.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • @robin-w

    Moderator

    If I understand you correctly, then

    https://wordpress.org/plugins/bbp-style-pack/

    Dashboard>settings>bbp style pack>forum display>item 6

    @robkk

    Moderator

    @aaronbennett2097 sounds like you want something like this?

    function rkk_topic_description() {
    	$excerpt = bbp_get_topic_excerpt();
    		echo '<div style="text-align:left"><p>'.$excerpt.'</p></div>';
    }
    add_action('bbp_theme_after_topic_title','rkk_topic_description');
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar