• Resolved Sepi

    (@sepicompanywork)


    how can change “Search Results for” in Search Result page maded by elementor. my theme is hello elementor and use last version of elementor and wordpress

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Joel

    (@joelsm)

    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:

    1. 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
    2. 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.
    3. Using a Translation Plugin.

    We are wishing you a pleasant day ahead.

    Kind Regards,

    Thread Starter Sepi

    (@sepicompanywork)

    Hello

    very very thanke you, video was Excellent. I used number one solution.

    @joelsm thanke you so much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can change “Search Results for”’ is closed to new replies.