Site logo

[Support request] light form

Home Forums Support [Support request] light form

Home Forums Support light form

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #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

    #1874893
    mkjj

    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.

    #1875478
    Thomas

    Hi,
    thanks a lot for your kind answer.
    Is there another option then google services for prevent spam?

    #1875494
    mkjj

    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.

    #1875751
    David
    Staff
    Customer Support

    Thanks for the support @mkjj 🙂

    #1875783
    mkjj

    Your welcome. The least I can do is to give something back for the great support you provide.

    #1876079
    David
    Staff
    Customer Support

    🙂

    #1876135
    Thomas

    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

    #1876216
    mkjj

    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.

    #1877507
    Thomas

    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

    #1877551
    mkjj

    You’re welcome.

    #1879200
    Thomas

    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

    #1879223
    David
    Staff
    Customer Support

    The 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:

    https://docs.generatepress.com/article/adding-php/

    #1879557
    Thomas

    hi there
    thanks for your answer
    so i have to add this to the functions.php of the child theme of generatepress right

    thanks for your help

    #1879558
    mkjj

    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.

Viewing 15 posts - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.