Skip to main content

How to Create a Custom Search Results Page in Divi Using Theme Builder

Learn how to create a custom search results page in Divi using Theme Builder for an improved user experience and site design consistency.

Updated over a year ago

A well-designed search results page enhances user experience by making it easier for visitors to find relevant content on your website.

With Divi's Theme Builder, you can create a custom search results page that matches your site's design and improves functionality.

This article will guide you through designing and implementing a custom search results page using Divi's powerful tools.

Create the Search Results Theme Builder Template

  1. From your WordPress Dashboard, go to Divi β†’ Theme Builder

  2. Create a new Template and assign it to Search Results

  3. Add the Custom Body by clicking on Add Custom Body β†’ Build Custom Body

    Search Results template - Create the Theme Builder template

Build the Search Results template's layout

  1. Add the Heading module in the First Section

  2. In the Heading module settings, under the Content Tab β†’ Heading, click on the Dynamic Content icon

  3. Select Post/Archive Title from the dropdown list

    Search Results template - Create the page title

  4. Add the Blog module to the layout and:

    1. In the Blog module's Content Tab, enable the option Posts For Current Page

    2. In the Design Tab β†’ Layout, choose Grid

    Search Results template - Setting the Blog module

  5. 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)

  6. Click on the top right X icon to exit the Visual Builder

    Search Results template - Save all changes

  7. 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.

Did this answer your question?