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

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

代码示例6
//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...*/