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

juhocarlos on "Zerif lite placeholder text change in frontpage form"

$
0
0

I have a problem. I try to change the placeholder text in Zerif Lite with this code:

<div class="col-lg-4 col-sm-4 zerif-rtl-contact-email" data-scrollreveal="enter left after 0s over 1s">
<label for="myemail" class="screen-reader-text"><?php _e( 'Your Email', 'zerif-lite' ); ?></label>
<input required="required" type="email" name="myemail" id="myemail" placeholder="<?php _e('Your Email','zerif-lite'); ?>" class="form-control input-box" value="<?php if(isset($_POST['myemail'])) echo is_email($_POST['myemail']) ? $_POST['myemail'] : ""; ?>">

</div>

But if I change "Your Email" to something else whatever way there comes parse error: syntax error?

Where should I change the text?


Viewing all articles
Browse latest Browse all 5995

Trending Articles