One major issue with the Bricks Builder ecosystem is a lack of tutorials for this kind of thing. It’s not apparent how one would use Bricks for this use case. There is simply a “Search Results” template type, with no instructions on usage.
Apologies if this is actually online from Bricks and I just couldn’t find it.
Almost nothing on YT (just a bunch of ‘live search’ guides) and the Bricks Academy is beyond useless, other than to say, ‘look - there are things you can do’.
Better option use just {search_term} than custom code.
{search_term} Outputs current search term and {post_title} outputs current category. Use conditions to use the same template for archives and search. I think its cleaner that way.
Also use {query_results_count_filter:41a0ab} “41a0ab“ its your element id that hold de query, to ouput the number or results ajax.
Yep, you’re right on replacing the code with the heading - I’d hoped there was a way to do this but couldn’t easily find it. Thanks, this is exactly what I was looking for!