Skip to:
Content
Pages
Categories
Search
Top
Bottom

Templating Issue

  • @ssvoboda

    Participant

    Hi everyone,

    I’m currently running the Hemingway theme. After an afternoon of troubleshooting I have my theme where it needs to be, except for one nasty little bug in the template:

    Yuck!

    Is anyone able to give me some advice on how to fix it by removing the username?

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

    Moderator

    Do you want the username removed or repositioned?

    @ssvoboda

    Participant

    Removed preferably, but if that’s difficult, centering it below the freshness text would still look good 🙂

    @robin-w

    Moderator

    ok, the simplest way would be as follows

    In you theme create a directory called bbpress

    ie wp-content/your-theme-name/bbpress

    The copy the following file into this

    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php

    so you end up with a file

    wp-content/your-theme-name/bbpress/loop-single-forum.php

    bbpress will now sue this file instead of the default one, so then edit this file to change line 68 from

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

    to

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

    If your theme is a child theme, then that will be fine. If it is a main theme, then just keep a note of this change, as you may have to repeat it on a theme update.

    @ssvoboda

    Participant

    All fixed, and everything is looking great!

    Thanks alot for your assistance Robin 🙂

    @robin-w

    Moderator

    great – glad you’re fixed !

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