WP Residence Help WP Residence Help

  • WpEstate
  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API
Home / 24. 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

20 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.
24. 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

WP Residence Documentation

  • 01. Getting Started
    • How to Get Support
    • Get your buyer license code.
    • Use SSL / https
    • Server / Theme Requirements
  • 02. Installation & Setup
  • 03. Installation FAQ
  • 06. Search & Filtering
    • Advanced Search Display Settings
    • Advanced Search Form
    • Geolocation Search for Half Map
    • Save Search Theme Options
    • Advanced Search Colors
  • 09. Agent, Agency & Developers
  • 08. Property Pages & Layouts
  • 07. Property Lists, Categories & Archive
  • 13. WPResidence Elementor Studio
  • 10. Blog Posts & Blog List
  • 11. Shortcodes
    • Contact Form
    • Featured Agency/Developer
    • Membership Packages
    • Testimonials
    • Google Map with Property Marker
    • Listings per Agent, Agency or Developer
    • Display Categories
    • Agent List
    • Recent Items Slider
    • Recent items
    • List Properties or Articles by ID
    • Featured Agent
    • Featured Article
    • Featured Property
    • Login & Register Form
    • Icon Content Box Shortcode
  • 12. Widgets
  • 04. Theme Options & Global Settings
    • General Settings
    • User Types Settings
    • Appearance
    • Logos & Favicon
    • Header
    • Footer Style and Colors
    • Price & Currency
    • Property Custom Fields
    • Features & Amenities
    • Listing Labels
    • Theme Slider
    • Permalinks
    • Splash Page
    • Social & Contact
    • Map Settings
    • Pin Management
    • How read from file works
    • General Design Settings
    • Custom Colors Settings
    • Header Design & Colors
    • Mobile Menu Colors
    • User Dashboard Colors
    • Print PDF Design
    • Property, Agent, Blog Lists Design Settings
    • Sidebar Widget Design
    • Font management
    • How to add custom CSS
    • Custom Property Card Unit – Beta version
    • Email Management
    • Import & Export theme options
    • reCaptcha settings
    • YELP API Integration
    • iHomefinder Optima Express IDX
    • MEMBERSHIP & PAYMENT Settings
    • Property Submission Page
    • PayPal Setup
    • Stripe Setup
    • Wire Transfer Payment Method
  • 20. Translations & Languages
  • 26. FAQ
  • 10. Pages
  • 11. Header
  • 12. Footer
  • 05. Maps & Location Settings
  • 18. Payments & Monetization
  • Plugins
    • 19. Included Plugins
    • 22. Third Party Plugins – IDX Compatibility
    • 21. Third-Party Plugins – Multi-Language
    • 23. Third party Plugins – Other
  • Technical
    • 24. Technical how to | Custom Code Required
    • 25. Technical: Child Theme

Join Us On

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