Upon request, we have added a new optional feature to the CloudWok file-upload embeddable widget and for the WordPress plugin. You can now chose if you would like to show a drag-n-drop file-upload area (default) or just a simple file-upload button (new).

Wow, such button, so simple

WordPress plugin

Since CloudWok file-upload plugin version 0.3.5 it is possible to use the following shortcode:

`[cloudwok wok_id=”YOUR_WOK_ID” show_uploads=”True” simple_file_upload_button=”True”]`

This will disable the dropzone and only show a simple file-upload button.

Embedded widget

You can do the same with our HTML widget:

<div class="cloudwok-embed" data-wokid="YOUR_WOK_ID">
  <div class="cloudwok-upload-files"></div>
  <form class="cloudwok-upload">
    <input type="file" name="files[]" multiple>
  (function(window, document) {
    var loader = function() {
      var script = document.createElement("script"),
      tag = document.getElementsByTagName("script")[0];
      script.src = "https://www.cloudwok.com/cdn-vassets/javascripts/cw.js";
      tag.parentNode.insertBefore(script, tag);
    window.addEventListener ? window.addEventListener("load", loader, false) :
    window.attachEvent("onload", loader);
  })(window, document);

In the above code, replace YOUR_WOK_ID with your own 4-letter wok id (have a look at our DEMO page for more information). Have fun!