Skip to content

Instantly share code, notes, and snippets.

@guzuri
Created October 3, 2013 10:16
Show Gist options
  • Save guzuri/6807851 to your computer and use it in GitHub Desktop.
Save guzuri/6807851 to your computer and use it in GitHub Desktop.
$post の中身
stdClass Object
(
[ID] => 4025
[post_author] => 2
[post_date] => 2010-04-24 18:07:14
[post_date_gmt] => 2010-04-24 09:07:14
[post_content] => WordPress ではページ毎にテンプレートを用意することが可能...
[post_title] => WordPress のページテンプレートの情報を取得する方法
[post_category] => 0
[post_excerpt] =>
[post_status] => publish
[comment_status] => open
[ping_status] => open
[post_password] =>
[post_name] => wordpress-pagetemplate-meta
[to_ping] =>
[pinged] => "http://animal-taste.com/wordpress-tips/2008/12/1044.html"
[post_modified] => 2010-04-24 18:09:54
[post_modified_gmt] => 2010-04-24 09:09:54
[post_content_filtered] =>
[post_parent] => 0
[guid] => "http://weble.org/?p=4025"
[menu_order] => 0
[post_type] => post
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
//出展: http://weble.org/2010/04/24/wordpress-post-print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment