Hello @themefour,
1. I have checked and it seems like WordPress does not allow to upload webP format by default. Please let us know how you are uploading the webP format on the backend. Are you using the help of any filter upload_mimes
to upload a certain type of image?
2. There is no default way to include an upload file option on the product adding form. You will need to add custom code to achieve the goal. Let me help you with the file location :
wp-content/plugins/dokan-lite/templates/products/tmpl-add-product-popup.php
wp-content/plugins/dokan-lite/templates/products/new-product-single.php
/wp-content/plugins/dokan-lite/templates/products/new-product.php
I hope this helps 🙂
tnx.
1. I’ve put support for webp in function codes (my theme). This problem exists only on the dokan dashboard.
2. What codes have you put in the file upload selector? To use them. I found them but it doesn’t show up. Only displayed when editing a product. this is so bad
Hello @themefour,
We got some issues fixed on our Dokan plugin. Please implement the changes on your site and this should fix the issue you are having. Here are the changes you need to implement. Let us know if the issue is still there,
Thanks 🙂
I was able to add the file upload form when adding a new product with the following snippet code.
<?php get_template_part(‘/dokan/products/downloadable’);?>
But when I click on the file selection, it scrolls to the top page!! I got tired. Your plugin has a lot of problems.