[listing_contact] Shortcode

The Listing Contact feature allows you to output a contact form on your pages and posts using a simple Shortcode. There are a variety of options available with each Shortcode in Easy Property Listings.

[listing_contact]

You can output your contact form:

[listing_contact]

Usage

There are several options that may be specified using this syntax:

[listing_contact option1="value1" option2="value2"]

You can also print a list of listings in a template like so:

<?php echo do_shortcode('[listing_contact]'); ?>

All Options

description
epl_contact_first_name
epl_contact_last_name
epl_contact_email
epl_contact_phone
epl_contact_title
epl_contact_note
epl_contact_anti_spam
submit

Options

The following options are accepted:

description

specify a text description that appears before the fields. Default is blank.

[listing_contact description="Please enter in your details below"]
epl_contact_first_name

specify outputting the first name field. Default is on.

[listing_contact epl_contact_first_name="off"]
epl_contact_last_name

specify outputting the last name field. Default is on.

[listing_contact epl_contact_last_name="off"]
epl_contact_email

specify outputting the email field. Default is on. Note: This is a required field.

[listing_contact epl_contact_email="off"]
epl_contact_phone

specify outputting the phone number field. Default is off.

[listing_contact epl_contact_phone="on"]
epl_contact_title

specify outputting the Subject field. Default is on.

[listing_contact epl_contact_title="off"]
epl_contact_note

specify outputting the message text box. Default is on.

[listing_contact epl_contact_note="off"]
epl_contact_anti_spam

specify outputting the hidden field to prevent bot spam. Default is on.

[listing_contact epl_contact_anti_spam="off"]
submit

specify the label of the submit button. Default is Submit.

[listing_contact submit="Press the button"]