如果你只想The Content (文章的主编辑器)显示,您可以使用echo get_the_content(the_ID). 如果您想要更多:
首先,你必须get the post data from the database, 使用函数get_post, 或使用WP_query.
然后你就可以output different parts like title, date, content... 访问变量属性,或执行Loop, 取决于您使用的方法。
我建议您检查其他主题代码以了解其工作原理,当然还有The Codex, 这是WordPress文档。基础知识非常简单。