基本情報
- TYPE投稿
- TEMPLATEcustom-single.php
- POST ID104
- SLUGpost2
- POST USERスベロア ジンネマン(4)
タイトル
| get_the_title() |
投稿 2(カスタム) |
| get_queried_object()->post_title |
投稿 2(カスタム) |
| get_queried_object()->label |
|
| get_queried_object()->name |
|
| get_the_archive_title() |
アーカイブ |
| get_the_author() |
スベロア ジンネマン |
投稿ユーザーの情報
| $author |
|
| get_the_author_meta('user_login', 4) |
ログイン情報のため非公開 |
| get_the_author_meta('user_pass', 4) |
ログイン情報のため非公開 |
| get_the_author_meta('user_nicename', 4) |
suberoa |
| get_the_author_meta('user_email', 4) |
ログイン情報のため非公開 |
| get_the_author_meta('user_url', 4) |
http://www.gundam-unicorn.net/tv/character/11.php |
| get_the_author_meta('user_registered', 4) |
2019-11-27 03:51:59 |
| get_the_author_meta('user_activation_key', 4) |
ログイン情報のため非公開 |
| get_the_author_meta('user_status', 4) |
0 |
| get_the_author_meta('roles', 4) |
Array |
| get_the_author_meta('display_name', 4) |
スベロア ジンネマン |
| get_the_author_meta('nickname', 4) |
SUBEROA ZINNERMAN |
| get_the_author_meta('first_name', 4) |
スベロア |
| get_the_author_meta('last_name', 4) |
ジンネマン |
| get_the_author_meta('description', 4) |
『袖付き』のメンバー。実力派の行動部隊であるガランシェール隊の隊長であり、偽装貨物船《ガランシェール》の船長。通称、キャプテン。 |
| get_the_author_meta('jabber', 4) |
|
| get_the_author_meta('aim', 4) |
|
| get_the_author_meta('yim', 4) |
|
| get_the_author_meta('googleplus', 4) |
|
| get_the_author_meta('twitter', 4) |
|
| get_the_author_meta('user_level', 4) |
2 |
| get_the_author_meta('user_firstname', 4) |
スベロア |
| get_the_author_meta('user_lastname', 4) |
ジンネマン |
| get_the_author_meta('rich_editing', 4) |
true |
| get_the_author_meta('comment_shortcuts', 4) |
false |
| get_the_author_meta('admin_color', 4) |
fresh |
| get_the_author_meta('plugins_per_page', 4) |
|
| get_the_author_meta('plugins_last_view', 4) |
|
| get_the_author_meta('ID', 4) |
4 |
| get_userdata(4) -> ID |
4 |
| get_userdata(4) -> user_nicename |
suberoa |
| get_userdata(4) -> user_email |
hyper.920@outlook.jp |
| get_userdata(4) -> user_url |
http://www.gundam-unicorn.net/tv/character/11.php |
| get_userdata(4) -> user_registered |
2019-11-27 03:51:59 |
| get_userdata(4) -> display_name |
スベロア ジンネマン |
| get_userdata(4) -> first_name |
スベロア |
| get_userdata(4) -> last_name |
ジンネマン |
| get_userdata(4) -> nickname |
SUBEROA ZINNERMAN |
| get_userdata(4) -> description |
『袖付き』のメンバー。実力派の行動部隊であるガランシェール隊の隊長であり、偽装貨物船《ガランシェール》の船長。通称、キャプテン。 |
条件分岐タグ
| タグ |
パラメータ |
戻り値 |
| ログイン状態 |
is_user_logged_in() |
is_user_logged_in() |
|
| フロントページ |
is_front_page() |
is_front_page() |
|
| メインページ |
is_home() |
is_home() |
|
| 検索結果ページ |
is_search() |
is_search() |
|
| 404ページ |
is_404() |
is_404() |
|
| シングルページ |
is_singular([$post_types]) |
is_singular() |
1 |
| 投稿ページ |
is_single([$post]) |
is_single() |
1 |
| is_single(1) |
|
| is_single('post2') |
1 |
| is_single('投稿 3') |
|
| is_single(array(1, 'post2', '投稿 3')) |
1 |
| 固定ページ |
is_page([$page]) |
is_page() |
|
| is_page(92) |
|
| is_page('custom_page') |
|
| is_page('固定ページ 3') |
|
| is_page(array(2, 'page_3', 'ホーム(フロントページ)')) |
|
| is_paged() |
is_paged() |
|
| is_page_template([$template]) |
is_page_template() |
1 |
| is_page_template('custom-page.php') |
|
| アーカイブページ |
is_archive() |
is_archive() |
|
| 作成者ページ |
is_author([$author]) |
is_author() |
|
| is_author(2) |
|
| is_author('MARIDA CRUZ') |
|
| is_author('suberoa') |
|
| is_author(array(2, 'MARIDA CRUZ', 'mineva')) |
|
| is_multi_author() |
is_multi_author() |
1 |
| カテゴリーページ |
is_category([$category]) |
is_category() |
|
| is_category(1) |
|
| is_category('category2') |
|
| is_category('カテゴリー 3') |
|
| is_category(array(1, 'category2')) |
|
| in_category($category[, $_post]) |
in_category(1) |
1 |
| in_category('category2') |
|
| in_category('カテゴリー 3') |
|
| in_category(array(1, 'category2')) |
1 |
| タグページ |
is_tag([$tag]) |
is_tag() |
|
| 日付別ページ |
is_date() |
is_date() |
|
| is_year() |
is_year() |
|
| is_month() |
is_month() |
|
| is_time() |
is_time() |
|
| is_new_day() |
is_new_day() |
1 |
| タクソノミーページ |
is_tax([$taxonomy], [$term]) |
is_tax() |
|
| has_term([$term], $taxonomy, [$post]) |
has_term() |
|
| term_exists($term, [$taxonomy], [$parent]) |
term_exists($term) |
|
| is_taxonomy_hierarchical($taxonomy) |
is_taxonomy_hierarchical($taxonomy) |
|
| taxonomy_exists($taxonomy) |
taxonomy_exists($taxonomy) |
|
| 抜粋あり |
has_excerpt([$id]) |
has_excerpt() |
|
| タグのある投稿 |
has_tag([$tag], [$post]) |
has_tag() |
|
| 階層を持つ投稿タイプ |
is_post_type_hierarchical($post_type) |
is_post_type_hierarchical($post_type) |
|
| 投稿タイプアーカイブ |
is_post_type_archive([$post_types]) |
is_post_type_archive() |
|
グローバル変数
| $template |
/virtual/hyper920/public_html/wp.2nd-half.jp/wp/wp-content/themes/hyper920/custom-single.php |
| basename($template) |
custom-single.php |
| basename($template, '.php') |
custom-single |
| $psot |
WP_Post Object
(
[ID] => 104
[post_author] => 4
[post_date] => 2019-11-20 19:02:25
[post_date_gmt] => 2019-11-20 10:02:25
[post_content] =>
[post_title] => 投稿 2(カスタム)
[post_excerpt] =>
[post_status] => publish
[comment_status] => open
[ping_status] => open
[post_password] =>
[post_name] => post2
[to_ping] =>
[pinged] =>
[post_modified] => 2019-12-20 10:34:41
[post_modified_gmt] => 2019-12-20 01:34:41
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://wp.2nd-half.jp/?p=104
[menu_order] => 14
[post_type] => post
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
|
| $author |
|
| $authordata |
ログイン情報を含むため非公開
|
| $currentday |
20.11.19 |
| $currentmonth |
11 |
| $page |
1 |
| $paged |
0 |
| $pages |
Array
(
[0] =>
)
1 |
| $multipage |
0 |
| $more |
1 |
| $numpages |
1 |
関数
| get_the_title() |
投稿 2(カスタム) |
| get_post_type() |
post |
| get_queried_object() |
WP_Post Object
(
[ID] => 104
[post_author] => 4
[post_date] => 2019-11-20 19:02:25
[post_date_gmt] => 2019-11-20 10:02:25
[post_content] =>
[post_title] => 投稿 2(カスタム)
[post_excerpt] =>
[post_status] => publish
[comment_status] => open
[ping_status] => open
[post_password] =>
[post_name] => post2
[to_ping] =>
[pinged] =>
[post_modified] => 2019-12-20 10:34:41
[post_modified_gmt] => 2019-12-20 01:34:41
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://wp.2nd-half.jp/?p=104
[menu_order] => 14
[post_type] => post
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
|
| get_query_var('p') |
104 |
| get_query_var('page_id') |
0 |
| get_query_var('name') |
|
| get_query_var('pagename') |
|
| get_query_var('page') |
0 |
| get_query_var('paged') |
0 |
| get_query_var('cat') |
|
| get_query_var('category_name') |
category1 |
| get_the_category() |
Array
(
[0] => WP_Term Object
(
[term_id] => 1
[name] => カテゴリー 1
[slug] => category1
[term_group] => 0
[term_taxonomy_id] => 1
[taxonomy] => category
[description] =>
[parent] => 0
[count] => 2
[filter] => raw
[term_order] => 3
[cat_ID] => 1
[category_count] => 2
[category_description] =>
[cat_name] => カテゴリー 1
[category_nicename] => category1
[category_parent] => 0
)
)
|
| get_category(1) |
WP_Term Object
(
[term_id] => 1
[name] => カテゴリー 1
[slug] => category1
[term_group] => 0
[term_taxonomy_id] => 1
[taxonomy] => category
[description] =>
[parent] => 0
[count] => 2
[filter] => raw
[term_order] => 3
[cat_ID] => 1
[category_count] => 2
[category_description] =>
[cat_name] => カテゴリー 1
[category_nicename] => category1
[category_parent] => 0
)
|
| get_category_link(1) |
https://wp.2nd-half.jp/category1/ |
マジック定数(PHP)
| __FILE__ |
/virtual/hyper920/public_html/wp.2nd-half.jp/wp/wp-content/themes/hyper920/custom-single.php |
| __DIR__ |
/virtual/hyper920/public_html/wp.2nd-half.jp/wp/wp-content/themes/hyper920 |
| __LINE__ |
78 |
| __FUNCTION__ |
|
| __METHOD__ |
|
| __CLASS__ |
|
| __TRAIT__ |
|
| __NAMESPACE__ |
|
サーバー変数(PHP)
| $_SERVER['SERVER_NAME'] |
wp.2nd-half.jp |
| $_SERVER['REQUEST_URI'] |
/category1/info_104.php |
| $_SERVER['REQUEST_METHOD'] |
GET |
| $_SERVER['DOCUMENT_ROOT'] |
/virtual/hyper920/public_html/wp.2nd-half.jp |
| $_SERVER['SCRIPT_FILENAME'] |
/virtual/hyper920/public_html/wp.2nd-half.jp/index.php |
| $_SERVER['SCRIPT_NAME'] |
/index.php |
| $_SERVER['SERVER_PROTOCOL'] |
HTTP/2.0 |
| $_SERVER['HTTPS'] |
on |
| $_SERVER['QUERY_STRING'] |
|
| $_SERVER['PHP_SELF'] |
/index.php |
| $_SERVER['REMOTE_ADDR'] |
216.73.216.27 |
| $_SERVER['REMOTE_PORT'] |
49028 |
| $_SERVER['REMOTE_HOST'] |
|
| $_SERVER['HTTP_HOST'] |
wp.2nd-half.jp |
| $_SERVER['HTTP_REFERER'] |
|
| $_SERVER['HTTP_USER_AGENT'] |
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| $_SERVER['HTTP_CONNECTION'] |
close |
| $_SERVER['SERVER_SOFTWARE'] |
Apache |
| $_SERVER['REQUEST_TIME'] |
1762587890 |
| $_SERVER['HTTP_ACCEPT'] |
*/* |
| $_SERVER['HTTP_ACCEPT_CHARSET'] |
|
| $_SERVER['HTTP_ACCEPT_ENCODING'] |
gzip, br, zstd, deflate |
| $_SERVER['HTTP_ACCEPT_LANGUAGE'] |
|
| $_SERVER['SERVER_PORT'] |
443 |
| $_SERVER['GATEWAY_INTERFACE'] |
CGI/1.1 |
| $_SERVER['SERVER_ADDR'] |
202.172.28.17 |
| $_SERVER['SERVER_ADMIN'] |
info@coreserver.jp |
| $_SERVER['SERVER_SIGNATURE'] |
|
| $_SERVER['PATH_TRANSLATED'] |
|
| $_SERVER['PHP_AUTH_DIGEST'] |
|
| $_SERVER['PHP_AUTH_USER'] |
|
| $_SERVER['PHP_AUTH_PW'] |
|
| $_SERVER['AUTH_TYPE'] |
|
| $_SERVER['PATH_INFO'] |
|
| $_SERVER['ORIG_PATH_INFO'] |
|
Copyright 2019-2025 920. All Rights Reserved.