I want the Sign In Button to only appear on a site when a URL is entered. As is, it appears with or without URL.
<a class='button' href='<?php echo $expert['url'];?>'>Sign in</a>
I tried different ways, nothing works.
<?php if($url==1){?>
<a class='button' href='<?php echo $expert['url'];?>'>Sign in</a>
<?php }?>
What am I missing?
It seems like such as simple fix!