Change the Schedule Tour Email Text and the Form Default Message
This question usually has two parts:
- Change the email content that is sent after a user schedules a tour or live meeting.
- Change the default sentence shown in the Schedule Tour form, like “I would like to schedule a tour for …”.
Important: What can be changed without code vs. what needs code
- Email layout/content is generated from a PHP email template. Changing it requires code edits.
- The default sentence in the form is a translatable string. In many cases, you can change it using translation tools (recommended).
1) Change the Schedule Tour email template (requires code)
When a visitor schedules a tour/live meeting, the form details are sent to the email address assigned to the agent/agency/developer linked to the property. The email body is generated by the theme email template.
Template file:
wpresidence/templates/email_templates/schedule_tour_email_template.php
Purpose: Renders the Schedule Tour email body.
Core email logic file:
wpresidence-core/misc/emailfunctions.php
Purpose: Builds and sends the schedule tour request email content.
Developer note:
The Schedule Tour functionality is coded. Any changes in these files are considered custom development.
If you edit these files directly, updates may overwrite your changes. If you plan to customize, do it via a child theme and test carefully on a staging site first.
2) Change the default text in the Schedule Tour form (recommended: translate the string)
The text like:
“I would like to schedule a tour for …”
is a translatable string. The easiest method is to change it using Loco Translate (no PHP editing needed).
Use this guide: How to rename theme words with Loco Translate
In Loco Translate, search for the exact string (or a partial match), for example:
I would like to schedule a tour for %sI would like to schedule a viewing on %s at %s
Then add your custom wording as the translation and save.
If you specifically want to change the “viewing on date/time” sentence
That sentence is assembled in the core plugin, typically as a translated PHP string, similar to:
$schedule_mesaj = sprintf(
esc_html__(
'I would like to schedule a viewing on %s at %s. Please confirm the meeting via email or private message.',
'wpresidence-core'
),
$schedule_day,
$schedule_hour
);
In many cases, you can still change it via Loco Translate by translating it under the correct text domain:
- Theme strings: WpResidence
- Plugin strings: wpresidence-core
If the string is not found in Loco Translate, then it needs a code change in the file mentioned above.
Quick checklist
- If you want to change wording only, try Loco Translate first.
- If you want to change the email layout/structure, it requires custom code.
- Always test on staging before applying changes to a live site.