I am trying to insert a clickable link into a PHP code with no success. I only know html so I tried to insert html href code but it's not working.
Original Code:
echo '<br/>'.__("Your auction isn't live yet, the admin needs to approve it.</br>For more info CLICK HERE.", "AuctionTheme");
Now this is what I tried:
echo '<br/>'.__("Your auction isn't live yet, the admin needs to approve it.</br>For more info <a target="_blank" href="www.website.com">CLICK HERE</a>.", "AuctionTheme");
and it doesn't work instead it breaks the code.
Can anyone help me with the right code?
Thanks in advance
<?php
echo '<br/>'."Your auction isn't live yet, the admin needs to approve it.</br>For more info <a href=\"www.website.com\" target=\"_blank\" >CLICK HERE</a>";
?>