Template Tags/comment author email

Материал из WordPress Wiki

Перейти к: навигация, поиск

Содержание

Description

Displays the comment author's email address, not linked. An email address must be provided if "User must fill out name and email" is enabled under Discussion Options. This tag must be within The Loop, or a comment loop.

Usage

%%% <?php comment_author_email(); ?> %%%

Example

<a href="mailto:<?php comment_author_email(); ?>">contact 
<?php comment_author(); ?></a>

(Note: Displaying email addresses is not recommended, as email spammers could collect them from your site.)

Parameters

This tag has no parameters.

Related

Шаблон:Tag Comments Tags

Шаблон:No Param Tag Footer

Реклама

Системы на базе серверов Proliant могут помочь компаниям повысить продуктивность.
модульные залы