{"id":231,"date":"2026-08-15T22:08:48","date_gmt":"2026-08-15T13:08:48","guid":{"rendered":"https:\/\/wptoolslab.com\/query-lab\/glossary\/post-status\/"},"modified":"2026-08-29T22:46:08","modified_gmt":"2026-08-29T13:46:08","slug":"post-status","status":"publish","type":"wpq_glossary","link":"https:\/\/wptoolslab.com\/query-lab\/glossary\/post-status\/","title":{"rendered":"post_status"},"content":{"rendered":"<section class=\"conclusion wpq-conclusion\"><h2 class=\"wpq-conclusion__title\">\u307e\u305a\u7d50\u8ad6<\/h2><p>`post_status` \u306f\u3001WP_Query \u3067\u53d6\u5f97\u3059\u308b\u6295\u7a3f\u306e\u72b6\u614b\u3092\u6307\u5b9a\u3059\u308b\u5f15\u6570\u3067\u3059\u3002\u901a\u5e38\u306e\u516c\u958b\u6e08\u307f\u6295\u7a3f\u3060\u3051\u3092\u51fa\u3057\u305f\u3044\u6642\u306f `publish`\u3001\u4e0b\u66f8\u304d\u3092\u78ba\u8a8d\u3057\u305f\u3044\u6642\u306f `draft`\u3001\u975e\u516c\u958b\u6295\u7a3f\u3092\u6271\u3046\u6642\u306f `private`\u3001\u4e88\u7d04\u6295\u7a3f\u3092\u6271\u3046\u6642\u306f `future` \u306e\u3088\u3046\u306b\u3001\u76ee\u7684\u306b\u5408\u308f\u305b\u3066\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<\/section>\n<p>`post_status` \u3092\u7406\u89e3\u3059\u308b\u3068\u3001\u300c\u6295\u7a3f\u30bf\u30a4\u30d7\u306f\u5408\u3063\u3066\u3044\u308b\u306e\u306b\u6295\u7a3f\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u300d\u3068\u3044\u3046\u539f\u56e0\u3092\u5207\u308a\u5206\u3051\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u305f\u3068\u3048\u3070 `post_type` \u304c\u6b63\u3057\u304f\u3066\u3082\u3001\u5bfe\u8c61\u306e\u6295\u7a3f\u304c\u4e0b\u66f8\u304d\u3084\u4e88\u7d04\u6295\u7a3f\u306a\u3089\u3001\u516c\u958b\u6e08\u307f\u3060\u3051\u3092\u53d6\u5f97\u3059\u308b\u30af\u30a8\u30ea\u306b\u306f\u51fa\u3066\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u521d\u5fc3\u8005\u304c\u8ff7\u3044\u3084\u3059\u3044\u306e\u306f\u3001WordPress \u306e\u7ba1\u7406\u753b\u9762\u3067\u306f\u6295\u7a3f\u304c\u898b\u3048\u3066\u3044\u308b\u306e\u306b\u3001\u30d5\u30ed\u30f3\u30c8\u5074\u306e\u4e00\u89a7\u306b\u306f\u51fa\u3066\u3053\u306a\u3044\u30b1\u30fc\u30b9\u3067\u3059\u3002\u3053\u306e\u6642\u306f\u3001\u6295\u7a3f\u30bf\u30a4\u30d7\u3001\u4ef6\u6570\u3001\u7d5e\u308a\u8fbc\u307f\u6761\u4ef6\u3060\u3051\u3067\u306a\u304f\u3001\u6295\u7a3f\u306e\u516c\u958b\u72b6\u614b\u3082\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<h2 id=\"what-is-post-status\" class=\"h-underline section-heading\"><span class=\"section-heading-icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"lightbulb\" aria-hidden=\"true\" focusable=\"false\" class=\"wpq-icon-svg\"\n  xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n \n \n  viewBox=\"0 0 24 24\"\n  fill=\"none\"\n  stroke=\"currentColor\"\n  stroke-width=\"2\"\n  stroke-linecap=\"round\"\n  stroke-linejoin=\"round\"\n>\n  <path d=\"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5\" \/>\n  <path d=\"M9 18h6\" \/>\n  <path d=\"M10 22h4\" \/>\n<\/svg><\/span><span class=\"section-heading-text\">post_status \u306f\u4f55\u3092\u6307\u5b9a\u3059\u308b\u5f15\u6570\u304b<\/span><\/h2>\n<p>`post_status` \u306f\u3001\u6295\u7a3f\u304c\u3069\u306e\u72b6\u614b\u306b\u3042\u308b\u304b\u3092\u6307\u5b9a\u3059\u308b WP_Query \u306e\u5f15\u6570\u3067\u3059\u3002\u516c\u958b\u6e08\u307f\u3001\u4e0b\u66f8\u304d\u3001\u975e\u516c\u958b\u3001\u4e88\u7d04\u6295\u7a3f\u3001\u30b4\u30df\u7bb1\u5185\u306e\u6295\u7a3f\u306a\u3069\u3001WordPress \u306e\u6295\u7a3f\u306b\u306f\u8907\u6570\u306e\u72b6\u614b\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u901a\u5e38\u306e\u30b5\u30a4\u30c8\u8868\u793a\u3067\u4f7f\u3046\u4e00\u89a7\u3067\u306f\u3001\u516c\u958b\u6e08\u307f\u306e\u6295\u7a3f\u3060\u3051\u3092\u51fa\u3059\u3053\u3068\u304c\u591a\u3044\u305f\u3081\u3001`publish` \u3092\u6307\u5b9a\u3059\u308b\u306e\u304c\u57fa\u672c\u3067\u3059\u3002\u7ba1\u7406\u7528\u306e\u78ba\u8a8d\u753b\u9762\u3084\u72ec\u81ea\u306e\u4e00\u89a7\u3067\u306f\u3001\u4e0b\u66f8\u304d\u3084\u4e88\u7d04\u6295\u7a3f\u3082\u542b\u3081\u3066\u53d6\u5f97\u3057\u305f\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u5927\u4e8b\u306a\u306e\u306f\u3001`post_status` \u306f\u300c\u6295\u7a3f\u306e\u7a2e\u985e\u300d\u3067\u306f\u306a\u304f\u300c\u6295\u7a3f\u306e\u72b6\u614b\u300d\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u6295\u7a3f\u306e\u7a2e\u985e\u3092\u6307\u5b9a\u3059\u308b\u306e\u306f `post_type`\u3001\u516c\u958b\u6e08\u307f\u304b\u4e0b\u66f8\u304d\u304b\u3092\u6307\u5b9a\u3059\u308b\u306e\u304c `post_status` \u3067\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u901a\u5e38\u6295\u7a3f\u306e\u516c\u958b\u6e08\u307f\u3060\u3051\u3092\u53d6\u5f97\u3059\u308b\u306a\u3089\u3001`post_type` \u306f `post`\u3001`post_status` \u306f `publish` \u3067\u3059\u3002\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u516c\u958b\u6e08\u307f\u3060\u3051\u3092\u53d6\u5f97\u3059\u308b\u306a\u3089\u3001`post_type` \u306b\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u540d\u3092\u5165\u308c\u3001`post_status` \u306b `publish` \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<div class=\"wpq-table-block\"><p class=\"wpq-table-hint\" aria-hidden=\"true\">\u8868\u306f\u6a2a\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u3067\u304d\u307e\u3059<\/p><div class=\"cause-table table-scroll wpq-table-wrap\" role=\"region\" tabindex=\"0\" aria-label=\"\u8868: \u6307\u5b9a\u5024 \/ \u610f\u5473 \/ \u3088\u304f\u4f7f\u3046\u5834\u9762\"><table class=\"article-table table-priority wpq-article-table\"><thead><tr><th>\u6307\u5b9a\u5024<\/th><th>\u610f\u5473<\/th><th>\u3088\u304f\u4f7f\u3046\u5834\u9762<\/th><\/tr><\/thead><tbody><tr><td><code>publish<\/code><\/td><td>\u516c\u958b\u6e08\u307f<\/td><td>\u901a\u5e38\u306e\u8a18\u4e8b\u4e00\u89a7\u3084\u30d5\u30ed\u30f3\u30c8\u5074\u306e\u4e00\u89a7\u3067\u4f7f\u3046<\/td><\/tr><tr><td><code>draft<\/code><\/td><td>\u4e0b\u66f8\u304d<\/td><td>\u7ba1\u7406\u7528\u306e\u78ba\u8a8d\u3084\u3001\u516c\u958b\u524d\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3057\u305f\u3044\u6642\u306b\u4f7f\u3046<\/td><\/tr><tr><td><code>pending<\/code><\/td><td>\u30ec\u30d3\u30e5\u30fc\u5f85\u3061<\/td><td>\u627f\u8a8d\u30d5\u30ed\u30fc\u306e\u3042\u308b\u30b5\u30a4\u30c8\u3067\u78ba\u8a8d\u3057\u305f\u3044\u6642\u306b\u4f7f\u3046<\/td><\/tr><tr><td><code>future<\/code><\/td><td>\u4e88\u7d04\u6295\u7a3f<\/td><td>\u3053\u308c\u304b\u3089\u516c\u958b\u3055\u308c\u308b\u6295\u7a3f\u3092\u78ba\u8a8d\u3057\u305f\u3044\u6642\u306b\u4f7f\u3046<\/td><\/tr><tr><td><code>private<\/code><\/td><td>\u975e\u516c\u958b<\/td><td>\u6a29\u9650\u306e\u3042\u308b\u30e6\u30fc\u30b6\u30fc\u5411\u3051\u306e\u4e00\u89a7\u3067\u6271\u3046\u6642\u306b\u4f7f\u3046<\/td><\/tr><tr><td><code>trash<\/code><\/td><td>\u30b4\u30df\u7bb1<\/td><td>\u524a\u9664\u6e08\u307f\u6271\u3044\u306e\u6295\u7a3f\u3092\u78ba\u8a8d\u3057\u305f\u3044\u6642\u306b\u4f7f\u3046<\/td><\/tr><tr><td><code>inherit<\/code><\/td><td>\u89aa\u306e\u72b6\u614b\u3092\u7d99\u627f<\/td><td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u3067\u95a2\u4fc2\u3059\u308b\u3053\u3068\u304c\u3042\u308b<\/td><\/tr><tr><td><code>any<\/code><\/td><td>\u8907\u6570\u306e\u72b6\u614b\u3092\u5e83\u304f\u5bfe\u8c61\u306b\u3059\u308b\u6307\u5b9a<\/td><td>\u72b6\u614b\u3092\u307e\u305f\u3044\u3067\u78ba\u8a8d\u3057\u305f\u3044\u6642\u306b\u4f7f\u3046<\/td><\/tr><\/tbody><\/table><\/div><\/div>\n<h2 id=\"similar-terms\" class=\"h-underline section-heading\"><span class=\"section-heading-icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"refresh\" aria-hidden=\"true\" focusable=\"false\" class=\"wpq-icon-svg\"\n  xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n \n \n  viewBox=\"0 0 24 24\"\n  fill=\"none\"\n  stroke=\"currentColor\"\n  stroke-width=\"2\"\n  stroke-linecap=\"round\"\n  stroke-linejoin=\"round\"\n>\n  <path d=\"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8\" \/>\n  <path d=\"M21 3v5h-5\" \/>\n  <path d=\"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16\" \/>\n  <path d=\"M8 16H3v5\" \/>\n<\/svg><\/span><span class=\"section-heading-text\">post_type\u3001post_status\u3001post_password \u3068\u306e\u9055\u3044<\/span><\/h2>\n<p>`post_status` \u3068\u6df7\u540c\u3057\u3084\u3059\u3044\u306e\u304c\u3001`post_type` \u3067\u3059\u3002`post_type` \u306f\u901a\u5e38\u6295\u7a3f\u3001\u56fa\u5b9a\u30da\u30fc\u30b8\u3001\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306a\u3069\u306e\u300c\u7a2e\u985e\u300d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002`post_status` \u306f\u516c\u958b\u6e08\u307f\u3001\u4e0b\u66f8\u304d\u3001\u975e\u516c\u958b\u306a\u3069\u306e\u300c\u72b6\u614b\u300d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3082\u3046\u3072\u3068\u3064\u8fd1\u3044\u3082\u306e\u306b\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u4fdd\u8b77\u306b\u95a2\u4fc2\u3059\u308b\u6761\u4ef6\u304c\u3042\u308a\u307e\u3059\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u4fdd\u8b77\u3055\u308c\u305f\u6295\u7a3f\u306f\u3001\u516c\u958b\u72b6\u614b\u3060\u3051\u3067\u5224\u65ad\u3067\u304d\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u305f\u3081\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066 `has_password` \u3084 `post_password` \u3082\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>`any` \u306b\u3082\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002`any` \u306f\u72b6\u614b\u3092\u5e83\u304f\u5bfe\u8c61\u306b\u3057\u305f\u3044\u6642\u306e\u5019\u88dc\u3067\u3059\u304c\u3001\u901a\u5e38\u306e\u516c\u958b\u4e00\u89a7\u3067\u4f55\u3067\u3082\u53d6\u5f97\u3057\u305f\u3044\u304b\u3089\u3068\u3044\u3063\u3066\u5b89\u6613\u306b\u4f7f\u3046\u6307\u5b9a\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u516c\u958b\u30da\u30fc\u30b8\u3067\u306f\u3001\u539f\u5247\u3068\u3057\u3066\u5fc5\u8981\u306a\u72b6\u614b\u3060\u3051\u3092\u660e\u793a\u3057\u305f\u307b\u3046\u304c\u5b89\u5168\u3067\u3059\u3002<\/p>\n<p>\u7279\u306b\u30d5\u30ed\u30f3\u30c8\u5074\u306b\u51fa\u3059\u4e00\u89a7\u3067\u306f\u3001\u4e0b\u66f8\u304d\u3084\u975e\u516c\u958b\u6295\u7a3f\u3092\u610f\u56f3\u305b\u305a\u8868\u793a\u3057\u306a\u3044\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u72b6\u614b\u3092\u307e\u305f\u3044\u3067\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u7ba1\u7406\u8005\u5411\u3051\u306e\u753b\u9762\u3084\u691c\u8a3c\u7528\u30b3\u30fc\u30c9\u3068\u3057\u3066\u6271\u3046\u307b\u3046\u304c\u5b89\u5168\u3067\u3059\u3002<\/p>\n<h2 id=\"builder\" class=\"h-underline section-heading\"><span class=\"section-heading-icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"builder\" aria-hidden=\"true\" focusable=\"false\" class=\"wpq-icon-svg\"\n  xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n \n \n  viewBox=\"0 0 24 24\"\n  fill=\"none\"\n  stroke=\"currentColor\"\n  stroke-width=\"2\"\n  stroke-linecap=\"round\"\n  stroke-linejoin=\"round\"\n>\n  <path d=\"m18 16 4-4-4-4\" \/>\n  <path d=\"m6 8-4 4 4 4\" \/>\n  <path d=\"m14.5 4-5 16\" \/>\n<\/svg><\/span><span class=\"section-heading-text\">Builder \u3067\u306e\u6271\u3044<\/span><\/h2>\n<p>WP Query Builder \u3067\u306f\u3001`post_status` \u306f\u53d6\u5f97\u5bfe\u8c61\u306e\u5b89\u5168\u6027\u306b\u95a2\u308f\u308b\u57fa\u672c\u6761\u4ef6\u3068\u3057\u3066\u6271\u3046\u60f3\u5b9a\u3067\u3059\u3002\u901a\u5e38\u306e\u516c\u958b\u30da\u30fc\u30b8\u5411\u3051\u306a\u3089 `publish` \u3092\u521d\u671f\u5024\u306b\u3057\u3001\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u3060\u3051 `draft`\u3001`future`\u3001`private` \u306a\u3069\u3092\u9078\u3076\u6d41\u308c\u304c\u5206\u304b\u308a\u3084\u3059\u3044\u3067\u3059\u3002<\/p>\n<p>Builder \u3067 `post_status` \u3092\u9078\u3079\u308b\u3088\u3046\u306b\u3059\u308b\u5834\u5408\u3001\u521d\u5fc3\u8005\u306b\u306f\u300c\u516c\u958b\u6e08\u307f\u3060\u3051\u300d\u300c\u4e0b\u66f8\u304d\u3082\u542b\u3081\u308b\u300d\u300c\u4e88\u7d04\u6295\u7a3f\u3060\u3051\u300d\u306e\u3088\u3046\u306a\u8a00\u8449\u3067\u898b\u305b\u308b\u307b\u3046\u304c\u7406\u89e3\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u5185\u90e8\u7684\u306b\u306f\u3001\u305d\u308c\u305e\u308c `publish`\u3001`draft`\u3001`future` \u306a\u3069\u306e\u5024\u3078\u5bfe\u5fdc\u3055\u305b\u307e\u3059\u3002<\/p>\n<p>Builder \u3067\u8907\u6570\u306e\u72b6\u614b\u3092\u9078\u3079\u308b\u5834\u5408\u3082\u3001\u6700\u521d\u306f `publish` \u3060\u3051\u3067\u7d50\u679c\u304c\u51fa\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u306e\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002\u53d6\u5f97\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u72b6\u614b\u3092\u5e83\u3052\u308b\u3068\u3001\u3069\u306e\u6307\u5b9a\u3067\u7d50\u679c\u304c\u5909\u308f\u3063\u305f\u306e\u304b\u8ffd\u3044\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2 id=\"practical-article\" class=\"h-underline section-heading\"><span class=\"section-heading-icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"search\" aria-hidden=\"true\" focusable=\"false\" class=\"wpq-icon-svg\"\n  xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n \n \n  viewBox=\"0 0 24 24\"\n  fill=\"none\"\n  stroke=\"currentColor\"\n  stroke-width=\"2\"\n  stroke-linecap=\"round\"\n  stroke-linejoin=\"round\"\n>\n  <path d=\"m21 21-4.34-4.34\" \/>\n  <circle cx=\"11\" cy=\"11\" r=\"8\" \/>\n<\/svg><\/span><span class=\"section-heading-text\">\u4f7f\u3044\u3069\u3053\u308d\u30fb\u907f\u3051\u3069\u3053\u308d\u3068\u5b9f\u8df5\u78ba\u8a8d<\/span><\/h2>\n<p>\u516c\u958b\u3001\u4e0b\u66f8\u304d\u3001\u975e\u516c\u958b\u306a\u3069\u3001\u53d6\u5f97\u5bfe\u8c61\u306b\u542b\u3081\u308b\u6295\u7a3f\u72b6\u614b\u3092\u660e\u793a\u3059\u308b\u6642\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>\u6a29\u9650\u78ba\u8a8d\u3092\u7701\u304f\u76ee\u7684\u3067 `any` \u3092\u4f7f\u3063\u305f\u308a\u3001\u95b2\u89a7\u8005\u3078\u898b\u305b\u3066\u3088\u3044\u72b6\u614b\u306e\u5224\u65ad\u3092WP_Query\u3060\u3051\u3078\u4efb\u305b\u305f\u308a\u3057\u307e\u305b\u3093\u3002<\/p>\n<p>\u30ed\u30b0\u30a4\u30f3\u72b6\u614b\u3084\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u3088\u3063\u3066\u8aad\u3081\u308b `post_status` \u304c\u7570\u306a\u308b\u305f\u3081\u3001\u672c\u756a\u3068\u7570\u306a\u308b\u7ba1\u7406\u8005\u30bb\u30c3\u30b7\u30e7\u30f3\u3060\u3051\u3067\u78ba\u8a8d\u3057\u307e\u305b\u3093\u3002<\/p>\n<p>\u7ba1\u7406\u8005\u306b\u306f\u898b\u3048\u308b\u4e0b\u66f8\u304d\u304c\u4e00\u822c\u516c\u958b\u3067\u306f\u898b\u3048\u306a\u3044\u305f\u3081\u3001\u533f\u540d\u95b2\u89a7\u3067\u3082\u540c\u3058\u7d50\u679c\u304b\u3092\u5206\u3051\u3066\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>\u540c\u3058\u5185\u5bb9\u3067\u516c\u958b\u30fb\u4e0b\u66f8\u304d\u30fb\u975e\u516c\u958b\u306e\u6295\u7a3f\u3092\u4f5c\u308a\u3001\u533f\u540d\u5229\u7528\u8005\u3068\u7de8\u96c6\u8005\u306e\u4e21\u65b9\u3067\u53d6\u5f97\u3067\u304d\u305f\u6295\u7a3fID\u3068\u8868\u793a\u53ef\u5426\u3092\u8a18\u9332\u3057\u307e\u3059\u3002<\/p>\n<a class=\"deep-link-card wpq-related-link wpq-related-link--internal\" href=\"https:\/\/wptoolslab.com\/query-lab\/articles\/wp-query-no-posts-checklist\/\"><span class=\"article-thumb wpq-related-link__thumb\"><img decoding=\"async\" alt=\"WP_Query\u3067\u6295\u7a3f\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u539f\u56e0\u3068\u78ba\u8a8d\u30c1\u30a7\u30c3\u30af\u30ea\u30b9\u30c8 \u306e\u30b5\u30e0\u30cd\u30a4\u30eb\" src=\"https:\/\/wptoolslab.com\/query-lab\/wp-content\/uploads\/2026\/08\/wp-query-no-posts-checklist-card-2.png\" loading=\"lazy\" \/><\/span><div class=\"deep-link-copy wpq-related-link__copy\"><small>\u5b9f\u8df5\u8a18\u4e8b\u3067\u78ba\u8a8d<\/small><b>WP_Query\u3067\u6295\u7a3f\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u6642\u306b\u898b\u308b\u30c1\u30a7\u30c3\u30af\u30ea\u30b9\u30c8<\/b><p>\u6295\u7a3f\u304c0\u4ef6\u306e\u6642\u306b\u3001`post_type` \u3068 `post_status` \u304b\u3089\u78ba\u8a8d\u3092\u59cb\u3081\u308b\u5b9f\u8df5\u30c1\u30a7\u30c3\u30af\u30ea\u30b9\u30c8\u3078\u9032\u3081\u307e\u3059\u3002<\/p><span class=\"jump\"><span>\u8a18\u4e8b\u3092\u8aad\u3080 \u2192<\/span><\/span><\/div><\/a>\n<h2 id=\"official-docs\" class=\"h-underline section-heading\"><span class=\"section-heading-icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"book\" aria-hidden=\"true\" focusable=\"false\" class=\"wpq-icon-svg\"\n  xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n \n \n  viewBox=\"0 0 24 24\"\n  fill=\"none\"\n  stroke=\"currentColor\"\n  stroke-width=\"2\"\n  stroke-linecap=\"round\"\n  stroke-linejoin=\"round\"\n>\n  <path d=\"M12 5v16\" \/>\n  <path d=\"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z\" \/>\n<\/svg><\/span><span class=\"section-heading-text\">WordPress\u306e\u4ed5\u69d8\u3067\u78ba\u8a8d\u3059\u308b\u30dd\u30a4\u30f3\u30c8<\/span><\/h2>\n<p>\u516c\u5f0f\u8cc7\u6599\u3067\u306f\u3001WP_Query \u306e `post_status` \u306f Status Parameters \u306e\u4e2d\u3067\u8aac\u660e\u3055\u308c\u3066\u3044\u307e\u3059\u3002`publish`\u3001`pending`\u3001`draft`\u3001`auto-draft`\u3001`future`\u3001`private`\u3001`inherit`\u3001`trash`\u3001`any` \u306a\u3069\u3001\u6307\u5b9a\u3067\u304d\u308b\u5024\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6295\u7a3f\u306e\u73fe\u5728\u306e\u72b6\u614b\u3092\u53d6\u5f97\u3057\u305f\u3044\u5834\u5408\u306f\u3001`get_post_status()` \u306e\u516c\u5f0f\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u72ec\u81ea\u306e\u6295\u7a3f\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u767b\u9332\u3057\u305f\u3044\u5834\u5408\u306f\u3001`register_post_status()` \u3092\u898b\u308b\u3068\u3001WP_Query \u306e\u53d6\u5f97\u6761\u4ef6\u3068\u306f\u5225\u306b\u3001\u30b9\u30c6\u30fc\u30bf\u30b9\u305d\u306e\u3082\u306e\u3092\u767b\u9332\u3059\u308b\u51e6\u7406\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<section class=\"official-docs-card wpq-reference-card wpq-reference-card--official\"><div class=\"official-docs-head\"><span class=\"official-docs-icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"book\" aria-hidden=\"true\" focusable=\"false\" class=\"wpq-icon-svg\"\n  xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n \n \n  viewBox=\"0 0 24 24\"\n  fill=\"none\"\n  stroke=\"currentColor\"\n  stroke-width=\"2\"\n  stroke-linecap=\"round\"\n  stroke-linejoin=\"round\"\n>\n  <path d=\"M12 5v16\" \/>\n  <path d=\"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z\" \/>\n<\/svg><\/span><div><p class=\"eyebrow wpq-eyebrow\">\u516c\u5f0f\u30ea\u30f3\u30af<\/p><h2>\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/h2><\/div><\/div><ul class=\"wpq-reference-list\"><li class=\"wpq-reference-item\"><a class=\"wpq-reference-item__link\" href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span class=\"wpq-reference-item__copy\"><strong class=\"wpq-reference-item__title\">WP_Query Class<\/strong><span class=\"wpq-reference-item__description\">`post_status` \u3067\u6307\u5b9a\u3067\u304d\u308b\u5024\u3068\u3001WP_Query \u306e\u72b6\u614b\u6761\u4ef6\u3092\u78ba\u8a8d\u3057\u305f\u3044\u6642<\/span><\/span><span class=\"wpq-reference-item__hint\" aria-hidden=\"true\"><svg data-wpq-icon=\"external\" aria-hidden=\"true\" focusable=\"false\" class=\"wpq-icon-svg\"\n  xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n \n \n  viewBox=\"0 0 24 24\"\n  fill=\"none\"\n  stroke=\"currentColor\"\n  stroke-width=\"2\"\n  stroke-linecap=\"round\"\n  stroke-linejoin=\"round\"\n>\n  <path d=\"M15 3h6v6\" \/>\n  <path d=\"M10 14 21 3\" \/>\n  <path d=\"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\" \/>\n<\/svg><\/span><\/a><\/li><li class=\"wpq-reference-item\"><a class=\"wpq-reference-item__link\" href=\"https:\/\/developer.wordpress.org\/reference\/functions\/get_post_status\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span class=\"wpq-reference-item__copy\"><strong class=\"wpq-reference-item__title\">get_post_status()<\/strong><span class=\"wpq-reference-item__description\">\u7279\u5b9a\u306e\u6295\u7a3f\u304c\u73fe\u5728\u3069\u306e\u72b6\u614b\u304b\u3092\u53d6\u5f97\u3057\u305f\u3044\u6642<\/span><\/span><span class=\"wpq-reference-item__hint\" aria-hidden=\"true\"><svg data-wpq-icon=\"external\" aria-hidden=\"true\" focusable=\"false\" class=\"wpq-icon-svg\"\n  xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n \n \n  viewBox=\"0 0 24 24\"\n  fill=\"none\"\n  stroke=\"currentColor\"\n  stroke-width=\"2\"\n  stroke-linecap=\"round\"\n  stroke-linejoin=\"round\"\n>\n  <path d=\"M15 3h6v6\" \/>\n  <path d=\"M10 14 21 3\" \/>\n  <path d=\"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\" \/>\n<\/svg><\/span><\/a><\/li><li class=\"wpq-reference-item\"><a class=\"wpq-reference-item__link\" href=\"https:\/\/developer.wordpress.org\/reference\/functions\/register_post_status\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span class=\"wpq-reference-item__copy\"><strong class=\"wpq-reference-item__title\">register_post_status()<\/strong><span class=\"wpq-reference-item__description\">\u72ec\u81ea\u306e\u6295\u7a3f\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u767b\u9332\u3059\u308b\u51e6\u7406\u3092\u78ba\u8a8d\u3057\u305f\u3044\u6642<\/span><\/span><span class=\"wpq-reference-item__hint\" aria-hidden=\"true\"><svg data-wpq-icon=\"external\" aria-hidden=\"true\" focusable=\"false\" class=\"wpq-icon-svg\"\n  xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n \n \n  viewBox=\"0 0 24 24\"\n  fill=\"none\"\n  stroke=\"currentColor\"\n  stroke-width=\"2\"\n  stroke-linecap=\"round\"\n  stroke-linejoin=\"round\"\n>\n  <path d=\"M15 3h6v6\" \/>\n  <path d=\"M10 14 21 3\" \/>\n  <path d=\"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\" \/>\n<\/svg><\/span><\/a><\/li><\/ul><\/section>\n<p>`post_status` \u306f\u3001\u516c\u958b\u30da\u30fc\u30b8\u3067\u610f\u56f3\u3057\u306a\u3044\u6295\u7a3f\u3092\u51fa\u3055\u306a\u3044\u305f\u3081\u306b\u3082\u91cd\u8981\u306a\u5f15\u6570\u3067\u3059\u3002\u901a\u5e38\u306e\u4e00\u89a7\u3067\u306f `publish` \u3092\u57fa\u672c\u306b\u3057\u3001\u4e0b\u66f8\u304d\u3084\u975e\u516c\u958b\u3001\u4e88\u7d04\u6295\u7a3f\u3092\u6271\u3046\u6642\u306f\u3001\u305d\u306e\u753b\u9762\u3092\u8ab0\u304c\u898b\u308b\u306e\u304b\u3092\u5148\u306b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>\u8ff7\u3063\u305f\u6642\u306f\u3001\u307e\u305a `post_type`\u3001`post_status`\u3001`posts_per_page` \u3060\u3051\u306e\u6700\u5c0f\u69cb\u6210\u306b\u623b\u308a\u307e\u3059\u3002\u305d\u3053\u3067\u53d6\u5f97\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u3001\u5206\u985e\u3084\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u6761\u4ef6\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001\u539f\u56e0\u3092\u898b\u5931\u3044\u306b\u304f\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<section class=\"final-checklist wpq-checklist-card wpq-checklist-card--final\"><div class=\"final-checklist-head\"><span class=\"final-checklist-icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"check\" aria-hidden=\"true\" focusable=\"false\" class=\"wpq-icon-svg\"\n  xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n \n \n  viewBox=\"0 0 24 24\"\n  fill=\"none\"\n  stroke=\"currentColor\"\n  stroke-width=\"2\"\n  stroke-linecap=\"round\"\n  stroke-linejoin=\"round\"\n>\n  <path d=\"M20 6 9 17l-5-5\" \/>\n<\/svg><\/span><h2>post_status \u306e\u6700\u7d42\u30c1\u30a7\u30c3\u30af<\/h2><\/div><ul class=\"wpq-checklist\"><li>\u516c\u958b\u30da\u30fc\u30b8\u5411\u3051\u306e\u4e00\u89a7\u3067\u306f <code>publish<\/code> \u3092\u57fa\u672c\u306b\u3057\u3066\u3044\u308b<\/li><li>\u6295\u7a3f\u306e\u7a2e\u985e\u306f <code>post_type<\/code>\u3001\u6295\u7a3f\u306e\u72b6\u614b\u306f <code>post_status<\/code> \u3068\u5206\u3051\u3066\u78ba\u8a8d\u3057\u305f<\/li><li>\u4e0b\u66f8\u304d\u3001\u975e\u516c\u958b\u3001\u4e88\u7d04\u6295\u7a3f\u3092\u542b\u3081\u308b\u5834\u5408\u306f\u8868\u793a\u5bfe\u8c61\u3068\u6a29\u9650\u3092\u78ba\u8a8d\u3057\u305f<\/li><li>\u307e\u305a\u306f <code>post_type<\/code>\u3001<code>post_status<\/code>\u3001<code>posts_per_page<\/code> \u3060\u3051\u306e\u6700\u5c0f\u69cb\u6210\u3067\u78ba\u8a8d\u3057\u305f<\/li><li>\u72b6\u614b\u3092\u5e83\u304f\u62fe\u3046\u305f\u3081\u3060\u3051\u306b <code>any<\/code> \u3092\u5b89\u6613\u306b\u4f7f\u3063\u3066\u3044\u306a\u3044<\/li><\/ul><\/section>\n","protected":false},"excerpt":{"rendered":"<p>post_status \u306f\u3001WP_Query \u3067\u53d6\u5f97\u3059\u308b\u6295\u7a3f\u306e\u516c\u958b\u72b6\u614b\u3092\u6307\u5b9a\u3059\u308b\u5f15\u6570\u3067\u3059\u3002publish\u3001draft\u3001private\u3001future\u3001inherit\u3001any \u306e\u8003\u3048\u65b9\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":2,"featured_media":3729,"template":"","meta":{"wpq_kicker":"\u7528\u8a9e\u96c6","wpq_lead":"post_status \u306f\u3001WP_Query \u3067\u300c\u3069\u306e\u72b6\u614b\u306e\u6295\u7a3f\u3092\u53d6\u5f97\u3059\u308b\u304b\u300d\u3092\u6c7a\u3081\u308b\u5f15\u6570\u3067\u3059\u3002\u901a\u5e38\u306e\u4e00\u89a7\u3067\u306f\u516c\u958b\u6e08\u307f\u306e publish \u3092\u4f7f\u3046\u3053\u3068\u304c\u591a\u304f\u3001\u4e0b\u66f8\u304d\u3001\u975e\u516c\u958b\u3001\u4e88\u7d04\u6295\u7a3f\u3001\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u3092\u6271\u3046\u6642\u306f\u6307\u5b9a\u5024\u306e\u610f\u5473\u3092\u5206\u3051\u3066\u8003\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002","wpq_hero_title_line1":"WP_Query \u30d1\u30e9\u30e1\u30fc\u30bf\u30fc","wpq_hero_title_line2":"post_status","wpq_hero_title_accent":"post_status","wpq_hero_thumbnail_alt":"post_status \u306e\u6982\u8981\u30a4\u30e1\u30fc\u30b8","wpq_hero_summary_mode":"","wpq_hero_summary_label":"","wpq_hero_summary_items":"","wpq_reading_time":"4\u5206\u3067\u8aad\u3081\u307e\u3059","wpq_updated_label":"2026\u5e745\u6708\u6642\u70b9\u3067\u516c\u5f0f\u8cc7\u6599\u3092\u518d\u78ba\u8a8d","wpq_official_links":"WP_Query Class|https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/\nget_post_status()|https:\/\/developer.wordpress.org\/reference\/functions\/get_post_status\/\nregister_post_status()|https:\/\/developer.wordpress.org\/reference\/functions\/register_post_status\/","wpq_update_history":"2026\u5e745\u670826\u65e5|glossary \u7528\u306e\u521d\u56de\u30c9\u30e9\u30d5\u30c8\u3092\u4f5c\u6210","wpq_pr_notice":"","footnotes":""},"wpq_glossary_group":[53],"wpq_glossary_attribute":[38,59],"class_list":["post-231","wpq_glossary","type-wpq_glossary","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_glossary\/231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_glossary"}],"about":[{"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/types\/wpq_glossary"}],"author":[{"embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":1,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_glossary\/231\/revisions"}],"predecessor-version":[{"id":3975,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_glossary\/231\/revisions\/3975"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/media\/3729"}],"wp:attachment":[{"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/media?parent=231"}],"wp:term":[{"taxonomy":"wpq_glossary_group","embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_glossary_group?post=231"},{"taxonomy":"wpq_glossary_attribute","embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_glossary_attribute?post=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}