{"id":211,"date":"2018-09-06T06:22:31","date_gmt":"2018-09-06T06:22:31","guid":{"rendered":"https:\/\/wpgeodirectory.com\/docs-v2\/addons\/advanced-search-filters\/"},"modified":"2019-10-18T22:40:04","modified_gmt":"2019-10-18T22:40:04","slug":"advanced-search","status":"publish","type":"docs","link":"https:\/\/wpgeodirectory.com\/docs-v2\/addons\/advanced-search\/","title":{"rendered":"Advanced Search"},"content":{"rendered":"<p><span class='bookmark-index'><br \/>\n<a href=\"#intro\">Introduction<\/a><br \/>\n<a href=\"#install\">Installation<\/a><br \/>\n<a href=\"#settings\">Settings<\/a><br \/>\n<a href=\"#design\">Design<\/a><br \/>\n<a href=\"#support\">Support<\/a><br \/>\n<\/span><\/p>\n<h3><a name=\"intro\" href=\"#intro\">Introduction<\/a><\/h3>\n<p>Your directory can use the Advanced Search Addon to provide a variety of options for search including filtering by custom fields and Geolocation.<\/p>\n<p>See more here: <a href=\"https:\/\/wpgeodirectory.com\/downloads\/advanced-search-add-on\/\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/wpgeodirectory.com\/downloads\/advanced-search-add-on\/<\/a><\/p>\n<h3><a name=\"install\" href=\"#install\">Installation<\/a><\/h3>\n<h4><a name=\"prep\" href=\"#prep\">Preparation<\/a><\/h4>\n<p>Check to be sure you have the following plugins installed before you get started.<\/p>\n<ul>\n<li><a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/status\/\" rel=\"noopener noreferrer\" target=\"_blank\">GeoDirectory V2<\/a><\/li>\n<\/ul>\n<h4><a name=\"install\" href=\"#install\">Installation<\/a><\/h4>\n<ol>\n<li><a href=\"https:\/\/wpgeodirectory.com\/your-account\/\" rel=\"noopener noreferrer\" target=\"_blank\">Download the Addon from your account<\/a>.<\/li>\n<li><a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/addons\/installing-addons\/\" rel=\"noopener noreferrer\" target=\"_blank\">Install the Addon<\/a>.<\/li>\n<\/ol>\n<h3><a name=\"settings\" href=\"#settings\">Settings<\/a><\/h3>\n<p>This document covers the Advanced Search Addon settings. <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/geodirectory\/settings\/general\/#search\" rel=\"noopener noreferrer\" target=\"_blank\">See this doc for regular search options in GeoDirectory Core<\/a>.<\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/adva-labels.jpg\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/adva-labels.jpg\" alt=\"\" width=\"600\" height=\"82\" class=\"alignnone size-full wp-image-907\" \/><\/a><\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/advanced-search.jpg\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/advanced-search.jpg\" alt=\"\" width=\"600\" height=\"598\" class=\"alignnone size-full wp-image-908\" \/><\/a><br \/>\n<strong>Enable search autocompleter?<\/strong><\/p>\n<ul>\n<li>Tick to enable autocompleter for search.<\/li>\n<\/ul>\n<p><strong>Show search suggestions with<\/strong><\/p>\n<ul>\n<li>You can show Listings and Categories, Only Listings, or Only Categories. Uncheck &#8220;Enable&#8221; above to disable autocomplete and suggestions.<\/li>\n<\/ul>\n<p><strong>Min chars needed to trigger autocomplete<\/strong><\/p>\n<ul>\n<li>Set the minimum number of characters that will trigger the autocomplete and suggestions<\/li>\n<\/ul>\n<p><strong>Max results to be returned by autocomplete<\/strong><\/p>\n<ul>\n<li>If you want to show more suggestions or autocomplete values increase this number.<\/li>\n<\/ul>\n<p><strong>Listings from child category?<\/strong><\/p>\n<ul>\n<li>Normally listings that are not a specific category are not returned in search. This will make sure that if a parent category is included with search, any listing with any child\/subcat of that parent are returned when that parent category is searched.<\/li>\n<\/ul>\n<p><strong>Enable location filter?<\/strong><\/p>\n<ul>\n<li>Filter near field suggestions based on the user&#8217;s current location (requires that user has chosen or shared their location).<\/li>\n<\/ul>\n<h3><a name=\"cpt\" href=\"#cpt\">CPT Settings<\/a><\/h3>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-MENU-PLACES-SETTINGS.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-MENU-PLACES-SETTINGS.png\" alt=\"\" width=\"138\" height=\"166\" class=\"alignnone size-full wp-image-244\" \/><\/a><\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-ADV-PLACES-SETTINGS.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-ADV-PLACES-SETTINGS.png\" alt=\"\" width=\"687\" height=\"360\" class=\"alignnone size-full wp-image-243\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-ADV-PLACES-SETTINGS.png 687w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-ADV-PLACES-SETTINGS-300x157.png 300w\" sizes=\"(max-width: 687px) 100vw, 687px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-ADV-Place-SEARCH-SETTINGS.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-ADV-Place-SEARCH-SETTINGS.png\" alt=\"\" width=\"331\" height=\"310\" class=\"alignnone size-full wp-image-248\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-ADV-Place-SEARCH-SETTINGS.png 331w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-ADV-Place-SEARCH-SETTINGS-300x281.png 300w\" sizes=\"(max-width: 331px) 100vw, 331px\" \/><\/a><\/p>\n<h4><a name=\"select\" href=\"#select\">Category Select with Advanced Search Addon<\/a><\/h4>\n<p>Category can be added as a SELECT filter in the search bar to filter results to a specific category. used to filter search results in the search bar or the search options drawer. The filter must be setup for each CPT separately.<\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/gd-search-cat-filter.jpg\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/gd-search-cat-filter.jpg\" alt=\"\" width=\"450\" class=\"alignnone size-full wp-image-649\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/gd-search-cat-filter.jpg 1446w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/gd-search-cat-filter-300x30.jpg 300w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/gd-search-cat-filter-768x77.jpg 768w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/10\/gd-search-cat-filter-1024x103.jpg 1024w\" sizes=\"(max-width: 1446px) 100vw, 1446px\" \/><\/a><\/p>\n<p>To setup the Category Select Filter for a CPT, follow the instructions below. Important settings are <strong>bolded<\/strong>:<\/p>\n<ul>\n<li>Open the CPT Settings Search tab<\/li>\n<li>Select Category from the left side and click once, making the category field appear on the right side<\/li>\n<li>The field options should open, or click to open<\/li>\n<li><strong>Show in main search bar?<\/strong> &#8211; CHECK<\/li>\n<li>Search bar priority &#8211; 15 will place the filter on the right of the CPT Selector, and on the left of the Search For field. Adjust to meet your needs.<\/li>\n<li>Field Input Type &#8211; Only the &#8220;SELECT&#8221; type will allow the field to appear in the main search bar. <\/li>\n<li><strong>Frontend title<\/strong> &#8211; this is the placeholder text that will appear in the search bar, shown as &#8220;Category Filter&#8221; in the image above.<\/li>\n<li>Description &#8211; Used only rarely in the page meta.<\/li>\n<\/ul>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/screencapture-ppldb-v2-wp-admin-edit-php-2019-02-12-21_52_24-1.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/screencapture-ppldb-v2-wp-admin-edit-php-2019-02-12-21_52_24-1.png\" alt=\"\" width=\"450\" class=\"alignnone size-full wp-image-650\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/screencapture-ppldb-v2-wp-admin-edit-php-2019-02-12-21_52_24-1.png 1440w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/screencapture-ppldb-v2-wp-admin-edit-php-2019-02-12-21_52_24-1-300x198.png 300w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/screencapture-ppldb-v2-wp-admin-edit-php-2019-02-12-21_52_24-1-768x508.png 768w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/screencapture-ppldb-v2-wp-admin-edit-php-2019-02-12-21_52_24-1-1024x677.png 1024w\" sizes=\"(max-width: 1440px) 100vw, 1440px\" \/><\/a><\/p>\n<h3><a name=\"design\" href=\"#design\">Design<\/a><\/h3>\n<h4><a name=\"widgets\" href=\"#widgets\">Widgets<\/a><\/h4>\n<p>GD > Search<\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-ADVAN-Widget.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-ADVAN-Widget.png\" alt=\"\" width=\"328\" height=\"319\" class=\"alignnone size-full wp-image-247\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-ADVAN-Widget.png 328w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-ADVAN-Widget-300x292.png 300w\" sizes=\"(max-width: 328px) 100vw, 328px\" \/><\/a><\/p>\n<h4><a name=\"shortcodes\" href=\"#shortcodes\">Shortcodes<\/a><\/h4>\n<p><a name=\"gd_search\" href=\"#gd_search\"><br \/>\ngd_search<\/a><\/p>\n<pre><code>[gd_search title=\"GD Search\"]<\/code><\/pre>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-ADV-Shortcode-Builder.png\"><img src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-ADV-Shortcode-Builder.png\" alt=\"\" width=\"684\" height=\"302\" class=\"alignnone size-full wp-image-246\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-ADV-Shortcode-Builder.png 684w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/GDV2-ADV-Shortcode-Builder-300x132.png 300w\" sizes=\"(max-width: 684px) 100vw, 684px\" \/><\/a><\/p>\n<h3><a name=\"support\" href=\"#support\">Get Support<\/a><\/h3>\n<p>Get support on our forum, fnd out more here: <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/v2\/support\/\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/wpgeodirectory.com\/docs-v2\/v2\/support\/<\/a><\/p>\n","protected":false},"featured_media":0,"parent":167,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/211"}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/comments?post=211"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/211\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/167"}],"next":[{"title":"Ajax Duplicate Alert","link":"https:\/\/wpgeodirectory.com\/docs-v2\/addons\/ajax-duplicate-alert\/","href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/168"}],"prev":[{"title":"Embeddable Ratings Badge","link":"https:\/\/wpgeodirectory.com\/docs-v2\/addons\/embeddable-ratings-badge\/","href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/873"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/media?parent=211"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/doc_tag?post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}