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

nancydru’s picture

Status: Active » Postponed (maintainer needs more info)

I 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.

nancydru’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

No further update

nancydru’s picture

Issue summary: View changes

added code tags