Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)