📜  wp_query post by category id - 任何代码示例

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

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