Home › Forums › Support › Change the placeholder for the search widget This topic has 3 replies, 2 voices, and was last updated 4 years ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts April 8, 2020 at 8:26 pm #1232024 Hilton Hi, how can I change the placeholder for the search sidebar widget from “Pesquisar …” to “Buscar …”? Thanks April 9, 2020 at 4:54 am #1232362 DavidStaff Customer Support Hi there, try adding this PHP Snippet to your site: function db_search_form_placeholder( $html ) { $html = str_replace( 'placeholder="Pesquisar ', 'placeholder="Buscar ', $html ); return $html; } add_filter( 'get_search_form', 'db_search_form_placeholder' ); https://docs.generatepress.com/article/adding-php/ April 9, 2020 at 7:07 am #1232514 Hilton Hi David, Perfect! Thanks April 9, 2020 at 7:14 am #1232523 DavidStaff Customer Support You’re welcome Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In