- 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細)
Codex:Template 一覧
目次
このサイトの編集のために用意してある Wiki テンプレートの一覧です(WordPress のテンプレートではありません)。引数など詳しい使い方は、各テンプレートページの説明をご覧ください。
ページ編集状態表示
読者にページが完全でないことなどを知らせるとともに、作業が必要なページを参加者が見つけられるようにするために貼ります。
テンプレート | 用途 | 表示例 |
---|---|---|
スタブ {{Stub}} |
|
|
草稿
{{Draft}} |
|
このページはラフドラフトで、まだ内容の検証が済んでいません。情報が間違っていたり書き直されることがあります。 |
未翻訳 {{NeedTrans}} |
|
このページ「Template 一覧」は未翻訳です。和訳や日本語情報を加筆してくださる協力者を求めています。 |
翻訳チェック待ち
{{CheckTrans}} |
|
この項目「Template 一覧」は、翻訳チェック待ちの項目です。加筆、訂正などを通して、Codex ドキュメンテーションにご協力下さい。 |
要更新
{{Old}} |
|
このページ「Template 一覧」は 情報が古くなっている可能性があります。最新版(英語)も合わせてご覧ください。最新に更新してくださる協力者を求めています。 |
要編集
{{Copyedit}} |
|
この記事は翻訳時に編集が必要であるとマークされていました。その為Codex原文が大きく編集されている可能性があります。内容を確認される際は原文を参照していただき、可能であれば本項目へ反映させてください。よりよいCodexを作成するためのお手伝いをお願いします。
|
改名提案
{{Rename}} |
|
注釈
テンプレート | 用途 | 表示例 |
---|---|---|
お知らせ {{Notice}} |
|
お知らせ: このページのノートをご覧ください。 |
募集中
{{募集中}} |
|
|
非推奨
{{非推奨}} |
|
このテンプレートタグは非推奨となりました。後継となる新しいテンプレートタグが作られたか、動作対象外となり、WordPress の将来のバージョンで削除される見込みです。 このタグを使っていた場合は、後継のテンプレートタグがあれば切り替えてください。 |
WordPress ME 向け記述
{{相談中}} |
|
現在相談中の項目があります。
|
ページナビゲーション
ドキュメントの見る順序などをナビゲート
テンプレート | 用途 | 表示例 |
---|---|---|
スタートガイド {{スタートガイド}} |
|
|
テーマ・テンプレートガイド
{{テーマ・テンプレートガイド}} |
|
|
管理画面ガイド
{{管理画面ガイド}} |
|
|
各テンプレートタグページのフッタ
通常は原文(英語版 Codex)に埋め込まれているので、自分で挿入する必要はありません。原文にないページを作成するときは、用途に合わせて挿入してください。
テンプレートタグ新分類用:
テンプレート | 用途 | 表示例 |
---|---|---|
一覧出力テンプレートタグ |
リスト・ドロップダウン関数: wp_list_authors(), wp_list_categories(), wp_list_pages(), wp_list_bookmarks(), wp_list_comments(), wp_get_archives(), wp_page_menu(), wp_dropdown_pages(), wp_dropdown_categories(), wp_dropdown_users() | |
ログインテンプレートタグ用 {{Login Tags}} |
ログインタグ: is_user_logged_in, wp_login_url, wp_logout_url, wp_lostpassword_url, wp_logout, wp_loginout, wp_register |
インクルードタグ・条件分岐タグ:
テンプレート | 用途 | 表示例 |
---|---|---|
インクルードタグ |
インクルードタグ: get_header(), get_footer(), get_sidebar(), get_template_part(), get_search_form(), comments_template() | |
条件分岐タグ {{Conditional Tags}} |
条件分岐タグ:
is_404(), is_admin(), is_admin_bar_showing(), is_archive(), is_attachment(), is_author(), is_category(), is_comments_popup(), is_date(), is_day(), is_feed(), is_front_page(), is_home(), is_local_attachment(), is_main_query, /is_multi_author, is_month(), is_new_day(), is_page(), is_page_template(), is_paged(), is_plugin_active(), is_plugin_active_for_network() /en, is_plugin_inactive() /en, is_plugin_page() /en, is_post_type_archive(), is_preview() /en, is_search(), is_single(), is_singular(), is_sticky(), is_tag(), is_tax(), is_taxonomy_hierarchical(), is_time(), is_trackback(), is_year(), in_category(), in_the_loop(), is_active_sidebar(), is_active_widget(), is_blog_installed() /en, is_rtl(), is_dynamic_sidebar(), is_user_logged_in(), has_excerpt(), has_post_thumbnail(), has_tag(), pings_open(), email_exists(), post_type_exists(), taxonomy_exists(), term_exists(), username_exists() /en, wp_attachment_is_image(), wp_script_is()
|
テーマ:
テンプレート | 用途 | 表示例 |
---|---|---|
インクルードタグ |
テーマサポート:
add_theme_support(),
remove_theme_support(),
current_theme_supports()
| |
Theme Modification API の関数 {{Theme Mod Tags}} |
set_theme_mod(),
get_theme_mod(), get_theme_mods(), remove_theme_mod(), remove_theme_mods()
|
各関数ページのフッタ
API:
テンプレート | 用途 | 表示例 |
---|---|---|
ショートコード関数 |
ショートコード: do_shortcode(), add_shortcode(), remove_shortcode(), remove_all_shortcodes(), shortcode_atts(), strip_shortcodes(), shortcode_exists(), has_shortcode(), get_shortcode_regex(), wp_audio_shortcode(), wp_video_shortcode(), フィルター no_texturize_shortcodes /en | |
ウィジェット関数 {{Widget Tags}} |
ウィジェット API:
is_active_widget(), the_widget(), register_widget(), unregister_widget() / en, wp_register_widget_control() / en, wp_unregister_widget_control() / en, wp_convert_widget_settings() / en, wp_get_widget_defaults() / en, wp_widget_description() / en
| |
アクション関数 {{Action Tags}} |
アクション:
has_action(), add_action(), do_action(), do_action_ref_array(), did_action(), remove_action(), remove_all_actions()
| |
フィルター関数 {{Filter Tags}} |
フィルター:
has_filter(), add_filter(), apply_filters(), current_filter(), remove_filter(), remove_all_filters()
| |
設定関数 {{Setting Tags}} |
Settings API:
register_setting(), unregister_setting(), add_settings_field(), add_settings_section(), add_settings_error(), get_settings_errors(), settings_errors(), settings_fields(), do_settings_sections(), do_settings_fields()
|
その他の一般関数:
テンプレート | 用途 | 表示例 |
---|---|---|
管理メニュー関数 {{Admin Menu Tags}} |
管理メニュー: add_menu_page(), remove_menu_page(), add_submenu_page() /en, remove_submenu_page() /en, add_dashboard_page() /en, add_posts_page() /en, add_media_page() /en, add_links_page() /en, add_pages_page() /en, add_comments_page() /en, add_theme_page() /en, add_plugins_page() /en, add_users_page() /en, add_management_page() /en, add_options_page() | |
オプション関数 {{Option Tags}} |
Options API:
add_option() /en, add_site_option() /en, delete_option() /en, delete_site_option() /en, form_option() /en, get_site_option() /en, get_site_url(), get_user_option() /en, get_option() /en, update_option() /en, update_site_option() /en, update_user_option() /en, wp_load_alloptions() /en
| |
ターム関数 {{Term Tags}} |
タームタグ:
is_term(), term_exists(), get_objects_in_term(), get_term(), get_term_by(), get_term_children(), get_term_link(), get_terms(), get_the_terms(), get_the_term_list(), has_term(), sanitize_term(), the_terms(), get_object_taxonomies() is_object_in_taxonomy() the_taxonomies() wp_get_object_terms(), wp_set_object_terms(), wp_get_post_terms(), wp_set_post_terms(), wp_delete_object_term_relationships()
| |
タクソノミー関数 {{Taxonomy Tags}} |
カスタム分類:
get_taxonomy(), taxonomy_exists(), register_taxonomy(), get_taxonomies(), the_taxonomies(), get_taxonomy_labels(), get_taxonomy_template(), is_object_in_taxonomy(), get_the_taxonomies(), get_post_taxonomies(), get_object_taxonomies(), is_taxonomy_hierarchical()
| |
無害化用の関数 |
サニタイズ関数: sanitize_email(), sanitize_file_name(), sanitize_html_class(), sanitize_key(), sanitize_meta(), sanitize_mime_type(), sanitize_option(), sanitize_sql_orderby(), sanitize_post_field(), sanitize_text_field(), sanitize_title(), sanitize_title_for_query(), sanitize_title_with_dashes(), sanitize_user() | |
メール送信用の関数 {{Email Tags}} |
|
各テンプレートページのフッタ
テンプレート | 用途 | 表示例 |
---|---|---|
テーマ・テンプレート |
テンプレート階層:
カテゴリーテンプレート, タグテンプレート, タクソノミーテンプレート, ページテンプレート, 投稿タイプテンプレート, 投稿者テンプレート, 日付テンプレート, 検索テンプレート, 404 テンプレート, 添付ファイルテンプレート, ループテンプレート /en
|
外部リンク
テンプレート | 用途 | 表示例 |
---|---|---|
Codex 原文へのリンク {{原文}} |
|
|
他のテンプレートタグサイトへのリンク {{TagLink}} |
|
原文 |
ソースコードへのリンク {{BrowseSource}} |
|
readme.html
|
共用コンテンツ
コンテンツの部品としてテンプレート化し、他の複数ページ内に挿入するページ。
- サーバー要件
- Template:CurrentVersion -- WordPress オリジナル版のバージョン情報等
- Template:CurrentVersionJa -- WordPress 日本語版のバージョン情報等
- Template:CurrentVersionME -- WordPress ME 2.0.x のバージョン情報等
- Template:CurrentVersionMU -- WordPress MU のバージョン情報等
- Template:Versions -- バージョン一覧ページへのリンクを表示
- Template:インストール・アップグレード情報 -- リリースノートの「Installation/Upgrade Information」セクションを日本語向け表記に置き換える
- Template:ローカライズ関連リンク
警告: 既定のソートキー「Templateいちらん」が、その前に書かれている既定のソートキー「かんりかめん」を上書きしています。