To modify the text that appears on your Astra theme search results page or within the search box itself, you can use the built-in WordPress Customizer or add custom code to your child theme's functions.php file. 1. Change "Search Results For:" Heading
: Navigate to Customize > Post Types > Search Page . Under the General tab, you can enable/disable the heading and edit the text in the Heading field. Search Results for astra
If "proper text" refers to the or size of the search results: To modify the text that appears on your
This replaces the standard "Nothing Found" subtitle or title. 4. Adjust Search Typography Under the General tab, you can enable/disable the
: To dynamically change the entire string, add this filter to your functions.php :
To customize the message shown when no results are found, you can use the astra_default_strings filter:
By default, Astra displays "Search Results For: [Keyword]" at the top of the results page. You can change this heading text easily: