テーマで使用する コメント テンプレート 関数のリストと各 コメント テンプレート タグの説明と使い方。 comment テンプレートファイルはwp-includesディレクトリに保存されています。
コメント テンプレート リスト

コメント テンプレート タグ 一覧
wp-includes/comment-template.php
| コード | 説明 | タイプ |
|---|---|---|
| author_email | author_email とは、コメント作成者の電子メールをフィルタリングして表示します。 | hooks |
| cancel_comment_reply_link | cancel_comment_reply_link とは、キャンセルコメント返信リンクHTMLをフィルタリングします。 | hooks |
| cancel_comment_reply_link() | cancel_comment_reply_link() とは、キャンセルコメント返信リンクのHTMLコンテンツを表示します。 | function |
| comment_author() | comment_author() とは、現在のコメントの著者を表示します。 | function |
| comment_author | comment_author とは、表示するコメント作成者の名前をフィルタリングします。 | hooks |
| comment_author_email() | comment_author_email() とは、現在のグローバル$コメントの作成者の電子メールを表示します。 | function |
| comment_author_email_link() | comment_author_email_link() とは、現在のコメントの作成者へのHTML電子メールリンクを表示します。 | function |
| comment_author_IP() | comment_author_IP() とは、現在のコメントの著者のIPアドレスを表示します。 | function |
| comment_author_link() | comment_author_link() とは、現在のコメントの作成者のURLにHTMLリンクを表示します。 | function |
| comment_author_url() | comment_author_url() とは、現在のコメントの作成者のURLを表示します。 | function |
| comment_author_url_link() | comment_author_url_link() とは、現在のコメントの作成者のURLのHTMLリンクを表示します。 | function |
| comment_class() | comment_class() とは、各コメント要素のセマンティッククラスを生成します。 | function |
| comment_class | comment_class とは、返されたCSSクラスを現在のコメントにフィルタリングします。 | hooks |
| comment_date() | comment_date() とは、現在のコメントのコメント日付を表示します。 | function |
| comment_email | comment_email とは、コメント作成者の電子メールをフィルタリングして表示します。 | hooks |
| comment_excerpt() | comment_excerpt() とは、現在のコメントの抜粋を表示します。 | function |
| comment_excerpt | comment_excerpt とは、表示のためにコメントの抜粋をフィルタリングします。 | hooks |
| comment_excerpt_length | comment_excerpt_length とは、コメントの抜粋で使用された単語の量をフィルタリングします。 | hooks |
| comment_form | comment_form とは、コメントフォームの一番下の、閉じるの内部で発生します。 | action |
| comment_form() | comment_form() とは、テンプレート内で使用する完全なコメントフォームを出力します。 | function |
| comment_form_after | comment_form_after とは、コメントフォームの後に発生します。 | action |
| comment_form_after_fields | comment_form_after_fields とは、テキストエリアを除くコメントフォームのコメントフィールドの後に発生します。 | action |
| comment_form_before | comment_form_before とは、コメントフォームの前に発生します。 | action |
| comment_form_comments_closed | comment_form_comments_closed とは、コメントが閉じられている場合、コメントフォームの後に発生します。 | action |
| comment_form_default_fields | comment_form_default_fields とは、デフォルトのコメントフォームフィールドをフィルターします。 | hooks |
| comment_form_defaults | comment_form_defaults とは、コメントフォームのデフォルト引数をフィルタリングします。 | hooks |
| comment_form_field_comment | comment_form_field_comment とは、コメントテキストエリアの内容をフィルタリングして表示します。 | hooks |
| comment_form_fields | comment_form_fields とは、テキストエリアを含むコメントフォームフィールドをフィルタリングします。 | hooks |
| comment_form_logged_in | comment_form_logged_in とは、表示するコメントフォームの 'ログインした'メッセージをフィルターします。 | hooks |
| comment_form_logged_in_after | comment_form_logged_in_after とは、コメントフォームのis_user_logged_in()チェックの後に起動します。 | action |
| comment_form_must_log_in_after | comment_form_must_log_in_after とは、コメント形式のHTML形式の「ログイン後に」メッセージの後に発生します。 | action |
| comment_form_submit_button | comment_form_submit_button とは、コメントフォームの送信ボタンをフィルタリングして表示します。 | hooks |
| comment_form_submit_field | comment_form_submit_field とは、コメントフォームの送信フィールドをフィルターして表示します。 | hooks |
| comment_form_title() | comment_form_title() とは、コメント返信ステータスに基づいてテキストを表示します。 | function |
| comment_form_top | comment_form_top とは、フォームタグ内のコメントフォームの先頭に表示されます。 | action |
| comment_id() | comment_id() とは、現在のコメントのコメントIDを表示します。 | function |
| comment_id_fields | comment_id_fields とは、返されたコメントIDフィールドをフィルタリングします。 | hooks |
| comment_id_fields() | comment_id_fields() とは、コメントに返信するための非表示入力HTMLを出力します。 | function |
| comment_reply_link | comment_reply_link とは、コメント返信リンクをフィルタリングします。 | hooks |
| comment_reply_link() | comment_reply_link() とは、コメントへの返信リンクのHTMLコンテンツを表示します。 | function |
| comment_reply_link_args | comment_reply_link_args とは、コメント返信リンクの引数をフィルタリングします。 | hooks |
| comment_text() | comment_text() とは、現在のコメントのテキストを表示します。 | function |
| comment_text | comment_text とは、表示するコメントのテキストをフィルタリングします。 | hooks |
| comment_time() | comment_time() とは、現在のコメントのコメント時刻を表示します。 | function |
| comment_type() | comment_type() とは、現在のコメントのコメントタイプを表示します。 | function |
| comments_array | comments_array とは、コメント配列をフィルタリングします。 | hooks |
| comments_link() | comments_link() とは、現在の投稿コメントへのリンクを表示します。 | function |
| comments_number() | comments_number() とは、現在の投稿のコメント数の言語文字列を表示します。 | function |
| comments_number | comments_number とは、表示するコメント数をフィルタリングします。 | hooks |
| comments_open() | comments_open() とは、現在の投稿がコメント用に開いているかどうか。 | function |
| comments_open | comments_open とは、現在の投稿がコメント用に開いているかどうかをフィルタリングします。 | hooks |
| comments_popup_link() | comments_popup_link() とは、現在の投稿IDのコメントへのリンクを表示します。 | function |
| comments_popup_link_attributes | comments_popup_link_attributes とは、表示するコメントリンク属性をフィルタリングします。 | hooks |
| comments_template() | comments_template() とは、 $ fileで指定されたコメントテンプレートを読み込みます。 | function |
| comments_template | comments_template とは、コメントテンプレートに使用されているテーマテンプレートファイルへのパスをフィルタリングします。 | hooks |
| comments_template_query_args | comments_template_query_args とは、comments_template()のコメントのクエリに使用される引数をフィルタリングします。 | hooks |
| get_cancel_comment_reply_link() | get_cancel_comment_reply_link() とは、キャンセルコメント返信リンクのHTMLコンテンツを取得します。 | function |
| get_comment_author() | get_comment_author() とは、現在のコメントの著者を取得します。 | function |
| get_comment_author | get_comment_author とは、返されたコメントの著者名をフィルタリングします。 | hooks |
| get_comment_author_email() | get_comment_author_email() とは、現在のコメントの作成者の電子メールを取得します。 | function |
| get_comment_author_email | get_comment_author_email とは、コメント作成者が返信した電子メールアドレスをフィルタリングします。 | hooks |
| get_comment_author_IP() | get_comment_author_IP() とは、現在のコメントの著者のIPアドレスを取得します。 | function |
| get_comment_author_IP | get_comment_author_IP とは、コメント作成者が返すIPアドレスをフィルタリングします。 | hooks |
| get_comment_author_link() | get_comment_author_link() とは、現在のコメントの著者のURLへのHTMLリンクを取得します。 | function |
| get_comment_author_link | get_comment_author_link とは、コメント作成者のリンクを表示用にフィルタリングします。 | hooks |
| get_comment_author_url | get_comment_author_url とは、コメント作成者のURLをフィルタリングします。 | hooks |
| get_comment_author_url() | get_comment_author_url() とは、現在のコメントの著者のURLを取得します。 | function |
| get_comment_author_url_link | get_comment_author_url_link とは、コメント作成者が返すURLリンクをフィルタリングします。 | hooks |
| get_comment_class() | get_comment_class() とは、コメントdivのクラスを配列として返します。 | function |
| get_comment_date() | get_comment_date() とは、現在のコメントのコメント日付を取得します。 | function |
| get_comment_date | get_comment_date とは、返されたコメントの日付をフィルタリングします。 | hooks |
| get_comment_excerpt() | get_comment_excerpt() とは、現在のコメントの抜粋を取得します。 | function |
| get_comment_ID() | get_comment_ID() とは、現在のコメントのコメントIDを取得します。 | function |
| get_comment_ID | get_comment_ID とは、返されたコメントIDをフィルタリングします。 | hooks |
| get_comment_id_fields() | get_comment_id_fields() とは、コメントに返信するために隠された入力HTMLを取得します。 | function |
| get_comment_link() | get_comment_link() とは、特定のコメントへのリンクを取得します。 | function |
| get_comment_link | get_comment_link とは、返された単一コメントのパーマリンクをフィルタリングします。 | hooks |
| get_comment_reply_link() | get_comment_reply_link() とは、コメントへの返信リンクのHTMLコンテンツを取得します。 | function |
| get_comment_text() | get_comment_text() とは、現在のコメントのテキストを取得します。 | function |
| get_comment_text | get_comment_text とは、コメントのテキストをフィルタリングします。 | hooks |
| get_comment_time() | get_comment_time() とは、現在のコメントのコメント時刻を取得します。 | function |
| get_comment_time | get_comment_time とは、返されたコメント時刻をフィルタリングします。 | hooks |
| get_comment_type | get_comment_type とは、返されたコメントタイプをフィルタリングします。 | hooks |
| get_comment_type() | get_comment_type() とは、現在のコメントのコメントタイプを取得します。 | function |
| get_comments_link() | get_comments_link() とは、現在の投稿コメントへのリンクを取得します。 | function |
| get_comments_link | get_comments_link とは、返された投稿コメントpermalinkをフィルタリングします。 | hooks |
| get_comments_number | get_comments_number とは、投稿の返されたコメント数をフィルタリングします。 | hooks |
| get_comments_number() | get_comments_number() とは、投稿のコメント数を取得します。 | function |
| get_comments_number_text() | get_comments_number_text() とは、現在の投稿のコメント数の言語文字列を表示します。 | function |
| get_post_reply_link() | get_post_reply_link() とは、投稿リンクへの返信用のHTMLコンテンツを取得します。 | function |
| get_trackback_url() | get_trackback_url() とは、取得現在の投稿のトラックバックURL。 | function |
| pings_open() | pings_open() とは、現在の投稿がpingのために開いているかどうか。 | function |
| pings_open | pings_open とは、現在の投稿がpingのために開いているかどうかをフィルタリングします。 | hooks |
| post_comments_link | post_comments_link とは、書式設定された投稿コメントリンクHTMLをフィルタリングします。 | hooks |
| post_reply_link() | post_reply_link() とは、投稿リンクへの返信のHTMLコンテンツを表示します。 | function |
| respond_link | respond_link とは、投稿にコメントがない場合に応答リンクをフィルタリングします。 | hooks |
| trackback_rdf() | trackback_rdf() とは、現在の投稿のトラックバック情報のRDFを生成して表示します。 | function |
| trackback_url | trackback_url とは、返されたトラックバックURLをフィルタリングします。 | hooks |
| trackback_url() | trackback_url() とは、現在の投稿のトラックバックURLを表示します。 | function |
| wp_comment_form_unfiltered_html_nonce() | wp_comment_form_unfiltered_html_nonce() とは、フィルタされていないコメントのフォームトークンを表示します。 | function |
| wp_list_comments() | wp_list_comments() とは、コメントを一覧表示します。 | function |
| wp_list_comments_args | wp_list_comments_args とは、コメントリストの取得に使用された引数をフィルタリングします。 | hooks |
| ソース ファイル | wp-includes/comment-template.php | File |
WordPress バージョン 4.8.1 wp-includes
| wp-includes/ フォルダ | |
| wp-includes/ certificates | wp-includes/ pomo |
| wp-includes/ css | wp-includes/ random_compat |
| wp-includes/ customize | wp-includes/ Requests |
| wp-includes/ fonts | wp-includes/ rest-api |
| wp-includes/ ID3 | wp-includes/ SimplePie |
| wp-includes/ images | wp-includes/ Text |
| wp-includes/ IXR | wp-includes/ theme-compat |
| wp-includes/ js | wp-includes/ widgets |
