Hello,
Thank you for reaching out.
To customize the “Search Results for” text in the search results page created with Elementor using the “Hello Elementor” theme, follow these steps:
- Using Elementor Theme Builder:
- Go to your WordPress Dashboard.
- Navigate to Templates > Theme Builder.
- Find the Search Results template (or create one if you haven’t) and click “Edit with Elementor”.
- If you have added the Title widget you can click on it and assign it a Dynamic Tag with the option to add the prefix of the search text.
- Adjust the text as needed.
- Click Update to save your changes. Screencast: https://somup.com/c0QhDkAkwy
- Custom Code: You can add code to your?child theme’s??functions.php?file. Alternatively you can use a 3rd-party plugin such as?Code Snippets?to add functions to your theme without needing to use a child theme, and without needing to edit your theme’s functions.php file. The code to add to either your child theme’s functions.php file or to your snippets plugin is: add_filter( ‘elementor/utils/get_the_archive_title’,’archive_callback’ ); function archive_callback( $title ) { if ( is_search() ) { return ‘Your Custom Message Here: ‘ . get_search_query() ; } return $title; } Make sure you change?Your Custom Message Here:?to whatever you prefer.
- Using a Translation Plugin.
We are wishing you a pleasant day ahead.
Kind Regards,