📌  相关文章
📜  wordpress 通过 id 获取帖子 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:08.655000             🧑  作者: Mango

代码示例5
//WordPress: Query a specific post by its post type & ID
//For example, query Case Study with ID #12345


  
/*To determine a post ID, refer to the
URL of the post while editing it:
http://localhost...wp-admin/post.php?post=12345...*/