云策 WordPress 开发者社区
首页
新闻
主题
插件
REST API
WP CLI
Hooks
云策官网
WordPress 函数文档
首页
/
函数文档
/
搜索:the_post
the_post()
在循环中迭代文章索引。
the_post_password()
显示文章密码。
the_post_thumbnail()
显示文章缩略图。
the_post_navigation()
在适用时显示上一篇/下一篇文章的导航。
the_posts_navigation()
在适用时显示文章分页导航(如“上一页/下一页”链接)。
the_posts_pagination()
在适用时显示分页导航,用于跳转到上一组/下一组文章。
get_the_post_thumbnail()
检索文章缩略图。
the_post_thumbnail_url()
显示文章特色图片的 URL。
get_the_post_navigation()
检索相邻文章的导航链接,当适用时。
get_the_posts_navigation()
返回适用于下一组/上一组文章的导航,当适用时。
get_the_posts_pagination()
在适用时检索到下一组/上一组文章的分页导航。
get_the_post_thumbnail_url()
返回文章特色图片的 URL。
the_post_thumbnail_caption()
显示文章特色图片的标题。
get_the_post_type_description()
检索文章类型归档的描述。
get_the_post_thumbnail_caption()
返回文章特色图像的标题。
_close_comments_for_old_posts()
动态关闭旧文章的评论,无需额外数据库查询。挂钩到 the_posts。
文章分页
1
2
3
下一页