[mfile upload-file-246 min-file:1 max-file:5]
is the shortcode im using
The file upload wont load inside popup because the popup content/element does not yet exist, until you click it.
You may try and use the code below (place it inside you /theme custom js file)
jQuery( document ).on('popup-open', function(){
window.initDragDrop();
});
Doesn’t seem to be having an effect unfortunately.
May I know which specific file did you add to the script?
Can you try and add inside the footer.php?
<script>
jQuery( document ).on('popup-open', function(){
window.initDragDrop();
});
</script>
I tried it in browser console and it works. (see here – https://i.imgur.com/pt39Dk7.png)
I a header/footer plugin
https://imgur.com/ScUUkQ8
Thanks.
I viewed the source of the page and code doesn’t look right (see here : https://i.imgur.com/UvuzJoo.png)
It seems the code snippet removing ” from the code.
Can you try and add the code manually to footer.php file?
or change to this :
<script>
jQuery( document ).on("popup-open", function(){
window.initDragDrop();
});
</script>
Hi,
i have this problem but mine is not in any popup or anything else.
here is where uploader should display:
https://ibb.co/k4bKJ4T
and here is my code to show uploader:
[mfile catalogue-file limit:104857600 filetypes:jpeg|jpg|pdf|png min-file:1 max-file:100 id:catalogue-file]
could you please help me?