LOCAL MENU

基本情報

  • TYPE投稿
  • TEMPLATEsingle.php
  • POST ID218
  • SLUGpost_c3_5
  • POST USERミネバ ザビ(1)

タイトル

get_the_title() 投稿 C3 – 5
get_queried_object()->post_title 投稿 C3 - 5
get_queried_object()->label
get_queried_object()->name
get_the_archive_title() アーカイブ
get_the_author() ミネバ ザビ

投稿ユーザーの情報

$author
get_the_author_meta('user_login', 1) ログイン情報のため非公開
get_the_author_meta('user_pass', 1) ログイン情報のため非公開
get_the_author_meta('user_nicename', 1) mineva
get_the_author_meta('user_email', 1) ログイン情報のため非公開
get_the_author_meta('user_url', 1) http://www.gundam-unicorn.net/tv/character/02.php
get_the_author_meta('user_registered', 1) 2019-11-16 03:05:19
get_the_author_meta('user_activation_key', 1) ログイン情報のため非公開
get_the_author_meta('user_status', 1) 0
get_the_author_meta('roles', 1) Array
get_the_author_meta('display_name', 1) ミネバ ザビ
get_the_author_meta('nickname', 1) MINEVA ZABI
get_the_author_meta('first_name', 1) ミネバ
get_the_author_meta('last_name', 1) ザビ
get_the_author_meta('description', 1) 本編のヒロイン。『袖付き』と呼ばれる反政府組織の重要人物。その正体はかつてのジオン公国の祖ザビ家の末裔、ミネバ・ラオ・ザビその人。『袖付き』とビスト財団による『ラプラスの箱』の取引を止めるために、偽装貨物船《ガランシェール》に密航して〈インダストリアル7〉に潜入する。バナージに助けられ、運命が変わっていく。
get_the_author_meta('jabber', 1)
get_the_author_meta('aim', 1)
get_the_author_meta('yim', 1)
get_the_author_meta('googleplus', 1)
get_the_author_meta('twitter', 1)
get_the_author_meta('user_level', 1) 10
get_the_author_meta('user_firstname', 1) ミネバ
get_the_author_meta('user_lastname', 1) ザビ
get_the_author_meta('rich_editing', 1) true
get_the_author_meta('comment_shortcuts', 1) false
get_the_author_meta('admin_color', 1) fresh
get_the_author_meta('plugins_per_page', 1)
get_the_author_meta('plugins_last_view', 1)
get_the_author_meta('ID', 1) 1
get_userdata(1) -> ID 1
get_userdata(1) -> user_nicename mineva
get_userdata(1) -> user_email 920.hyper@gmail.com
get_userdata(1) -> user_url http://www.gundam-unicorn.net/tv/character/02.php
get_userdata(1) -> user_registered 2019-11-16 03:05:19
get_userdata(1) -> display_name ミネバ ザビ
get_userdata(1) -> first_name ミネバ
get_userdata(1) -> last_name ザビ
get_userdata(1) -> nickname MINEVA ZABI
get_userdata(1) -> description 本編のヒロイン。『袖付き』と呼ばれる反政府組織の重要人物。その正体はかつてのジオン公国の祖ザビ家の末裔、ミネバ・ラオ・ザビその人。『袖付き』とビスト財団による『ラプラスの箱』の取引を止めるために、偽装貨物船《ガランシェール》に密航して〈インダストリアル7〉に潜入する。バナージに助けられ、運命が変わっていく。

条件分岐タグ

タグ パラメータ 戻り値
ログイン状態 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')
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()
作成者ページ 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)
in_category('category2')
in_category('カテゴリー 3') 1
in_category(array(1, 'category2'))
タグページ 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/single.php
basename($template) single.php
basename($template, '.php') single
$psot
WP_Post Object
(
    [ID] => 218
    [post_author] => 1
    [post_date] => 2020-01-30 14:55:08
    [post_date_gmt] => 2020-01-30 05:55:08
    [post_content] => 
    [post_title] => 投稿 C3 - 5
    [post_excerpt] => 
    [post_status] => publish
    [comment_status] => open
    [ping_status] => open
    [post_password] => 
    [post_name] => post_c3_5
    [to_ping] => 
    [pinged] => 
    [post_modified] => 2020-01-30 14:55:08
    [post_modified_gmt] => 2020-01-30 05:55:08
    [post_content_filtered] => 
    [post_parent] => 0
    [guid] => https://wp.2nd-half.jp/?p=218
    [menu_order] => 8
    [post_type] => post
    [post_mime_type] => 
    [comment_count] => 0
    [filter] => raw
)
$author
$authordata ログイン情報を含むため非公開
$currentday 30.01.20
$currentmonth 01
$page 1
$paged 0
$pages Array ( [0] => ) 1
$multipage 0
$more 1
$numpages 1

関数

get_the_title() 投稿 C3 – 5
get_post_type() post
get_queried_object()
WP_Post Object
(
    [ID] => 218
    [post_author] => 1
    [post_date] => 2020-01-30 14:55:08
    [post_date_gmt] => 2020-01-30 05:55:08
    [post_content] => 
    [post_title] => 投稿 C3 - 5
    [post_excerpt] => 
    [post_status] => publish
    [comment_status] => open
    [ping_status] => open
    [post_password] => 
    [post_name] => post_c3_5
    [to_ping] => 
    [pinged] => 
    [post_modified] => 2020-01-30 14:55:08
    [post_modified_gmt] => 2020-01-30 05:55:08
    [post_content_filtered] => 
    [post_parent] => 0
    [guid] => https://wp.2nd-half.jp/?p=218
    [menu_order] => 8
    [post_type] => post
    [post_mime_type] => 
    [comment_count] => 0
    [filter] => raw
)
get_query_var('p') 218
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') category3
get_the_category()
Array
(
    [0] => WP_Term Object
        (
            [term_id] => 4
            [name] => カテゴリー 3
            [slug] => category3
            [term_group] => 0
            [term_taxonomy_id] => 4
            [taxonomy] => category
            [description] => 
            [parent] => 0
            [count] => 12
            [filter] => raw
            [term_order] => 1
            [cat_ID] => 4
            [category_count] => 12
            [category_description] => 
            [cat_name] => カテゴリー 3
            [category_nicename] => category3
            [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/single.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'] /category3/info_218.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'] 37822
$_SERVER['REMOTE_HOST']
$_SERVER['HTTP_HOST'] wp.2nd-half.jp
$_SERVER['HTTP_REFERER'] https://wp.2nd-half.jp/?p=218
$_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'] 1762602166
$_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']