Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Important Buddypress Function not working


Virtuali
Participant

@gunju2221

try adding:

`/* Add words that we need to use in JS to the end of the page so they can be translated and still used. */
function bp_dtheme_js_terms() { ?>

var bp_terms_my_favs = ”;
var bp_terms_accepted = ”;
var bp_terms_rejected = ”;
var bp_terms_show_all_comments = ”;
var bp_terms_show_all = ”;
var bp_terms_comments = ”;
var bp_terms_close = ”;
var bp_terms_mention_explain = ”;

<?php
}
add_action( ‘wp_footer’, ‘bp_dtheme_js_terms’ );`

to your functions.php file.

There is extra code in there, if you get a (cannot re-declare) notice, delete the code following your already called function.

Skip to toolbar