• Hi everybody,
    In my comments popup page, when someone enters both email adress and url adress, it does not appear separately like “name mail url” in the comments list. All you can see il the url adress when you put the mouse over the name. How can I transform it to “name mail url” ?
    Sorry again for my bad english… Here is my blog link : https://diagonalley.ylang-nae.net/

Viewing 2 replies - 1 through 2 (of 2 total)
  • One of the good things in WP is that it doesn’t display email addresses on the blog even when a commenter doesn’t give a url. In these spam-infested times people prefer, I’d imagine, not to have email addresses shown all around the web.

    There is a template tag for showing email: <?php comment_author_email_link("linktext", "before", "after"); ?>

    You can put the “name mail url” in the comments template (or pop-up comments in your case) as <?php comment_author(); ?> <?php comment_author_email_link('mail', '', ''); ?> <?php comment_author_url_link('url', '', ''); ?>

    Thread Starter Loli

    (@loli)

    Thanks Minna ??
    I agree with you, I don’t want my email adress being shown all around the web. But people who put it in the comment form have asked me why it did not appear in the comment. So that’s why I asked that in the forum.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘url and mail in comments-popup’ is closed to new replies.