Inspiry Menu Created with Sketch.

Problem:

Hi,

I am getting some spam emails daily from the contact us form of the theme. The number of spam emails is growing steadily each day.

I am using the form as default with the “Are you human” question.

Is there some form of stronger captcha security (or whatever) we can use on the form, to stop this SPAM?

Thanks.

Original poster

Solution:

Hi,

Please look for following code in functions.php file of theme

if($_POST['captcha'] != $_SESSION['rand_code'])

as pointed in following screenshot http://screencast.com/t/JkMPYed8Sd

and modify it to to following code

if( empty($_POST['captcha']) || ($_POST['captcha'] != $_SESSION['rand_code']))

after this modification make sure your contact form is working properly.

I hope you will not get spam emails after this change. ( let me know if you got any )

Thanks & Regards

Saqib

Saqib