Skip to:
Content
Pages
Categories
Search
Top
Bottom

Topic & Reply count


  • Skez
    Participant

    @skez

    Hey everybody!

    Me and a friend have been looking for this for several hours now without look. I’ve found some outdated posts about it but since they’re outdated any eventual fix doesn’t work.

    What we want to do is remove the topic and reply count from the Forum titles (marked red in the image). I’ve personally checked probably all .php-files in bbpress\templates\default and few in the includes folder looking for anything related to topic, reply count. Either I’m looking in the wrong place or I’ve missed them.

    As you can see I marked something with green as well, this isn’t as important but I would like to either remove that one or rename to Star or something similar since pressing it sends you back to the start page.

    Appreciate all kinds of help, cheers!

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

  • Robin W
    Moderator

    @robin-w


    Skez
    Participant

    @skez

    Thanks for your reply Robin but unfortunately it doesn’t seem to work.
    For me the line with <?php bbp_list_forums()?> is line 44 and not 30.

    I’m not completely sure I am doing it right, I change the following in the file bbpress/templates/default/bbpress/loop-single-forum.php<?php bbp_list_forums()?> to

    <?php bbp_list_forums(array (
    'show_topic_count' => false,
    'show_reply_count' => false,
    'separator' => '',
    ));?>

    Is that correct? I tried different endings as well, since the original line ends with just )?> I tried ending the new one also like that but all it gives me when I reload the forums is the following
    Parse error: syntax error, unexpected ‘=’, expecting ‘)’ in /home/virtual/mydomain.com/public_html/familjen/wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php on line 45

    If <?php bbp_list_forums()?> is line 44 then line 45 has to be 'show_topic_count' => false,

    I’m very confused here!

    WAIT A MINUTE NOW! It was just me not realizing the => represents => but => turned to => when I copied it into this post so now it works. Many thanks!


    Skez
    Participant

    @skez

    Sorry for one last post but line-through was supposed to go through everything down to “wait a minute now”.

    Anyhow, cheers a bunch!


    Robin W
    Moderator

    @robin-w

    Great, I am presuming that you’re all working now !

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

You must be logged in to reply to this topic.