WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to edit search button caption (2 posts)

  1. agonche
    Member
    Posted 1 year ago #

    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 ?

  2. agonche
    Member
    Posted 1 year ago #

    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>

Topic Closed

This topic has been closed to new replies.

About this Topic