{"id":4085,"date":"2026-11-02T09:00:00","date_gmt":"2026-11-02T00:00:00","guid":{"rendered":"https:\/\/wptoolslab.com\/query-lab\/?post_type=wpq_article&#038;p=4085"},"modified":"2026-09-14T13:51:32","modified_gmt":"2026-09-14T04:51:32","slug":"wp-query-builder-capabilities-limitations","status":"publish","type":"wpq_article","link":"https:\/\/wptoolslab.com\/query-lab\/articles\/wp-query-builder-capabilities-limitations\/","title":{"rendered":"WP Query Builder\u3068\u306f\uff1f\u3067\u304d\u308b\u3053\u3068\u30fb\u3067\u304d\u306a\u3044\u3053\u3068\u3068\u4f7f\u3044\u3069\u3053\u308d"},"content":{"rendered":"<section class=\"conclusion wpq-conclusion\"><h2 class=\"wpq-conclusion__title\">WP Query Builder\u306f\u53d6\u5f97\u6761\u4ef6\u3092\u4f5c\u308a\u3001\u8a2d\u7f6e\u3068\u8868\u793a\u306fWordPress\u5074\u3067\u78ba\u8a8d\u3059\u308b<\/h2><p>WP Query Builder\u306f\u3001\u9078\u3093\u3060\u6761\u4ef6\u304b\u3089WP_Query\u3078\u6e21\u3059`$args`\u3092\u7d44\u307f\u7acb\u3066\u3001\u30b3\u30fc\u30c9\u3068\u65e5\u672c\u8a9e\u306e\u8aac\u660e\u3092\u4e26\u3079\u3066\u78ba\u8a8d\u3067\u304d\u308b\u7121\u6599\u30c4\u30fc\u30eb\u3067\u3059\u3002\u6295\u7a3f\u30bf\u30a4\u30d7\u30fb\u4ef6\u6570\u30fb\u4e26\u3073\u9806\u304b\u3089Tax \/ Meta \/ Date Query\u307e\u3067\u6271\u3048\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u30b3\u30fc\u30c9\u3092\u7f6e\u304f\u30d5\u30a1\u30a4\u30eb\u3084\u5b9f\u969b\u306e\u6295\u7a3f\u3092\u4f7f\u3063\u305f\u8868\u793a\u7d50\u679c\u307e\u3067\u306f\u81ea\u52d5\u3067\u6c7a\u3081\u307e\u305b\u3093\u3002\u307e\u305a\u306f\u901a\u5e38\u6295\u7a3f\u30923\u4ef6\u53d6\u5f97\u3059\u308b\u6761\u4ef6\u304b\u3089\u8a66\u3059\u3068\u3001\u5165\u529b\u3068\u30b3\u30fc\u30c9\u306e\u5bfe\u5fdc\u304c\u5206\u304b\u308a\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/section>\n<h2 id=\"what-is-builder\" 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\">WP Query Builder\u306f\u6761\u4ef6\u304b\u3089$args\u3092\u4f5c\u308b\u30c4\u30fc\u30eb<\/span><\/h2>\n<p>WP_Query\u3092\u66f8\u304f\u3068\u304d\u306f\u3001\u6295\u7a3f\u30bf\u30a4\u30d7\u3001\u4ef6\u6570\u3001\u7d5e\u308a\u8fbc\u307f\u3001\u4e26\u3073\u9806\u306a\u3069\u3092PHP\u306e\u914d\u5217\u3078\u6b63\u3057\u304f\u4e26\u3079\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u53d6\u5f97\u6761\u4ef6\u3092\u307e\u3068\u3081\u305f\u914d\u5217\u304c`$args`\u3067\u3059\u3002WP Query Builder\u306f\u3001\u753b\u9762\u3067\u9078\u3093\u3060\u5185\u5bb9\u3092`$args`\u3078\u5909\u63db\u3057\u3001\u30b3\u30fc\u30c9\u3068\u65e5\u672c\u8a9e\u306e\u8aac\u660e\u3092\u540c\u6642\u306b\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<p><span class=\"wpq-marker wpq-marker--yellow\">\u30b3\u30fc\u30c9\u3092\u4f5c\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u81ea\u5206\u304c\u8a2d\u5b9a\u3057\u305f\u30af\u30a8\u30ea\u304c\u300c\u3069\u3093\u306a\u6295\u7a3f\u3092\u53d6\u5f97\u3059\u308b\u6761\u4ef6\u306a\u306e\u304b\u300d\u3092\u6587\u7ae0\u3067\u7406\u89e3\u3059\u308b\u305f\u3081\u306b\u3082\u4f7f\u3048\u307e\u3059\u3002<\/span> \u601d\u3044\u63cf\u3044\u305f\u4e00\u89a7\u3068\u65e5\u672c\u8a9e\u306e\u8aac\u660e\u3092\u898b\u6bd4\u3079\u3001\u9055\u3063\u3066\u3044\u305f\u3089\u5165\u529b\u3092\u8abf\u6574\u3059\u308b\u3002\u305d\u3046\u3057\u3066\u5fc5\u8981\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u3001PHP\u306e\u914d\u5217\u3068\u3057\u3066\u7d44\u307f\u7acb\u3066\u3089\u308c\u308b\u306e\u304c\u7279\u5fb4\u3067\u3059\u3002<\/p>\n<p>PC\u3067\u306f\u5de6\u5074\u3067\u6761\u4ef6\u3092\u9078\u3073\u3001\u53f3\u5074\u3067\u30b3\u30fc\u30c9\u3068\u300c\u30af\u30a8\u30ea\u306e\u8aac\u660e\u300d\u3092\u8aad\u307f\u6bd4\u3079\u3089\u308c\u307e\u3059\u3002\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3067\u306f\u753b\u9762\u4e0b\u306e\u300c\u30b3\u30fc\u30c9\u300d\u304b\u3089\u751f\u6210\u7d50\u679c\u3092\u958b\u304d\u307e\u3059\u3002\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u540d\u3092\u899a\u3048\u3066\u3044\u306a\u304f\u3066\u3082\u4f7f\u3044\u59cb\u3081\u3089\u308c\u307e\u3059\u304c\u3001\u751f\u6210\u3055\u308c\u305f\u5185\u5bb9\u304c\u81ea\u5206\u306e\u76ee\u7684\u3068\u5408\u3063\u3066\u3044\u308b\u304b\u306f\u78ba\u304b\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u6b21\u306e\u753b\u9762\u306f\u3001\u8a73\u7d30\u8a2d\u5b9a\u3067\u6295\u7a3f\u30bf\u30a4\u30d7\u3092post\u3001\u516c\u958b\u72b6\u614b\u3092publish\u3001\u53d6\u5f97\u4ef6\u6570\u30923\u306b\u3057\u305f\u4f8b\u3067\u3059\u3002\u5165\u529b\u3068\u51fa\u529b\u3092\u898b\u6bd4\u3079\u3084\u3059\u3044\u3088\u3046\u306b\u300c\u81ea\u52d5\u9ad8\u901f\u5316\u300d\u306f\u30aa\u30d5\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<figure class=\"wpq-screenshot-frame wpq-screenshot-frame--fit-contain\"><span class=\"wpq-screenshot-frame__media\" style=\"--wpq-screenshot-ratio:1344 \/ 1779;\"><img decoding=\"async\" src=\"https:\/\/wptoolslab.com\/query-lab\/wp-content\/uploads\/2026\/09\/wp-query-builder-capabilities-limitations-SC-01.png\" alt=\"\u516c\u958b\u4e2d\u306eWP Query Builder\u3067\u901a\u5e38\u6295\u7a3f\u30fb\u516c\u958b\u6e08\u307f\u30fb3\u4ef6\u3092\u6307\u5b9a\u3057\u305f\u57fa\u672c\u8a2d\u5b9a\" loading=\"lazy\" \/><\/span><figcaption class=\"wpq-screenshot-frame__caption\"><span class=\"wpq-screenshot-frame__eyebrow\">\u516c\u958b\u753b\u9762\u306e\u57fa\u672c\u8a2d\u5b9a<\/span><strong class=\"wpq-screenshot-frame__title\">\u901a\u5e38\u6295\u7a3f\u3092\u6700\u59273\u4ef6\u53d6\u5f97\u3059\u308b\u6761\u4ef6<\/strong><p class=\"wpq-screenshot-frame__caption-text\">\u6295\u7a3f\u30bf\u30a4\u30d7post\u30fb\u516c\u958b\u72b6\u614bpublish\u30fb\u53d6\u5f97\u4ef6\u65703\u3092\u6307\u5b9a\u3002\u81ea\u52d5\u9ad8\u901f\u5316\u306f\u30aa\u30d5\u3067\u3059\u3002<\/p><p class=\"wpq-screenshot-frame__body\">\u53d6\u5f97\u4ef6\u6570\u306e3\u306f\u4e0a\u9650\u3067\u3059\u3002\u6761\u4ef6\u306b\u5408\u3046\u6295\u7a3f\u304c\u5c11\u306a\u3051\u308c\u3070\u3001\u5fc5\u305a3\u4ef6\u8fd4\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p><\/figcaption><\/figure>\n<p>\u540c\u3058\u5165\u529b\u304b\u3089\u3001post_type\u30fbpost_status\u30fbposts_per_page\u306e3\u9805\u76ee\u3092\u6301\u3064$args\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002\u30b3\u30fc\u30c9\u306e\u4e0b\u306b\u306f\u3001\u65e5\u672c\u8a9e\u3067\u6761\u4ef6\u3092\u8aac\u660e\u3059\u308b\u6b04\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<figure class=\"wpq-screenshot-frame wpq-screenshot-frame--fit-contain\"><span class=\"wpq-screenshot-frame__media\" style=\"--wpq-screenshot-ratio:1432 \/ 884;\"><img decoding=\"async\" src=\"https:\/\/wptoolslab.com\/query-lab\/wp-content\/uploads\/2026\/09\/wp-query-builder-capabilities-limitations-SC-02.png\" alt=\"\u901a\u5e38\u6295\u7a3f\u30fb\u516c\u958b\u6e08\u307f\u30fb3\u4ef6\u306b\u5bfe\u5fdc\u3059\u308b\u672a\u7de8\u96c6\u306e\u751f\u6210\u30b3\u30fc\u30c9\" loading=\"lazy\" \/><\/span><figcaption class=\"wpq-screenshot-frame__caption\"><span class=\"wpq-screenshot-frame__eyebrow\">\u540c\u3058\u6761\u4ef6\u306e\u751f\u6210\u7d50\u679c<\/span><strong class=\"wpq-screenshot-frame__title\">\u5165\u529b\u3057\u305f3\u9805\u76ee\u3092\u30b3\u30fc\u30c9\u3067\u78ba\u304b\u3081\u308b<\/strong><p class=\"wpq-screenshot-frame__caption-text\">\u81ea\u52d5\u9ad8\u901f\u5316\u30aa\u30d5\u306e\u672a\u7de8\u96c6\u51fa\u529b\u3002$args\u306e\u914d\u5217\u3060\u3051\u3067\u3001\u8868\u793a\u30eb\u30fc\u30d7\u306f\u542b\u307e\u308c\u307e\u305b\u3093\u3002<\/p><p class=\"wpq-screenshot-frame__body\">\u51fa\u529b\u5bfe\u8c61\u306eWordPress\u30d0\u30fc\u30b8\u30e7\u30f3\u3082\u9078\u3079\u307e\u3059\u304c\u3001\u63a5\u7d9a\u5148\u30b5\u30a4\u30c8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u81ea\u52d5\u3067\u8aad\u307f\u53d6\u308b\u6a5f\u80fd\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p><\/figcaption><\/figure>\n<p>\u65e5\u672c\u8a9e\u306e\u8aac\u660e\u3067\u3082\u300c\u901a\u5e38\u6295\u7a3f\u300d\u300c\u516c\u958b\u6e08\u307f\u300d\u300c3\u4ef6\u300d\u304c\u4e00\u81f4\u3057\u3066\u3044\u307e\u3059\u3002\u5165\u529b\u3092\u5909\u3048\u305f\u3068\u304d\u306f\u3001\u30b3\u30fc\u30c9\u3068\u3042\u308f\u305b\u3066\u3053\u3061\u3089\u3082\u8aad\u307f\u76f4\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<figure class=\"wpq-screenshot-frame wpq-screenshot-frame--fit-contain\"><span class=\"wpq-screenshot-frame__media\" style=\"--wpq-screenshot-ratio:1539 \/ 735;\"><img decoding=\"async\" src=\"https:\/\/wptoolslab.com\/query-lab\/wp-content\/uploads\/2026\/09\/wp-query-builder-capabilities-limitations-SC-03.png\" alt=\"\u901a\u5e38\u6295\u7a3f\u30fb\u516c\u958b\u6e08\u307f\u30fb3\u4ef6\u3068\u81ea\u52d5\u9ad8\u901f\u5316\u30aa\u30d5\u3092\u8aac\u660e\u3059\u308b\u516c\u958b\u753b\u9762\" loading=\"lazy\" \/><\/span><figcaption class=\"wpq-screenshot-frame__caption\"><span class=\"wpq-screenshot-frame__eyebrow\">\u540c\u3058\u6761\u4ef6\u306e\u8aac\u660e<\/span><strong class=\"wpq-screenshot-frame__title\">\u65e5\u672c\u8a9e\u3067\u3082\u76ee\u7684\u3068\u5408\u3063\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b<\/strong><p class=\"wpq-screenshot-frame__caption-text\">\u540c\u3058\u5165\u529b\u304b\u3089\u8868\u793a\u3055\u308c\u305f\u30af\u30a8\u30ea\u306e\u8aac\u660e\u3067\u3059\u3002\u5b9f\u969b\u306e\u6295\u7a3f\u306e\u53d6\u5f97\u7d50\u679c\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p><\/figcaption><\/figure>\n<p>\u3061\u306a\u307f\u306b\u3001\u300c\u3053\u306e\u30af\u30a8\u30ea\u306e\u7269\u8a9e\u300d\u3092\u300c\u904a\u3073\u300d\u306b\u5207\u308a\u66ff\u3048\u308b\u3068\u3001\u30af\u30a8\u30ea\u306e\u8aac\u660e\u304c\u3061\u3087\u3063\u3068\u8a69\u7684\u306a\u7269\u8a9e\u306b\u306a\u308a\u307e\u3059\u3002\u6295\u7a3f\u3092\u63a2\u3059\u306f\u305a\u304c\u3001\u591c\u756a\u306e\u89b3\u6e2c\u54e1\u304c\u8a18\u9332\u3092\u63a2\u3059\u65c5\u306b\u51fa\u308b\u3053\u3068\u3082\uff08\u7b11\uff09\u3002\u3072\u3068\u606f\u3064\u304f\u697d\u3057\u307f\u3068\u3057\u3066\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u6761\u4ef6\u304c\u6b63\u3057\u3044\u304b\u306e\u78ba\u8a8d\u306b\u306f\u300c\u901a\u5e38\u300d\u3092\u4f7f\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n<span class=\"wpq-marker wpq-marker--yellow\">\u53d6\u5f97\u6761\u4ef6\u306e\u751f\u6210\u3068\u3001WordPress\u4e0a\u3067\u306e\u8868\u793a\u78ba\u8a8d\u306f\u5225\u306e\u4f5c\u696d\u3067\u3059\u3002<\/span>\n<p>\u751f\u6210\u3057\u305f\u6761\u4ef6\u306f\u3001\u8868\u793a\u51e6\u7406\u3068\u7d44\u307f\u5408\u308f\u305b\u3001\u672c\u756a\u3068\u5206\u3051\u305fWordPress\u74b0\u5883\u3067\u8a66\u3057\u307e\u3059\u3002\u516c\u958b\u30b5\u30a4\u30c8\u306e\u8907\u88fd\u3092\u4f7f\u3046\u300c\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u300d\u3082\u691c\u8a3c\u74b0\u5883\u306e\u4e00\u3064\u3067\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u4e0a\u306b\u7528\u610f\u3059\u308b\u5834\u5408\u3082\u3001\u672c\u756a\u306e\u30d5\u30a1\u30a4\u30eb\u3084DB\u3068\u5206\u96e2\u3057\u3001\u5909\u66f4\u524d\u3078\u623b\u305b\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n<p>\u751f\u6210\u3057\u305f\u6761\u4ef6\u3092\u8a66\u3059WordPress\u74b0\u5883\u3092\u30b5\u30fc\u30d0\u30fc\u4e0a\u3078\u7528\u610f\u3059\u308b\u306a\u3089\u3001Xserver\u3082\u5019\u88dc\u3067\u3059\u3002\u672c\u756a\u3068\u5206\u96e2\u3057\u3001PHP\u5bfe\u5fdc\u3084\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u6761\u4ef6\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u9078\u3093\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<h2 id=\"what-builder-can-do\" class=\"h-underline section-heading\"><span class=\"section-heading-icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"settings\" 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=\"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915\" \/>\n  <circle cx=\"12\" cy=\"12\" r=\"3\" \/>\n<\/svg><\/span><span class=\"section-heading-text\">WP Query Builder\u3067\u3067\u304d\u308b\u3053\u3068<\/span><\/h2>\n<p>\u73fe\u884c\u7248\u306f\u3001\u57fa\u672c\u7684\u306a\u6295\u7a3f\u4e00\u89a7\u3060\u3051\u3067\u306a\u304f\u3001\u8907\u6570\u306e\u7d5e\u308a\u8fbc\u307f\u3084\u9ad8\u901f\u5316\u306b\u95a2\u308f\u308b\u9805\u76ee\u307e\u3067\u6271\u3048\u307e\u3059\u3002\u307e\u305a\u306f\u3001\u81ea\u5206\u304c\u4f5c\u308a\u305f\u3044\u4e00\u89a7\u304c\u6b21\u306e\u3069\u3053\u306b\u5f53\u3066\u306f\u307e\u308b\u304b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\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: \u3084\u308a\u305f\u3044\u3053\u3068 \/ \u4e3b\u306a\u5bfe\u5fdc\u9805\u76ee \/ WP Query Builder\u3067\u78ba\u8a8d\u3067\u304d\u308b\u3053\u3068\"><table class=\"article-table table-priority wpq-article-table\"><thead><tr><th>\u3084\u308a\u305f\u3044\u3053\u3068<\/th><th>\u4e3b\u306a\u5bfe\u5fdc\u9805\u76ee<\/th><th>WP Query Builder\u3067\u78ba\u8a8d\u3067\u304d\u308b\u3053\u3068<\/th><\/tr><\/thead><tbody><tr><td>\u53d6\u5f97\u5bfe\u8c61\u3068\u4ef6\u6570\u3092\u6c7a\u3081\u308b<\/td><td>post_type\u3001post_status\u3001posts_per_page<\/td><td>\u6295\u7a3f\u3001\u56fa\u5b9a\u30da\u30fc\u30b8\u3001\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u306a\u3069\u306e\u5bfe\u8c61\u3068\u4ef6\u6570<\/td><\/tr><tr><td>\u4e26\u3073\u9806\u3068\u30da\u30fc\u30b8\u3092\u6c7a\u3081\u308b<\/td><td>order\u3001orderby\u3001paged\u3001offset<\/td><td>\u65b0\u7740\u9806\u3084\u30bf\u30a4\u30c8\u30eb\u9806\u3001\u30da\u30fc\u30b8\u756a\u53f7\u3001\u5148\u982d\u304b\u3089\u8aad\u307f\u98db\u3070\u3059\u4ef6\u6570<\/td><\/tr><tr><td>\u6295\u7a3f\u3092\u7d5e\u308a\u8fbc\u3080<\/td><td>\u691c\u7d22\u8a9e\u3001\u6295\u7a3fID\u3001\u6295\u7a3f\u8005\u3001\u30ab\u30c6\u30b4\u30ea\u30fc\u3001\u30bf\u30b0\u3001\u30b3\u30e1\u30f3\u30c8\u6570\u3001\u89aa\u5b50\u95a2\u4fc2<\/td><td>\u5358\u72ec\u6761\u4ef6\u3084ID\u30fb\u30b9\u30e9\u30c3\u30b0\u306b\u3088\u308b\u5bfe\u8c61\u6307\u5b9a<\/td><\/tr><tr><td>\u8907\u6570\u6761\u4ef6\u3092\u7d44\u3080<\/td><td>tax_query\u3001meta_query\u3001date_query<\/td><td>\u8907\u6570\u306e\u6761\u4ef6\u3068\u3001\u305d\u308c\u3089\u3092\u3064\u306a\u3050AND \/ OR<\/td><\/tr><tr><td>\u8fd4\u308a\u5024\u3068\u51e6\u7406\u3092\u8abf\u6574\u3059\u308b<\/td><td>fields\u3001no_found_rows\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u306b\u95a2\u3059\u308b\u8a2d\u5b9a<\/td><td>ID\u3060\u3051\u306e\u53d6\u5f97\u3084\u3001\u4f7f\u308f\u306a\u3044\u30c7\u30fc\u30bf\u306e\u5148\u8aad\u307f\u3092\u6291\u3048\u308b\u8a2d\u5b9a<\/td><\/tr><tr><td>\u5165\u529b\u30df\u30b9\u3092\u898b\u3064\u3051\u308b<\/td><td>\u30a8\u30e9\u30fc\u3001\u8b66\u544a\u3001\u51fa\u529b\u5bfe\u8c61\u30d0\u30fc\u30b8\u30e7\u30f3<\/td><td>\u4e0d\u8db3\u5024\u3084\u77db\u76fe\u3001\u5bfe\u8c61WordPress\u3067\u4f7f\u3048\u306a\u3044\u6307\u5b9a<\/td><\/tr><\/tbody><\/table><\/div><\/div>\n<p>\u76ee\u7684\u5225\u30d7\u30ea\u30bb\u30c3\u30c8\u306b\u306f\u3001\u30d6\u30ed\u30b0\u4e00\u89a7\u3001\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u4e00\u89a7\u3001\u691c\u7d22\u7d50\u679c\u3001\u95a2\u9023\u8a18\u4e8b\u3001ID\u3060\u3051\u306e\u9ad8\u901f\u53d6\u5f97\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002\u5019\u88dc\u3092\u9078\u3076\u3060\u3051\u3067\u306f\u5165\u529b\u306f\u5909\u308f\u3089\u305a\u3001\u300c\u30d7\u30ea\u30bb\u30c3\u30c8\u3092\u9069\u7528\u300d\u3067\u53cd\u6620\u3055\u308c\u307e\u3059\u3002\u81ea\u5206\u306e\u76ee\u7684\u306b\u8fd1\u3044\u3082\u306e\u3092\u571f\u53f0\u306b\u3057\u3001\u9069\u7528\u5f8c\u306e\u4ef6\u6570\u3084\u7d5e\u308a\u8fbc\u307f\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u8a73\u7d30\u8a2d\u5b9a\u3067\u306f\u3001Tax Query\u3001Meta Query\u3001Date Query\u3092\u8907\u6570\u8ffd\u52a0\u3057\u3001\u540c\u3058\u7a2e\u985e\u306e\u6761\u4ef6\u3092AND\u307e\u305f\u306fOR\u3067\u3064\u306a\u3052\u3089\u308c\u307e\u3059\u3002\u300c\u81ea\u52d5\u9ad8\u901f\u5316\u300d\u3092\u6709\u52b9\u306b\u3059\u308b\u3068\u3001\u624b\u52d5\u3067\u6307\u5b9a\u3057\u3066\u3044\u306a\u3044\u9805\u76ee\u306b\u3001\u7dcf\u4ef6\u6570\u306e\u8a08\u7b97\u30fb\u5148\u982d\u56fa\u5b9a\u6295\u7a3f\u306e\u6271\u3044\u30fb\u30c7\u30fc\u30bf\u306e\u5148\u8aad\u307f\u306b\u95a2\u3059\u308b\u5024\u304c\u88dc\u308f\u308c\u307e\u3059\u3002\u305f\u3068\u3048\u3070no_found_rows\u3092false\u3068\u660e\u793a\u3057\u305f\u5834\u5408\u3001\u305d\u306e\u5024\u306f\u4fdd\u6301\u3055\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u30da\u30fc\u30b8\u9001\u308a\u306b\u7dcf\u30da\u30fc\u30b8\u6570\u3092\u4f7f\u3046\u304b\u3001\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3084\u30ab\u30c6\u30b4\u30ea\u30fc\u3092\u8868\u793a\u3059\u308b\u304b\u306b\u3088\u3063\u3066\u9069\u5207\u306a\u5024\u306f\u5909\u308f\u308a\u307e\u3059\u3002\u751f\u6210\u5f8c\u306f\u3001\u88dc\u308f\u308c\u305f\u9805\u76ee\u3068\u65e5\u672c\u8a9e\u306e\u8aac\u660e\u3082\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2 id=\"what-builder-cannot-do\" class=\"h-underline section-heading\"><span class=\"section-heading-icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"warning\" 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.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\" \/>\n  <path d=\"M12 9v4\" \/>\n  <path d=\"M12 17h.01\" \/>\n<\/svg><\/span><span class=\"section-heading-text\">WP Query Builder\u3060\u3051\u3067\u306f\u5b8c\u4e86\u3057\u306a\u3044\u3053\u3068<\/span><\/h2>\n<p>WP Query Builder\u304c\u4f5c\u308b\u306e\u306f\u3001WP_Query\u3078\u6e21\u3059\u6761\u4ef6\u306e\u571f\u53f0\u3067\u3059\u3002<span class=\"wpq-marker wpq-marker--yellow\">WordPress\u30b5\u30a4\u30c8\u3078\u63a5\u7d9a\u3057\u3066\u6295\u7a3f\u3092\u691c\u7d22\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u305f\u3081\u3001\u5165\u529b\u3057\u305f\u6295\u7a3f\u30bf\u30a4\u30d7\u3001ID\u3001\u30b9\u30e9\u30c3\u30b0\u3001\u30e1\u30bf\u30ad\u30fc\u304c\u5b9f\u969b\u306b\u5b58\u5728\u3059\u308b\u304b\u307e\u3067\u306f\u5224\u5b9a\u3067\u304d\u307e\u305b\u3093\u3002<\/span><\/p>\n<p>\u73fe\u5728\u306e\u5f79\u5272\u5916\u3001\u307e\u305f\u306f\u5c02\u7528UI\u304c\u306a\u3044\u3082\u306e\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<section class=\"quick-check-card wpq-checklist-card\"><h2>WP Query Builder\u306e\u5916\u3067\u78ba\u8a8d\u3059\u308b\u3053\u3068<\/h2><ul class=\"wpq-checklist\"><li><code>front-page.php<\/code>\u3084<code>functions.php<\/code>\u306a\u3069\u3001\u30b3\u30fc\u30c9\u3092\u7f6e\u304f\u5834\u6240\u3092\u6c7a\u3081\u308b<\/li><li><code>new WP_Query()<\/code>\u3001\u30eb\u30fc\u30d7\u3001HTML\u3001<code>wp_reset_postdata()<\/code>\u307e\u3067\u3092\u542b\u3080\u8868\u793a\u90e8\u5206\u3092\u5b8c\u6210\u3055\u305b\u308b<\/li><li>\u5b9f\u969b\u306e\u6295\u7a3f\u30c7\u30fc\u30bf\u3092\u4f7f\u3044\u3001\u4ef6\u6570\u30fb\u4e26\u3073\u9806\u30fb\u30da\u30fc\u30b8\u9001\u308a\u3092\u78ba\u304b\u3081\u308b<\/li><li><code>pre_get_posts<\/code>\u3084\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u306b\u3088\u308b\u30e1\u30a4\u30f3\u30af\u30a8\u30ea\u306e\u5909\u66f4\u3092\u78ba\u8a8d\u3059\u308b<\/li><li>Tax \/ Meta \/ Date Query\u306e\u4e2d\u3078AND \/ OR\u306e\u6761\u4ef6\u30b0\u30eb\u30fc\u30d7\u3092\u3055\u3089\u306b\u5165\u308c\u5b50\u306b\u3059\u308b<\/li><li>WordPress\u516c\u5f0f\u304c\u6301\u3064\u5168\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u3046\u3061\u3001\u753b\u9762\u306b\u306a\u3044\u6307\u5b9a\u3092\u516c\u5f0f\u8cc7\u6599\u3067\u78ba\u8a8d\u3059\u308b<\/li><\/ul><\/section>\n<p>UI\u306b\u306a\u3044\u6307\u5b9a\u304c\u5fc5\u8981\u3067\u3082\u3001WP_Query\u81ea\u4f53\u3067\u4f7f\u3048\u306a\u3044\u3068\u306f\u9650\u308a\u307e\u305b\u3093\u3002WP Query Builder\u3067\u4f5c\u3063\u305f`$args`\u3092\u571f\u53f0\u306b\u516c\u5f0f\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u3092\u78ba\u8a8d\u3057\u3001\u5fc5\u8981\u306a\u6761\u4ef6\u3092\u30b3\u30fc\u30c9\u3078\u8ffd\u52a0\u3057\u307e\u3059\u3002\u53cd\u5bfe\u306b\u3001\u8907\u96d1\u306a\u5165\u308c\u5b50\u6761\u4ef6\u3084\u72ec\u81ea\u51e6\u7406\u304c\u4e2d\u5fc3\u306a\u3089\u3001\u6700\u521d\u304b\u3089\u30b3\u30fc\u30c9\u3067\u7d44\u3093\u3060\u307b\u3046\u304c\u610f\u56f3\u3092\u8ffd\u3044\u3084\u3059\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<aside class=\"callout callout-warning wpq-callout wpq-callout--warning\"><p class=\"callout-title wpq-callout__title\"><span class=\"wpq-callout__icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"warning\" 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.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\" \/>\n  <path d=\"M12 9v4\" \/>\n  <path d=\"M12 17h.01\" \/>\n<\/svg><\/span><span>\u751f\u6210\u3067\u304d\u305f\u3053\u3068\u3068\u3001\u6b63\u3057\u304f\u8868\u793a\u3067\u304d\u308b\u3053\u3068\u306f\u5225\u3067\u3059<\/span><\/p><p>\u69cb\u6587\u4e0a\u306e\u30a8\u30e9\u30fc\u304c\u306a\u304f\u3066\u3082\u3001\u6295\u7a3f\u30bf\u30a4\u30d7\u540d\u3084\u4fdd\u5b58\u30c7\u30fc\u30bf\u304c\u9055\u3048\u3070\u7d50\u679c\u306f0\u4ef6\u306b\u306a\u308a\u307e\u3059\u3002\u30b3\u30fc\u30c9\u3092\u672c\u756a\u3078\u76f4\u63a5\u8cbc\u3089\u305a\u3001\u672c\u756a\u3068\u5206\u3051\u305f\u691c\u8a3c\u74b0\u5883\u3067\u3001\u307e\u305a\u6700\u59273\u4ef6\u3092\u53d6\u5f97\u3059\u308b\u6761\u4ef6\u304b\u3089\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/aside>\n\n<p>\u4f5c\u308a\u305f\u3044\u4e00\u89a7\u306b\u5fc5\u8981\u306a\u6761\u4ef6\u304c\u5206\u304b\u3063\u305f\u3089\u3001WP Query Builder\u3067\u5165\u529b\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u751f\u6210\u5f8c\u306f\u3001\u8868\u793a\u30eb\u30fc\u30d7\u3092\u7528\u610f\u3057\u3066\u691c\u8a3c\u74b0\u5883\u3067\u52d5\u304b\u3057\u307e\u3059\u3002<\/p>\n<section class=\"builder-cta wpq-builder-panel\"><div class=\"builder-icon\" aria-hidden=\"true\"><\/div><div class=\"wpq-builder-panel__copy\"><h3>\u53d6\u5f97\u3057\u305f\u3044\u6295\u7a3f\u306e\u6761\u4ef6\u3092\u5165\u529b\u3059\u308b<\/h3><p>\u6295\u7a3f\u30bf\u30a4\u30d7\u30fb\u516c\u958b\u72b6\u614b\u30fb\u4ef6\u6570\u304b\u3089$args\u3092\u4f5c\u308c\u307e\u3059\u3002\u8a2d\u7f6e\u5834\u6240\u3084\u8868\u793a\u51e6\u7406\u306fWordPress\u5074\u3067\u7528\u610f\u3057\u307e\u3059\u3002<\/p><\/div><div class=\"builder-actions wpq-builder-panel__actions\"><a class=\"button wpq-button wpq-button--primary\" href=\"https:\/\/wptoolslab.com\/query-builder\/\">WP Query Builder\u3067\u30af\u30a8\u30ea\u3092\u4f5c\u308b<\/a><\/div><\/section>\n\n<h2 id=\"how-beginners-choose\" class=\"h-underline section-heading\"><span class=\"section-heading-icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"map\" 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=\"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z\" \/>\n  <path d=\"M15 5.764v15\" \/>\n  <path d=\"M9 3.236v15\" \/>\n<\/svg><\/span><span class=\"section-heading-text\">\u5c02\u9580\u7528\u8a9e\u3088\u308a\u3001\u3084\u308a\u305f\u3044\u3053\u3068\u304b\u3089\u8abf\u3079\u308b<\/span><\/h2>\n<p>\u6700\u521d\u304b\u3089`tax_query`\u3084`meta_query`\u3068\u3044\u3046\u540d\u524d\u3067\u63a2\u3059\u3068\u3001\u81ea\u5206\u306b\u5fc5\u8981\u306a\u6761\u4ef6\u304b\u3069\u3046\u304b\u3092\u5224\u65ad\u3057\u306b\u304f\u304f\u306a\u308a\u307e\u3059\u3002\u5148\u306b\u300c\u3069\u306e\u6295\u7a3f\u3092\u30fb\u4f55\u3067\u7d5e\u308a\u30fb\u3069\u3046\u4e26\u3079\u30fb\u4f55\u4ef6\u51fa\u3059\u304b\u300d\u3092\u65e5\u672c\u8a9e\u30671\u884c\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u300cevent\u3068\u3044\u3046\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u3092\u3001\u958b\u50ac\u65e5\u304c\u4eca\u65e5\u4ee5\u964d\u306e\u3082\u306e\u3060\u3051\u3001\u8fd1\u3044\u9806\u306b6\u4ef6\u8868\u793a\u3059\u308b\u300d\u3068\u66f8\u3051\u308c\u3070\u3001\u8abf\u3079\u308b\u9805\u76ee\u3092\u6b21\u306e\u3088\u3046\u306b\u5206\u3051\u3089\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u6761\u4ef6\u3092\u8003\u3048\u308b\u4f8b\u3067\u3001\u4e0a\u306e\u753b\u50cf\u306b\u3042\u308b\u901a\u5e38\u6295\u7a3f3\u4ef6\u306e\u8a2d\u5b9a\u3068\u306f\u5225\u3067\u3059\u3002<\/p>\n<section class=\"debug-steps wpq-steps-card\"><h2>\u3084\u308a\u305f\u3044\u3053\u3068\u30924\u3064\u306b\u5206\u3051\u308b<\/h2><ol class=\"step-list wpq-steps\"><li><span class=\"step-number wpq-step-no\">1<\/span><div class=\"step-body wpq-step-body\">\u4f55\u3092\u53d6\u5f97\u3059\u308b\u304b\uff1aPost Type\u3067`event`<\/div><\/li><li><span class=\"step-number wpq-step-no\">2<\/span><div class=\"step-body wpq-step-body\">\u4f55\u3067\u7d5e\u308b\u304b\uff1aMeta Query\u3067\u958b\u50ac\u65e5\u306e\u4fdd\u5b58\u5024<\/div><\/li><li><span class=\"step-number wpq-step-no\">3<\/span><div class=\"step-body wpq-step-body\">\u3069\u3046\u4e26\u3079\u308b\u304b\uff1a`orderby`\u3068\u65e5\u4ed8\u306e\u30e1\u30bf\u30ad\u30fc<\/div><\/li><li><span class=\"step-number wpq-step-no\">4<\/span><div class=\"step-body wpq-step-body\">\u4f55\u4ef6\u51fa\u3059\u304b\uff1a`posts_per_page`\u30676<\/div><\/li><\/ol><\/section>\n<p>\u958b\u50ac\u65e5\u306e\u30e1\u30bf\u30ad\u30fc\u3068\u4fdd\u5b58\u5f62\u5f0f\u306f\u3001\u5b9f\u969b\u306e\u6295\u7a3f\u30c7\u30fc\u30bf\u306b\u5408\u308f\u305b\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u958b\u50ac\u65e5\u3092`event_date`\u3078`20260909`\u306e\u3088\u3046\u306a8\u6841\u306e\u5e74\u6708\u65e5\u3067\u4fdd\u5b58\u3057\u3066\u3044\u308b\u5834\u5408\u3092\u4f8b\u306b\u3057\u307e\u3059\u3002<\/p>\n<h2 id=\"replace-fixed-date\" class=\"h-underline section-heading\"><span class=\"section-heading-icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"calendar\" 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=\"M8 2v3\" \/>\n  <path d=\"M16 2v3\" \/>\n  <rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" \/>\n  <path d=\"M3 9h18\" \/>\n  <path d=\"M8 13h.01\" \/>\n  <path d=\"M12 13h.01\" \/>\n  <path d=\"M16 13h.01\" \/>\n  <path d=\"M8 17h.01\" \/>\n  <path d=\"M12 17h.01\" \/>\n  <path d=\"M16 17h.01\" \/>\n<\/svg><\/span><span class=\"section-heading-text\">\u300c\u4eca\u65e5\u4ee5\u964d\u300d\u306b\u3057\u305f\u3044\u3068\u304d\u306f\u3001\u751f\u6210\u5f8c\u306b\u65e5\u4ed8\u3092\u5dee\u3057\u66ff\u3048\u308b<\/span><\/h2>\n<p>Builder\u306e\u5024\u6b04\u3078`20260909`\u3068\u5165\u529b\u3059\u308b\u3068\u3001\u300c2026\u5e749\u67089\u65e5\u4ee5\u964d\u300d\u3068\u3044\u3046\u56fa\u5b9a\u306e\u6761\u4ef6\u306b\u306a\u308a\u307e\u3059\u3002\u7fcc\u65e5\u306b\u540c\u3058\u30b3\u30fc\u30c9\u3092\u4f7f\u3063\u3066\u3082\u3001\u57fa\u6e96\u65e5\u306f9\u67089\u65e5\u306e\u307e\u307e\u3067\u3059\u3002<span class=\"wpq-marker wpq-marker--yellow\">\u6bce\u65e5\u300c\u4eca\u65e5\u4ee5\u964d\u300d\u3092\u53d6\u5f97\u3057\u305f\u3044\u5834\u5408\u306f\u3001Builder\u3067\u6761\u4ef6\u306e\u5f62\u3092\u4f5c\u3063\u305f\u5f8c\u3001WordPress\u5074\u3067\u305d\u306e\u65e5\u306e\u5024\u306b\u5dee\u3057\u66ff\u3048\u307e\u3059\u3002<\/span><\/p>\n<p>\u307e\u305a\u8a73\u7d30\u8a2d\u5b9a\u3067\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u30ab\u30b9\u30bf\u30e0\u306e`event`\u3001\u516c\u958b\u72b6\u614b\u3092`publish`\u3001\u53d6\u5f97\u4ef6\u6570\u30926\u306b\u3057\u307e\u3059\u3002\u4e26\u3073\u9806\u306f`meta_value_num`\u3001\u6607\u9806\u306e`ASC`\u3092\u9078\u3073\u3001\u81ea\u52d5\u9ad8\u901f\u5316\u306f\u30aa\u30d5\u306b\u3057\u307e\u3059\u3002Meta Query\u3078\u6b21\u306e1\u6761\u4ef6\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u4f8b\u3067\u306f\u958b\u50ac\u65e5\u3067\u4e26\u3079\u308b\u305f\u3081\u306e`meta_key`\u3082\u751f\u6210\u7d50\u679c\u306b\u88dc\u308f\u308c\u307e\u3059\u3002<\/p>\n<figure class=\"wpq-screenshot-frame wpq-screenshot-frame--fit-contain\"><span class=\"wpq-screenshot-frame__media\" style=\"--wpq-screenshot-ratio:1344 \/ 1920;\"><img decoding=\"async\" src=\"https:\/\/wptoolslab.com\/query-lab\/wp-content\/uploads\/2026\/09\/wp-query-builder-capabilities-limitations-SC-04.png\" alt=\"\u516c\u958bBuilder\u306eMeta Query\u3078event_date\u30fb\u4ee5\u4e0a\u30fbNUMERIC\u30fb20260909\u3092\u5165\u529b\u3057\u305f\u753b\u9762\" loading=\"lazy\" \/><\/span><figcaption class=\"wpq-screenshot-frame__caption\"><span class=\"wpq-screenshot-frame__eyebrow\">\u56fa\u5b9a\u306e\u65e5\u4ed8\u3067\u6761\u4ef6\u3092\u4f5c\u308b<\/span><strong class=\"wpq-screenshot-frame__title\">\u307e\u305a\u306f\u5206\u304b\u308a\u3084\u3059\u3044\u65e5\u4ed8\u30921\u3064\u5165\u529b\u3059\u308b<\/strong><p class=\"wpq-screenshot-frame__caption-text\">\u30ad\u30fcevent_date\u3001\u6bd4\u8f03&gt;=\u3001\u578bNUMERIC\u3001\u502420260909\u3002\u4fdd\u5b58\u5f62\u5f0f\u304cYmd\u306e\u958b\u50ac\u65e5\u3092\u60f3\u5b9a\u3057\u305f\u4f8b\u3067\u3059\u3002<\/p><p class=\"wpq-screenshot-frame__body\">20260909\u306f\u8aac\u660e\u7528\u306e\u56fa\u5b9a\u5024\u3067\u3059\u3002\u753b\u9762\u3078\u300c\u4eca\u65e5\u300d\u3068\u5165\u529b\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u6b21\u306e\u30b3\u30fc\u30c9\u3067WordPress\u5074\u306e\u65e5\u4ed8\u3078\u5dee\u3057\u66ff\u3048\u307e\u3059\u3002<\/p><\/figcaption><\/figure>\n<p>\u3053\u306e\u5165\u529b\u304b\u3089\u751f\u6210\u3055\u308c\u305f\u3001\u672a\u7de8\u96c6\u306e`$args`\u304c\u6b21\u306e\u30b3\u30fc\u30c9\u3067\u3059\u3002\u3053\u3053\u3067\u306f\u307e\u3060\u57fa\u6e96\u65e5\u304c\u56fa\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"code-panel wpq-code-block\"><div class=\"wpq-code-context wpq-code-context--excerpt\"><span class=\"wpq-code-context__icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"folder-open\" 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=\"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\" \/>\n<\/svg><\/span><p>\u5f15\u6570\u3084\u51e6\u7406\u306e\u4e00\u90e8\u5206\u3060\u3051\u3092\u793a\u3057\u305f\u4f8b\u3067\u3059\u3002\u3053\u306e\u307e\u307e\u5358\u72ec\u3067\u8cbc\u3089\u305a\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5185\u306eWP_Query\u3068\u30eb\u30fc\u30d7\u3078\u7d44\u307f\u8fbc\u3093\u3067\u304f\u3060\u3055\u3044\u3002<\/p><\/div><div class=\"code-head wpq-code-head\"><div class=\"code-meta wpq-code-meta\"><span class=\"code-lang wpq-code-pill wpq-code-pill--lang\">PHP<\/span><span class=\"code-filename wpq-code-pill\">builder-event-args.php<\/span><span class=\"code-purpose wpq-code-pill\">\u56fa\u5b9a\u306e\u65e5\u4ed8\u3092\u6307\u5b9a\u3057\u305f\u672a\u7de8\u96c6\u306eBuilder\u751f\u6210\u30b3\u30fc\u30c9<\/span><\/div><button type=\"button\" class=\"copy-button wpq-copy-button\">\u30b3\u30d4\u30fc<\/button><\/div><pre data-wpq-code-region data-wpq-code-label=\"\u30b3\u30fc\u30c9\u4f8b: \u56fa\u5b9a\u306e\u65e5\u4ed8\u3092\u6307\u5b9a\u3057\u305f\u672a\u7de8\u96c6\u306eBuilder\u751f\u6210\u30b3\u30fc\u30c9 \/ builder-event-args.php \/ PHP\"><code><span class=\"wpq-code-line\">&lt;br \/&gt;<\/span><span class=\"wpq-code-line\"><span class=\"c-var\">$args<\/span> = <span class=\"c-keyword\">array<\/span>(&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">    <span class=\"c-key\">&#039;post_type&#039;<\/span> =&gt; <span class=\"c-str\">&#039;event&#039;<\/span>,&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">    <span class=\"c-key\">&#039;post_status&#039;<\/span> =&gt; <span class=\"c-str\">&#039;publish&#039;<\/span>,&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">    <span class=\"c-key\">&#039;posts_per_page&#039;<\/span> =&gt; <span class=\"c-num\">6<\/span>,&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">    <span class=\"c-key\">&#039;order&#039;<\/span> =&gt; <span class=\"c-str\">&#039;ASC&#039;<\/span>,&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">    <span class=\"c-key\">&#039;orderby&#039;<\/span> =&gt; <span class=\"c-str\">&#039;meta_value_num&#039;<\/span>,&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">    <span class=\"c-key\">&#039;meta_query&#039;<\/span> =&gt; <span class=\"c-keyword\">array<\/span>(&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">        <span class=\"c-keyword\">array<\/span>(&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">            <span class=\"c-key\">&#039;key&#039;<\/span> =&gt; <span class=\"c-str\">&#039;event_date&#039;<\/span>,&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">            <span class=\"c-key\">&#039;compare&#039;<\/span> =&gt; <span class=\"c-str\">&#039;&gt;=&#039;<\/span>,&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">            <span class=\"c-key\">&#039;type&#039;<\/span> =&gt; <span class=\"c-str\">&#039;NUMERIC&#039;<\/span>,&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">            <span class=\"c-key\">&#039;value&#039;<\/span> =&gt; <span class=\"c-num\">20260909<\/span>&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">        )&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">    ),&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">    <span class=\"c-key\">&#039;meta_key&#039;<\/span> =&gt; <span class=\"c-str\">&#039;event_date&#039;<\/span>&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">);&lt;br \/&gt;<\/span><\/code><\/pre><textarea class=\"wpq-code-raw\" hidden aria-hidden=\"true\" tabindex=\"-1\">&lt;br \/&gt;\n$args = array(&lt;br \/&gt;\n    &#039;post_type&#039; =&gt; &#039;event&#039;,&lt;br \/&gt;\n    &#039;post_status&#039; =&gt; &#039;publish&#039;,&lt;br \/&gt;\n    &#039;posts_per_page&#039; =&gt; 6,&lt;br \/&gt;\n    &#039;order&#039; =&gt; &#039;ASC&#039;,&lt;br \/&gt;\n    &#039;orderby&#039; =&gt; &#039;meta_value_num&#039;,&lt;br \/&gt;\n    &#039;meta_query&#039; =&gt; array(&lt;br \/&gt;\n        array(&lt;br \/&gt;\n            &#039;key&#039; =&gt; &#039;event_date&#039;,&lt;br \/&gt;\n            &#039;compare&#039; =&gt; &#039;&gt;=&#039;,&lt;br \/&gt;\n            &#039;type&#039; =&gt; &#039;NUMERIC&#039;,&lt;br \/&gt;\n            &#039;value&#039; =&gt; 20260909&lt;br \/&gt;\n        )&lt;br \/&gt;\n    ),&lt;br \/&gt;\n    &#039;meta_key&#039; =&gt; &#039;event_date&#039;&lt;br \/&gt;\n);&lt;br \/&gt;<\/textarea><\/div>\n<p>\u6b21\u306e1\u884c\u306fBuilder\u306e\u51fa\u529b\u3067\u306f\u306a\u304f\u3001WordPress\u3067\u4f7f\u3046\u305f\u3081\u306b\u81ea\u5206\u3067\u8ffd\u52a0\u3059\u308b\u51e6\u7406\u3067\u3059\u3002\u4e0a\u306e`$args`\u306e\u76f4\u5f8c\u3001`new WP_Query($args)`\u3067\u53d6\u5f97\u3092\u59cb\u3081\u308b\u524d\u306b\u7f6e\u304d\u307e\u3059\u3002<\/p>\n<div class=\"code-panel wpq-code-block\"><div class=\"wpq-code-context wpq-code-context--excerpt\"><span class=\"wpq-code-context__icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"folder-open\" 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=\"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\" \/>\n<\/svg><\/span><p>\u5f15\u6570\u3084\u51e6\u7406\u306e\u4e00\u90e8\u5206\u3060\u3051\u3092\u793a\u3057\u305f\u4f8b\u3067\u3059\u3002\u3053\u306e\u307e\u307e\u5358\u72ec\u3067\u8cbc\u3089\u305a\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5185\u306eWP_Query\u3068\u30eb\u30fc\u30d7\u3078\u7d44\u307f\u8fbc\u3093\u3067\u304f\u3060\u3055\u3044\u3002<\/p><\/div><div class=\"code-head wpq-code-head\"><div class=\"code-meta wpq-code-meta\"><span class=\"code-lang wpq-code-pill wpq-code-pill--lang\">PHP<\/span><span class=\"code-filename wpq-code-pill\">event-date-replacement.php<\/span><span class=\"code-purpose wpq-code-pill\">\u53d6\u5f97\u524d\u306b\u958b\u50ac\u65e5\u306e\u4e0b\u9650\u3092WordPress\u306e\u4eca\u65e5\u3078\u5dee\u3057\u66ff\u3048\u308b1\u884c<\/span><\/div><button type=\"button\" class=\"copy-button wpq-copy-button\">\u30b3\u30d4\u30fc<\/button><\/div><pre data-wpq-code-region data-wpq-code-label=\"\u30b3\u30fc\u30c9\u4f8b: \u53d6\u5f97\u524d\u306b\u958b\u50ac\u65e5\u306e\u4e0b\u9650\u3092WordPress\u306e\u4eca\u65e5\u3078\u5dee\u3057\u66ff\u3048\u308b1\u884c \/ event-date-replacement.php \/ PHP\"><code><span class=\"wpq-code-line\">&lt;br \/&gt;<\/span><span class=\"wpq-code-line\"><span class=\"c-var\">$args<\/span>[<span class=\"c-str\">&#039;meta_query&#039;<\/span>][<span class=\"c-num\">0<\/span>][<span class=\"c-str\">&#039;value&#039;<\/span>] = (int) current_time(<span class=\"c-str\">&#039;Ymd&#039;<\/span>);&lt;br \/&gt;<\/span><\/code><\/pre><textarea class=\"wpq-code-raw\" hidden aria-hidden=\"true\" tabindex=\"-1\">&lt;br \/&gt;\n$args[&#039;meta_query&#039;][0][&#039;value&#039;] = (int) current_time(&#039;Ymd&#039;);&lt;br \/&gt;<\/textarea><\/div>\n<p>`current_time(&#8216;Ymd&#8217;)`\u306f\u3001WordPress\u306b\u8a2d\u5b9a\u3057\u305f\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u3067\u3001\u305d\u306e\u65e5\u306e\u65e5\u4ed8\u30928\u6841\u306e\u5e74\u6708\u65e5\u3068\u3057\u3066\u53d6\u5f97\u3057\u307e\u3059\u3002`(int)`\u306f\u305d\u306e\u5024\u3092\u6574\u6570\u3078\u5909\u63db\u3059\u308b\u6307\u5b9a\u3067\u3059\u3002`[0]`\u306f\u300c\u6700\u521d\u306eMeta Query\u6761\u4ef6\u300d\u3092\u6307\u3059\u306e\u3067\u3001\u6761\u4ef6\u3092\u5897\u3084\u3057\u305f\u308a\u9806\u756a\u3092\u5909\u3048\u305f\u308a\u3057\u305f\u5834\u5408\u306f\u3001\u958b\u50ac\u65e5\u306e\u6761\u4ef6\u3092\u5dee\u3057\u66ff\u3048\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3053\u308c\u3089\u306fWordPress\u304c\u8aad\u307f\u8fbc\u307e\u308c\u305fPHP\u30d5\u30a1\u30a4\u30eb\u5185\u3067\u4f7f\u3046\u65ad\u7247\u3067\u3059\u3002\u65b0\u3057\u3044PHP\u30d5\u30a1\u30a4\u30eb\u306a\u3089\u5148\u982d\u306b`&lt;?php`\u304c\u5fc5\u8981\u3067\u3059\u304c\u3001\u3059\u3067\u306bPHP\u306e\u4e2d\u306a\u3089\u958b\u59cb\u30bf\u30b0\u3092\u91cd\u306d\u307e\u305b\u3093\u3002\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u672c\u6587\u3078\u8cbc\u308b\u30b3\u30fc\u30c9\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u8868\u793a\u30eb\u30fc\u30d7\u30840\u4ef6\u6642\u306e\u6848\u5185\u3082\u542b\u3080\u8a2d\u7f6e\u4f8b\u306f\u3001[ACF\u306e\u65e5\u4ed8\u3067\u4eca\u65e5\u4ee5\u964d\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u7d5e\u308a\u8fbc\u3080\u65b9\u6cd5](https:\/\/wptoolslab.com\/query-lab\/articles\/acf-date-filter\/)\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4fdd\u5b58\u5f62\u5f0f\u304c`2026-09-09`\u3084\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u306e\u5834\u5408\u3001\u3053\u306e8\u6841\u306e\u4f8b\u3092\u305d\u306e\u307e\u307e\u4f7f\u3046\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u30da\u30fc\u30b8\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u3057\u3066\u3044\u308b\u5834\u5408\u306fPHP\u304c\u6bce\u56de\u5b9f\u884c\u3055\u308c\u308b\u3068\u306f\u9650\u3089\u306a\u3044\u305f\u3081\u3001\u65e5\u4ed8\u304c\u5909\u308f\u3063\u305f\u5f8c\u306b\u30ad\u30e3\u30c3\u30b7\u30e5\u3082\u66f4\u65b0\u3055\u308c\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u753b\u9762\u306e\u8a73\u3057\u3044\u64cd\u4f5c\u306f[WP Query Builder\u306e\u516c\u5f0f\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb](https:\/\/wptoolslab.com\/query-builder\/tutorial\/)\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002\u521d\u3081\u3066\u64cd\u4f5c\u3059\u308b\u65b9\u306f\u3001\u5b9f\u969b\u306e\u753b\u9762\u306b\u6cbf\u3063\u3066\u9032\u3081\u3089\u308c\u308b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2 id=\"after-generation\" class=\"h-underline section-heading\"><span class=\"section-heading-icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"binder-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  <rect width=\"8\" height=\"4\" x=\"8\" y=\"2\" rx=\"1\" ry=\"1\" \/>\n  <path d=\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2\" \/>\n  <path d=\"m9 14 2 2 4-4\" \/>\n<\/svg><\/span><span class=\"section-heading-text\">\u751f\u6210\u5f8c\u306f\u8a2d\u7f6e\u30fb\u5dee\u3057\u66ff\u3048\u30fb\u8868\u793a\u3092\u78ba\u8a8d\u3059\u308b<\/span><\/h2>\n<p>\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3057\u305f\u3089\u3001\u8a2d\u7f6e\u5834\u6240\u30fb\u5024\u30fb\u8868\u793a\u7d50\u679c\u306e3\u3064\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002\u3053\u3053\u3092\u98db\u3070\u3059\u3068\u3001\u6b63\u3057\u3044`$args`\u3067\u3082\u300c\u3069\u3053\u3078\u8cbc\u308b\u306e\u304b\u5206\u304b\u3089\u306a\u3044\u300d\u300c\u4f55\u3082\u8868\u793a\u3055\u308c\u306a\u3044\u300d\u3068\u3044\u3046\u72b6\u614b\u306b\u306a\u308a\u3084\u3059\u3044\u3067\u3059\u3002<\/p>\n<section class=\"debug-steps wpq-steps-card\"><h2>\u751f\u6210\u5f8c\u306b\u78ba\u8a8d\u3059\u308b3\u3064<\/h2><ol class=\"step-list wpq-steps\"><li><span class=\"step-number wpq-step-no\">1<\/span><div class=\"step-body wpq-step-body\">\u8a2d\u7f6e\u5834\u6240\uff1a\u4e00\u89a7\u3092\u8ffd\u52a0\u3059\u308b\u306e\u304b\u3001WordPress\u304c\u4f5c\u308b\u30e1\u30a4\u30f3\u306e\u4e00\u89a7\u3092\u5909\u66f4\u3059\u308b\u306e\u304b\u3092\u5206\u3051\u308b<\/div><\/li><li><span class=\"step-number wpq-step-no\">2<\/span><div class=\"step-body wpq-step-body\">\u5dee\u3057\u66ff\u3048\u5024\uff1a\u6295\u7a3f\u30bf\u30a4\u30d7\u3001\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3001\u30b9\u30e9\u30c3\u30b0\u3001ID\u3001\u30e1\u30bf\u30ad\u30fc\u3092\u81ea\u5206\u306e\u74b0\u5883\u3078\u5408\u308f\u305b\u308b<\/div><\/li><li><span class=\"step-number wpq-step-no\">3<\/span><div class=\"step-body wpq-step-body\">\u8868\u793a\u7d50\u679c\uff1a\u672c\u756a\u3068\u5206\u3051\u305f\u691c\u8a3c\u74b0\u5883\u3067\u30010\u4ef6\u30fb1\u4ef6\u30fb\u8907\u6570\u4ef6\u306e\u8868\u793a\u3001\u4e26\u3073\u9806\u3001\u5f8c\u7d9a\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u78ba\u8a8d\u3059\u308b<\/div><\/li><\/ol><\/section>\n<p>\u30af\u30e9\u30b7\u30c3\u30af\u30c6\u30fc\u30de\u3067\u65b0\u7740\u4e00\u89a7\u306ePHP\u30d1\u30fc\u30c4\u3092\u8ffd\u52a0\u3059\u308b\u306a\u3089\u3001\u5b50\u30c6\u30fc\u30de\u3078\u4fdd\u5b58\u3057\u3001\u8868\u793a\u3057\u305f\u3044\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304b\u3089get_template_part()\u3067\u547c\u3073\u51fa\u3057\u307e\u3059\u3002$args\u3060\u3051\u3092\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u672c\u6587\u3078\u8cbc\u3063\u3066\u3082\u3001\u4e00\u89a7\u306f\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002functions.php\u3078\u8868\u793a\u30b3\u30fc\u30c9\u3092\u4e38\u3054\u3068\u7f6e\u304f\u65b9\u6cd5\u3068\u3082\u533a\u5225\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>`$args`\u304b\u3089\u53d6\u5f97\u30fb\u30eb\u30fc\u30d7\u30fb\u30ea\u30bb\u30c3\u30c8\u307e\u3067\u306e\u5f62\u306f\u3001[WP_Query\u306e\u57fa\u672c\u69cb\u6587\u3068$args\u306e\u66f8\u304d\u65b9](https:\/\/wptoolslab.com\/query-lab\/articles\/wp-query-basic-syntax\/)\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u7d50\u679c\u304c0\u4ef6\u306a\u3089[WP_Query\u3067\u6295\u7a3f\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u3068\u304d\u306e\u78ba\u8a8d\u9806](https:\/\/wptoolslab.com\/query-lab\/articles\/wp-query-no-posts-checklist\/)\u3001\u4ef6\u6570\u3060\u3051\u304c\u5408\u308f\u306a\u3044\u306a\u3089[WP_Query\u306e\u8868\u793a\u4ef6\u6570\u304c\u5408\u308f\u306a\u3044\u539f\u56e0](https:\/\/wptoolslab.com\/query-lab\/articles\/post-count-mismatch\/)\u3078\u9032\u3080\u3068\u3001\u751f\u6210\u6761\u4ef6\u3068WordPress\u5074\u306e\u554f\u984c\u3092\u5206\u3051\u3066\u8abf\u3079\u3089\u308c\u307e\u3059\u3002<\/p>\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\">WP Query Builder\u306b\u306a\u3044\u53d6\u5f97\u6761\u4ef6\u3092\u8abf\u3079\u308b\u516c\u5f0f\u8cc7\u6599<\/span><\/h2>\n<p>WP Query Builder\u306e\u753b\u9762\u306f\u3001WordPress\u516c\u5f0f\u306eWP_Query\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u4f7f\u3044\u3084\u3059\u3044\u5f62\u306b\u6574\u7406\u3057\u305f\u3082\u306e\u3067\u3059\u3002UI\u306b\u306a\u3044\u6761\u4ef6\u3092\u8db3\u3059\u3068\u304d\u3084\u3001Tax \/ Meta \/ Date Query\u306e\u6bd4\u8f03\u65b9\u6cd5\u3092\u6df1\u304f\u78ba\u8a8d\u3059\u308b\u3068\u304d\u306f\u3001\u751f\u6210\u30b3\u30fc\u30c9\u3060\u3051\u3067\u5224\u65ad\u305b\u305a\u516c\u5f0f\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u3078\u623b\u308a\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\">\u4f7f\u3048\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3068\u8fd4\u308a\u5024\u3001\u30eb\u30fc\u30d7\u5168\u4f53\u3092\u78ba\u8a8d\u3057\u305f\u3044\u3068\u304d<\/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 Class<\/strong><span class=\"wpq-reference-item__description\">\u30ab\u30c6\u30b4\u30ea\u30fc\u3001\u30bf\u30b0\u3001\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306e\u6761\u4ef6\u3092\u78ba\u8a8d\u3057\u305f\u3044\u3068\u304d<\/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_meta_query\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span class=\"wpq-reference-item__copy\"><strong class=\"wpq-reference-item__title\">WP_Meta_Query Class<\/strong><span class=\"wpq-reference-item__description\">\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u6bd4\u8f03\u65b9\u6cd5\u3084\u5165\u308c\u5b50\u6761\u4ef6\u3092\u78ba\u8a8d\u3057\u305f\u3044\u3068\u304d<\/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_date_query\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span class=\"wpq-reference-item__copy\"><strong class=\"wpq-reference-item__title\">WP_Date_Query Class<\/strong><span class=\"wpq-reference-item__description\">\u6295\u7a3f\u65e5\u30fb\u66f4\u65b0\u65e5\u30fb\u671f\u9593\u6761\u4ef6\u306e\u6307\u5b9a\u65b9\u6cd5\u3092\u78ba\u8a8d\u3057\u305f\u3044\u3068\u304d<\/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\/current_time\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span class=\"wpq-reference-item__copy\"><strong class=\"wpq-reference-item__title\">current_time()<\/strong><span class=\"wpq-reference-item__description\">WordPress\u306e\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u3067\u4eca\u65e5\u306e\u65e5\u4ed8\u3092\u53d6\u5f97\u3057\u305f\u3044\u3068\u304d<\/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<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>\u751f\u6210\u30b3\u30fc\u30c9\u3092\u4f7f\u3046\u524d\u306e\u6700\u7d42\u30c1\u30a7\u30c3\u30af<\/h2><\/div><ul class=\"wpq-checklist\"><li>\u751f\u6210\u30b3\u30fc\u30c9\u3068\u901a\u5e38\u30e2\u30fc\u30c9\u306e\u8aac\u660e\u304c\u3001\u76ee\u7684\u306e\u53d6\u5f97\u6761\u4ef6\u3068\u4e00\u81f4\u3057\u3066\u3044\u308b<\/li><li>\u6295\u7a3f\u30bf\u30a4\u30d7\u30fbID\u30fb\u30e1\u30bf\u30ad\u30fc\u3068\u5024\u306e\u4fdd\u5b58\u5f62\u5f0f\u304c\u3001\u5b9f\u969b\u306eWordPress\u3068\u4e00\u81f4\u3057\u3066\u3044\u308b<\/li><li>\u4eca\u65e5\u306a\u3069\u306e\u52d5\u7684\u306a\u5024\u306f\u53d6\u5f97\u524d\u306b\u5dee\u3057\u66ff\u3048\u3001\u65e5\u4ed8\u5909\u66f4\u5f8c\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3082\u78ba\u8a8d\u3067\u304d\u308b<\/li><li>\u8a2d\u7f6e\u5834\u6240\u3068\u8868\u793a\u30eb\u30fc\u30d7\u3092\u7528\u610f\u3057\u3001\u672c\u756a\u3068\u5206\u3051\u305f\u74b0\u5883\u30670\u4ef6\u30fb1\u4ef6\u30fb\u8907\u6570\u4ef6\u3092\u78ba\u8a8d\u3057\u3066\u3044\u308b<\/li><\/ul><\/section>\n","protected":false},"excerpt":{"rendered":"<p>WP Query Builder\u3067\u4f5c\u308c\u308b\u6761\u4ef6\u3001\u73fe\u5728\u306e\u975e\u5bfe\u5fdc\u7bc4\u56f2\u3001\u751f\u6210\u5f8c\u306bWordPress\u5074\u3067\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3092\u6574\u7406\u3057\u307e\u3059\u3002\u4f7f\u3044\u3069\u3053\u308d\u3068\u521d\u5fc3\u8005\u5411\u3051\u306e\u8abf\u3079\u65b9\u3082\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"author":3,"featured_media":4208,"template":"","meta":{"wpq_kicker":"\u30c4\u30fc\u30eb\u9023\u643a","wpq_lead":"WP Query Builder\u306f\u3001\u753b\u9762\u3067\u9805\u76ee\u3092\u9078\u3073\u306a\u304c\u3089\u3001\u6295\u7a3f\u306e\u53d6\u5f97\u6761\u4ef6\u3092PHP\u914d\u5217\u306e$args\u306b\u3067\u304d\u308b\u7121\u6599\u30c4\u30fc\u30eb\u3067\u3059\u3002\u300c\u30b3\u30fc\u30c9\u3092\u4f5c\u308c\u3070\u3001\u305d\u306e\u307e\u307e\u8a18\u4e8b\u4e00\u89a7\u304c\u51fa\u305b\u308b\uff1f\u300d\u3068\u8ff7\u3063\u3066\u3044\u308b\u65b9\u3078\u3001\u751f\u6210\u3067\u304d\u308b\u7bc4\u56f2\u3068\u3001WordPress\u5074\u3067\u5fc5\u8981\u306a\u4f5c\u696d\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002","wpq_hero_title_line1":"","wpq_hero_title_line2":"","wpq_hero_title_accent":"","wpq_hero_thumbnail_alt":"WP Query Builder\u3068\u306f\uff1f\u3067\u304d\u308b\u3053\u3068\u30fb\u3067\u304d\u306a\u3044\u3053\u3068\u3068\u4f7f\u3044\u3069\u3053\u308d \u306e\u30d2\u30fc\u30ed\u30fc\u30b5\u30e0\u30cd\u30a4\u30eb","wpq_hero_summary_mode":"","wpq_hero_summary_label":"\u5f79\u5272\u3092\u898b\u5206\u3051\u308b","wpq_hero_summary_items":"`WP Query Builder`::\u53d6\u5f97\u6761\u4ef6\u3092\u4f5c\u308b\n`WordPress\u5074`::\u8a2d\u7f6e\u3068\u8868\u793a\u3092\u78ba\u304b\u3081\u308b","wpq_reading_time":"","wpq_difficulty_label":"","wpq_difficulty_stars":"2","wpq_target_audience":"WP_Query\u306e\u30b3\u30fc\u30c9\u3092\u4f5c\u308a\u305f\u3044\u3082\u306e\u306e\u3001WP Query Builder\u3067\u3069\u3053\u307e\u3067\u3067\u304d\u308b\u306e\u304b\u3001\u751f\u6210\u5f8c\u306b\u4f55\u3092\u78ba\u8a8d\u3059\u308c\u3070\u3088\u3044\u306e\u304b\u5206\u304b\u3089\u306a\u3044WordPress\u521d\u5fc3\u8005","wpq_updated_label":"","wpq_summary_items":"","wpq_scope_include":"","wpq_scope_exclude":"","wpq_quick_checks":"","wpq_sidebar_notes":"","wpq_sidebar_promo_text":"","wpq_sidebar_promo_label":"","wpq_sidebar_promo_url":"","wpq_builder_fields":"","wpq_official_links":"WP_Query Class|https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/\nWP_Tax_Query Class|https:\/\/developer.wordpress.org\/reference\/classes\/wp_tax_query\/\nWP_Meta_Query Class|https:\/\/developer.wordpress.org\/reference\/classes\/wp_meta_query\/\nWP_Date_Query Class|https:\/\/developer.wordpress.org\/reference\/classes\/wp_date_query\/\ncurrent_time()|https:\/\/developer.wordpress.org\/reference\/functions\/current_time\/","wpq_pr_notice":"","wpq_affiliate_placement":"inline","wpq_affiliate_program":"xserver","wpq_affiliate_context":"test-environment","wpq_support_mode":"","wpq_popularity_score":"","wpq_author_box_name":"","wpq_author_box_role":"","wpq_author_box_body":"","wpq_author_box_avatar":"","wpq_author_box_avatar_url":"","wpq_author_avatar_url":"","wpq_reader_avatar_url":"","wpq_editor_avatar_url":"","footnotes":""},"categories":[114],"tags":[18,22,146,160],"wpq_card_label":[8],"wpq_difficulty":[11],"class_list":["post-4085","wpq_article","type-wpq_article","status-publish","has-post-thumbnail","hentry","category-114","tag-meta_query","tag-tax_query","tag-wp-query-builder","tag-160"],"_links":{"self":[{"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_article\/4085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_article"}],"about":[{"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/types\/wpq_article"}],"author":[{"embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/users\/3"}],"version-history":[{"count":1,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_article\/4085\/revisions"}],"predecessor-version":[{"id":4248,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_article\/4085\/revisions\/4248"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/media\/4208"}],"wp:attachment":[{"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/media?parent=4085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/categories?post=4085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/tags?post=4085"},{"taxonomy":"wpq_card_label","embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_card_label?post=4085"},{"taxonomy":"wpq_difficulty","embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_difficulty?post=4085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}