function change_nothing_found_text( $strings ) { $strings['string-search-nothing-found'] = __( 'Oops! We couldn\'t find any matches.', 'astra' ); return $strings; } add_filter( 'astra_default_strings', 'change_nothing_found_text', 10 ); Use code with caution. Copied to clipboard
This method allows you to replace the default label with something like "You looked for:". 2. Change Search Bar Placeholder Text Search Results for astra
By default, Astra displays "Search Results For: [Keyword]" at the top of the results page. You can change this heading text easily: } add_filter( 'astra_default_strings'