{"id":2345,"date":"2026-10-20T08:32:18","date_gmt":"2026-10-20T07:32:18","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/sort-filter-search-results\/"},"modified":"2026-10-20T08:39:57","modified_gmt":"2026-10-20T07:39:57","slug":"sort-filter-search-results","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/sort-filter-search-results\/","title":{"rendered":"How visitors can sort and filter GeoDirectory search results"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Visitors can re-sort GeoDirectory search results with the sort dropdown above the results, and narrow them down with filters if you have the Advanced Search add-on.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How results are ordered by default<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A keyword search is ordered by how well each listing matches the keyword. A search by location (Near) is ordered by distance. A visitor can change either of these with the sort dropdown.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Show the sort dropdown on the search page<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The dropdown comes from the GD &gt; Loop Actions block, which is on the default Search page template. If you&#8217;ve redesigned that page and the dropdown has gone, open the Search page set under GeoDirectory &gt; Settings &gt; General &gt; Pages and add GD &gt; Loop Actions above the GD &gt; Loop block.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Choose which sort options visitors see<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The dropdown lists the sort options of the post type being searched. Manage them at Places &gt; Settings &gt; Sorting. You can add options such as rating, number of reviews, newest or title, set the direction of each, and pick the default. <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/changing-or-adding-new-sorting-options\/\">Changing or adding new sorting options<\/a> explains the sort builder.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add filters<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">With the Advanced Search add-on, visitors can filter results by your custom fields, categories, rating, distance, open hours and more. Fields are added at Places &gt; Settings &gt; Search. They can sit in the main search bar or in the filters panel that opens below it. Start with the <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/advanced-search\/advanced-search-setup-guide\/\">Advanced Search setup guide<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Visitors can re-sort GeoDirectory search results with the sort dropdown above the results, and narrow them down with filters if you have the Advanced Search add-on. How results are ordered by default A keyword search is ordered by how well each listing matches the keyword. A search by location (Near) is ordered by distance. A [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[421,213],"class_list":["post-2345","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-core-features","gd_placecategory-extensions-features"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2345","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"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=2345"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2345\/revisions"}],"predecessor-version":[{"id":2406,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2345\/revisions\/2406"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2345"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2345"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}