{"id":3823,"date":"2026-08-21T20:44:05","date_gmt":"2026-08-21T11:44:05","guid":{"rendered":"https:\/\/wptoolslab.com\/query-lab\/?post_type=wpq_article&#038;p=3823"},"modified":"2026-08-24T06:45:58","modified_gmt":"2026-08-23T21:45:58","slug":"wp-query-orderby-order","status":"publish","type":"wpq_article","link":"https:\/\/wptoolslab.com\/query-lab\/articles\/wp-query-orderby-order\/","title":{"rendered":"WordPress\u306e\u8a18\u4e8b\u3092\u65b0\u3057\u3044\u9806\u30fb\u53e4\u3044\u9806\u306b\u4e26\u3079\u308b\u65b9\u6cd5\uff5cWP_Query\u306eorderby\u3068order"},"content":{"rendered":"<section class=\"conclusion wpq-conclusion\"><h2 class=\"wpq-conclusion__title\">\u65b0\u3057\u3044\u9806\u30fb\u53e4\u3044\u9806\u306forderby\u3068order\u3067\u6c7a\u3081\u308b<\/h2><p>WordPress\u306e\u8a18\u4e8b\u3092\u65b0\u3057\u3044\u9806\u306b\u3059\u308b\u306b\u306f\u3001`orderby`\u3092`date`\u3001`order`\u3092`DESC`\u306b\u3057\u307e\u3059\u3002\u53e4\u3044\u9806\u306a\u3089`order`\u3092`ASC`\u3078\u5909\u3048\u307e\u3059\u3002`orderby`\u304c<span class=\"wpq-marker wpq-marker--yellow\">\u4f55\u3092\u57fa\u6e96\u306b\u3059\u308b\u304b<\/span>\u3001`order`\u304c<span class=\"wpq-marker wpq-marker--yellow\">\u3069\u3061\u3089\u5411\u304d\u306b\u4e26\u3079\u308b\u304b<\/span>\u3092\u6c7a\u3081\u307e\u3059\u3002<\/p>\n<p>`orderby`\u306f\u3001\u4f55\u3092\u57fa\u6e96\u306b\u4e26\u3079\u308b\u304b\u3092\u9078\u3076\u6307\u5b9a\u3067\u3059\u3002\u6295\u7a3f\u65e5\u306a\u3089`date`\u3001\u30bf\u30a4\u30c8\u30eb\u306a\u3089`title`\u3001\u66f4\u65b0\u65e5\u306a\u3089`modified`\u3092\u4f7f\u3044\u307e\u3059\u3002\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024\u3092\u57fa\u6e96\u306b\u3059\u308b\u5834\u5408\u306f\u3001`meta_key`\u3068\u5024\u306e\u578b\u3082\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<\/section>\n<h2 id=\"difference\" class=\"h-underline section-heading\"><span class=\"section-heading-icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"list\" 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 5h.01\" \/>\n  <path d=\"M3 12h.01\" \/>\n  <path d=\"M3 19h.01\" \/>\n  <path d=\"M8 5h13\" \/>\n  <path d=\"M8 12h13\" \/>\n  <path d=\"M8 19h13\" \/>\n<\/svg><\/span><span class=\"section-heading-text\">\u65b0\u3057\u3044\u9806\u30fb\u53e4\u3044\u9806\u306b\u3059\u308b\u65b9\u6cd5<\/span><\/h2>\n<p>WP_Query\u3067\u4e26\u3073\u9806\u3092\u5909\u3048\u305f\u3044\u3068\u304d\u3001\u307e\u305a\u6df7\u4e71\u3057\u3084\u3059\u3044\u306e\u304c `orderby` \u3068 `order` \u306e\u540d\u524d\u3067\u3059\u3002\u3069\u3061\u3089\u3082\u300c\u4e26\u3073\u9806\u300d\u306b\u95a2\u4fc2\u3059\u308b\u305f\u3081\u3001\u6700\u521d\u306f\u540c\u3058\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001\u5f79\u5272\u306f\u306f\u3063\u304d\u308a\u5206\u304b\u308c\u3066\u3044\u307e\u3059\u3002`orderby` \u306f\u4e26\u3079\u66ff\u3048\u306e\u57fa\u6e96\u3092\u6c7a\u3081\u307e\u3059\u3002`order` \u306f\u305d\u306e\u57fa\u6e96\u306b\u5bfe\u3057\u3066\u3001\u4e0a\u304b\u3089\u4e0b\u3078\u3069\u3046\u4e26\u3079\u308b\u304b\u3092\u6c7a\u3081\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u300c\u6295\u7a3f\u65e5\u3092\u57fa\u6e96\u306b\u3001\u65b0\u3057\u3044\u9806\u3067\u4e26\u3079\u308b\u300d\u306a\u3089\u3001\u57fa\u6e96\u306f `date`\u3001\u5411\u304d\u306f `DESC` \u3067\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 \/ \u5f79\u5272 \/ \u4f8b\"><table class=\"article-table table-priority wpq-article-table\"><thead><tr><th>\u6307\u5b9a<\/th><th>\u5f79\u5272<\/th><th>\u4f8b<\/th><\/tr><\/thead><tbody><tr><td>orderby<\/td><td>\u4f55\u3092\u57fa\u6e96\u306b\u4e26\u3079\u308b\u304b<\/td><td>date\u3001title\u3001modified\u3001menu_order\u3001meta_value_num \u306a\u3069<\/td><\/tr><tr><td>order<\/td><td>\u6607\u9806\u304b\u964d\u9806\u304b<\/td><td>ASC\u3001DESC<\/td><\/tr><\/tbody><\/table><\/div><\/div>\n<p>\u30b3\u30fc\u30c9\u3092\u8aad\u3080\u3068\u304d\u306f\u3001\u307e\u305a`orderby`\u3092\u898b\u3066\u300c\u4f55\u3092\u57fa\u6e96\u306b\u4e26\u3079\u308b\u304b\u300d\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u6b21\u306b`order`\u3092\u898b\u3066\u3001\u300c\u305d\u306e\u57fa\u6e96\u3092\u3069\u3061\u3089\u5411\u304d\u306b\u4e26\u3079\u308b\u304b\u300d\u3092\u78ba\u8a8d\u3059\u308b\u3068\u7406\u89e3\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>WP_Query\u306e\u7d44\u307f\u7acb\u3066\u65b9\u304b\u3089\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u306f\u3001[WP_Query\u306e\u57fa\u672c\u69cb\u6587\u3068$args\u306e\u66f8\u304d\u65b9](..\/wp-query-basic-syntax\/)\u3092\u5148\u306b\u8aad\u3080\u3068\u3001`$args`\u3068\u30eb\u30fc\u30d7\u5168\u4f53\u306e\u6d41\u308c\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<span class=\"wpq-marker wpq-marker--yellow\">`DESC`\u304c\u5e38\u306b\u300c\u65b0\u3057\u3044\u9806\u300d\u306b\u306a\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u6307\u5b9a\u3057\u305f\u57fa\u6e96\u306e\u5927\u304d\u3044\u5074\u304b\u3089\u4e26\u3079\u308b\u305f\u3081\u3001`date`\u306a\u3089\u65b0\u3057\u3044\u9806\u3001\u6570\u5024\u306a\u3089\u5927\u304d\u3044\u9806\u3001`title`\u306a\u3089\u6587\u5b57\u5217\u306e\u964d\u9806\u3067\u3059\u3002<\/span>\n<h2 id=\"basic-example\" class=\"h-underline section-heading\"><span class=\"section-heading-icon\" aria-hidden=\"true\"><svg data-wpq-icon=\"code\" 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\">\u307e\u305a\u306f\u65e5\u4ed8\u9806\u306e\u6700\u5c0f\u4f8b\u3067\u898b\u308b<\/span><\/h2>\n<p>\u6700\u521d\u306b\u899a\u3048\u308b\u306a\u3089\u3001\u6295\u7a3f\u65e5\u3067\u4e26\u3079\u308b\u4f8b\u304c\u4e00\u756a\u5206\u304b\u308a\u3084\u3059\u3044\u3067\u3059\u3002WordPress\u306e\u8a18\u4e8b\u4e00\u89a7\u3067\u3088\u304f\u3042\u308b\u300c\u65b0\u3057\u3044\u9806\u300d\u300c\u53e4\u3044\u9806\u300d\u306f\u3001`orderby` \u306b `date` \u3092\u6307\u5b9a\u3057\u3001`order` \u3067\u5411\u304d\u3092\u5909\u3048\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001\u901a\u5e38\u6295\u7a3f\u3092\u6295\u7a3f\u65e5\u304c\u65b0\u3057\u3044\u9806\u306b3\u4ef6\u53d6\u5f97\u3059\u308b\u4f8b\u3067\u3059\u3002\u691c\u8a3c\u74b0\u5883\u3067\u6295\u7a3f\u65e5\u3068\u8868\u793a\u9806\u3092\u7167\u5408\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"code-panel wpq-code-block\"><div class=\"wpq-code-context wpq-code-context--template\"><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>\u30af\u30e9\u30b7\u30c3\u30af\u30c6\u30fc\u30de\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\uff08\u307e\u305f\u306f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d1\u30fc\u30c4\uff09\u3067\u3001\u4e00\u89a7\u3092\u8868\u793a\u3057\u305f\u3044\u4f4d\u7f6e\u306b\u7f6e\u304f\u4f8b\u3067\u3059\u3002\u6295\u7a3f\u672c\u6587\u3084functions.php\u3078\u3001\u305d\u306e\u307e\u307e\u8cbc\u308b\u30b3\u30fc\u30c9\u3067\u306f\u3042\u308a\u307e\u305b\u3093\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\">latest-posts.php<\/span><span class=\"code-purpose wpq-code-pill\">\u6295\u7a3f\u65e5\u304c\u65b0\u3057\u3044\u9806\u306b\u6295\u7a3f\u30923\u4ef6\u53d6\u5f97\u3059\u308b\u6700\u5c0f\u4f8b<\/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: \u6295\u7a3f\u65e5\u304c\u65b0\u3057\u3044\u9806\u306b\u6295\u7a3f\u30923\u4ef6\u53d6\u5f97\u3059\u308b\u6700\u5c0f\u4f8b \/ latest-posts.php \/ PHP\"><code><span class=\"wpq-code-line\">&lt;br \/&gt;<\/span><span class=\"wpq-code-line\"><span class=\"c-var\">$args<\/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;post&#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\">3<\/span>,&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">   <span class=\"c-key\">&#039;orderby&#039;<\/span>        =&gt; <span class=\"c-str\">&#039;date&#039;<\/span>,&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">   <span class=\"c-key\">&#039;order&#039;<\/span>          =&gt; <span class=\"c-str\">&#039;DESC&#039;<\/span>,&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">];&lt;\/p&gt;<\/span><span class=\"wpq-code-line\">&lt;p&gt;<span class=\"c-var\">$latest_posts<\/span> = <span class=\"c-keyword\">new<\/span> <span class=\"c-fn\">WP_Query<\/span>( <span class=\"c-var\">$args<\/span> );&lt;\/p&gt;<\/span><span class=\"wpq-code-line\">&lt;p&gt;<span class=\"c-keyword\">if<\/span> ( <span class=\"c-var\">$latest_posts<\/span>-&gt;have_posts() ) {&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">   <span class=\"c-keyword\">echo<\/span> <span class=\"c-str\">&#039;&lt;ul&gt;&#039;<\/span>;&lt;\/p&gt;<\/span><span class=\"wpq-code-line\">&lt;p&gt;   <span class=\"c-keyword\">while<\/span> ( <span class=\"c-var\">$latest_posts<\/span>-&gt;have_posts() ) {&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">      <span class=\"c-var\">$latest_posts<\/span>-&gt;the_post();&lt;\/p&gt;<\/span><span class=\"wpq-code-line\">&lt;p&gt;      <span class=\"c-keyword\">echo<\/span> <span class=\"c-str\">&#039;&lt;li&gt;&lt;a href=&quot;&#039;<\/span> . esc_url( get_permalink() ) . <span class=\"c-str\">&#039;&quot;&gt;&#039;<\/span>;&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">      <span class=\"c-keyword\">echo<\/span> esc_html( get_the_title() );&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">      <span class=\"c-keyword\">echo<\/span> <span class=\"c-str\">&#039;&lt;\/a&gt;&lt;\/li&gt;&#039;<\/span>;&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">   }&lt;\/p&gt;<\/span><span class=\"wpq-code-line\">&lt;p&gt;   <span class=\"c-keyword\">echo<\/span> <span class=\"c-str\">&#039;&lt;\/ul&gt;&#039;<\/span>;&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">}&lt;\/p&gt;<\/span><span class=\"wpq-code-line\">&lt;p&gt;wp_reset_postdata();&lt;br \/&gt;<\/span><\/code><\/pre><textarea class=\"wpq-code-raw\" hidden aria-hidden=\"true\" tabindex=\"-1\">&lt;br \/&gt;\n$args = [&lt;br \/&gt;\n   &#039;post_type&#039;      =&gt; &#039;post&#039;,&lt;br \/&gt;\n   &#039;posts_per_page&#039; =&gt; 3,&lt;br \/&gt;\n   &#039;orderby&#039;        =&gt; &#039;date&#039;,&lt;br \/&gt;\n   &#039;order&#039;          =&gt; &#039;DESC&#039;,&lt;br \/&gt;\n];&lt;\/p&gt;\n&lt;p&gt;$latest_posts = new WP_Query( $args );&lt;\/p&gt;\n&lt;p&gt;if ( $latest_posts-&gt;have_posts() ) {&lt;br \/&gt;\n   echo &#039;&lt;ul&gt;&#039;;&lt;\/p&gt;\n&lt;p&gt;   while ( $latest_posts-&gt;have_posts() ) {&lt;br \/&gt;\n      $latest_posts-&gt;the_post();&lt;\/p&gt;\n&lt;p&gt;      echo &#039;&lt;li&gt;&lt;a href=&quot;&#039; . esc_url( get_permalink() ) . &#039;&quot;&gt;&#039;;&lt;br \/&gt;\n      echo esc_html( get_the_title() );&lt;br \/&gt;\n      echo &#039;&lt;\/a&gt;&lt;\/li&gt;&#039;;&lt;br \/&gt;\n   }&lt;\/p&gt;\n&lt;p&gt;   echo &#039;&lt;\/ul&gt;&#039;;&lt;br \/&gt;\n}&lt;\/p&gt;\n&lt;p&gt;wp_reset_postdata();&lt;br \/&gt;<\/textarea><\/div>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306e\u8aad\u307f\u3069\u3053\u308d\u306f\u3001`orderby` \u3068 `order` \u30921\u884c\u305a\u3064\u5206\u3051\u3066\u8aad\u3080\u3053\u3068\u3067\u3059\u3002`orderby` \u304c `date` \u306a\u306e\u3067\u3001\u6295\u7a3f\u65e5\u3092\u57fa\u6e96\u306b\u3057\u3066\u3044\u307e\u3059\u3002`order` \u304c `DESC` \u306a\u306e\u3067\u3001\u65b0\u3057\u3044\u6295\u7a3f\u304b\u3089\u53e4\u3044\u6295\u7a3f\u3078\u4e26\u3073\u307e\u3059\u3002<\/p>\n<p>\u901a\u5e38\u6295\u7a3f\u4ee5\u5916\u3092\u4e26\u3079\u308b\u5834\u5408\u306f\u3001`post_type`\u3092\u5bfe\u8c61\u306b\u5408\u308f\u305b\u307e\u3059\u3002[WP_Query\u306epost_type\u6307\u5b9a\u65b9\u6cd5](..\/post-type-parameter\/)\u3067\u306f\u3001`post`\u3001`page`\u3001\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u9055\u3044\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306b`wp_reset_postdata()`\u3092\u7f6e\u3044\u3066\u3044\u308b\u306e\u306f\u3001`the_post()`\u3092\u4f7f\u3063\u305f\u5f8c\u306b\u30e1\u30a4\u30f3\u30af\u30a8\u30ea\u306e\u73fe\u5728\u306e\u6295\u7a3f\u30c7\u30fc\u30bf\u3078\u623b\u3059\u305f\u3081\u3067\u3059\u3002\u4e26\u3073\u9806\u305d\u306e\u3082\u306e\u3068\u306f\u5225\u3067\u3059\u304c\u3001\u5f8c\u7d9a\u306e\u30bf\u30a4\u30c8\u30eb\u3084URL\u304c\u5225\u6295\u7a3f\u3092\u53c2\u7167\u3059\u308b\u306e\u3092\u9632\u304e\u307e\u3059\u3002<\/p>\n<h3 id=\"asc-desc\" class=\"wpq-subheading\">ASC\u3068DESC\u306f\u3069\u3046\u8aad\u3080\u304b<\/h3>\n<p>`order` \u306b\u6307\u5b9a\u3059\u308b\u4ee3\u8868\u7684\u306a\u5024\u306f `ASC` \u3068 `DESC` \u3067\u3059\u3002`ASC` \u306f ascending \u306e\u7565\u3067\u3001\u6607\u9806\u3092\u610f\u5473\u3057\u307e\u3059\u3002`DESC` \u306f descending \u306e\u7565\u3067\u3001\u964d\u9806\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001\u521d\u5fc3\u8005\u304c\u8ff7\u3044\u3084\u3059\u3044\u306e\u306f\u300c\u6295\u7a3f\u65e5\u3067ASC\u306b\u3057\u305f\u3089\u3069\u3046\u306a\u308b\u306e\u304b\u300d\u300c\u30bf\u30a4\u30c8\u30eb\u3067DESC\u306b\u3057\u305f\u3089\u3069\u3046\u306a\u308b\u306e\u304b\u300d\u3068\u3044\u3046\u90e8\u5206\u3067\u3059\u3002\u6607\u9806\u30fb\u964d\u9806\u306f\u3001\u57fa\u6e96\u306b\u3088\u3063\u3066\u898b\u3048\u65b9\u304c\u5909\u308f\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: \u57fa\u6e96 \/ ASC\u306e\u898b\u3048\u65b9 \/ DESC\u306e\u898b\u3048\u65b9\"><table class=\"article-table table-priority wpq-article-table\"><thead><tr><th>\u57fa\u6e96<\/th><th>ASC\u306e\u898b\u3048\u65b9<\/th><th>DESC\u306e\u898b\u3048\u65b9<\/th><\/tr><\/thead><tbody><tr><td>date<\/td><td>\u53e4\u3044\u8a18\u4e8b\u304b\u3089\u65b0\u3057\u3044\u8a18\u4e8b\u3078<\/td><td>\u65b0\u3057\u3044\u8a18\u4e8b\u304b\u3089\u53e4\u3044\u8a18\u4e8b\u3078<\/td><\/tr><tr><td>title<\/td><td>DB\u306e\u7167\u5408\u9806\u5e8f\u306b\u3088\u308b\u6587\u5b57\u5217\u306e\u6607\u9806<\/td><td>DB\u306e\u7167\u5408\u9806\u5e8f\u306b\u3088\u308b\u6587\u5b57\u5217\u306e\u964d\u9806<\/td><\/tr><tr><td>ID<\/td><td>\u5c0f\u3055\u3044ID\u304b\u3089\u5927\u304d\u3044ID\u3078<\/td><td>\u5927\u304d\u3044ID\u304b\u3089\u5c0f\u3055\u3044ID\u3078<\/td><\/tr><tr><td>comment_count<\/td><td>\u30b3\u30e1\u30f3\u30c8\u304c\u5c11\u306a\u3044\u9806<\/td><td>\u30b3\u30e1\u30f3\u30c8\u304c\u591a\u3044\u9806<\/td><\/tr><\/tbody><\/table><\/div><\/div>\n<p>\u3064\u307e\u308a\u3001`ASC` \u3068 `DESC` \u306f\u5358\u306b\u300c\u4e0a\u300d\u300c\u4e0b\u300d\u3068\u3044\u3046\u3088\u308a\u3001\u6307\u5b9a\u3057\u305f\u57fa\u6e96\u306b\u5bfe\u3057\u3066\u5c0f\u3055\u3044\u5074\u304b\u3089\u898b\u308b\u304b\u3001\u5927\u304d\u3044\u5074\u304b\u3089\u898b\u308b\u304b\u306e\u9055\u3044\u3067\u3059\u3002\u65e5\u4ed8\u306a\u3089\u53e4\u3044\u304b\u65b0\u3057\u3044\u304b\u3001\u6570\u5024\u306a\u3089\u5c0f\u3055\u3044\u304b\u5927\u304d\u3044\u304b\u3001\u6587\u5b57\u5217\u306a\u3089\u6587\u5b57\u9806\u306e\u5411\u304d\u3068\u3057\u3066\u8003\u3048\u307e\u3059\u3002<\/p>\n<h3 id=\"common-orderby\" class=\"wpq-subheading\">\u3088\u304f\u4f7f\u3046orderby\u306e\u6307\u5b9a<\/h3>\n<p>`orderby` \u306b\u306f\u591a\u304f\u306e\u5024\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u6700\u521d\u304b\u3089\u5168\u90e8\u899a\u3048\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3088\u304f\u4f7f\u3046\u3082\u306e\u3060\u3051\u5148\u306b\u62bc\u3055\u3048\u3001\u5fc5\u8981\u306b\u306a\u3063\u305f\u3089\u516c\u5f0f\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u3067\u78ba\u8a8d\u3059\u308b\u65b9\u304c\u73fe\u5b9f\u7684\u3067\u3059\u3002<\/p>\n<p>\u4e00\u822c\u7684\u306a\u8a18\u4e8b\u4e00\u89a7\u3067\u3088\u304f\u4f7f\u3046\u306e\u306f\u3001`date`\u3001`modified`\u3001`title`\u3001`menu_order`\u3001`rand`\u3001`comment_count`\u3067\u3059\u3002`modified`\u306f\u8efd\u5fae\u306a\u4fdd\u5b58\u3067\u3082\u5909\u308f\u308a\u3001`comment_count`\u306f\u30b3\u30e1\u30f3\u30c8\u6570\u3067\u3042\u3063\u3066\u4eba\u6c17\u305d\u306e\u3082\u306e\u3092\u8868\u3059\u6307\u6a19\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002`menu_order`\u306f\u5404\u6295\u7a3f\u3078\u5024\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u524d\u63d0\u3067\u3001\u672a\u8a2d\u5b9a\u306e\u591a\u304f\u306f`0`\u3067\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: orderby\u306e\u5024 \/ \u4e26\u3073\u66ff\u3048\u306e\u57fa\u6e96 \/ \u3088\u304f\u3042\u308b\u7528\u9014\"><table class=\"article-table table-priority wpq-article-table\"><thead><tr><th>orderby\u306e\u5024<\/th><th>\u4e26\u3073\u66ff\u3048\u306e\u57fa\u6e96<\/th><th>\u3088\u304f\u3042\u308b\u7528\u9014<\/th><\/tr><\/thead><tbody><tr><td>date<\/td><td>\u6295\u7a3f\u65e5<\/td><td>\u65b0\u7740\u8a18\u4e8b\u4e00\u89a7\u3092\u4f5c\u308b<\/td><\/tr><tr><td>modified<\/td><td>\u66f4\u65b0\u65e5<\/td><td>\u6700\u8fd1\u66f4\u65b0\u3057\u305f\u8a18\u4e8b\u3092\u8868\u793a\u3059\u308b<\/td><\/tr><tr><td>title<\/td><td>\u30bf\u30a4\u30c8\u30eb<\/td><td>\u8a18\u4e8b\u540d\u9806\u306b\u4e26\u3079\u308b<\/td><\/tr><tr><td>menu_order<\/td><td>\u30e1\u30cb\u30e5\u30fc\u9806<\/td><td>\u56fa\u5b9a\u30da\u30fc\u30b8\u3084\u624b\u52d5\u9806\u306e\u8868\u793a\u306b\u4f7f\u3046<\/td><\/tr><tr><td>rand<\/td><td>\u30e9\u30f3\u30c0\u30e0<\/td><td>\u30e9\u30f3\u30c0\u30e0\u306b1\u4ef6\u51fa\u3059<\/td><\/tr><tr><td>comment_count<\/td><td>\u30b3\u30e1\u30f3\u30c8\u6570<\/td><td>\u30b3\u30e1\u30f3\u30c8\u304c\u591a\u3044\u8a18\u4e8b\u3092\u51fa\u3059<\/td><\/tr><tr><td>meta_value_num<\/td><td>\u6570\u5024\u306e\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9<\/td><td>\u4fa1\u683c\u3001\u5e74\u9f62\u3001\u9806\u4f4d\u306a\u3069\u306e\u6570\u5024\u9806\u306b\u4e26\u3079\u308b<\/td><\/tr><\/tbody><\/table><\/div><\/div>\n<p>`rand`\u3067\u306f`order`\u3092\u7701\u7565\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u6307\u5b9a\u914d\u5217\u306e\u9806\u5e8f\u3092\u4fdd\u3064`post__in`\u3001`post_name__in`\u3001`post_parent__in`\u3067\u3082\u3001`order`\u3092\u901a\u5e38\u306eASC \/ DESC\u3068\u3057\u3066\u4f7f\u3063\u3066\u9806\u5e8f\u3092\u53cd\u8ee2\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3059\u3079\u3066\u306e`orderby`\u306b\u540c\u3058\u3088\u3046\u306b`order`\u304c\u52b9\u304f\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h3 id=\"title-order-example\" class=\"wpq-subheading\">\u30bf\u30a4\u30c8\u30eb\u9806\u306b\u4e26\u3079\u308b\u4f8b<\/h3>\n<p>\u30bf\u30a4\u30c8\u30eb\u9806\u306f\u3001\u65e5\u4ed8\u9806\u306e\u6b21\u306b\u8a66\u3057\u3084\u3059\u3044\u4f8b\u3067\u3059\u3002\u898b\u305f\u76ee\u3067\u7d50\u679c\u3092\u78ba\u8a8d\u3057\u3084\u3059\u304f\u3001`ASC` \u3068 `DESC` \u306e\u9055\u3044\u3082\u6bd4\u8f03\u3057\u3084\u3059\u3044\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001\u901a\u5e38\u6295\u7a3f\u3092\u30bf\u30a4\u30c8\u30eb\u306e\u6607\u9806\u30673\u4ef6\u53d6\u5f97\u3059\u308b\u4f8b\u3067\u3059\u3002\u65e5\u672c\u8a9e\u30bf\u30a4\u30c8\u30eb\u306e\u5834\u5408\u3001\u671f\u5f85\u3057\u305f\u8aad\u307f\u4eee\u540d\u9806\u306b\u306a\u308b\u3068\u306f\u9650\u3089\u306a\u3044\u305f\u3081\u3001\u307e\u305a\u306f\u82f1\u6570\u5b57\u3084\u5206\u304b\u308a\u3084\u3059\u3044\u30bf\u30a4\u30c8\u30eb\u3092\u6301\u3064\u30c6\u30b9\u30c8\u6295\u7a3f\u3067\u78ba\u8a8d\u3059\u308b\u3068\u5224\u65ad\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<div class=\"code-panel wpq-code-block\"><div class=\"wpq-code-context wpq-code-context--template\"><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>\u30af\u30e9\u30b7\u30c3\u30af\u30c6\u30fc\u30de\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\uff08\u307e\u305f\u306f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d1\u30fc\u30c4\uff09\u3067\u3001\u4e00\u89a7\u3092\u8868\u793a\u3057\u305f\u3044\u4f4d\u7f6e\u306b\u7f6e\u304f\u4f8b\u3067\u3059\u3002\u6295\u7a3f\u672c\u6587\u3084functions.php\u3078\u3001\u305d\u306e\u307e\u307e\u8cbc\u308b\u30b3\u30fc\u30c9\u3067\u306f\u3042\u308a\u307e\u305b\u3093\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\">title-order-posts.php<\/span><span class=\"code-purpose wpq-code-pill\">\u6295\u7a3f\u3092\u30bf\u30a4\u30c8\u30eb\u306e\u6607\u9806\u3067\u53d6\u5f97\u3059\u308b\u4f8b<\/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: \u6295\u7a3f\u3092\u30bf\u30a4\u30c8\u30eb\u306e\u6607\u9806\u3067\u53d6\u5f97\u3059\u308b\u4f8b \/ title-order-posts.php \/ PHP\"><code><span class=\"wpq-code-line\">&lt;br \/&gt;<\/span><span class=\"wpq-code-line\"><span class=\"c-var\">$args<\/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;post&#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\">3<\/span>,&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">   <span class=\"c-key\">&#039;orderby&#039;<\/span>        =&gt; <span class=\"c-str\">&#039;title&#039;<\/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\">];&lt;\/p&gt;<\/span><span class=\"wpq-code-line\">&lt;p&gt;<span class=\"c-var\">$title_posts<\/span> = <span class=\"c-keyword\">new<\/span> <span class=\"c-fn\">WP_Query<\/span>( <span class=\"c-var\">$args<\/span> );&lt;\/p&gt;<\/span><span class=\"wpq-code-line\">&lt;p&gt;<span class=\"c-keyword\">if<\/span> ( <span class=\"c-var\">$title_posts<\/span>-&gt;have_posts() ) {&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">   <span class=\"c-keyword\">echo<\/span> <span class=\"c-str\">&#039;&lt;ul&gt;&#039;<\/span>;&lt;\/p&gt;<\/span><span class=\"wpq-code-line\">&lt;p&gt;   <span class=\"c-keyword\">while<\/span> ( <span class=\"c-var\">$title_posts<\/span>-&gt;have_posts() ) {&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">      <span class=\"c-var\">$title_posts<\/span>-&gt;the_post();&lt;\/p&gt;<\/span><span class=\"wpq-code-line\">&lt;p&gt;      <span class=\"c-keyword\">echo<\/span> <span class=\"c-str\">&#039;&lt;li&gt;&lt;a href=&quot;&#039;<\/span> . esc_url( get_permalink() ) . <span class=\"c-str\">&#039;&quot;&gt;&#039;<\/span>;&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">      <span class=\"c-keyword\">echo<\/span> esc_html( get_the_title() );&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">      <span class=\"c-keyword\">echo<\/span> <span class=\"c-str\">&#039;&lt;\/a&gt;&lt;\/li&gt;&#039;<\/span>;&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">   }&lt;\/p&gt;<\/span><span class=\"wpq-code-line\">&lt;p&gt;   <span class=\"c-keyword\">echo<\/span> <span class=\"c-str\">&#039;&lt;\/ul&gt;&#039;<\/span>;&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">}&lt;\/p&gt;<\/span><span class=\"wpq-code-line\">&lt;p&gt;wp_reset_postdata();&lt;br \/&gt;<\/span><\/code><\/pre><textarea class=\"wpq-code-raw\" hidden aria-hidden=\"true\" tabindex=\"-1\">&lt;br \/&gt;\n$args = [&lt;br \/&gt;\n   &#039;post_type&#039;      =&gt; &#039;post&#039;,&lt;br \/&gt;\n   &#039;posts_per_page&#039; =&gt; 3,&lt;br \/&gt;\n   &#039;orderby&#039;        =&gt; &#039;title&#039;,&lt;br \/&gt;\n   &#039;order&#039;          =&gt; &#039;ASC&#039;,&lt;br \/&gt;\n];&lt;\/p&gt;\n&lt;p&gt;$title_posts = new WP_Query( $args );&lt;\/p&gt;\n&lt;p&gt;if ( $title_posts-&gt;have_posts() ) {&lt;br \/&gt;\n   echo &#039;&lt;ul&gt;&#039;;&lt;\/p&gt;\n&lt;p&gt;   while ( $title_posts-&gt;have_posts() ) {&lt;br \/&gt;\n      $title_posts-&gt;the_post();&lt;\/p&gt;\n&lt;p&gt;      echo &#039;&lt;li&gt;&lt;a href=&quot;&#039; . esc_url( get_permalink() ) . &#039;&quot;&gt;&#039;;&lt;br \/&gt;\n      echo esc_html( get_the_title() );&lt;br \/&gt;\n      echo &#039;&lt;\/a&gt;&lt;\/li&gt;&#039;;&lt;br \/&gt;\n   }&lt;\/p&gt;\n&lt;p&gt;   echo &#039;&lt;\/ul&gt;&#039;;&lt;br \/&gt;\n}&lt;\/p&gt;\n&lt;p&gt;wp_reset_postdata();&lt;br \/&gt;<\/textarea><\/div>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001`orderby` \u304c `title` \u306a\u306e\u3067\u30bf\u30a4\u30c8\u30eb\u3092\u57fa\u6e96\u306b\u3057\u3066\u3044\u307e\u3059\u3002`order` \u304c `ASC` \u306a\u306e\u3067\u3001\u6607\u9806\u3067\u4e26\u3073\u307e\u3059\u3002`DESC` \u306b\u5909\u3048\u308b\u3068\u3001\u540c\u3058\u30bf\u30a4\u30c8\u30eb\u57fa\u6e96\u306e\u307e\u307e\u3001\u5411\u304d\u3060\u3051\u304c\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n<p>\u4e26\u3073\u9806\u306f\u3001`orderby`\u3092\u5909\u3048\u308b\u6642\u306f`order`\u3092\u56fa\u5b9a\u3057\u3001`order`\u3092\u5909\u3048\u308b\u6642\u306f`orderby`\u3092\u56fa\u5b9a\u3057\u3066\u78ba\u8a8d\u3057\u307e\u3059\u30021\u3064\u305a\u3064\u5909\u3048\u308c\u3070\u3001\u7d50\u679c\u304c\u5909\u308f\u3063\u305f\u7406\u7531\u3092\u8ffd\u3048\u307e\u3059\u3002<\/p>\n<p>\u540c\u3058\u6295\u7a3f\u65e5\u3092\u6301\u3064\u6295\u7a3f\u306e\u9806\u5e8f\u3082\u56fa\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u7b2c\u4e8c\u57fa\u6e96\u3092\u52a0\u3048\u307e\u3059\u3002\u6b21\u306e\u5dee\u5206\u3067\u306f\u6295\u7a3f\u65e5\u304c\u540c\u3058\u3068\u304d\u306bID\u306e\u5927\u304d\u3044\u6295\u7a3f\u3092\u5148\u306b\u3057\u307e\u3059\u3002ID\u9806\u306f\u6295\u7a3f\u65e5\u9806\u306e\u4ee3\u7528\u3067\u306f\u306a\u304f\u3001\u540c\u5024\u3092\u5b89\u5b9a\u3055\u305b\u308b\u88dc\u52a9\u3067\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\">orderby-multiple.php<\/span><span class=\"code-purpose wpq-code-pill\">\u6295\u7a3f\u65e5\u3068ID\u306e2\u57fa\u6e96\u3067\u4e26\u3079\u308b$args\u5dee\u5206<\/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: \u6295\u7a3f\u65e5\u3068ID\u306e2\u57fa\u6e96\u3067\u4e26\u3079\u308b$args\u5dee\u5206 \/ orderby-multiple.php \/ PHP\"><code><span class=\"wpq-code-line\">&lt;br \/&gt;<\/span><span class=\"wpq-code-line\"><span class=\"c-var\">$args<\/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;post&#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\">3<\/span>,&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">   <span class=\"c-key\">&#039;orderby&#039;<\/span>        =&gt; [&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">      <span class=\"c-key\">&#039;date&#039;<\/span> =&gt; <span class=\"c-str\">&#039;DESC&#039;<\/span>,&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">      <span class=\"c-key\">&#039;ID&#039;<\/span>   =&gt; <span class=\"c-str\">&#039;DESC&#039;<\/span>,&lt;br \/&gt;<\/span><span class=\"wpq-code-line\">   ],&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 = [&lt;br \/&gt;\n   &#039;post_type&#039;      =&gt; &#039;post&#039;,&lt;br \/&gt;\n   &#039;posts_per_page&#039; =&gt; 3,&lt;br \/&gt;\n   &#039;orderby&#039;        =&gt; [&lt;br \/&gt;\n      &#039;date&#039; =&gt; &#039;DESC&#039;,&lt;br \/&gt;\n      &#039;ID&#039;   =&gt; &#039;DESC&#039;,&lt;br \/&gt;\n   ],&lt;br \/&gt;\n];&lt;br \/&gt;<\/textarea><\/div>\n<h3 id=\"meta-value-warning\" class=\"wpq-subheading\">\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u9806\u3067\u306fmeta_key\u3068\u578b\u306b\u6ce8\u610f\u3059\u308b<\/h3>\n<p>`orderby` \u306b `meta_value` \u3084 `meta_value_num` \u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024\u3092\u57fa\u6e96\u306b\u4e26\u3079\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u4fa1\u683c\u3001\u958b\u50ac\u65e5\u3001\u30b9\u30b3\u30a2\u3001\u512a\u5148\u5ea6\u306e\u3088\u3046\u306a\u5024\u3067\u4e26\u3079\u305f\u3044\u3068\u304d\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001\u3053\u3053\u306f\u521d\u5fc3\u8005\u304c\u3064\u307e\u305a\u304d\u3084\u3059\u3044\u5834\u6240\u3067\u3059\u3002`meta_value`\u3084`meta_value_num`\u3092\u4f7f\u3046\u5834\u5408\u306f`meta_key`\u304c\u5fc5\u8981\u3067\u3059\u3002`meta_value`\u306f\u6587\u5b57\u5217\u9806\u3001`meta_value_num`\u306f\u6570\u5024\u9806\u3068\u3057\u3066\u4f7f\u3044\u5206\u3051\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066`meta_type`\u3082\u691c\u8a0e\u3057\u307e\u3059\u3002\u5bfe\u8c61\u306e\u30e1\u30bf\u30ad\u30fc\u304c\u672a\u4fdd\u5b58\u306e\u6295\u7a3f\u306f\u7d50\u679c\u304b\u3089\u5916\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>`orderby=meta_value_num`\u304c\u52b9\u304b\u306a\u3044\u5834\u5408\u306f\u3001`meta_key`\u3001\u4fdd\u5b58\u5024\u3001`meta_type`\u306e\u9806\u306b\u78ba\u8a8d\u3059\u308b\u3068\u3001\u6307\u5b9a\u3068\u30c7\u30fc\u30bf\u306e\u554f\u984c\u3092\u5207\u308a\u5206\u3051\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>`date`\u3084`title`\u3067`orderby`\u3068`order`\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u9806\u3078\u9032\u3080\u3068\u3001\u4e26\u3073\u9806\u3001\u4fdd\u5b58\u5024\u3001\u578b\u306e\u554f\u984c\u3092\u5206\u3051\u3066\u8abf\u3079\u3089\u308c\u307e\u3059\u3002<\/p>\n<h2 id=\"common-mistakes\" 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\">\u3088\u304f\u3042\u308b\u52d8\u9055\u3044<\/span><\/h2>\n<p>\u65e5\u4ed8\u9806\u3060\u3051\u304c\u5408\u308f\u306a\u3044\u5834\u5408\u306f\u3001`date`\u3001`modified`\u3001\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u65e5\u4ed8\u5024\u306e\u3069\u308c\u3092\u57fa\u6e96\u306b\u3057\u3066\u3044\u308b\u304b\u3068\u3001`ASC` \/ `DESC`\u306e\u7d44\u307f\u5408\u308f\u305b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u8868\u793a\u306e\u305f\u3073\u306b\u9806\u756a\u3092\u5909\u3048\u305f\u3044\u5834\u5408\u306f\u3001`orderby=rand`\u306e\u8ca0\u8377\u3068\u30ad\u30e3\u30c3\u30b7\u30e5\u3078\u306e\u5f71\u97ff\u3082\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>`order`\u3060\u3051\u3092\u5909\u3048\u3066\u3082\u3001\u57fa\u6e96\u3067\u3042\u308b`orderby`\u304c\u9055\u3048\u3070\u671f\u5f85\u3057\u305f\u9806\u756a\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u3002\u307e\u305f\u3001`orderby`\u3078\u81ea\u7531\u306a\u9805\u76ee\u540d\u306f\u66f8\u3051\u307e\u305b\u3093\u3002\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3067\u4e26\u3079\u308b\u5834\u5408\u306f\u3001`meta_key`\u3001`meta_value`\u307e\u305f\u306f`meta_value_num`\u3001\u4fdd\u5b58\u5024\u306e\u578b\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u78ba\u8a8d\u3057\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\">\u516c\u5f0f\u8cc7\u6599\u3067\u78ba\u8a8d\u3059\u308b\u30dd\u30a4\u30f3\u30c8<\/span><\/h2>\n<p>`orderby`\u306f\u6307\u5b9a\u3067\u304d\u308b\u5024\u304c\u591a\u304f\u3001\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3084\u8907\u6570\u6761\u4ef6\u306e\u4e26\u3073\u66ff\u3048\u306b\u9032\u3080\u307b\u3069\u78ba\u8a8d\u3059\u308b\u9805\u76ee\u304c\u5897\u3048\u307e\u3059\u3002\u5fc5\u8981\u306a\u5834\u9762\u3067\u516c\u5f0f\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306eOrder &amp; Orderby Parameters\u3092\u958b\u304d\u3001\u4f7f\u7528\u3067\u304d\u308b\u5024\u3068\u524d\u63d0\u6761\u4ef6\u3092\u7167\u5408\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>WP_Query\u3067`the_post()`\u3092\u4f7f\u3046\u4e00\u89a7\u3067\u306f\u3001\u4e26\u3073\u9806\u3068\u306f\u5225\u306b\u3001\u30eb\u30fc\u30d7\u5f8c\u306e`wp_reset_postdata()`\u3082\u78ba\u8a8d\u3057\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\">orderby\u3068order\u306e\u6307\u5b9a\u5024\u3001\u65e5\u4ed8\u9806\u3001\u30bf\u30a4\u30c8\u30eb\u9806\u3001\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u9806\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\/themes\/classic-themes\/basics\/the-loop\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span class=\"wpq-reference-item__copy\"><strong class=\"wpq-reference-item__title\">The Loop<\/strong><span class=\"wpq-reference-item__description\">\u53d6\u5f97\u3057\u305f\u6295\u7a3f\u3092\u30eb\u30fc\u30d7\u3067\u8868\u793a\u3059\u308b\u57fa\u672c\u306e\u6d41\u308c\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\/wp_reset_postdata\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span class=\"wpq-reference-item__copy\"><strong class=\"wpq-reference-item__title\">wp_reset_postdata()<\/strong><span class=\"wpq-reference-item__description\">WP_Query\u306e\u30eb\u30fc\u30d7\u5f8c\u306b\u6295\u7a3f\u30c7\u30fc\u30bf\u3092\u623b\u3059\u7406\u7531\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<h2 id=\"summary\" class=\"h-underline section-heading\"><span class=\"section-heading-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><span class=\"section-heading-text\">orderby\u306f\u57fa\u6e96\u3001order\u306f\u5411\u304d\u3067\u8003\u3048\u308b<\/span><\/h2>\n<p>WP_Query\u306e\u4e26\u3073\u9806\u306f\u3001`orderby` \u3068 `order` \u3092\u5206\u3051\u3066\u8aad\u3080\u3068\u7406\u89e3\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002`orderby` \u306f\u300c\u6295\u7a3f\u65e5\u3067\u4e26\u3079\u308b\u306e\u304b\u3001\u30bf\u30a4\u30c8\u30eb\u3067\u4e26\u3079\u308b\u306e\u304b\u3001\u66f4\u65b0\u65e5\u3067\u4e26\u3079\u308b\u306e\u304b\u300d\u3068\u3044\u3046\u57fa\u6e96\u3092\u6c7a\u3081\u307e\u3059\u3002`order` \u306f\u3001\u305d\u306e\u57fa\u6e96\u306b\u5bfe\u3057\u3066\u6607\u9806\u304b\u964d\u9806\u304b\u3092\u6c7a\u3081\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306f `date` \u3068 `title` \u3060\u3051\u3067\u5341\u5206\u3067\u3059\u3002\u65b0\u3057\u3044\u9806\u3001\u53e4\u3044\u9806\u3001\u30bf\u30a4\u30c8\u30eb\u6607\u9806\u3001\u30bf\u30a4\u30c8\u30eb\u964d\u9806\u3092\u5c0f\u3055\u3044\u4ef6\u6570\u3067\u8a66\u305b\u3070\u3001`orderby` \u3068 `order` \u306e\u95a2\u4fc2\u304c\u898b\u3048\u3066\u304d\u307e\u3059\u3002\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u9806\u3084\u8907\u6570\u6761\u4ef6\u306e\u4e26\u3073\u66ff\u3048\u306f\u3001\u305d\u306e\u5f8c\u3067\u5c11\u3057\u305a\u3064\u78ba\u8a8d\u3059\u308b\u3068\u7d50\u679c\u306e\u5909\u5316\u3092\u8ffd\u3044\u3084\u3059\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>\u4e26\u3073\u9806\u3092\u6c7a\u3081\u308b\u524d\u306e\u78ba\u8a8d<\/h2><\/div><ul class=\"wpq-checklist\"><li>\u4e26\u3079\u66ff\u3048\u306e\u57fa\u6e96\u3092orderby\u3067\u9078\u3093\u3060<\/li><li>\u57fa\u6e96\u306b\u5bfe\u3059\u308b\u5411\u304d\u3092order\u3067\u9078\u3093\u3060<\/li><li>\u540c\u5024\u304c\u3042\u308b\u5834\u5408\u306e\u7b2c\u4e8c\u57fa\u6e96\u3092\u6c7a\u3081\u305f<\/li><li>rand\u3084post__in\u306a\u3069order\u3092\u901a\u5e38\u5229\u7528\u3057\u306a\u3044\u4f8b\u5916\u3092\u78ba\u8a8d\u3057\u305f<\/li><li>meta_value\u307e\u305f\u306fmeta_value_num\u3067\u306fmeta_key\u3068\u4fdd\u5b58\u5024\u3092\u78ba\u8a8d\u3057\u305f<\/li><\/ul><\/section>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u65b0\u3057\u3044\u9806\u30fb\u53e4\u3044\u9806\u306b\u4e26\u3079\u308b\u6307\u5b9a\u3092\u3001WP_Query\u306eorderby\u3068order\u306e\u9055\u3044\u304b\u3089\u30b3\u30fc\u30c9\u4f8b\u4ed8\u304d\u3067\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"template":"","meta":{"wpq_kicker":"WP_Query\u57fa\u790e","wpq_lead":"WordPress\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u65b0\u3057\u3044\u9806\u3084\u53e4\u3044\u9806\u306b\u5909\u3048\u305f\u3044\u3068\u304d\u306f\u3001orderby\u3067\u4e26\u3079\u308b\u57fa\u6e96\u3001order\u3067\u5411\u304d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u307e\u305a\u65e5\u4ed8\u9806\u306e\u6700\u5c0f\u4f8b\u3092\u78ba\u8a8d\u3057\u3001\u30bf\u30a4\u30c8\u30eb\u9806\u3084\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u9806\u3078\u5e83\u3052\u307e\u3059\u3002","wpq_hero_title_line1":"","wpq_hero_title_line2":"","wpq_hero_title_accent":"","wpq_hero_thumbnail_alt":"WordPress\u306e\u8a18\u4e8b\u3092\u65b0\u3057\u3044\u9806\u30fb\u53e4\u3044\u9806\u306b\u4e26\u3079\u308b\u65b9\u6cd5\uff5cWP_Query\u306eorderby\u3068order \u306e\u30d2\u30fc\u30ed\u30fc\u30b5\u30e0\u30cd\u30a4\u30eb","wpq_hero_summary_mode":"","wpq_hero_summary_label":"\u9055\u3044\u3092\u5148\u306b\u78ba\u8a8d","wpq_hero_summary_items":"`orderby`::\u4e26\u3079\u308b\u57fa\u6e96\n`order`::\u4e26\u3079\u308b\u5411\u304d","wpq_reading_time":"","wpq_difficulty_label":"","wpq_difficulty_stars":"2","wpq_target_audience":"WP_Query\u3067\u8a18\u4e8b\u306e\u4e26\u3073\u9806\u3092\u5909\u3048\u305f\u3044\u304c\u3001orderby\u3068order\u306e\u5f79\u5272\u306e\u9055\u3044\u304c\u307e\u3060\u66d6\u6627\u306aWordPress\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\/\nThe Loop|https:\/\/developer.wordpress.org\/themes\/classic-themes\/basics\/the-loop\/\nwp_reset_postdata()|https:\/\/developer.wordpress.org\/reference\/functions\/wp_reset_postdata\/","wpq_pr_notice":"","wpq_affiliate_placement":"","wpq_affiliate_program":"","wpq_affiliate_context":"","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":[16],"tags":[93,92,94],"wpq_card_label":[3],"wpq_difficulty":[11],"class_list":["post-3823","wpq_article","type-wpq_article","status-publish","hentry","category-parameters","tag-order","tag-orderby","tag-94"],"_links":{"self":[{"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_article\/3823","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\/2"}],"version-history":[{"count":1,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_article\/3823\/revisions"}],"predecessor-version":[{"id":3824,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_article\/3823\/revisions\/3824"}],"wp:attachment":[{"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/media?parent=3823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/categories?post=3823"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/tags?post=3823"},{"taxonomy":"wpq_card_label","embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_card_label?post=3823"},{"taxonomy":"wpq_difficulty","embeddable":true,"href":"https:\/\/wptoolslab.com\/query-lab\/wp-json\/wp\/v2\/wpq_difficulty?post=3823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}