How can run a check to see if a user exists on a specific site?
I had thought about trying to see if the user had any posts on the site but it doesn’t quite work.
<?php if count_user_posts( $post->post_author ) > 0 ) : ?> show this member avatar (using buddypress)
I’m thinking it would probably be better to just see if the user exists at all on the specific site. Is there something to do with the user roles that I can do?
- The topic ‘Check if user exist as Author on Site?’ is closed to new replies.