The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. agonche
    Posted 3 years 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
    Posted 3 years 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" />

Topic Closed

This topic has been closed to new replies.

About this Topic