Skip to:
Content
Pages
Categories
Search
Top
Bottom

This Forum Is Empty

  • @damndramaqueen

    Participant

    Hi bbpress,

    I would like to change the phase ” This forum is empty “, can you help me to locate which file and the directory to change it from?

    Please advise for help, thanks,

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

    Moderator

    it is in

    bbpress\includes\forums\template.php line 2021

    But the easiest way to change it is to put this into your functions file :

    function change_translate_text( $translated_text ) {
    	$text = 'This forum is empty.' ;
    	if ( $translated_text == $text ) $translated_text = 'new text here' ;
    	return $translated_text;
    }
    add_filter( 'gettext', 'change_translate_text', 20 );
    
    

    and change ‘new text here’ to the wording you want

    @damndramaqueen

    Participant

    Hi Robin,

    You safe me a lot of time, been searching everywhere for it. You helped me big time! 🙂

    btw, I will put this file along with others in the child-theme directory. This way is easy to remembered.

    Thank you so MUCH for your great help 🙂 You Rock Big Time!

    Have a wonderful day.

    @robin-w

    Moderator

    No problem, and thanks for your kind words – glad I was able to help !

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