Simple Real Estate Pack
[resolved] Captcha on contact form after tabs (3 posts)

  1. completek
    Posted 3 years ago #

    I have been trying to figure out how to add a captcha to the contact form that appears after the tabs on the SRP listings on my website:

    I finally found where the contact form is in srp-functions.php -- but I don't see an option to disable this contact form if I choose to use Contact Form 7 instead, and I'm not proficient enough in PHP to add a captcha function to this function.

    How can I diable this contact form or add a captcha to it? Or use Contact Form 7 instead?

    Thanks. Steve


  2. Max Chirkov
    Plugin Author

    Posted 3 years ago #

    I see that you already have a different form with captcha on your listing details pages. In any way, the function srp_inquiry_form() is being called from the /templates/listing_page.php - just scroll to the bottom and comment out the function by placing 2 slashes in front of it (//).

  3. completek
    Posted 3 years ago #

    Thanks for the quick reply -- yes, I hacked around and ended up replacing the code in the srp-functions.php with a Contact Form 7 short code. And amazingly, it worked!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Real Estate Pack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic