WordPress.org

Support

Support » Themes and Templates » [Resolved] How to edit search button caption

[Resolved] How to edit search button caption

  • I am using Twenty Twelve theme and WordPress 3.4.2.

    I want to edit the search button caption (text).
    How do I do that ?

Viewing 1 replies (of 1 total)
  • I did it like this.

    I removed the search widget, and edited the sidebar.php file. Just added this:

    <form class="widget-area" role="search" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
        <div><label class="screen-reader-text" for="s">Search for:</label>
            <input type="text" value="" name="s" id="s" />
            <input type="submit" id="searchsubmit" value="Desired text goes here" />
        </div>
    </form>
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] How to edit search button caption’ is closed to new replies.