• Resolved Pete



    The contact form on this site isn’t displaying. It’s fine in preview, but it doesn’t show on the live site regardless of whether I’m logged in.

    There are three forms on this site and the other 2 work fine. I’m using Siteground Optimizer which seems to be the cause of a number of similar issues from what I’ve read.

    I’ve tried all the previously mentioned fixes but nothing is working.


    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Pete


    I have turned off the Defer Render-blocking Javascript on SG Optimizer and the form now works. IS there a way around this so I can have it turned back on?


    Plugin Support Kris – WPMU DEV Support


    Hi @capitaldigital

    I hope you are doing good today.

    In SG Optimizer settings can you exclude those files from “Defer Render-blocking” and see if this helps?


    Kind Regards,

    Thread Starter Pete


    Thanks, there’s a dropdown but I don’t have any of those files as options.

    Plugin Support Patrick – WPMU DEV Support


    Hi @capitaldigital

    Usually, you need to type the file name like Forminator-form.min.js in the SG settings, but I made a test and it seems the plugin is not able to see the files.

    Forminator uses the WordPress default functions to render the JS and CSS, so I suggest contacting plugin support.

    A workaround is using a filter available on their description page https://wordpress.org/plugins/sg-cachepress/#description

    add_filter( 'sgo_css_combine_exclude', 'css_combine_exclude' );
    function css_combine_exclude( $exclude_list ) {
        // Add the style handle to exclude list.
        $exclude_list[] = 'forminator-icons';
        $exclude_list[] = 'forminator-utilities';
        $exclude_list[] = 'forminator-grid-default';
        $exclude_list[] = 'forminator-forms-default-base';
        $exclude_list[] = 'forminator-forms-default-select2';
        $exclude_list[] = 'forminator-forms-default-full';
        return $exclude_list;
    add_filter( 'sgo_css_minify_exclude', 'css_minify_exclude' );
    function css_minify_exclude( $exclude_list ) {
        // Add the style handle to exclude list.
        $exclude_list[] = 'forminator-intlTelInput';
        $exclude_list[] = 'forminator-inputmask';
        $exclude_list[] = 'forminator-inputmask';
        $exclude_list[] = 'forminator-inputmask-binding';
        $exclude_list[] = 'forminator-ui';
        return $exclude_list;

    please, give a try the above code using mu-plugin: https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins

    Best Regards
    Patrick Freitas

    Plugin Support Kasia – WPMU DEV Support


    Hello @capitaldigital ,

    We haven’t heard from you for several days now, so it looks like you don’t have any more questions for us.

    Feel free to re-open this ticket if needed.

    Kind regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.