{"id":810,"date":"2025-03-24T14:27:44","date_gmt":"2025-03-24T14:27:44","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/how-to-filter-listings-by-open-now\/"},"modified":"2025-04-03T15:24:05","modified_gmt":"2025-04-03T14:24:05","slug":"how-to-filter-listings-by-open-now","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/advanced-search\/how-to-filter-listings-by-open-now\/","title":{"rendered":"How to Filter Listings by &#8220;Open Now&#8221;?"},"content":{"rendered":"<p>\n\t As of version 2.0.1.0, Advanced Search extension allows you to filter and search through listings using <strong>business hours. <br \/>\n\t <\/strong><\/p>\n<section class=\"alert alert-info\">\n\t To access this feature, you will need to have the <a href=\"https:\/\/wpgeodirectory.com\/downloads\/advanced-search-add-on\/\">Advanced Search<\/a> extension installed and activated on your site.&nbsp;<\/section>\n<h2>Filtering Listings by &#8220;Open Now&#8221;<\/h2>\n<p> <strong>&#8220;Open Now&#8221; <\/strong>simply refers to the listings that are open or accepting guests at the time of search.<\/p>\n<dl>\n<dt>\n\t1\n\t<\/dt>\n<dd>\n\tNavigate to <strong>CPT &gt; Settings &gt; Search. <br \/>\n\t <\/strong> <\/dd>\n<p>\t<img width=\"603\" height=\"444\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-Ks0PjuhCoY.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-Ks0PjuhCoY.png 603w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-Ks0PjuhCoY-300x221.png 300w\" sizes=\"auto, (max-width: 603px) 100vw, 603px\" \/><\/p>\n<dt>\n\t2\n\t<\/dt>\n<dd>\n\tYou need to add the <strong>Open Hours (business_hours) <\/strong>field to the search form. You may choose to show it in the main search if needed.&nbsp;\n\t<\/dd>\n<p>\t<img width=\"637\" height=\"567\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-1dPFhDJxXq.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-1dPFhDJxXq.png 637w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-1dPFhDJxXq-300x267.png 300w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/p>\n<dt>\n\t3\n\t<\/dt>\n<dd>\n\tThat&#8217;s all. The frontend search form will show the <strong>Open Now <\/strong>option in the time selection thereafter.\n\t<\/dd>\n<\/dl>\n<p>\n\t <img width=\"920\" height=\"482\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-jdopPjVZwr-1024x536.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-jdopPjVZwr-1024x536.png 1024w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-jdopPjVZwr-300x157.png 300w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-jdopPjVZwr-768x402.png 768w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-jdopPjVZwr.png 1168w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><\/p>\n<h2>How to Set the Time for Listings?<\/h2>\n<p>\n\t When creating a new listing, you can set the <strong>Business Hours <\/strong>for that particular listing.&nbsp;<\/p>\n<p><img width=\"736\" height=\"507\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-3JQAD9Ymr5.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-3JQAD9Ymr5.png 736w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-3JQAD9Ymr5-300x207.png 300w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/p>\n<section class=\"alert alert-warning dashed\">\n\t The &#8220;Open Now&#8221; feature uses the client&#8217;s (visitor&#8217;s) system time to filter through listings that are open at a given time.<\/section>\n","protected":false},"excerpt":{"rendered":"<p>As of version 2.0.1.0, Advanced Search extension allows you to filter and search through listings using business hours. To access this feature, you will need to have the Advanced Search extension installed and activated on your site.&nbsp; Filtering Listings by &#8220;Open Now&#8221; &#8220;Open Now&#8221; simply refers to the listings that are open or accepting guests [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[554,566,646,647],"article\/categories":[213,400],"class_list":["post-810","gd_place","type-gd_place","status-publish","hentry","gd_place_tags-geodirectory-extensions","gd_place_tags-advanced-search","gd_place_tags-open-now","gd_place_tags-browse-listings","gd_placecategory-extensions-features","gd_placecategory-advanced-search"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=810"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/810\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=810"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=810"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}