WP Residence Help WP Residence Help

  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API
Home / Technical how to | Custom Code Required / Technical: Change the Schedule Tour Email Text and the Form Default Message

Technical: Change the Schedule Tour Email Text and the Form Default Message

167 views 0

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 %s
  • I 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.
Technical how to | Custom Code Required

Related Articles

  • Property list filter customization
  • Technical – How to Change the Minimum Image Dimensions for Property Uploads in WPResidence
  • Introduction to WPResidence Header Customization
  • Understanding WPResidence Header Types: An Overview

Help Categories

  • 18Agent, Agency & Developers
  • 5Blog Posts & Blog Lists
  • 38Elementor Shortcodes Built-In
  • 45FAQ
  • 15Footer
  • 5Getting Started
  • 37Header
  • 2IDX & MLSImport
  • 6Installation & Setup
  • 23Installation FAQ
  • 23Maps & Location Settings
  • 21Multi-Language Third Party Plugins
  • 6Other Third party Plugins
  • 19Pages
  • 4Payments & Monetization
  • 20Property Lists, Categories & Archive
  • 36Property Pages & Layouts
  • 31Search & Filtering
  • 162Technical how to | Custom Code Required
  • 8Technical: Actions and filters
  • 6Technical: Child Theme
  • 86Theme Options & Global Settings
  • 6Translations & Languages
  • 16WPBakery Shortcodes
  • 51WPResidence / WPEstate CRM
  • 50WPResidence 5.0 Documentation
  • 8WPResidence Elementor Studio
  • 50WPResidence Translate Plugin

Join Us On

Powered by WP Estate - All Rights Reserved
  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API