Customization placeholder widget Search
-
Hi,
in the search form, the placeholder text is not translated into the language of the theme . In my case : Italian. In the Search widget the text is: Search… and I would like: Cerca…
I looked in the file “searchform.php” this code:<label class=”screen-reader-text” for=”s”><?php _e( ‘Search for:’, ‘sparkling’ ); ?></label>
<input type=”text” class=”form-control search-query” placeholder=”<?php echo esc_attr_x( ‘Search for’, ‘placeholder’, ‘sparkling’ ); ?>” value=”<?php echo get_search_query(); ?>” name=”s” title=”<?php echo esc_attr_x( ‘Search for:’, ‘label’, ‘sparkling’ ); ?>” />How can I personalize it?
Thanks
Oscar
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Customization placeholder widget Search’ is closed to new replies.