How can I change the text (the language of the text) to something other than “Search” in the Search Bar found in the header or in the menu bar?
Search Bar (upper right corner of menu bar) – Change text
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Hi Andy
Thanks for reaching out.
There isn’t an easy way to change the search form placeholder text from within the Vantage theme options.
If you have a background in coding you could use a child theme, copy searchform.php from the parent into your child theme and then edit the placeholder there.
Here is a stater child theme if that’s something you’d like to jump into:
https://siteorigin.com/wp-content/uploads/2015/03/vantage-child-starter.zip
If you’d ever like a hand with small or big custom development tasks we recommend the developers at https://codeable.io.
Got it! Thank you, so much.
Fore sure :) Hope you’re able to make progress.
All the best.
You have helped us track down how to change the text in the Menu Bar for the Search Form in our Vantage child theme. We did this by copying the “searchform.php” from our parent theme into your child theme and then edited the “placeholder ‘Search'” there.
Now… how do we accomplish the same thing for our responsive menu? Where would that file be so we can do the same thing for all mediums across devices of the Search Form?
This is a private message.
Hey Andy
The conventional way of doing this would be by translating the theme. The mobilenav placeholder isn’t as easy to change. There is a JavaScript localization happening. You could perhaps try using:
http://www.code-styling.de/english/development/wordpress-plugin-codestyling-localization-en
To translate the string in question. It is a translatable string.
Hey Andrew! Where do I find the translatable string that you sent me above? I did not find that string in the searchform.php file in the parent theme. Also, which elements are the elements that I can change into a different language? For example, are the translatable parts of the text between the apostrophe (‘) symbol, such as the following SHOULDITRANSLATETHIS? parts:
‘SHOULDITRANSLATETHIS?’ => array( ‘url’ => get_home_url(), ‘placeholder’ => __( ‘SHOULDITRANSLATETHIS?’, ‘siteorigin’ ) ),
It’s unfortunately beyond our current support scope to child theme and filter the search form in the mobile menu. The easiest way to translate that string would be to translate the theme using the provided .pot file found in the languages folder. Instead of doing it manually, you could use a plugin like Codestyling Localization. The following tutorial covers this plugin and a few other options:
http://wplang.org/translate-theme-plugin/