Do you mean this?
<div class="application">
<?php if ( $apply->type == 'url' ) : ?>
<a href="<?php echo $apply->url; ?>" class="button" target="_blank"> Apply </a>
<?php else : ?>
<?php endif; ?>
</div>
The button still doesn’t show up……
Hi Mike,
<div class="application">
<?php if ( $apply->type == 'url' ) : ?>
<a href="<?php echo $apply->url; ?>">Apply</a>
<?php else : ?>
<?php endif; ?>
</div>
The code above creates a hyperlink to the url, but I’d like the url embedded in an explicit button so that when the user clicks the button, a website corresponding to the url will pop up in a new tab. Can you advise on how to achieve this, please?