Display search results

I added this in a code block on my search results template to show the terms the user was looking for. Maybe useful for somebody.

Cheers

Patric

<?php
  
echo '<h4 class="title">' . esc_html__( 'Search results for: "', 'bricks' ) . get_search_query() .'"</h4>';
	
?>
2 Likes