Support » Themes and Templates » How to modify the label(not title) of default search widget?

  • Resolved HUan

    (@huan)


    As I mentioned in topic title, I found there is still a word “search:” while I ve empty the widget title field.

    Please help. Thanks,

Viewing 1 replies (of 1 total)
  • Found a solution:
    1 Open ./wp-includes/general-template.php
    2 Search: screen-reader-text
    3 Remove <label class=”screen-reader-text” for=”s”>’ . __(‘Search for:’) . ‘</label>
    4 done

Viewing 1 replies (of 1 total)
  • The topic ‘How to modify the label(not title) of default search widget?’ is closed to new replies.