A custom search results page keeps your site's design consistent and gives visitors a better way to find content. Divi's Theme Builder lets you build one from scratch - full control over layout, styling, and functionality, no code required.
Create the Search Results Theme Builder Template
From your WordPress Dashboard, go to Divi → Theme Builder.
Create a new Template by clicking the Add New Template button.
Choose Build New Template.
Assign it to Search Results.
Add the Custom Body by clicking on Add Custom Body → Build Custom Body.
Build the Search Results template's layout
Add the Heading module in the First Section.
In the Heading module settings, under the Content Tab → Heading, click on the Dynamic Content icon
.Select Post/Archive Title from the dropdown list.
Add the Blog module to the layout and:
In the Blog module's Content Tab, enable the option Posts For Current Page
Save all changes by expanding the Visual Builder's settings and clicking on the Save button or by pressing CTRL+S (for Windows/Linux) or CMD+S (for Mac)
Click the top right Exit button to exit the Visual Builder.
Click on the Save Changes button to save the new Search Results template.
⚠︎ Note: The above template will be used when returning search results that include Pages and/or Posts. This will not include other custom post types, such as Products or Projects.





