
{"id":2687,"date":"2015-10-08T21:27:01","date_gmt":"2015-10-09T01:27:01","guid":{"rendered":"http:\/\/www.beprosoftware.com\/documentation\/?p=2687"},"modified":"2015-10-13T11:32:10","modified_gmt":"2015-10-13T15:32:10","slug":"custom-search-filter","status":"publish","type":"post","link":"https:\/\/beprosoftware.com\/documentation\/custom-search-filter\/","title":{"rendered":"Custom Search Filter"},"content":{"rendered":"<p>Since version 1.0.398 we offer the ability to customize the BePro Listings search filter. While creating or editing a Form in the Form Builder, you can set certain fields as searchable. Once configured, the search filter will then only show search fields that you have set to searchable.<\/p>\n<p>NOTE: This feature is currently BETA<\/p>\n<h2>FEATURES<\/h2>\n<p>Where BePro Listings search filter was once mostly static except for addons, our Form Builder has now made it dynamic. Now you can be in control of how users search your content. As with the stock fields, these new search filter options work with our ajax search features. <\/p>\n<ul>\n<li>Checkboxes have &#8220;OR&#8221; logic, so options that match any checkbox will show up.<\/li>\n<li>Dropdowns have &#8220;AND&#8221; logic, so listings only show if that option is selected<\/li>\n<li>Input boxes have &#8220;AND&#8221; logic, so listings only show if the have the search text in them<\/li>\n<\/ul>\n<p>The search fields appear in the same order as they do in the Form Builder. Since the Form fields are easily rearranged, you have full control how users interact with your search features.<\/p>\n<p>We highly recommend that you only use the custom search filter, to search listings from its own Form. So if the search filter is set to Form 1, you should also set your search results to only show listings from Form 1.<\/p>\n<h2>SEARCH FILTER WIDGET<\/h2>\n<p>You will notice that on your search filter widget, you can select a Form. Once that Form has searchable fields, it will override the default BePro Listings search filter widget. You can then use these custom fields to search and filter through your results. Note, your form must have a name so that it can be selected via the widget<\/p>\n<h2>SEARCH FILTER SHORTCODE<\/h2>\n<p>If you are using the bl_search_filter shortcode, you can specify a Form ID. This will use the search fields that you have selected as &#8220;Searchable&#8221;. Use these fields to search and filter through the listings. Here is an example where the FORM ID 2 is being used.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n[bl_search_filter bl_form_id=2]\r\n<\/pre>\n<h2>PERFORMANCE<\/h2>\n<p>Since the form builder fields are dynamic, we use string comparisons in the database. This is contrary to our niche addons which have purpose built database tables and static fields. With the convenience and flexibility of this new search feature, there is a performance difference as listing numbers increase. The ratio depends on your server setup (ram, cpu&#8217;s, etc). <\/p>\n<p>We created niche addons like BePro Listings Vehicles before the Form Builder. We did this because database tables designed for specific information, is the best approach in terms of performance. However, we encountered customers who preferred the ability to customize the content they were capturing and their ability to search it. The ability to change form fields has no performance impact; However, searches do. You may never experience this performance difference but you now know it exists.<\/p>\n<h2>CONCLUSION<\/h2>\n<p>Yeah its finally here! Create a custom form, show listings captured by that form, then filter through the results. This is ultimate power in your hands. Create a real estate, business directory, or any other listings site with this customizable Form Builder<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since version 1.0.398 we offer the ability to customize the BePro Listings search filter. While creating or editing a Form in the Form Builder, you can set certain fields as searchable. Once configured, the search filter will then only show search fields that you have set to searchable. NOTE: This feature is currently BETA FEATURES&hellip;<\/p>\n","protected":false},"author":1,"featured_media":2688,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[322],"tags":[385,386,355],"class_list":["post-2687","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bepro-listings-form-builder","tag-custom-search-fields","tag-search-listings","tag-wordpress-form-builder","category-322","description-off"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Custom Search Filter - Documentation<\/title>\n<meta name=\"description\" content=\"Customize the search fields for the listings captured by our BePro Listings Form Builder\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom Search Filter - Documentation\" \/>\n<meta property=\"og:description\" content=\"Customize the search fields for the listings captured by our BePro Listings Form Builder\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/\" \/>\n<meta property=\"og:site_name\" content=\"Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2015-10-09T01:27:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-10-13T15:32:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.beprosoftware.com\/documentation\/wp-content\/uploads\/sites\/3\/2015\/10\/searchable_control.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1181\" \/>\n\t<meta property=\"og:image:height\" content=\"632\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"BePro Software Team\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"BePro Software Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/\",\"url\":\"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/\",\"name\":\"Custom Search Filter - Documentation\",\"isPartOf\":{\"@id\":\"https:\/\/www.beprosoftware.com\/documentation\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/beprosoftware.com\/wp-content\/uploads\/sites\/3\/2015\/10\/searchable_control.png\",\"datePublished\":\"2015-10-09T01:27:01+00:00\",\"dateModified\":\"2015-10-13T15:32:10+00:00\",\"author\":{\"@id\":\"https:\/\/www.beprosoftware.com\/documentation\/#\/schema\/person\/96560a18e84b6d1d52fd4b5439c3e0ef\"},\"description\":\"Customize the search fields for the listings captured by our BePro Listings Form Builder\",\"breadcrumb\":{\"@id\":\"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/#primaryimage\",\"url\":\"https:\/\/beprosoftware.com\/wp-content\/uploads\/sites\/3\/2015\/10\/searchable_control.png\",\"contentUrl\":\"https:\/\/beprosoftware.com\/wp-content\/uploads\/sites\/3\/2015\/10\/searchable_control.png\",\"width\":1181,\"height\":632},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.beprosoftware.com\/documentation\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custom Search Filter\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.beprosoftware.com\/documentation\/#website\",\"url\":\"https:\/\/www.beprosoftware.com\/documentation\/\",\"name\":\"Documentation\",\"description\":\"BePro Software Product Documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.beprosoftware.com\/documentation\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.beprosoftware.com\/documentation\/#\/schema\/person\/96560a18e84b6d1d52fd4b5439c3e0ef\",\"name\":\"BePro Software Team\",\"description\":\"BePro Software is a Canadian company providing managed hosting, operational support, and long-term stewardship for business-critical websites and digital systems. We specialize in maintaining and operating platforms built by others, focusing on stability, security, accessibility, and continuity rather than one-off development. BePro Software is owned and operated by Beyond Programs Ltd and is based in British Columbia, Canada. Contact us on FolioProjects @BeproSoftware\",\"sameAs\":[\"http:\/\/beprosoftware.com\",\"https:\/\/x.com\/beprosoftware\"],\"url\":\"https:\/\/beprosoftware.com\/documentation\/author\/manager\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Custom Search Filter - Documentation","description":"Customize the search fields for the listings captured by our BePro Listings Form Builder","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/","og_locale":"en_US","og_type":"article","og_title":"Custom Search Filter - Documentation","og_description":"Customize the search fields for the listings captured by our BePro Listings Form Builder","og_url":"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/","og_site_name":"Documentation","article_published_time":"2015-10-09T01:27:01+00:00","article_modified_time":"2015-10-13T15:32:10+00:00","og_image":[{"width":1181,"height":632,"url":"https:\/\/www.beprosoftware.com\/documentation\/wp-content\/uploads\/sites\/3\/2015\/10\/searchable_control.png","type":"image\/png"}],"author":"BePro Software Team","twitter_misc":{"Written by":"BePro Software Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/","url":"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/","name":"Custom Search Filter - Documentation","isPartOf":{"@id":"https:\/\/www.beprosoftware.com\/documentation\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/#primaryimage"},"image":{"@id":"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/#primaryimage"},"thumbnailUrl":"https:\/\/beprosoftware.com\/wp-content\/uploads\/sites\/3\/2015\/10\/searchable_control.png","datePublished":"2015-10-09T01:27:01+00:00","dateModified":"2015-10-13T15:32:10+00:00","author":{"@id":"https:\/\/www.beprosoftware.com\/documentation\/#\/schema\/person\/96560a18e84b6d1d52fd4b5439c3e0ef"},"description":"Customize the search fields for the listings captured by our BePro Listings Form Builder","breadcrumb":{"@id":"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/#primaryimage","url":"https:\/\/beprosoftware.com\/wp-content\/uploads\/sites\/3\/2015\/10\/searchable_control.png","contentUrl":"https:\/\/beprosoftware.com\/wp-content\/uploads\/sites\/3\/2015\/10\/searchable_control.png","width":1181,"height":632},{"@type":"BreadcrumbList","@id":"https:\/\/www.beprosoftware.com\/documentation\/custom-search-filter\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.beprosoftware.com\/documentation\/"},{"@type":"ListItem","position":2,"name":"Custom Search Filter"}]},{"@type":"WebSite","@id":"https:\/\/www.beprosoftware.com\/documentation\/#website","url":"https:\/\/www.beprosoftware.com\/documentation\/","name":"Documentation","description":"BePro Software Product Documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.beprosoftware.com\/documentation\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.beprosoftware.com\/documentation\/#\/schema\/person\/96560a18e84b6d1d52fd4b5439c3e0ef","name":"BePro Software Team","description":"BePro Software is a Canadian company providing managed hosting, operational support, and long-term stewardship for business-critical websites and digital systems. We specialize in maintaining and operating platforms built by others, focusing on stability, security, accessibility, and continuity rather than one-off development. BePro Software is owned and operated by Beyond Programs Ltd and is based in British Columbia, Canada. Contact us on FolioProjects @BeproSoftware","sameAs":["http:\/\/beprosoftware.com","https:\/\/x.com\/beprosoftware"],"url":"https:\/\/beprosoftware.com\/documentation\/author\/manager\/"}]}},"_links":{"self":[{"href":"https:\/\/beprosoftware.com\/documentation\/wp-json\/wp\/v2\/posts\/2687"}],"collection":[{"href":"https:\/\/beprosoftware.com\/documentation\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/beprosoftware.com\/documentation\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/beprosoftware.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/beprosoftware.com\/documentation\/wp-json\/wp\/v2\/comments?post=2687"}],"version-history":[{"count":1,"href":"https:\/\/beprosoftware.com\/documentation\/wp-json\/wp\/v2\/posts\/2687\/revisions"}],"predecessor-version":[{"id":2694,"href":"https:\/\/beprosoftware.com\/documentation\/wp-json\/wp\/v2\/posts\/2687\/revisions\/2694"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/beprosoftware.com\/documentation\/wp-json\/wp\/v2\/media\/2688"}],"wp:attachment":[{"href":"https:\/\/beprosoftware.com\/documentation\/wp-json\/wp\/v2\/media?parent=2687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/beprosoftware.com\/documentation\/wp-json\/wp\/v2\/categories?post=2687"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/beprosoftware.com\/documentation\/wp-json\/wp\/v2\/tags?post=2687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}