Updated on 25 Jul 2023
This Pro tutorial provides the steps to set up a search template in Bricks with these features:
- "Search results for: <searched term>" above the results. Example.
- Showing a "No search results matching" message when there are no search results.
Let us define a custom function to check if there's at least 1 result for the searched term.
In your child theme's
functions.php or a code snippets plugin, add:
This is a BricksLabs Pro tutorial.
For full access login below or create your BricksLabs Pro account