{"id":6286,"date":"2016-08-13T13:52:25","date_gmt":"2016-08-13T17:52:25","guid":{"rendered":"https:\/\/themespress.ca\/?p=6286"},"modified":"2022-09-08T19:06:01","modified_gmt":"2022-09-08T23:06:01","slug":"query-post-type-comparing-two-dates","status":"publish","type":"post","link":"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/","title":{"rendered":"Create a Query Post Type Between Two Dates"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p>With this tutorial, we will show you a date based query post type stemming from a post meta. Here&#8217;s an example of a <a href=\"https:\/\/codex.wordpress.org\/Class_Reference\/WP_Query\" target=\"_blank\" rel=\"noopener\">WP Query<\/a>.<\/p>\n<p>First step is to create a post meta date which fetches the date value. For example, we have created a post meta called <strong>informations_videos_release_date<\/strong>.<\/p>\n<p>Now we will create a query that will display all the post type published between two specific dates. Meaning that for our exmaple, we will display the videos published between the two selected dates. <\/p>\n<p>We will display videos between 1980 et 1989 by using a comparative meta query comparing to Post Meta Key values.<\/p>\n<p>We could also create a form that would fetch the data between both dates and instead of using 1980 and 1989, we would recuperate the form data.<\/p>\n\n\t\t<\/div>\n\t<\/div>\n<h2 style=\"text-align: left\" class=\"vc_custom_heading vc_do_custom_heading\" >Create a Query Post Type Between Two Dates<\/h2><div id=\"ts-enlighterjs-container-9099673\" class=\"ts-enlighterjs-container-single-enabled  \" style=\"width: 100%;  margin-top: 0px; margin-bottom: 0px;\" data-enlighter-doubleclick=\"true\" data-enlighter-windowbutton=\"true\" data-enlighter-windowtext=\"New Window\" data-enlighter-rawbutton=\"true\" data-enlighter-rawtext=\"RAW Code\" data-enlighter-infobutton=\"false\" data-enlighter-infotext=\"EnlighterJS\" data-enlighter-indent=\"2\"><pre id=\"ts-enlighterjs-pre-9099673\" class=\"\" style=\"white-space: pre-wrap; height: 100%; margin: 0; padding: 0;\" data-enlighter-language=\"php\" data-enlighter-theme=\"enlighter\" data-enlighter-group=\"\" data-enlighter-title=\"\" data-enlighter-linenumbers=\"true\" data-enlighter-lineoffset=\"1\" data-enlighter-highlight=\"\">&lt;?php \n\/\/ Premi&egrave;re valeur de date comparative \n$start = &#039;1980&#039;; \n\/\/ Deuxi&egrave;me valeur de date comparative \n$end = &#039;1989&#039;; \n\/\/ Nous commen&ccedil;ons l&#039;affichage \n$semaine = new WP_Query( \narray( \n&#039;post_type&#039;                  =&gt; &#039;viavideos&#039;, \n&#039;post_status&#039;                =&gt; &#039;publish&#039;,\n&#039;meta_key&#039;                   =&gt; &#039;informations_vidos_date_de_sortie&#039;,\n&#039;showposts&#039;                  =&gt; &#039;200&#039;,\n&#039;orderby&#039;                    =&gt; &#039;rand&#039;,\n&#039;paged&#039;                      =&gt; $paged,\n&#039;order&#039;                      =&gt; &#039;DESC&#039;, \n&#039;meta_query&#039;                 =&gt; array(\n    array(\n    \/\/ On appelle la meta key d&eacute;sir&eacute;e et on compare entre les deux valeurs issus des deux variables\n\t\t&#039;key&#039;       =&gt; &#039;informations_vidos_date_de_sortie&#039;,\n\t\t&#039;value&#039;     =&gt; array($start, $end),\n\t\t&#039;compare&#039;   =&gt; &#039;BETWEEN&#039;,\n\t)\n    )\n));\nwhile ( $semaine-&gt;have_posts() ) : $semaine-&gt;the_post();\n?&gt;\n\n\/\/\/\/ Votre loop ici \/\/\/\/\n\n&lt;?php wp_reset_query(); ?&gt;\n&lt;?php endwhile; ?&gt;<\/pre><\/div><\/div><\/div><\/div><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"With this tutorial, we will show you a date based query post type stemming from a post meta. Here's an example of a WP Query. First step is to create<div class=\"read-more\"><a class=\"btn button-secondary\" href=\"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/\">Read More<\/a><\/div>","protected":false},"author":81,"featured_media":4538,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[283],"tags":[322],"class_list":["post-6286","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-query"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Share the post &quot;Create a Query Post Type Between Two Dates&quot; Facebook LinkedIn Twitter Partager... E-mail Ajouter aux favoris Bluesky With this tutorial, we will show you a date based query post type stemming from a post meta. Here\u2019s an example of a WP Query. First step is to create a post meta date which\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Daniel\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Themespress - Des tutoriels et ressources WordPress\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Create a Query Post Type Between Two Dates - Themespress\" \/>\n\t\t<meta property=\"og:description\" content=\"Share the post &quot;Create a Query Post Type Between Two Dates&quot; Facebook LinkedIn Twitter Partager... E-mail Ajouter aux favoris Bluesky With this tutorial, we will show you a date based query post type stemming from a post meta. Here\u2019s an example of a WP Query. First step is to create a post meta date which\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2016-08-13T17:52:25-04:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-09-08T23:06:01-04:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Create a Query Post Type Between Two Dates - Themespress\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Share the post &quot;Create a Query Post Type Between Two Dates&quot; Facebook LinkedIn Twitter Partager... E-mail Ajouter aux favoris Bluesky With this tutorial, we will show you a date based query post type stemming from a post meta. Here\u2019s an example of a WP Query. First step is to create a post meta date which\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/query-post-type-comparing-two-dates\\\/#blogposting\",\"name\":\"Create a Query Post Type Between Two Dates - Themespress\",\"headline\":\"Create a Query Post Type Between Two Dates\",\"author\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/author\\\/daniel\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/themespress.ca\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/wsi-imageoptim-Cr\\u00e9er-un-Query-Post-type-entre-deux-ann\\u00e9es-Post-Meta.jpg\",\"width\":1735,\"height\":1152},\"datePublished\":\"2016-08-13T13:52:25-04:00\",\"dateModified\":\"2022-09-08T19:06:01-04:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/query-post-type-comparing-two-dates\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/query-post-type-comparing-two-dates\\\/#webpage\"},\"articleSection\":\"Tutorials, Query\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/query-post-type-comparing-two-dates\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#listItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/themespress.ca\\\/en\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/categorie\\\/tutorials\\\/#listItem\",\"name\":\"Tutorials\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/categorie\\\/tutorials\\\/#listItem\",\"position\":2,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/themespress.ca\\\/en\\\/categorie\\\/tutorials\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/query-post-type-comparing-two-dates\\\/#listItem\",\"name\":\"Create a Query Post Type Between Two Dates\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#listItem\",\"name\":\"Accueil\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/query-post-type-comparing-two-dates\\\/#listItem\",\"position\":3,\"name\":\"Create a Query Post Type Between Two Dates\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/categorie\\\/tutorials\\\/#listItem\",\"name\":\"Tutorials\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#organization\",\"name\":\"Themespress\",\"description\":\"Des tutoriels et ressources WordPress\",\"url\":\"https:\\\/\\\/themespress.ca\\\/en\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/author\\\/daniel\\\/#author\",\"url\":\"https:\\\/\\\/themespress.ca\\\/en\\\/author\\\/daniel\\\/\",\"name\":\"Daniel\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/query-post-type-comparing-two-dates\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93cd2188e40b3289d305e88acb676eb8b84078e50e06f4eb38a0152903b34c9d?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Daniel\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/query-post-type-comparing-two-dates\\\/#webpage\",\"url\":\"https:\\\/\\\/themespress.ca\\\/en\\\/query-post-type-comparing-two-dates\\\/\",\"name\":\"Create a Query Post Type Between Two Dates - Themespress\",\"description\":\"Share the post \\\"Create a Query Post Type Between Two Dates\\\" Facebook LinkedIn Twitter Partager... E-mail Ajouter aux favoris Bluesky With this tutorial, we will show you a date based query post type stemming from a post meta. Here\\u2019s an example of a WP Query. First step is to create a post meta date which\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/query-post-type-comparing-two-dates\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/author\\\/daniel\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/author\\\/daniel\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/themespress.ca\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/wsi-imageoptim-Cr\\u00e9er-un-Query-Post-type-entre-deux-ann\\u00e9es-Post-Meta.jpg\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/query-post-type-comparing-two-dates\\\/#mainImage\",\"width\":1735,\"height\":1152},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/query-post-type-comparing-two-dates\\\/#mainImage\"},\"datePublished\":\"2016-08-13T13:52:25-04:00\",\"dateModified\":\"2022-09-08T19:06:01-04:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/themespress.ca\\\/en\\\/\",\"name\":\"Themespress\",\"description\":\"Des tutoriels et ressources WordPress\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/themespress.ca\\\/en\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Create a Query Post Type Between Two Dates - Themespress","description":"Share the post \"Create a Query Post Type Between Two Dates\" Facebook LinkedIn Twitter Partager... E-mail Ajouter aux favoris Bluesky With this tutorial, we will show you a date based query post type stemming from a post meta. Here\u2019s an example of a WP Query. First step is to create a post meta date which","canonical_url":"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/#blogposting","name":"Create a Query Post Type Between Two Dates - Themespress","headline":"Create a Query Post Type Between Two Dates","author":{"@id":"https:\/\/themespress.ca\/en\/author\/daniel\/#author"},"publisher":{"@id":"https:\/\/themespress.ca\/en\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-Cr\u00e9er-un-Query-Post-type-entre-deux-ann\u00e9es-Post-Meta.jpg","width":1735,"height":1152},"datePublished":"2016-08-13T13:52:25-04:00","dateModified":"2022-09-08T19:06:01-04:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/#webpage"},"isPartOf":{"@id":"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/#webpage"},"articleSection":"Tutorials, Query"},{"@type":"BreadcrumbList","@id":"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/#listItem","position":1,"name":"Accueil","item":"https:\/\/themespress.ca\/en\/","nextItem":{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/categorie\/tutorials\/#listItem","name":"Tutorials"}},{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/categorie\/tutorials\/#listItem","position":2,"name":"Tutorials","item":"https:\/\/themespress.ca\/en\/categorie\/tutorials\/","nextItem":{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/#listItem","name":"Create a Query Post Type Between Two Dates"},"previousItem":{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/#listItem","name":"Accueil"}},{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/#listItem","position":3,"name":"Create a Query Post Type Between Two Dates","previousItem":{"@type":"ListItem","@id":"https:\/\/themespress.ca\/en\/categorie\/tutorials\/#listItem","name":"Tutorials"}}]},{"@type":"Organization","@id":"https:\/\/themespress.ca\/en\/#organization","name":"Themespress","description":"Des tutoriels et ressources WordPress","url":"https:\/\/themespress.ca\/en\/"},{"@type":"Person","@id":"https:\/\/themespress.ca\/en\/author\/daniel\/#author","url":"https:\/\/themespress.ca\/en\/author\/daniel\/","name":"Daniel","image":{"@type":"ImageObject","@id":"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/93cd2188e40b3289d305e88acb676eb8b84078e50e06f4eb38a0152903b34c9d?s=96&d=mm&r=g","width":96,"height":96,"caption":"Daniel"}},{"@type":"WebPage","@id":"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/#webpage","url":"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/","name":"Create a Query Post Type Between Two Dates - Themespress","description":"Share the post \"Create a Query Post Type Between Two Dates\" Facebook LinkedIn Twitter Partager... E-mail Ajouter aux favoris Bluesky With this tutorial, we will show you a date based query post type stemming from a post meta. Here\u2019s an example of a WP Query. First step is to create a post meta date which","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/themespress.ca\/en\/#website"},"breadcrumb":{"@id":"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/#breadcrumblist"},"author":{"@id":"https:\/\/themespress.ca\/en\/author\/daniel\/#author"},"creator":{"@id":"https:\/\/themespress.ca\/en\/author\/daniel\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-Cr\u00e9er-un-Query-Post-type-entre-deux-ann\u00e9es-Post-Meta.jpg","@id":"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/#mainImage","width":1735,"height":1152},"primaryImageOfPage":{"@id":"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/#mainImage"},"datePublished":"2016-08-13T13:52:25-04:00","dateModified":"2022-09-08T19:06:01-04:00"},{"@type":"WebSite","@id":"https:\/\/themespress.ca\/en\/#website","url":"https:\/\/themespress.ca\/en\/","name":"Themespress","description":"Des tutoriels et ressources WordPress","inLanguage":"en-US","publisher":{"@id":"https:\/\/themespress.ca\/en\/#organization"}}]},"og:locale":"en_US","og:site_name":"Themespress - Des tutoriels et ressources WordPress","og:type":"article","og:title":"Create a Query Post Type Between Two Dates - Themespress","og:description":"Share the post &quot;Create a Query Post Type Between Two Dates&quot; Facebook LinkedIn Twitter Partager... E-mail Ajouter aux favoris Bluesky With this tutorial, we will show you a date based query post type stemming from a post meta. Here\u2019s an example of a WP Query. First step is to create a post meta date which","og:url":"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/","article:published_time":"2016-08-13T17:52:25-04:00","article:modified_time":"2022-09-08T23:06:01-04:00","twitter:card":"summary","twitter:title":"Create a Query Post Type Between Two Dates - Themespress","twitter:description":"Share the post &quot;Create a Query Post Type Between Two Dates&quot; Facebook LinkedIn Twitter Partager... E-mail Ajouter aux favoris Bluesky With this tutorial, we will show you a date based query post type stemming from a post meta. Here\u2019s an example of a WP Query. First step is to create a post meta date which"},"aioseo_meta_data":{"post_id":"6286","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"Article","defaultPostTypeGraph":""},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"},\"blockGraphs\":[]}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2022-09-08 22:42:25","updated":"2025-06-08 02:00:06","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/themespress.ca\/en\/\" title=\"Accueil\">Accueil<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/themespress.ca\/en\/categorie\/tutorials\/\" title=\"Tutorials\">Tutorials<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCreate a Query Post Type Between Two Dates\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Accueil","link":"https:\/\/themespress.ca\/en\/"},{"label":"Tutorials","link":"https:\/\/themespress.ca\/en\/categorie\/tutorials\/"},{"label":"Create a Query Post Type Between Two Dates","link":"https:\/\/themespress.ca\/en\/query-post-type-comparing-two-dates\/"}],"_links":{"self":[{"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/posts\/6286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/users\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/comments?post=6286"}],"version-history":[{"count":0,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/posts\/6286\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/media\/4538"}],"wp:attachment":[{"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/media?parent=6286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/categories?post=6286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/tags?post=6286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}