: 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.
By default, Astra displays "Search Results For: [Keyword]" at the top of the results page. You can change this heading text easily:
: To dynamically change the entire string, add this filter to your functions.php :
If you want to change the text inside the search box (e.g., changing "Search..." to "Find what you need..."), use this filter:
: Go to Customize > Global > Typography to set site-wide fonts, which will affect the search results.
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
: 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.
By default, Astra displays "Search Results For: [Keyword]" at the top of the results page. You can change this heading text easily: Search Results for astra
: To dynamically change the entire string, add this filter to your functions.php : : Navigate to Customize > Post Types > Search Page
If you want to change the text inside the search box (e.g., changing "Search..." to "Find what you need..."), use this filter: You can change this heading text easily: :
: Go to Customize > Global > Typography to set site-wide fonts, which will affect the search results.
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