wordpress调用指定ID的页面-get_page()

wordpress可以通过 get_page() 函数,来获得指定ID的页面的内容、标题等信息。

以下是关于页面的其他信息:

ID; // 输出页面的ID

// ID :页面ID号
// post_author :作者ID
// post_date :时间
// post_content :页面内容
// post_title :页面标题
// post_excerpt :页面摘要
// post_status :页面状态(发布,审核,加密等)
// comment_status :评论状态(开启或关闭)
// ping_status :Ping状态(开启或关闭)
// post_password :页面密码
// post_name :页面名称
// post_modified :页面修改时间
// post_parent :页面父级名称
// guid :页面URl地址
// menu_order :排序
// post_type :类型Page
// comment_count :评论数量
?>


已发布

分类

作者:

标签