Wordpress plugin providing count and details for file downloads
Normal file links are parsed by the plugin, allowing to track downloads with force download support. Links can be created using shortcode in wordpress editor or by using helper method in theme files directly
1.0.0
Download and extract files in wordpress plugin directory
Following are the instructions for using this plugin
Download Manager can be used directly in theme files using the following function
sqhrdm_get_download_link($file_url, $force_download)
Arguments :
$file_url string URL / Link of the file
$force_download boolean Whether to force download file or not
Short codes are also supported for using the plugin from WP Editor
[dlink href="URL"]CONTENT[/dlink]
Supported Arguments :
href string URL / Link of the file
force string[yes/no] Whether the file should be force downloaded or not
* striing Extra attributes can be added to shortcode which will be available in the link (See in below example, the id and class attributes)
Example :
[dlink href="http://www.someweb.com/blog/wp-content/uploads/2015/08/home-01.jpg" class="left main" id="dlink"]Here is the content[/dlink]