$link_value = the_field('external-link'); echo '<a rel="nofollow" href="'.$link_value.'" class="btn-custom">Click me</a>'; Why is this not working?
Cli...">
$link_value = the_field('external-link'); echo '<a rel="nofollow" href="'.$link_value.'" class="btn-custom">Click me</a>'; Why is this not working?
Do this: echo "<a href='".$link_address."'>Link</a>"; , either: echo "<a href='$link_address'>Link</a>"; Play around with quotes ...
Source: https://ru.stackoverflow.com/questions/511591/
All Articles