Title: AJAX File Upload
Author: DevriX
Published: <strong>مئی 25, 2016</strong>
Last modified: مئی 25, 2016

---

پلگ انز تلاش کریں

![](https://ps.w.org/ajax-file-upload/assets/banner-772x250.png?rev=1423699)

یہ پلگ ان **ورڈپریس کے تازہ ترین 3 ریلیزوں کے ساتھ ٹیسٹ نہیں کیا گیا ہے**۔ اب یہ
برقرار نہیں رکھا جا سکتا یا معاونت نہیں کی جا سکتی اور اس کو ورڈپریس کے تازہ ترین
ورژنز کے ساتھ استعمال کیے جانے پر مطابقت کے مسائل ہو سکتے ہیں۔

![](https://ps.w.org/ajax-file-upload/assets/icon-256x256.png?rev=1423689)

# AJAX File Upload

 منجانب [DevriX](https://profiles.wordpress.org/devrix/)

[ڈاؤن لوڈ کریں](https://downloads.wordpress.org/plugin/ajax-file-upload.0.1.1.1.zip)

 * [تفصیلات](https://ur.wordpress.org/plugins/ajax-file-upload/#description)
 * [جائزے](https://ur.wordpress.org/plugins/ajax-file-upload/#reviews)
 *  [انسٹالیشن](https://ur.wordpress.org/plugins/ajax-file-upload/#installation)
 * [ڈیولپمنٹ](https://ur.wordpress.org/plugins/ajax-file-upload/#developers)

 [معاونت](https://wordpress.org/support/plugin/ajax-file-upload/)

## تفصیل

This plugin will help you add file upload feature to your site, set maximum upload
size, allowed file extensions, and much more through a simple shortcode or a custom
function.

Totally AJAX, your uploads will be processed faster and an elegant way. All you 
need to do is to add the shortcode to your content, or call the plugin’s custom 
function whithin your code and that’s it.

You can either use `[ajax-file-upload /*settings as attributes*/]` shortcode to 
display the quick media upload buttons in the front-end, or use `do_shortcode('[
ajax-file-upload ..]')` in your PHP templates, or the built-in function `ajax_file_upload(
$args )` for which you should set the settings as an array in the 1 function parameter(
those act like shortcode attributes, in case of confusion).

**Some featues:**

 * Upload any type of media as long as your settings allow, nice and easy
 * Set file extensions to let limit the uploads to only custom extensions, like 
   for instance images (jpg,png,gif,bmp..)
 * Set maximum upload size and when a user tries to upload a larger file, they will
   get a notice (which you can totally customize)
 * Custom permission to upload, you can choose to allow uploads to certain user 
   role, or logged-in users only, or everyone!
 * Fully extensible, and creates custom JavaScript events which you can hook into
   to get the upload data settings, response, file, and much more (view docs)

You can always switch between settings from a shortcode to another, you are not 
obliged to use the same settings, but when a shortcode’s settings are empty or the
unique identifier attribute is not set then in this case, the default settings (
you can change them in the admin) will be used.

Also, supports child theme. You can copy the entire plugin folder to your child 
theme and there modify the JavaScript, CSS, and even the shortcode template and 
other files. Basically any file except the main loader file.

This is totally free and open source plugin. You can contribute to it, fork it on
Github, include it in your project and much more and always feel free to do so. 
Licensed under GNU GPL, just like major WordPress plugins and WordPress itself.

If you liked it, please leave us a useful review here on WordPress, share around
the social media and star the Github repository. Thank you in advance!

More useful documentation can be found on Github https://github.com/elhardoum/AJAX-
File-Upload and you can contact me anytime from this contact form: [](http://samelh.com/contact)
http://samelh.com/contact/

## اسکرین شاٹس

 * [[
 * An example use in WpChats 3.0 where used to upload the profile cover photo and
   process it
 * [[
 * Testing the uploader in my localhost
 * [[
 * Plugin admin settings screen
 * [[
 * Dumping the response data while listening to a custom JavaScript event by this
   plugin

## انسٹالیشن

#### From your WordPress dashboard

 1. Visit ‘Plugins > Add New’
 2. Search for ‘AJAX File Upload’, select this plugin and install and active.
 3. Assuming you’re done, you should be redirected to the ‘about’ page initially on
    first install.

## جائزے

![](https://secure.gravatar.com/avatar/b720425f891ac077d9b2faea1da6bde61a54ee1f6ea352438176a43cb48cd583?
s=60&d=retro&r=g)

### 󠀁[Clean code means easy to customise](https://wordpress.org/support/topic/clean-code-means-easy-to-customise/)󠁿

 [glouton](https://profiles.wordpress.org/glouton/) ستمبر 26, 2017

Hello, A free plugin with a nice and clean code. Thank you.

![](https://secure.gravatar.com/avatar/e2db5c5dff2314a21b7515e8880c19103b49e3572b148876387272e4dd77b0ee?
s=60&d=retro&r=g)

### 󠀁[Awesome!](https://wordpress.org/support/topic/awesome-4417/)󠁿

 [emtiaz51921](https://profiles.wordpress.org/emtiaz51921/) مارچ 18, 2017

Awesome Plugin.

![](https://secure.gravatar.com/avatar/16910cc0576f7c4bd46f9a057f3ecfc169bcfca8f5d820ec5f4747b0ecd57236?
s=60&d=retro&r=g)

### 󠀁[Good – but room for improvement](https://wordpress.org/support/topic/good-but-room-for-improvement/)󠁿

 [robcruiz](https://profiles.wordpress.org/robcruiz/) نومبر 20, 2016

First of all, I do want to say the plugin is a great start. However, I have already
found 2 ways to improve it. First of all, you don’t mention all of the hooks available
in the documentation. I found some hooks in the source code that I was able to use
to add my own email functionality. //Add Custom Email to AJAX File Upload for Purchase
Orders add_action(‘afu_after_upload_done’, ‘ajax_po_after_upload’, 99); function
ajax_po_after_upload($args){ $message = $args["url”]; wp_mail($message); } It would
be nice to add this email option as a parameter as well. Something like: send_email
=”email@email.com”. By default, it would just send some very basic email with a 
link to the file. That way people don’t have to go digging through the uploads directory
to try and find the file. Also, it would be really nice if you included a shortcode
parameter for "single_file” upload. Basically the idea here is that instead of having
to click the upload button after the selection of the file, it would just auto upload
the file immediately after selection – thus assuming there is only going to be a
single file uploaded. Therefore, once that single file is selected, the need for
the upload button is gone. Just select file -> click OK -> file is uploaded immediately.
So, in this case, there would be no need to even display the upload or delete buttons
at all. If you are willing to use this idea, I am willing to write the code for 
you as long as you include it in the plugin so it will always be there in future
updates. Deal?

![](https://secure.gravatar.com/avatar/11fa2163ea0c1c9825a3ce00b84f4806467c7c08909d8c40fe5ca1060d8a0e02?
s=60&d=retro&r=g)

### 󠀁[Simple and works great](https://wordpress.org/support/topic/simple-and-works-great-31/)󠁿

 [Lafif Astahdziq](https://profiles.wordpress.org/qutek/) نومبر 19, 2016

Works great, cool plugin

![](https://secure.gravatar.com/avatar/3f6fe9b940b32c9053e33e1517ce5310ff3a516f2bf63cee39a2ffccab9b461a?
s=60&d=retro&r=g)

### 󠀁[Very Nicely Done](https://wordpress.org/support/topic/very-nicely-done-10/)󠁿

 [Clayton R](https://profiles.wordpress.org/mrclayton/) نومبر 2, 2016

I would like to thank the developer for taking the time to create a well thought
out and very customizable plugin. There are many hooks and actions from which you
can expand on to create a more advanced plugin that is feature rich. This is definitely
a time saver for anyone looking to add upload functionality to their site.

![](https://secure.gravatar.com/avatar/cf7c7c64454d12bb99ee9a9cb810491f0eb78e97d148ea10fb5689311a71fc03?
s=60&d=retro&r=g)

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-2988/)󠁿

 [Anonymous User](https://profiles.wordpress.org/anonymized-13749270/) ستمبر 3, 
2016

Works great, you can implement this the way you want..

 [ تمام 6 جائزے پڑھیں ](https://wordpress.org/support/plugin/ajax-file-upload/reviews/)

## شراکت دار اور ڈیویلپرز

“AJAX File Upload” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں حصہ
لیا:

شراکت دار

 *   [ DevriX ](https://profiles.wordpress.org/devrix/)

[“AJAX File Upload” کا اپنی زبان میں ترجمہ کریں۔](https://translate.wordpress.org/projects/wp-plugins/ajax-file-upload)

### ڈویلپمینٹ میں دلچسپی ہے؟

[کوڈ براؤز کریں](https://plugins.trac.wordpress.org/browser/ajax-file-upload/)، 
[ایس این وی ریپوزیٹری](https://plugins.svn.wordpress.org/ajax-file-upload/) کو چیک
کریں یا [ڈویلپمینٹ لاگ](https://plugins.trac.wordpress.org/log/ajax-file-upload/)
کو سبسکرائب کریں بذریعہ [آر ایس ایس](https://plugins.trac.wordpress.org/log/ajax-file-upload/?limit=100&mode=stop_on_copy&format=rss)۔

## چینج لاگ

#### 0.1

 * Initial release

## میٹا

 *  Version **0.1.1.1**
 *  Last updated **10 سال پہلے**
 *  Active installations **50+**
 *  WordPress version ** 3.6 یا اس سے جدید **
 *  Tested up to **4.5.33**
 *  Language
 * [English (US)](https://wordpress.org/plugins/ajax-file-upload/)
 * Tags
 * [ajax](https://ur.wordpress.org/plugins/tags/ajax/)[file](https://ur.wordpress.org/plugins/tags/file/)
   [files](https://ur.wordpress.org/plugins/tags/files/)[forms](https://ur.wordpress.org/plugins/tags/forms/)
   [shortcode](https://ur.wordpress.org/plugins/tags/shortcode/)
 *  [اعلی درجے کا منظر](https://ur.wordpress.org/plugins/ajax-file-upload/advanced/)

## درجہ بندیاں

 4.8 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/ajax-file-upload/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/ajax-file-upload/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/ajax-file-upload/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/ajax-file-upload/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/ajax-file-upload/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ajax-file-upload/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ajax-file-upload/reviews/)

## شراکت دار

 *   [ DevriX ](https://profiles.wordpress.org/devrix/)

## معاونت

کچھ کہنا ہے؟ مدد چاہیے؟

 [معاونتی فورم دیکھیں](https://wordpress.org/support/plugin/ajax-file-upload/)

## عطیہ دیں

کیا آپ اس پلگ ان کی ترقی میں معاونت کرنا چاہتے ہیں؟

 [ اس پلگ ان کو عطیہ دیں ](http://samelh.com)