Moved: not friend template problem
I have a problem, I found this snippet of code in the forum:
<?php if ( bp_displayed_user_is_friend() ) : ?>
<?php locate_template( array( ‘members/single/not-friend’ ), true ) ?>
<?php else : ?>
BUDDYPRESS USER PROFILE BODY
<?php endif; ?>
works in correlation: not-friend.php
The code does hide the user profile respectively but the problem is the not-friend.php message is not loading the message. Can any one help me with this?
- The topic ‘Moved: not friend template problem’ is closed to new replies.