I'd like to ONLY show the authors website link if it exists, but I can't work out the exact syntax for it.
I have this
if ( get_the_author_meta('user_url') ) : // If a user has filled out their decscription show a bio on their entries echo the_author_meta('user_url'); endif;
But I need to wrap it in a link and give that link a class, like this
<a class="meta-website" href="<?php the_author_meta('user_url') ?>">Author's Website</a>
The problem is when I add another 'echo' before the_author_meta one it just breaks the site.