Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for using custom HTML or shortcode for lead capture form #272

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CodyReichert
Copy link
Member

@CodyReichert CodyReichert commented Sep 29, 2024

This adds a plugin setting to use a custom lead capture contact form on single listing pages.

HTML/PHP or a shortcode (or both) can be configured on the Settings->SimplyRETS page. If left blank (the default), the built-in lead capture form will be shown unless disabled.

Contact Form 7, for example, can be used on the single listing pages now. There are several options for getting the address/MLS # into the email template. The easiest being to use "[_url]" in the message template.

@CodyReichert CodyReichert added enhancement This is an enhancement or new feature merge This PR can be merged by a maintainer labels Sep 29, 2024
@CodyReichert CodyReichert self-assigned this Sep 29, 2024
Copy link
Member

@creichert creichert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bad ass, only a few LOC in the non admin code. Looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an enhancement or new feature merge This PR can be merged by a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants