- This topic has 15 replies, 3 voices, and was last updated 4 years, 2 months ago by
Thomas.
-
AuthorPosts
-
July 28, 2021 at 9:47 am #1874843
Thomas
Hi guys,
i am using the search theme from generatepress which is nice but the form this theme is using is happyforms where there is no free option for add google recaptcha, they charge nearly 50 Euros for that which is a lot from my point of view.Which other light form plugin can you recommend where recaptcha or similar is available for free?
Is contact from 7 fast or does it slow down the website?thanks a lot for your kind help
July 28, 2021 at 10:43 am #1874893mkjj
You can easily remove the additional requests from all pages but the contact page like this:
add_action( 'wp_print_scripts', 'deregister_cf7_javascript', 100 ); function deregister_cf7_javascript() { if ( !is_page(array(42)) ) { wp_deregister_script( 'contact-form-7' ); } } add_action( 'wp_print_styles', 'deregister_cf7_styles', 100 ); function deregister_cf7_styles() { if ( !is_page(array(42)) ) { wp_deregister_style( 'contact-form-7' ); } }
CF7 should have not any impact on performance, if you remove the requests. However, most Google services HAVE impact on page load. I wouldn’t use it, if you’re not located in the US. It usually slows down a site significantly.
July 29, 2021 at 2:50 am #1875478Thomas
Hi,
thanks a lot for your kind answer.
Is there another option then google services for prevent spam?July 29, 2021 at 3:03 am #1875494mkjj
Honestly, I use the good old Quiz. Yeah, it seems from ancient times. But it is simple, it works, and it does not send any user data to Google. There are a few other options like Honeypot. But I found this not to be very good. And it does not need a plugin to work. Which is for me a very strong point. I avoid plugins for such specific tasks. Plugins load JS and CSS which might impact performance.
July 29, 2021 at 7:19 am #1875751David
StaffCustomer SupportThanks for the support @mkjj 🙂
July 29, 2021 at 7:39 am #1875783mkjj
Your welcome. The least I can do is to give something back for the great support you provide.
July 29, 2021 at 9:44 am #1876079David
StaffCustomer Support🙂
July 29, 2021 at 10:25 am #1876135Thomas
Hi @mkjj
thanks a lot for your kind help.
May i ask what is the quiz
i googled and found only wordpress plugins but you recommend a quiz without a plugin.
Can you give me a hint how to do it?thanks a lot
July 29, 2021 at 12:09 pm #1876216mkjj
Hi Thomas,
the quiz is a built-in feature of CF7. It’s just a fancy word for a question that the user has to answer: 1+2=? You can build it like the other elements of the contact form in the CF7 editor. It’s super easy. It doesn’t exactly feel modern or trendy, and it is probably not a good idea to ask for your mother’s maiden name. But it gets the job done.I wouldn’t use CF7 without some kind of protection. The system can be used so send spam through your server. I’m not an expert, and I don’t fully understand the process. However, more than once my hosting company shut a contact page down due to massive spam. They asked me politely to add some protection. So, you do need it.
July 30, 2021 at 9:49 am #1877507Thomas
Hi mkjj
thanks a lot for your kind answer and thanks for explaining it to me.
Now i understand and will implement your thoughts into my website.great work and thanks for be patient with me
July 30, 2021 at 10:45 am #1877551mkjj
You’re welcome.
August 1, 2021 at 6:34 am #1879200Thomas
hi there,
may i ask where to put the code in WP for remove additional request from cf 7
thanks again for your great help
August 1, 2021 at 7:01 am #1879223David
StaffCustomer SupportThe code provided here my @mkjj:
https://generatepress.com/forums/topic/light-form/#post-1874893
Is PHP – this article explains how to add it to your site:
August 1, 2021 at 9:08 am #1879557Thomas
hi there
thanks for your answer
so i have to add this to the functions.php of the child theme of generatepress rightthanks for your help
August 1, 2021 at 9:11 am #1879558mkjj
Yes. And you have to replace the ID (42) with the ID of you page(s). Separate IDs with a comma, if you need more than one page.
-
AuthorPosts
- You must be logged in to reply to this topic.