基本情報
- TYPE作成者アーカイブ
- TEMPLATEauthor.php
- USER ID2
- SLUGgilboa
- USERギルボア サント(2)
タイトル
| get_the_title() |
投稿 3 |
| get_queried_object()->post_title |
|
| get_queried_object()->label |
|
| get_queried_object()->name |
|
| get_the_archive_title() |
投稿者: ギルボア サント |
| get_the_author() |
ギルボア サント |
ユーザーの情報
| $author |
2 |
| get_the_author_meta('user_login') |
ログイン情報のため非公開 |
| get_the_author_meta('user_pass') |
ログイン情報のため非公開 |
| get_the_author_meta('user_nicename') |
gilboa |
| get_the_author_meta('user_email') |
ログイン情報のため非公開 |
| get_the_author_meta('user_url') |
http://www.gundam-unicorn.net/tv/character/24.php |
| get_the_author_meta('user_registered') |
2019-11-20 09:59:11 |
| get_the_author_meta('user_activation_key') |
ログイン情報のため非公開 |
| get_the_author_meta('user_status') |
0 |
| get_the_author_meta('roles') |
Array |
| get_the_author_meta('display_name') |
ギルボア サント |
| get_the_author_meta('nickname') |
GILBOA SANT |
| get_the_author_meta('first_name') |
ギルボア |
| get_the_author_meta('last_name') |
サント |
| get_the_author_meta('description') |
ガランシェール隊のメンバー。人懐っこい面相を持った、三児の父。 |
| get_the_author_meta('jabber') |
|
| get_the_author_meta('aim') |
|
| get_the_author_meta('yim') |
|
| get_the_author_meta('googleplus') |
|
| get_the_author_meta('twitter') |
|
| get_the_author_meta('user_level') |
2 |
| get_the_author_meta('user_firstname') |
ギルボア |
| get_the_author_meta('user_lastname') |
サント |
| get_the_author_meta('rich_editing') |
true |
| get_the_author_meta('comment_shortcuts') |
false |
| get_the_author_meta('admin_color') |
fresh |
| get_the_author_meta('plugins_per_page') |
|
| get_the_author_meta('plugins_last_view') |
|
| get_the_author_meta('ID') |
2 |
| get_userdata() -> ID |
2 |
| get_userdata() -> user_nicename |
gilboa |
| get_userdata() -> user_email |
920.1q57@gmail.com |
| get_userdata() -> user_url |
http://www.gundam-unicorn.net/tv/character/24.php |
| get_userdata() -> user_registered |
2019-11-20 09:59:11 |
| get_userdata() -> display_name |
ギルボア サント |
| get_userdata() -> first_name |
ギルボア |
| get_userdata() -> last_name |
サント |
| get_userdata() -> nickname |
GILBOA SANT |
| get_userdata() -> 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() |
|
| 投稿ページ |
is_single([$post]) |
is_single() |
|
| is_single(1) |
|
| is_single('post2') |
|
| is_single('投稿 3') |
|
| is_single(array(1, 'post2', '投稿 3')) |
|
| 固定ページ |
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() |
|
| is_page_template('custom-page.php') |
|
| アーカイブページ |
is_archive() |
is_archive() |
1 |
| 作成者ページ |
is_author([$author]) |
is_author() |
1 |
| is_author(2) |
1 |
| is_author('MARIDA CRUZ') |
|
| is_author('suberoa') |
|
| is_author(array(2, 'MARIDA CRUZ', 'mineva')) |
1 |
| 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) |
|
| in_category('category2') |
1 |
| 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() |
0 |
| タクソノミーページ |
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/author.php |
| basename($template) |
author.php |
| basename($template, '.php') |
author |
| $psot |
WP_Post Object
(
[ID] => 106
[post_author] => 2
[post_date] => 2019-11-20 19:03:48
[post_date_gmt] => 2019-11-20 10:03:48
[post_content] =>
[post_title] => 投稿 3
[post_excerpt] =>
[post_status] => publish
[comment_status] => open
[ping_status] => open
[post_password] =>
[post_name] => post3
[to_ping] =>
[pinged] =>
[post_modified] => 2019-12-16 19:02:55
[post_modified_gmt] => 2019-12-16 10:02:55
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://wp.2nd-half.jp/?p=106
[menu_order] => 13
[post_type] => post
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
|
| $author |
2 |
| $authordata |
ログイン情報を含むため非公開
|
| $currentday |
|
| $currentmonth |
|
| $page |
|
| $paged |
0 |
| $pages |
1 |
| $multipage |
|
| $more |
|
| $numpages |
|
関数
| get_the_title() |
投稿 3 |
| get_post_type() |
post |
| get_queried_object() |
ログイン情報を含むため非公開
|
| get_query_var('p') |
0 |
| get_query_var('page_id') |
0 |
| get_query_var('name') |
|
| get_query_var('pagename') |
|
| get_query_var('page') |
|
| get_query_var('paged') |
0 |
| get_query_var('cat') |
|
| get_query_var('category_name') |
|
| get_the_category() |
Array
(
[0] => WP_Term Object
(
[term_id] => 3
[name] => カテゴリー 2
[slug] => category2
[term_group] => 0
[term_taxonomy_id] => 3
[taxonomy] => category
[description] =>
[parent] => 0
[count] => 1
[filter] => raw
[term_order] => 2
[cat_ID] => 3
[category_count] => 1
[category_description] =>
[cat_name] => カテゴリー 2
[category_nicename] => category2
[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/author.php |
| __DIR__ |
/virtual/hyper920/public_html/wp.2nd-half.jp/wp/wp-content/themes/hyper920 |
| __LINE__ |
72 |
| __FUNCTION__ |
|
| __METHOD__ |
|
| __CLASS__ |
|
| __TRAIT__ |
|
| __NAMESPACE__ |
|
サーバー変数(PHP)
| $_SERVER['SERVER_NAME'] |
wp.2nd-half.jp |
| $_SERVER['REQUEST_URI'] |
/gilboa/ |
| $_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'] |
43950 |
| $_SERVER['REMOTE_HOST'] |
|
| $_SERVER['HTTP_HOST'] |
wp.2nd-half.jp |
| $_SERVER['HTTP_REFERER'] |
https://wp.2nd-half.jp/?author=2 |
| $_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'] |
1762606145 |
| $_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.