comment_author_email – WordPress*リファレンス
リンクされるのではなく、コメント作者のEメールアドレスを表示します。 Discussion Optionsの下で「ユーザは、名前に書き込んで、メールしなければならないこと」を可能にするなら、Eメールアドレスを提供しなければなりません。 Loop、またはコメント輪の中にこのタグはあるに違いありません。
⇒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.
comment_author_emailのテンプレートタグ使用方法
< ?php comment_author_email(); ?>
例
mailto:< ?php comment_author_email(); ?>">contact
< ?php comment_author(); ?>
注意: メールスパマーがあなたのサイトから彼らを集めることができたようにEメールアドレスを表示するのは推薦されません。
⇒(Note: Displaying email addresses is not recommended, as email spammers could collect them from your site.)
comment_author_emailのパラメーター
このタグには、パラメーターが全くありません。
⇒This tag has no parameters.
関連テンプレートタグ
comments_number, comments_link, comments_rss_link, comments_popup_script, comments_popup_link, comment_ID, comment_author, comment_author_IP, comment_author_email, comment_author_url, comment_author_email_link, comment_author_url_link, comment_author_link, comment_type, comment_text, comment_excerpt, comment_date, comment_time, comments_rss_link, comment_author_rss, comment_text_rss, comment_link_rss, permalink_comments_rss
関連記事







