Option 2 Upload file to your server via FTP and place URL in the Publication field on Edit Publication page...
This means the plugin will attempt to open the file and will stream the contents of the file to the browser.
When you add this filter, the file download URL will behave the exact same way redirecting requests to the resource rather than streaming the file to the browser.
Unfortunately, this leaves the behavior of the link up to the browser some will attempt to download the file, some will open it instead..
You can upload custom thumbnail for each Publication, and URL will be stored in Publication's meta field in the database under the wpa-upload image key..
You can use code similar to the following < php $pub = get post $pub = new WP Publication Archive Item Return the Publication thumbnail for use elsewhere $thumb = $pub->get the thumbnail Echo print the thumbnail to the browser $pub->the thumbnail.
The filter passes two arguments, URL for the thumbnail and ID of the publication...
PDFs ) the file will open in the browser using viewer.
The plugin makes every attempt possible to return MIME type for each file so that the browser know what to do with it.
Zips or unknown file types ), the plugin will return type of application octet-stream.
Read more