Skez (@skez)

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • In reply to: Topic & Reply count

    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!

    In reply to: Topic & Reply count

    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!

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