Search Results Template in Bricks

CleanShot-2022-10-29-at-10.40.15@2x

Update on 29 Oct 2022


This Pro tutorial provides the steps to set up a search template in Bricks with these features:

  1. "Search results for: <searched term>" above the results. Example.
  2. Showing a "No search results matching" message when there are no search results.

Step 1

Let us define a custom function to retrieve the searched term.

In your child theme's functions.php or a code snippets plugin, add:

This is a Pro members-only tutorial.

To get full access, login below or sign up for a Pro Account

  • Amanda Lucas

    Sridhar – trying to use this and getting a critical error white screen every time I enable it in WPcodebox

Leave your comment