By default, Astra displays "Search Results For: [Keyword]" at the top of the results page. You can change this heading text easily:
: In the same Search Page menu (Customize > Post Types > Search Page), click the Design tab to adjust the font size, color, and weight specifically for the search title. How to Change the "Search Results For" String
add_filter( 'astra_the_search_page_title', 'my_custom_search_title', 10 ); function my_custom_search_title() { return sprintf( __( 'Your Custom Text Here: %s', 'astra' ), ' ' . get_search_query() . ' ' ); } Use code with caution. Copied to clipboard Search Results for astra
If you want to change the text inside the search box (e.g., changing "Search..." to "Find what you need..."), use this filter:
: To dynamically change the entire string, add this filter to your functions.php : By default, Astra displays "Search Results For: [Keyword]"
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
: Most placeholder adjustments for the newer Header Builder are managed directly within the Header Builder Search element settings . 3. Change "Nothing Found" Text get_search_query()
: 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.