Quantcast
Channel: Topic Tag: contact-form | WordPress.org
Viewing all articles
Browse latest Browse all 5994

f.lindenberg on "[Theme: Zerif Lite] Localization contact form"

$
0
0

Hi,

I'm running into problems translating the theme. I've successfully translated most strings using my de_DE.po file.

However, the placeholders in the contact form in front-page.php appear to be hardcoded ("Your Name", "Your Email:" etc.)

<input type="text" name="myname" placeholder="Your Name" class="form-control input-box" value="<?php if(isset($_POST['myname'])) echo esc_attr($_POST['myname']);?>">

How can I translate these strings, too? Do I have to copy the entire front-page.php file into my child theme and then insert appropriate gettext calls __()?

Your help is highly appreciated.
Cheers,
Fabian


Viewing all articles
Browse latest Browse all 5994

Trending Articles