1. Log Into Your WordPress Dashboard
The first step you will need to do is log into your WordPress Dashboard and then navigate down to Divi > Theme Builder.
Note: This guide was written using Divi Version: 4.8, If you are using a different version the setting may have been moved or removed.
2. Add a New Template
The second step is to click the grey box that says “Add New Template”. This will open a new box labeled Template Settings. You will need to scroll all the way to the bottom of these settings until you see Search Results, tick the box next to this and then click Create Template.
3. Create a Custom Body in the Search Template
Once you have created the new Search Template, click the middle box which says Add Custom Body > Build Custom Body this will take you into the Divi Builder.
4. Create a Blank Layout and Insert a Blog Module
Once you are in the Divi Builder, choose a layout add a new row and then insert a blog module.
5. Enable the Posts for Current Page Option
The final step is to enable the posts for current page option. You do this by toggling the first option in the Divi blog module labeled “Enable Posts for Current Page” to Yes. After you have done this and styled the page to your liking, be sure to save both the page and then theme template page.
6. Make a Search to Ensure Everything is Working
Once you have styled your search page using the Divi Theme Builder, make a search and make sure everything is correct on the search results page. If your changes are not showing up on the front end your Divi could be caching the CSS and preventing the changes from being shown.
7. Common Questions & Answers
How do I exclude pages from search results?
In the search module settings you are able to exclude all pages, all posts or specific post categories. You do this by scrolling down to the Exceptions section on the search settings page.
How do I change the search results page in WordPress?
You can make changes to the search results page in WordPress using the Divi Theme Builder and creating a custom template.
How do I see search results in WordPress?
Once you have enabled one of the many different search options in Divi all you need to do is make a search for something and the results will be displayed for you.