Hi,
I am having an issue creating a short code with this code. It works fine otherwise, I am just having an issue creating the short code. I believe the issue might be with the use of a URL with a variable.
` $webyelp = get_field('yelp', 'option');
if (!empty($webyelp)) {
echo '<a href="' the_field('yelp', 'option'); "><img src="../reviewbadge/yelp.png" alt="yelp" /></a>
} else { echo "";}
`
Any idea what I'm doing wrong? Thanks a lot for your time!