manoj611 on "how to add file from wordpress media library with input type="file""

ساخت وبلاگ

here is my custom form
<form>
<input type="file" name="myfile">
</form>

i have create a plugin and upload file with <input type="file" name="myfile">. but when i click on it i can't upload file from media library. can any one help.

Hi,

In order to integrate upload to Media Library functionality, please follow following points:
1) Check if path of uploads folder is properly set without leading "/"
2) Check Write permissions to uploads folder

Hope the solution works for you, all the best for a solution.

Thanks.

manoj611
Member
Posted 4 minutes ago #

Hello sir,

thanks but i want to attached file from media library currently i can't attached from there. i can upload from local directories but i do not need this. Files upload and save successfully no issue about upload.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 86 تاريخ : جمعه 28 اسفند 1394 ساعت: 14:50