Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to remove bbb-template-notice


  • greenhoe
    Participant

    @greenhoe

    Hi,

    I”m creating my first theme and I have copied over all the bbpress files but for the life of me I cannot figure out how to remove the notification that is at the top of each forum that tells you “This forum contains 1 topic, and was last updated by John 20 hours ago”

    The html is the <div class”bbp-template-notice info”> and I have looked through all the template files but I can’t for the life of me figure out what is generating that and how to delete it. I know you can hide it via css but I don’t want to do that I want to actually remove it from my forums.

    Thanks

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

  • greenhoe
    Participant

    @greenhoe

    Actually after an hour of trying to figure this out and than making this post I just figured it out. Thank you.

    For those that may stumble upon this I was looking for the line

    <?php // bbp_single_forum_description(); ?>

    On line 24 of content-single-forum.php


    Robkk
    Moderator

    @robkk

    add_filter( 'bbp_get_single_forum_description', 'ja_return_blank' );
    
    add_filter( 'bbp_get_single_topic_description', 'ja_return_blank' );
    
    function ja_return_blank() {
    
        return '';
    
    }

    i have this in my functions php in my child theme


    Robkk
    Moderator

    @robkk

    haha well remove topic description to

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