{"id":413,"date":"2026-08-15T22:08:31","date_gmt":"2026-08-15T13:08:31","guid":{"rendered":"https:\/\/wptoolslab.com\/query-lab\/?post_type=wpq_glossary&amp;p=413"},"modified":"2026-11-04T19:59:52","modified_gmt":"2026-11-04T10:59:52","slug":"field","status":"publish","type":"wpq_glossary","link":"https:\/\/wptoolslab.com\/query-lab\/glossary\/field\/","title":{"rendered":"field"},"content":{"rendered":"<section class=\"conclusion wpq-conclusion\"><h2 class=\"wpq-conclusion__title\">\u307e\u305a\u7d50\u8ad6<\/h2><p>`field` \u306f\u3001WP_Query \u306e `tax_query` \u306e\u4e2d\u3067\u3001`terms` \u306b\u5165\u308c\u305f\u5024\u3092\u4f55\u3068\u3057\u3066\u6271\u3046\u304b\u3092\u6307\u5b9a\u3059\u308b\u9805\u76ee\u3067\u3059\u3002\u30b9\u30e9\u30c3\u30b0\u3067\u6307\u5b9a\u3059\u308b\u306a\u3089 `field => \u2018slug\u2019`\u3001\u30bf\u30fc\u30e0ID\u3067\u6307\u5b9a\u3059\u308b\u306a\u3089 `field => \u2018term_id\u2019` \u306e\u3088\u3046\u306b\u66f8\u304d\u307e\u3059\u3002<\/p>\n<\/section>\n<p>`field` \u306f\u3001\u30ab\u30c6\u30b4\u30ea\u30fc\u3001\u30bf\u30b0\u3001\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306a\u3069\u306e\u5206\u985e\u6761\u4ef6\u3092\u4f5c\u308b\u6642\u306b\u51fa\u3066\u304f\u308b\u9805\u76ee\u3067\u3059\u3002`taxonomy` \u304c\u300c\u3069\u306e\u5206\u985e\u3092\u898b\u308b\u304b\u300d\u3092\u6c7a\u3081\u3001`terms` \u304c\u300c\u3069\u306e\u5206\u985e\u9805\u76ee\u3092\u898b\u308b\u304b\u300d\u3092\u6c7a\u3081\u308b\u306e\u306b\u5bfe\u3057\u3066\u3001`field` \u306f\u300c\u305d\u306e terms \u306e\u5024\u3092\u3069\u3046\u8aad\u3080\u304b\u300d\u3092\u6c7a\u3081\u307e\u3059\u3002<\/p>\n<p>\u521d\u5fc3\u8005\u304c\u3064\u307e\u305a\u304d\u3084\u3059\u3044\u306e\u306f\u3001`field` \u3068 `terms` \u306e\u5bfe\u5fdc\u3067\u3059\u3002`field` \u306b `slug` \u3092\u6307\u5b9a\u3057\u305f\u306a\u3089\u3001`terms` \u306b\u306f\u30bf\u30fc\u30e0\u30b9\u30e9\u30c3\u30b0\u3092\u5165\u308c\u307e\u3059\u3002`field` \u306b `term_id` \u3092\u6307\u5b9a\u3057\u305f\u306a\u3089\u3001`terms` \u306b\u306f\u30bf\u30fc\u30e0ID\u3092\u5165\u308c\u307e\u3059\u3002<\/p>\n<h2 id=\"what-is-field\" 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\">field \u306f\u4f55\u3092\u6307\u5b9a\u3059\u308b\u9805\u76ee\u304b<\/span><\/h2>\n<p>`field` \u306f\u3001`tax_query` \u306e\u4e2d\u3067\u3001`terms` \u306e\u5024\u3092\u3069\u306e\u7a2e\u985e\u306e\u5024\u3068\u3057\u3066\u6271\u3046\u304b\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u5206\u985e\u6761\u4ef6\u3067\u306f\u3001\u540c\u3058\u30bf\u30fc\u30e0\u3092\u30b9\u30e9\u30c3\u30b0\u3001ID\u3001\u540d\u524d\u306a\u3069\u8907\u6570\u306e\u5f62\u3067\u8868\u305b\u308b\u305f\u3081\u3001\u3069\u306e\u5f62\u3067\u6307\u5b9a\u3057\u3066\u3044\u308b\u306e\u304b\u3092\u660e\u78ba\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001\u30ab\u30c6\u30b4\u30ea\u30fc\u300c\u30cb\u30e5\u30fc\u30b9\u300d\u306e\u30b9\u30e9\u30c3\u30b0\u304c `news` \u3067\u3001\u30bf\u30fc\u30e0ID\u304c `12` \u3060\u3068\u3057\u307e\u3059\u3002`terms` \u306b `news` \u3092\u5165\u308c\u308b\u306a\u3089 `field` \u306f `slug`\u3001`terms` \u306b `12` \u3092\u5165\u308c\u308b\u306a\u3089 `field` \u306f `term_id` \u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u5927\u4e8b\u306a\u306e\u306f\u3001`field` \u306f\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u540d\u305d\u306e\u3082\u306e\u3092\u6307\u5b9a\u3059\u308b\u9805\u76ee\u3067\u306f\u306a\u3044\u3053\u3068\u3067\u3059\u3002\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u540d\u306f `taxonomy` \u306b\u5165\u308c\u307e\u3059\u3002`field` \u306f\u3001\u305d\u306e\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306e\u4e2d\u306b\u3042\u308b\u30bf\u30fc\u30e0\u3092\u3069\u3046\u6307\u5b9a\u3057\u3066\u3044\u308b\u304b\u3092\u8868\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001`field` \u3060\u3051\u3092\u898b\u3066\u3082\u6761\u4ef6\u5168\u4f53\u306f\u5206\u304b\u308a\u307e\u305b\u3093\u3002`taxonomy`\u3001`field`\u3001`terms` \u3092\u30bb\u30c3\u30c8\u3067\u8aad\u3080\u5fc5\u8981\u304c\u3042\u308a\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: field \u306e\u5024 \/ terms \u306b\u5165\u308c\u308b\u3082\u306e \/ \u4f8b\"><table class=\"article-table table-priority wpq-article-table\"><thead><tr><th>field \u306e\u5024<\/th><th>terms \u306b\u5165\u308c\u308b\u3082\u306e<\/th><th>\u4f8b<\/th><\/tr><\/thead><tbody><tr><td><code>slug<\/code><\/td><td>\u30bf\u30fc\u30e0\u30b9\u30e9\u30c3\u30b0<\/td><td><code>news<\/code>\u3001<code>wordpress<\/code>\u3001<code>event<\/code><\/td><\/tr><tr><td><code>term_id<\/code><\/td><td>\u30bf\u30fc\u30e0ID<\/td><td><code>12<\/code>\u3001<code>34<\/code>\u3001<code>56<\/code><\/td><\/tr><tr><td><code>name<\/code><\/td><td>\u30bf\u30fc\u30e0\u540d<\/td><td><code>\u30cb\u30e5\u30fc\u30b9<\/code>\u3001<code>WordPress<\/code>\u3001<code>\u30a4\u30d9\u30f3\u30c8<\/code><\/td><\/tr><tr><td><code>term_taxonomy_id<\/code><\/td><td>term taxonomy ID<\/td><td>\u7279\u6b8a\u306a\u8b58\u5225\u5b50\u3092\u4f7f\u3046\u5834\u5408<\/td><\/tr><\/tbody><\/table><\/div><\/div>\n<h2 id=\"taxonomy-terms-difference\" 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\">taxonomy\u3001field\u3001terms \u306e\u9055\u3044<\/span><\/h2>\n<p>`tax_query` \u3067\u306f\u3001`taxonomy`\u3001`field`\u3001`terms` \u304c\u3088\u304f\u4e00\u7dd2\u306b\u51fa\u3066\u304d\u307e\u3059\u3002\u305d\u308c\u305e\u308c\u5f79\u5272\u304c\u9055\u3046\u305f\u3081\u3001\u5206\u3051\u3066\u7406\u89e3\u3059\u308b\u3068\u8aad\u307f\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>`taxonomy` \u306f\u5206\u985e\u306e\u7a2e\u985e\u3067\u3059\u3002`field` \u306f\u30bf\u30fc\u30e0\u306e\u6307\u5b9a\u65b9\u6cd5\u3067\u3059\u3002`terms` \u306f\u5b9f\u969b\u306b\u6307\u5b9a\u3059\u308b\u30bf\u30fc\u30e0\u3067\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u300c\u30b8\u30e3\u30f3\u30eb\u304c\u30a4\u30d9\u30f3\u30c8\u306e\u6295\u7a3f\u300d\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408\u3001taxonomy \u306f `genre`\u3001field \u306f `slug`\u3001terms \u306f `event` \u3067\u3059\u3002`genre` \u306f\u5206\u985e\u540d\u3067\u3001`event` \u306f\u5206\u985e\u306e\u4e2d\u306e\u9805\u76ee\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e3\u3064\u3092\u6df7\u540c\u3059\u308b\u3068\u3001`tax_query` \u306f\u6025\u306b\u96e3\u3057\u304f\u898b\u3048\u307e\u3059\u3002\u307e\u305a\u306f\u300c\u5206\u985e\u540d\u300d\u300c\u6307\u5b9a\u65b9\u6cd5\u300d\u300c\u5177\u4f53\u7684\u306a\u5024\u300d\u3068\u5206\u3051\u3066\u8aad\u3080\u3053\u3068\u304c\u5927\u5207\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`field` \u306f\u30bf\u30fc\u30e0\u306e\u6307\u5b9a\u65b9\u6cd5\u3092\u9078\u3076\u9805\u76ee\u3068\u3057\u3066\u6271\u3046\u60f3\u5b9a\u3067\u3059\u3002\u521d\u5fc3\u8005\u5411\u3051\u306b\u306f\u3001`slug` \u3084 `term_id` \u3060\u3051\u3092\u898b\u305b\u308b\u3088\u308a\u3001\u300c\u30b9\u30e9\u30c3\u30b0\u3067\u6307\u5b9a\u300d\u300cID\u3067\u6307\u5b9a\u300d\u306e\u3088\u3046\u306b\u8868\u793a\u3059\u308b\u3068\u5206\u304b\u308a\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070 Builder \u3067\u306f\u3001\u300c\u5206\u985e\u306e\u7a2e\u985e: \u30ab\u30c6\u30b4\u30ea\u30fc\u300d\u300c\u6307\u5b9a\u65b9\u6cd5: \u30b9\u30e9\u30c3\u30b0\u300d\u300c\u30bf\u30fc\u30e0: news\u300d\u306e\u3088\u3046\u306b\u5206\u3051\u3066\u5165\u529b\u3055\u305b\u3001\u5185\u90e8\u3067 `taxonomy`\u3001`field`\u3001`terms` \u306b\u5909\u63db\u3057\u307e\u3059\u3002<\/p>\n<p>\u5165\u529b\u6b04\u306e\u30e9\u30d9\u30eb\u3082\u91cd\u8981\u3067\u3059\u3002`field` \u304c `slug` \u306e\u6642\u306f\u300c\u30bf\u30fc\u30e0\u30b9\u30e9\u30c3\u30b0\u300d\u3001`term_id` \u306e\u6642\u306f\u300c\u30bf\u30fc\u30e0ID\u300d\u3068\u8868\u793a\u3059\u308b\u3068\u3001\u9593\u9055\u3063\u305f\u5024\u3092\u5165\u308c\u306b\u304f\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>`tax_query` \u306e `terms` \u3092\u30bf\u30fc\u30e0ID\u3001\u30b9\u30e9\u30c3\u30b0\u3001\u540d\u524d\u3001`term_taxonomy_id` \u306e\u3069\u308c\u3068\u3057\u3066\u89e3\u91c8\u3059\u308b\u304b\u6307\u5b9a\u3059\u308b\u6642\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>\u6295\u7a3f\u30e1\u30bf\u306e\u30ad\u30fc\u3084\u8fd4\u5374\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u6307\u5b9a\u3059\u308b\u9805\u76ee\u3068\u3057\u3066\u306f\u4f7f\u308f\u305a\u3001\u540c\u540d\u306e\u6982\u5ff5\u3068\u5206\u3051\u307e\u3059\u3002<\/p>\n<p>`field` \u3068 `terms` \u306e\u5b9f\u5024\u304c\u98df\u3044\u9055\u3046\u30680\u4ef6\u306b\u306a\u308b\u305f\u3081\u3001\u30b9\u30e9\u30c3\u30b0\u6587\u5b57\u5217\u3068\u6570\u5024ID\u3092\u53d6\u308a\u9055\u3048\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>`field` \u306f `terms` \u306e\u8aad\u307f\u65b9\u3092\u6c7a\u3081\u308b\u6307\u5b9a\u306a\u306e\u3067\u3001\u5024\u3060\u3051\u3092\u898b\u305a\u300cID\u3068\u3057\u3066\u8aad\u3080\u306e\u304b\u30b9\u30e9\u30c3\u30b0\u3068\u3057\u3066\u8aad\u3080\u306e\u304b\u300d\u3092\u30bb\u30c3\u30c8\u3067\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>\u5bfe\u8c61\u30bf\u30fc\u30e0\u306eID\u30fb\u30b9\u30e9\u30c3\u30b0\u30fb\u540d\u524d\u3092\u53d6\u5f97\u3057\u3001\u540c\u3058\u6295\u7a3f\u96c6\u5408\u3092\u305d\u308c\u305e\u308c\u306e `field` \u6307\u5b9a\u3067\u518d\u73fe\u3067\u304d\u308b\u304b\u6bd4\u8f03\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\/tax-query-filtering\/\"><span class=\"article-thumb wpq-related-link__thumb\"><img decoding=\"async\" alt=\"tax_query\u3068\u306f\uff1f\u30ab\u30c6\u30b4\u30ea\u30fb\u30bf\u30b0\u30fb\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3067\u7d5e\u308a\u8fbc\u3080\u65b9\u6cd5 \u306e\u30b5\u30e0\u30cd\u30a4\u30eb\" src=\"https:\/\/wptoolslab.com\/query-lab\/wp-content\/uploads\/2026\/08\/tax-query-filtering-card-1.png\" loading=\"lazy\" \/><\/span><div class=\"deep-link-copy wpq-related-link__copy\"><small>\u5b9f\u8df5\u8a18\u4e8b\u3067\u78ba\u8a8d<\/small><b>tax_query\u3067\u30ab\u30c6\u30b4\u30ea\u30fc\u30fb\u30bf\u30b0\u30fb\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u7d5e\u308a\u8fbc\u3080<\/b><p>`taxonomy`\u30fb`field`\u30fb`terms` \u3092\u4e00\u3064\u306e `tax_query` \u6761\u4ef6\u3078\u7d44\u307f\u7acb\u3066\u308b\u5b9f\u88c5\u4f8b\u3067\u78ba\u304b\u3081\u3089\u308c\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 Taxonomy Parameters \u3068 WP_Tax_Query \u306e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u3067\u3001`field`\u3001`terms`\u3001`taxonomy` \u306a\u3069\u306e\u69cb\u9020\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>`field` \u306b\u6307\u5b9a\u3067\u304d\u308b\u5024\u3084\u3001`terms` \u306e\u66f8\u304d\u65b9\u3067\u8ff7\u3063\u305f\u6642\u306f\u3001WP_Tax_Query \u306e\u516c\u5f0f\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u3082\u5408\u308f\u305b\u3066\u78ba\u8a8d\u3057\u307e\u3059\u3002`tax_query` \u306f\u914d\u5217\u69cb\u9020\u304c\u8907\u96d1\u306b\u306a\u308a\u3084\u3059\u3044\u305f\u3081\u3001\u516c\u5f0f\u306e\u69cb\u9020\u3092\u898b\u306a\u304c\u3089\u6574\u7406\u3059\u308b\u3053\u3068\u304c\u5927\u5207\u3067\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\">`tax_query` \u3092 WP_Query \u306e\u5f15\u6570\u3068\u3057\u3066\u3069\u3046\u66f8\u304f\u304b\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\/classes\/wp_tax_query\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span class=\"wpq-reference-item__copy\"><strong class=\"wpq-reference-item__title\">WP_Tax_Query<\/strong><span class=\"wpq-reference-item__description\">`field`\u3001`terms`\u3001`operator` \u306a\u3069\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u6761\u4ef6\u306e\u69cb\u9020\u3092\u8a73\u3057\u304f\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>`field` \u306f\u3001`tax_query` \u306e\u4e2d\u3067 `terms` \u306e\u5024\u3092\u30b9\u30e9\u30c3\u30b0\u3001ID\u3001\u540d\u524d\u306a\u3069\u306e\u3069\u308c\u3068\u3057\u3066\u6271\u3046\u304b\u3092\u6307\u5b9a\u3059\u308b\u9805\u76ee\u3067\u3059\u3002`field` \u3068 `terms` \u306e\u5bfe\u5fdc\u304c\u305a\u308c\u308b\u3068\u3001\u6295\u7a3f\u304c\u53d6\u5f97\u3067\u304d\u306a\u3044\u539f\u56e0\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u8ff7\u3063\u305f\u6642\u306f\u3001`taxonomy`\u3001`field`\u3001`terms` \u3092\u5206\u3051\u3066\u78ba\u8a8d\u3057\u307e\u3059\u3002\u307e\u305a1\u3064\u306e\u5206\u985e\u30681\u3064\u306e\u30bf\u30fc\u30e0\u3060\u3051\u3067\u6700\u5c0f\u69cb\u6210\u3092\u4f5c\u308a\u3001\u53d6\u5f97\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u6761\u4ef6\u3092\u5e83\u3052\u308b\u3068\u5b89\u5168\u3067\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>field \u306e\u6700\u7d42\u30c1\u30a7\u30c3\u30af<\/h2><\/div><ul class=\"wpq-checklist\"><li><code>field<\/code> \u306f <code>terms<\/code> \u306e\u5024\u306e\u8aad\u307f\u65b9\u3092\u6307\u5b9a\u3059\u308b\u9805\u76ee\u3060\u3068\u7406\u89e3\u3057\u3066\u3044\u308b<\/li><li><code>taxonomy<\/code> \u306b\u306f\u5206\u985e\u540d\u3001<code>terms<\/code> \u306b\u306f\u5177\u4f53\u7684\u306a\u30bf\u30fc\u30e0\u3092\u5165\u308c\u3066\u3044\u308b<\/li><li><code>field =&gt; &#039;slug&#039;<\/code> \u306a\u3089 <code>terms<\/code> \u306b\u30b9\u30e9\u30c3\u30b0\u3092\u5165\u308c\u3066\u3044\u308b<\/li><li><code>field =&gt; &#039;term_id&#039;<\/code> \u306a\u3089 <code>terms<\/code> \u306bID\u3092\u5165\u308c\u3066\u3044\u308b<\/li><li>\u307e\u305a\u306f1 taxonomy\u30fb1 term \u306e\u6700\u5c0f\u69cb\u6210\u3067\u53d6\u5f97\u3067\u304d\u308b\u304b\u78ba\u8a8d\u3057\u305f<\/li><\/ul><\/section>\n","protected":false},"excerpt":{"rendered":"<p>field \u306f\u3001WP_Query \u306e tax_query \u3067\u3001terms \u306b\u5165\u308c\u305f\u5024\u3092\u30b9\u30e9\u30c3\u30b0\u30fbID\u30fb\u540d\u524d\u306a\u3069\u306e\u3069\u308c\u3068\u3057\u3066\u6271\u3046\u304b\u3092\u6307\u5b9a\u3059\u308b\u9805\u76ee\u3067\u3059\u3002<\/p>\n","protected":false},"author":2,"featured_media":3768,"template":"","meta":{"wpq_kicker":"\u7528\u8a9e\u96c6","wpq_lead":"field \u306f\u3001WP_Query \u306e tax_query \u306e\u4e2d\u3067\u3001terms \u306b\u6307\u5b9a\u3057\u305f\u5024\u3092\u3069\u306e\u7a2e\u985e\u306e\u5024\u3068\u3057\u3066\u89e3\u91c8\u3059\u308b\u304b\u3092\u6c7a\u3081\u308b\u9805\u76ee\u3067\u3059\u3002\u30bf\u30fc\u30e0\u30b9\u30e9\u30c3\u30b0\u3067\u6307\u5b9a\u3059\u308b\u306e\u304b\u3001\u30bf\u30fc\u30e0ID\u3067\u6307\u5b9a\u3059\u308b\u306e\u304b\u3092\u660e\u78ba\u306b\u3059\u308b\u305f\u3081\u306b\u4f7f\u3044\u307e\u3059\u3002","wpq_hero_title_line1":"WP_Query \u30d1\u30e9\u30e1\u30fc\u30bf\u30fc","wpq_hero_title_line2":"field","wpq_hero_title_accent":"field","wpq_hero_thumbnail_alt":"field \u306e\u6982\u8981\u30a4\u30e1\u30fc\u30b8","wpq_hero_summary_mode":"","wpq_hero_summary_label":"","wpq_hero_summary_items":"","wpq_reading_time":"","wpq_updated_label":"","wpq_official_links":"WP_Query Class|https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/\nWP_Tax_Query|https:\/\/developer.wordpress.org\/reference\/classes\/wp_tax_query\/","wpq_update_history":"","wpq_pr_notice":"","footnotes":""},"wpq_glossary_group":[53],"wpq_glossary_attribute":[38,68],"class_list":["post-413","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\/413","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":3,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_glossary\/413\/revisions"}],"predecessor-version":[{"id":4484,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_glossary\/413\/revisions\/4484"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/media\/3768"}],"wp:attachment":[{"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/media?parent=413"}],"wp:term":[{"taxonomy":"wpq_glossary_group","embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_glossary_group?post=413"},{"taxonomy":"wpq_glossary_attribute","embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_glossary_attribute?post=413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}