Edit Search results page on search.php file


I need help to edit "the Search results for" to replace it with "Résultats de la recherche pour"
As I don't anything about css or html and cie I kindly ask you if you could tell me the part to edit so as to display my translation?

Thank you in advance.



  • Hi 
    For this follow the given below instruction . 

    1 Find the banner-strip.php file located in your theme folder . 

    2 Open it and find the below line of code on  line no 26 . 

    echo $current_options['search_prefix']; echo ' '; printf( get_search_query() );

    3 And replace  it with below line of code . 

    echo "Résultats de la recherche pour"; ?> &nbsp <?php  printf( get_search_query() ); 

    Change text  Résultats de la recherche pour  as your need . 

    Let us know for further assistance . 

  • Hi Akhilesh,

    Thank you for you help, it works! 
    I also found another mean to replace the phrase in theme setup data php file - line 98 ;)

    Have a good day
  • Hi 
    Glade to know that its work for  you .

This discussion has been closed.