Home › Forums › Support › Change language of search box label This topic has 9 replies, 4 voices, and was last updated 3 years, 4 months ago by David. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts October 30, 2020 at 10:19 am #1511426 Gonzalo Hi there, where I can change language of search box label? http://prntscr.com/va9d0d October 30, 2020 at 10:45 am #1511465 LeoStaff Customer Support Hi there, Try this filter: https://docs.generatepress.com/article/generate_search_placeholder/ October 30, 2020 at 11:47 am #1511536 Gonzalo Thank you Leo, for this code, can I use a hook? add_filter( 'filter_name', 'generate_search_placeholder' ); function generate_search_placeholder() { return 'Buscar'; } October 30, 2020 at 11:47 am #1511537 LeoStaff Customer Support No that’s a filter so one of these methods: Adding PHP: https://docs.generatepress.com/article/adding-php/ October 30, 2020 at 12:17 pm #1511580 Gonzalo Thank you Leo, working. In case it helps another user, I use this code with Code Snippets plugin: add_filter( 'generate_search_placeholder', 'gs_change_search_language' ); function gs_change_search_language() { return 'Buscar'; } Where ‘gs_change_search_language’ it’s my own function. October 30, 2020 at 12:17 pm #1511581 LeoStaff Customer Support Thanks for sharing! November 6, 2020 at 1:49 am #1520104 Grant Hello, I am trying to do the same thing as Gonzalo. I used his code with Code Snippets (thanks) but it doesn’t seem to work. A few things: I am using Relevanssi for search and asked the developer for input here I don’t see the original text “Search” even when I deactivate the Relevanssi plugin. Any ideas? November 6, 2020 at 5:47 am #1520325 DavidStaff Customer Support Hi there, can you raise a new topic and share a link to your site where we can see whats going on. November 6, 2020 at 7:06 am #1520645 Grant Found the answer: https://docs.generatepress.com/article/generate_navigation_search_output/#add-a-placeholder, thanks. November 6, 2020 at 8:08 am #1520711 DavidStaff Customer Support Glad to hear that! Author Posts Viewing 10 posts - 1 through 10 (of 10 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In