Skip to:
Content
Pages
Categories
Search
Top
Bottom

Removing author name in freshness column


  • myndphunkie
    Participant

    @myndphunkie

    Hi Guys,

    Having issues removing the author name in the freshness column.

    The author shows up under the topic column (Started by: <author>), and it also shows up on the freshness column (<avatar> <author>).

    I want to remove the last part.

    I have copied loop-forums.php and loop-single.php into my <theme>\bbpress\ folder and am assuming I need to modify one of these?

    Thanks In Advance

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

  • myndphunkie
    Participant

    @myndphunkie

    Make that loop-forums.php and loop-topics.php


    Robkk
    Moderator

    @robkk

    It is in loop-single-topic.php and loop-single-forum.php.

    In the files you will see something similar to this. In this example I am editing the loop-single-topic.php file.

    <span class="bbp-topic-freshness-author">
        <?php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id(), 'size' => 14 ) ); ?></span>

    Change it to something like this. You see I just added the extra attribute. 'type' => 'avatar'

    <span class="bbp-topic-freshness-author">
    	<?php bbp_author_link( array( 
                    'post_id' => bbp_get_topic_last_active_id(), 
                    'size' => 14 , 
                    'type' => 'avatar'
                    ) );
           ?>
    </span>

    bbp_author_link


    myndphunkie
    Participant

    @myndphunkie

    Beautiful, I worked out from your post that I just needed to remove the whole line. All is well now!

    Thanks 🙂


    Robkk
    Moderator

    @robkk

    Glad you issue is resolved now.

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