RBA Cash Rate: 4.35% · 1AUD = 0.67 USD · Inflation: 4.1%  
Leading Digital Marketing Experts | 1300 235 433 | Aggregation Enquires Welcome | Book Appointment
Example Interest Rates: Home Loan Variable: 5.20% (5.24%*) • Home Loan Fixed: 5.48% (6.24%*) • Fixed: 5.48% (6.24%*) • Variable: 5.20% (5.24%*) • Investment IO: 5.74% (6.40%*) • Investment PI: 5.49% (6.32%*)

How to Add an Autocomplete Search Form to Your Website

Your website supports a large number of our own in-house search tools that exist outside of the standard WordPress framework. This FAQ will introduce the 'BM Website Basic Search' search facility onto your website with shortcode or with the Elementor widget.

Searching any website can be a nuisance, and the experience is one that can easily interrupt the flow of a user on your website. Our simple search seeks to mitigate the multi-page complexity by providing an easy-to-use single textbox that searches posts based on post text and immediately returns article options. The form can be used anywhere to search a single post type or multiple post types.

  Search Example

We'll look at basic usage with the shortcode of [bm_website_search_redirect]. We're going to modify the results returned via the post_type attribute as we want to exclude thousands of results that are arguably not entirely relevant. So, the shortcode used to return the form below is actually [bm_website_search_redirect post_types="post,faq"], meaning that we'll only be searching Blog Posts and FAQs. The result:

Keep in mind that our website doesn't provide the best platform for a full-featured example because we have so many posts that aren't accessible for 'standard' users. There are countless ways in which to rteurn results, and because XENA manages website statistics, we're able to return results by popularity or even the 'time spent' or 'most clicks' on page'. You'll have to keep referincing this FAQ or our social channels for various feature updates.

  The Problem with Multiple Post Types

Your website includes a large number of post types which are used to segregate data and provide high-level functionality. These consumer-facing post types include the following: post, page, faq, resources, education, finance, equipment, calculators, v (video), i (Social Mediq), download, business, testimonials, property, partners, employment, services, team, portfolio, bank, code, seo, and plugins (the last three types are typically ignored). Other post types deal with block content, conditional content, and transient content... and its these page types that serve to provide an exceptional experience for your users or provide for easy authentication privileges (for example, only logged in users can view partner pages outside of the entry archive page).

The massive functionality introduced to your website is the definition of bitter-sweet in the features are great, but we'll have to reference the post_types every now and again (unless you're sensibly using the Elementor widget).

  Used on Blog and FAQ Entry Pages

The two areas that will command the simple search facility more than any other are your blog and FAQ archive, and the two shortcodes you can use to return these filtered searches are as follows:

Blog: [bm_website_search_redirect post_types="post"]
FAQ: [bm_website_search_redirect post_types="faq"]

You should be able to review an example on our own FAQ archive page.

  Shortcode Attributes

The following shortcodes may be used to alter the presentation of the Search field. If you're comfortable with CSS, you may alter the 'search-address-wrapper' for the parent container.

placeholder

The default placeholder text is 'Search Website' You may alter with the shortcode of placeholder="Search FAQ Articles" or similar.

icon

The search icon is sourced from the Font Awesome library. The default icon of fas fa-search may be replaced with icon="fas fa-search".

style & dd_style

You may alter the parent style (style) or dropdown style (dd_style) with incline CSS applied as shortcode attributes.

post_types

The use of post_types was described above. The most common post types you'll search are post, page, faq, resources, education, finance, equipment, calculators, v (video), i (Social Mediq), download, business, testimonials, property, partners, employment, services, team, portfolio, bank.

sitehash

We'll search your own website by default. For those with more than one website, or when you're aggregating the articles from multiple independent brokers in a group, you may define additional websites to search. We use the term sitehash which is essentially your site_id, and you may include as many additional websites as required.

Default rendering with [bm_website_search_redirect] will search posts, faq pages, and resources.

  Elementor Widget

Shortcode introduces complexity that is often best avoided, and the Elementor drag-and-drop widget makes inclusion of the search form on any post or page a simple process. Search for 'BM Search', drag and drop the widget onto your page, select 'Website Search, select the post types that should be included in results, and save. The functional form with auto-populating results will immediately be returned. Easy.

Search Form in Elementor

  Pictured: Search for 'BM Search', drag and drop the widget onto your page, select 'Website Search, select the post types that should be included in results, and save. The functional form with auto-populating results will immediately be returned.

The same widget provides for a growing list or other search types.

  Pending Changes

A large number of changes are forthcoming. For starters, it's likely we'll alter the presentation to match the default Elementor search form . We'll also alter the way in which results are returned, the number of results, and possibly provide attributes such as 'reading time' in the results, or indicating if the page includes a video (the latter of whcih we've determined objectively increases page views). Please check back to this FAQ regularly or keep an eye on social channels for updates.

Sourced from Yabber: Results are retrieved from Yabber - not your website. This is done so we're able to group posts, selectively remove from search results, and perform other functions that'd simply be problematic within the WordPress environment.

■ ■ ■

  Related Form FAQs

Your website includes the most comprehensive form system in the industry. Some of the form features are listed below.

Your website supports a large number of our own in-house search tools that exist outside of the standard WordPress framework. This FAQ will introduce the 'BM Website Basic Search' search facility onto your website with shortcode or with the Elementor widget. Searching any website can be a nuisance, and the experience is one that can… [ Learn More ]

In a previous FAQ we looked at how to include an address validation field into a form on your website. This FAQ will introduce the same style of field that will automatically direct the user to the single page associated with each registered address in Australia. This feature is part of the broader Property… [ Learn More ]

Version 0.8.8.2 of the Yabber Website Plugin in company with website framework 202406 updates includes a basic Emergency Services search engine. The search engine will return various services based on suburb and/or postcode and then redirect the user to a dedicated page. The feature is available with a shortcode and Elementor widget - this FAQ… [ Learn More ]

The Property Property Streets API, and the Validation Endpoint in particular, is a means to access registered street and registered address location from Yabber via a form input field. The Validation (or Autocomplete) endpoints are useful for searching property on user keystrokes. The validation may be used to ensure pinpoint accuracy is assured by way… [ Learn More ]

In an FAQ titled "How to Create and Manage Website Simple Panels in Yabber" we looked at how to create Simple Panels, with the panel providing the side-by-side form and lead magnet (image or video). This FAQ will look at the various options to place the Simple Panels on your website.

Note

A simple panel is simply a two-column form. On the left side we have a form, and on the right side we have an image or video. As you're aware, we espouse the every-page conversion methodology, and this requires a high-value and relevant lead magnet (or 'offer') on every single page of your website. Every… [ Learn More ]

Forma And Panel escalation is a component of the large Conditional Content framework that underpins your mortgage broker website and finance funnels. Basic conditional content features are introduced in an FAQ titled The Basics of Conditional Content and Interest Types, while advanced methods are addressed individually. One of the simplest conditional options to employ… [ Learn More ]

Your website forms made available in Yabber and on your website are one of the most important marketing assets in your toolkit. They're the conduit that connects your website to Yabber and triggers the applicable automation schedules, logs the lead or prospect, and provides you with relevant notifications. Integration is made with various CRM systems,… [ Learn More ]

Your website's Referral Form is a dedicated resource with its own features and automation schedule. Managed via Yabber and an Elementor block or shortcode, it may be applied anywhere on your website. It is expected that the form will be integral to your formalised referral, partner, and EDGE post-settlement/repricing programs. You will find the 'Referral… [ Learn More ]

Every page of your website requires either a form or simple panel - we know this. This FAQ will details how to assign your created forms and panels to various 'hooked' locations on your website, and how to create Custom Locations anywhere on your website with Elementor (or WordPress shortcode). Assigning forms to various locations… [ Learn More ]

A Simple Panel is a form and 'something' alongside it, such as an image or video. In this FAQ we will look at how to change the Simple Panel as shown on the front page of your website.

Front Page Simple Panel
Navigate your way to Yabber's 'Front Page' module… [ Learn More ]

  Related FAQs

Share this FAQ

Share on Facebook
Share on Twitter
Share on Linkdin
Share on Pinterest