Reply To: No index buddypress pages
Ok for the is_buddypress() the functions
function for_buddypress() {
if ( is_buddyPress() ) {
echo "<meta name=”robots” content=”noindex, nofollow>";
} else {
}
}
add_action( 'wp_head', 'for_buddypress' );
Working perfectly, but when creating another function for the bp_is_groups() I am getting error “call to undefined functions bp_is_groups()
Any help is much appreciated!
Thanks