Houzi Docs logo Houzi Docs

Direct Messaging is an excellent way to connect with realtors efficiently. We’ve developed this feature to significantly improve engagement and communication between clients and real estate professionals. By enabling seamless and direct interaction, it fosters a more personalized and responsive experience, allowing for timely updates and meaningful conversations. This feature is designed to bridge the gap between clients and realtors, enhancing overall satisfaction and streamlining the real estate process.

Important: These messages are not real-time like WhatsApp; instead, they are HTTP-based, where the app periodically polls the server for new messages. You can adjust the polling interval through a hook as described below.

Direct Message are disabled by default on Houzez. To use the Direct Message feature, you will need to perform some configurations on your WordPress site.

This guide includes the following sections:

Direct Messages Setup on WordPress

You have to provide these following configurations:

1. Enable Direct Message Button:

Go to the Theme Options > Contact Forms. Enable the Direct Message Button setting and Save Changes.

messages-setup-wordpress-01

2. Create Message Page:

messages-setup-wordpress-02

3. Enable Push Notification:

Houzez v3.3.0 already sends the push notification for direct messages.

To Enable Push Notifications for Messages in Houzez version 3.2.5 and below, you will need to do following changes manually:

$notificationArgs = array(
            "title" => $subject,
            "message" => $message,
            "type" => "messages",
            "to" => $user_email,
        );

do_action('houzez_send_notification', $notificationArgs);

messages-setup-wordpress-03

Houzi Package via Houzi Builder

Direct Messages Pooling Interval Configuration via Hooks

Checkout Direct Messages Hooks for further direct messages configurations.

❗️❗️IMPORTANT❗️❗️

Direct Messages Setup on WordPress is required. Please ensure that you have configured Direct Messages on your Wordpress before configuring via HouziBuilder and Hooks.

❗️❗️IMPORTANT❗️❗️

Direct Messages are sent directly to the author of the listing. If the listing is assigned to an agency or an agent, they will not receive these messages. In contrast, when a contact email is sent regarding a listing, it is directed to the assigned agency or agent. This is how Houzez theme designed the messages.

Added in version 1.4.2

Previous: Push Notifications Next: Setup Houzi Rest Api plugin