Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Glen Don Mongaya

    (@glenwpcoder)

    Hi @ericg2 ,

    It looks like the assets like JS and css folder were loaded properly.

    Like:

    /wp-content/plugins/contact-form-7/includes/swv/js/index.js?
    /wp-content/plugins/drag-and-drop-multiple-file-upload-contact-form-7/assets/js/codedropz-uploader-min.js

    Can you try and add this in your “theme/functions.php” file?

    add_filter( 'wpcf7_load_js', '__return_true' );
    add_filter( 'wpcf7_load_css', '__return_true' );

    Or add the code below in your wp-config.php file.

    define( 'WPCF7_LOAD_JS', true );
    Thread Starter ericg2

    (@ericg2)

    Hi @glenwpcoder

    Thanks for help
    There were two opposite lines in the function.php file as follows

    add_filter( 'wpcf7_load_js', '__return_false' );
    add_filter( 'wpcf7_load_css', '__return_false' );

    I just delete this 2 line, and it works

    I had follow advice here : https://contactform7.com/loading-javascript-and-stylesheet-only-when-it-is-necessary/
    I imagine the both function could not run together ? false/true 🙂

    Eric

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘grey button only’ is closed to new replies.