you mean something like this?:
wp_enqueue_script('coderopz-uploader', get_theme_file_uri('/js/codedropz-uploader.min.js'), 'jquery-3.5.1', microtime(), true);
wp_enqueue_script('dnd-uploader', get_theme_file_uri('/js/dnd-upload-cf7.js'), 'coderopz-uploader', microtime(), true);
wp_enqueue_script('main', get_theme_file_uri('/js/scripts.js'), array('owl', 'dnd-uploader', 'jquery-3.5.1'), microtime(), true);
i put this in the functions.php in the function to load in wp_enqueue_scripts, they also load in the page:
https://anydevy.com/suppliers/
but still not working.
footer also had wp_footer() in it and it’s loading the resources
what should i do?
Hello @iamkeyvan72 ,
No need to move js scripts inside your themes.
Please undo your changes & try this.
1. Add this to you header.php above wp_head() function
wpcf7_enqueue_scripts();
2. Add this to your wp-config.php
define( ‘WPCF7_LOAD_JS’, true );
define( ‘WPCF7_LOAD_CSS’, true );
Thanks for your response, but unfortunately still nothing to show.
here is my header.php:
<?php
wpcf7_enqueue_scripts();
wp_head();
?>
and this is at the end of wp-config.php:
define('WPCF7_LOAD_JS', true);
define('WPCF7_LOAD_CSS', true);
the form is in the elements (from inspect elements) but not showing up.
i appreciate your help
Can you email me : glenmongaya@gmail.com
I’d like to see you theme setup if that’s possible?
Can you create a temporary account for me?
Thank You.
Yes sure.
I emailed you the account
Thanks, I found the issue.
This code.
add_filter('wp_enqueue_scripts', 'change_default_jquery', PHP_INT_MAX);
function change_default_jquery()
{
wp_dequeue_script('jquery');
wp_deregister_script('jquery');
}
Please change ‘add_filter‘ to ‘add_action‘ inside your themes/functions.php file.
-
This reply was modified 3 years, 4 months ago by Glen Mongaya.
yes, the problem was that code, but by changing add_filter to add_action, the problem was still there.
i removed that part of code (which was removing default jquery 1.12.4 from loading) the uploader worked.
perhaps the uploader needs that specific version of jquery, because i used jquery 3.5.1 in my project.
thanks a lot for your help.
I have somewhat of a similar issue, the uploader works fine on any desktop browser but does not show up on Android Pixel 3 phone
Hello, i have the same problem at http://www.deutschland-steht-auf.org.
Can´t see the multiple Upload section. https://i.ibb.co/twRZ76S/wp-problem.png
I´ve already insert the code in header.php
wpcf7_enqueue_scripts();
wp_head();
and at the End of wp-config.php
define('WPCF7_LOAD_JS', true);
define('WPCF7_LOAD_CSS', true);
wp_footer(); exists in footer.php
but nothing happen.
Before we buy the plugin, in need to fix this problem. But i don´t know what to do next. 🙁
Greetings
-
This reply was modified 3 years, 3 months ago by murmelino.
-
This reply was modified 3 years, 3 months ago by murmelino.
Hello @murmelino ,
Please create a topic (https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/), this thread is already closed and marked as resolve.
Also, please include the link of the page where the upload field was added.
I can’t find it in your homepage.
Thanks.
-
This reply was modified 3 years, 3 months ago by Glen Mongaya.