Learn about integration with the Breakdance Builder plugin.
Breakdance is a relatively new, yet powerful and rapidly gaining popularity, page builder plugin for WordPress.
Advanced Woo Search (AWS) has built-in integration with the Breakdance plugin. You can add the search form anywhere on your site using this page builder. Additionally, you can use the Seamless Integration option to replace any default builder search form with the Advanced Woo Search form. Lastly, you can customize the layout of the search results page, and the AWS plugin will use this new layout for displaying its search results.
Below, we will cover all these features in detail.
There are several ways you can add the plugin search form to your site pages.
In this guide, we will use the built-in plugin shortcode for the search form and the Breakdance builder.
Here are the steps to add the AWS plugin search form via Breakdance Builder:
1. Create a new page or edit an existing one using Breakdance Builder.
2. Click the Add button and insert a Shortcode block in the desired location where you want to display the plugin's search form.
3. For the Shortcode block content, enter the shortcode: [aws_search_form]
.
4. Save your page changes and check that the AWS plugin shortcode appears exactly where you placed the Shortcode block.
Another way to add the AWS plugin search form is by using the Seamless Integration option. With this option, you can replace all default Breakdance search forms with the AWS plugin forms.
To do this, go to the plugin settings page and enable the Seamless Integration option.
Afterward, all default search forms will be replaced.
This feature is especially helpful for search forms in headers with fullscreen enabled. After enabling this option, the fullscreen search will display the AWS plugin search form when clicking the search icon.
With Breakdance, it's possible to customize global pages such as shop pages, single products, archives, and search results.
For our purposes, we'll focus on how to customize the search results page and display AWS plugin search results on the new page.
Here are the steps to create a template for product search results:
1. Go to Breakdance -> Templates and click Add Template. Create a blank template for the search results page.
2. Click Edit in Breakdance for that search results page template.
3. On the blank template, add a Products List block.
4. In the block settings, navigate to the Content tab and set the Query value for the Show Products option. You can adjust other options as needed.
5. Add any other blocks you desire or save the template with just that one block.
6. That's it! Now, check your shop's search results page — it should have the new layout created with Breakdance Builder.