Thanks for the ideas, but then I am back at the beginning again.
I want to place code on my post pages – not my author page. Each of my posts of course has an author, but only a few of my authors have descriptions and other details for them. Therefore, I do not want to to send my readers to blank author pages — I only want to “activate” the author pages for authors who have details written on them.
Therefore, I have thought of the following ways to do this, though I am still searching for the code since I’m not a PHP pro. I realize that this is the only code I can use, but there must be ways to call it or work around it to:
<?php the_author_posts_link(); ?>
1) Do an if/then statement that turns on the link to an author’s page from the post page only if the description (i.e. “Biographical Info” is what it is called in the WordPress User area) has content within it. Therefore, if the author has information, the HTML might look like this:
Posted by <a href="https://link-to-author-page">AUTHOR-NAME</a>
but if the author has no description, the html on the post page would simply be this: Posted by AUTHOR-NAME
2) Have a plugin that puts a tick box on each “Edit User” page in the admin panel that allows me to turn ON/OFF the link when this is used: <?php the_author_posts_link(); ?>
Sp, that said, are there any ideas for going about this? I can usually take PHP code apart, but I’m not smart enought to build it ,so that is why I need help ??