This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Change Text of Search Widget

Resolved 3 replies themetheme-vantage
11 years ago · Last reply by Andrew Misplon 11 years ago

Hi,
I am using Vantage Premium and I would like to change the text that appears in the search widget, i.e. from “Search” to something else (e.g. “Suche” in my case, as it’s a german website). How can I do that?

Thanks.

Vaclav

URL: http://lektorat-demling.de/

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Andrew Misplon Staff 11 years, 5 months ago

    Hi Vaclav

    Thanks for running Vantage.

    This is a default WordPress widget unfortunately without any options like changing the placeholder text. There is probably a better way of doing this but here is how I solved the problem locally now.

    1. I installed this plugin so we can paste PHP into widgets: https://wordpress.org/plugins/enhanced-text-widget/
    2. I inserted our new widget Enhanced Text Widget into the footer widget area.
    3. I then inserted the search form code into that widget as follows:

    <form role="search" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
        <div>
            <input type="text" value="" name="s" id="s" placeholder="Search" />
            <input type="submit" id="searchsubmit" value="Search" />
        </div>
    </form>

    Now you can replace the placeholder=”Search” with placeholder=”Suche”.

    Hope that helps.

  2. Vaclav Demling 11 years, 5 months ago

    Hi Andrew,

    that did the job, thank you very much.

    Vaclav

  3. Andrew Misplon Staff 11 years, 5 months ago

    Super, glad to hear that did the trick. All the best.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread