I want to make the visitor's name a link to their website when they post on my comments. ATM, I'm able to do this, but the unfortunate thing is that ALL usernames are displayed as link even if the user didn't leave a homepage...therefore meaning the href is just blank.
Is there a way for me to add some logic to only wrap the visitors name in an <a> if they provide a website? Thanks.
Comments
Comment #1
nancydruI would suggest creating a new token for that, if one does not already exist. Since that would be in PHP, you can include that logic.
Comment #2
nancydruNo further update
Comment #2.0
nancydruadded code tags