If the contributor has already published two or more posts I show a maximum of 5 of them in the post-single.php using this code
<?php echo do_shortcode('[latestbyauthor show="5"]'); ?>
I have a text that introduces the code (other posts by the same author)
This works fine if the contributor really has published 2 or more article but totally uselless if he has just one post.
What I'm looking is a way to hide the text before the code by checking the total number of posts published, if 1 then hide and if 2 then show.
Is it possible? Thanks!