WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to modify the label(not title) of default search widget? (2 posts)

  1. HUan
    Member
    Posted 2 years ago #

    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,

  2. HUan
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic