WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

Reply To: Translation for Search results and no results

#7297
Giancarlo
Participant

thanks but if i replace the string between ”, php error occur

i have tried to replace:
<h1 class=”entry-title”><?php printf( __( ‘Search Results for: %s’, ‘study-circle-pro’ ), ‘<span>’ . get_search_query() . ‘</span>’ ); ?></h1>

with this:
<h1 class=”entry-title”><?php printf( __( ‘Risultati: %s’, ‘study-circle-pro’ ), ‘<span>’ . get_search_query() . ‘</span>’ ); ?></h1>

And a php error occur.
The same for noresult.php

Thanks.