-
AuthorPosts
-
February 2, 2015 at 7:58 pm #389609
hi there,
where can i change the text “Ihre Nachricht” (Your Message) in the response-mail from the contact form?
Text i can set:
“Vielen Dank für Ihre Buchung. Nachfolgend Ihre Bestelldaten:”Text i want to change
“Ihre Nachricht: ”Results from the contact form:
“Name: Volmering
Vorname: Ramon
E-Mail: xxxxxx
Telefon: xxxxx”February 4, 2015 at 6:32 am #390524Hey volmering!
Could you please link to the site in question? Also, are you using a contact form plugin?
Cheers!
RikardFebruary 4, 2015 at 5:40 pm #390814This reply has been marked as private.February 5, 2015 at 3:24 pm #391373Hi!
Thank you for the update.
You can add this on functions.php to change the autoresponder heading:
function avf_form_autorespondermessage_mod($message) { $message .= "<br/><br/><br/><strong>".__('CHANGET THIS LINE:','avia_framework')." </strong><br/><br/>"; return $message; } add_filter('avf_form_autorespondermessage', 'avf_form_autorespondermessage_mod', 10, 1);
Edit framework > php > contact-form-generator.php, look for this code:
wp_mail($from, $this->form_params['autoresponder_subject'], $message, $header);
Replace it with:
wp_mail($from, 'CUSTOM SUBJECT HERE', $message, $header);
I haven’t tested this myself so please let us know if it works.
Regards,
IsmaelFebruary 6, 2015 at 11:51 am #391941This reply has been marked as private.February 7, 2015 at 7:30 am #392414Hey!
Change Ismael’s first code to this:
function avf_form_autorespondermessage_mod($message) { $message = "<br/><br/><br/><strong>".__('CHANGET THIS LINE:','avia_framework')." </strong><br/><br/>"; return $message; } add_filter('avf_form_autorespondermessage', 'avf_form_autorespondermessage_mod', 10, 1);
Cheers!
JosueFebruary 7, 2015 at 11:55 am #392437hi josue, thx but:
February 7, 2015 at 12:03 pm #392439hi josue, thx, but:
February 7, 2015 at 12:28 pm #392445Ok, let’s try another method:
1. Install and activate this plugin – https://wordpress.org/plugins/codestyling-localization/
2. Go to Tools > Localisation > Theme > Enfold and click “Modify” to edit the German translation
3. Look for the “Ihre Nachricht:” string and change it – http://screencast.com/t/DRFOn6a67Oq
4. Click this button – http://screencast.com/t/5pcPOMlF0KJRegards,
JosueNovember 25, 2015 at 2:37 pm #542449thx, perfect can be closed
-
AuthorPosts
- The topic ‘Change Text Auto Response Contactform’ is closed to new replies.