<?php if (count(query_posts('author='.get_current_user_id().'&posts_per_page=5')) > 0) { //User hat posts / User has posts } else { //User hat KEINE posts / User has NO posts } ?>
<?php if (count(query_posts('author='.get_current_user_id().'&posts_per_page=5')) > 0) { //User hat posts / User has posts } else { //User hat KEINE posts / User has NO posts } ?>