WP File Download: Configuration

1. Parameters


To access to WP File Download parameters, go in WP File Download > Configuration > Main Setting.




There are 3 tabs inside the Main Setting: Admin, Frontend and Statistics.

Admin tab

  • Allowed extensions: The file format you want to authorize on your website to be uploaded
  • File history count (0 to 100): WP File Download stores history of files when you update them in order to restore them later. Setup the number of versions to store per file
  • Max upload file size: The max file size for upload
  • New file category position: When creating a new file category, it can be added on top or the end of the list
  • Category owner is adding a user as Category owner 
  • File count is the number of files beside each file category name
  • Single user restriction gives access to a file/a category for a single user (to pick up from Wordpress users)
  • Close categories: If you want to open WP File Download with the categories tree closed or opened by default
  • Display shortcode in category: to load a category of files in editor
  • Show files import: Display a file importer that browse your server to import files in WP File Download categories
  • Use WYSIWYG editor in the file description
  • Add remote file: Remote file is the possibility to add a downloadable remotely hosted file
  • Admin file list theme: select theme for backend
  • Delete all files on uninstall: The data delete action on uninstall (see 1st chapter)




Frontend tab

  • Extensions to open with viewer: Use the file preview and on which file type
  • Open PDF in a new browser tab instead of the Google drive viewer
  • Icon set: The icons set use in themes, SVG, PNG or Default.
  • Default theme per category: If theme per category is set to No above, select a theme to apply to all your categories by default
  • File previewer: can be done by the Google previewer or the JoomUnited previewer. Choose how the file preview will be opened
  • Theme per categories: Activate or not the possibility to define a theme per file category otherwise, the component will use the theme from the option below
  • JoomUnited previewer server: Generate file preview automatically using external server. Support file types: ai, csv, doc, docx, html, json, odp, ods, pdf, ppt, rtf, sketch, xd, xls, xlsx, xml. If the format is not supported, we'll use the Google previewer.
    • Secure generated file: Your preview file will have the same access limitation as the downloadable file, meaning that if the file is under access limitation, non authorized users won't be able to access to the preview.
  • SEO URL: The root URL suffix for all the downloadable files
  • Date format: Date format for upload & update file dates
  • Download category allows users to download all the files from a category as a global .zip file using a button. Not applicable to cloud file categories
  • Download file selection: Users can make a file selection using checkboxes them download them as .zip file. Not applicable to cloud file categories
  • Custom icon is uploading a custom image or icon for single files
  • Pagination number is the number of files per page
  • Load the plugin on the frontend in page builder
  • Display empty folders: Display empty folders on frontend
  • Redirect not authorized user: Redirect not authorized user to this page. Default blank
  • Message if empty category: Display a message when a file category is empty by a user instead of just hiding it
  • Message for category access: Display a message when a file category is not accessible by a user instead of just hiding it





If the X-SendFile is configured correctly on your web server, you can see and enable this option to improve the performance to download files on your server.






Statistics tab

  • GA download tracking is the activation of Google analytics download tracking
  • Track user download (what file is downloaded per user account). If you're making available your file in EU region, you may add some notice related to the GDPR for your customers.
  • Statistics storage: Define the duration of the download statistics storage. Note that Forever option may generate huge database tables.




Right side option setup defines the theme design setup. Note that those theme parameters will be loaded automatically if you choose not to activate theme per category.




2. Search engine

For editing the search setting options, please go to WP File Download Configuration > Search Setting.

  • Search page: the default page loaded when a search query is launched
  • Include files in WordPress search: Include files in WordPress search results list. Just title of file is searchable.
  • Plain text search: allows you to search inside the content of the documents like PDF, Word files
    (You should click on Build Search Index button when using 1st time or rebuild whenever you want)




In order to take a shortcode for Search function, you should go to WP File Download Configuration > Shortcodes > Search Engine Shortcode Generator. A dedicated search engine is available from the parameters. You can generate a shortcode from the parameters and insert one or several search engines where you want. When you select a category for "Search in this category" parameter, the search function will only search files inside this category and its subcategories.

E.g: [wpfd_search catid="2" exclude="4" cat_filter="1" tag_filter="1" display_tag="searchbox" create_filter="1" update_filter="1" file_per_page="5" theme="table"]




Parameters of the search engine shortcode:

  • Filter by category: load the category tree as a filter
  • Search in this category: select the category to search on frontend
  • Exclude categories from search: Exclude a selection of files categories from search queries
  • Filter by tag: you can add tags to your files (and manage tags from the WPFD tag menu)
  • Display tag as a checkbox (for few tags) or as Search box with predictive typing (for a massive amount of tags)
  • Filter by creation date: add a date range selector as a filter
  • Filter by update date: add a date range selector as a filter
  • File per page: number of files per page in the search results


Here is the preview of the search engine with all parameters activated:




3. Import/Export

Export Files/Categories

You can export files and categories from one server to another with a click in our plugin currently.

First you should select which type of export do you want, then click on Run Export button.




There are 3 selection available:

  • All categories and files
  • Only the category structure
  • A selection of categories and files

There will be a *.xml file that will be downloaded automatically on your browser. Keep that to recover on your new site.

Import Files/Categories

Once you have a *.xml file after exporting, you can use it to import on your same or another site. First you need to select the *.xml file, then click on Run Import button. On popup, choose a category where files and categories will be imported, then click on Import button.




Then a successful message appears on the section. You can import only category structure by ticking on the "Import only category structure" option.




Import Server Folders

WP File download has a unique file importer available for WP. In order to import categories and files from your server, you should go to WP File download > Configuration > Import/Export > Import Server Folders

Note that the importer will be only available in WP File download in the backend for security reason because it will display all server folders.

Select a folder you want to import to WP File download, then click on Import Folder button. On the popup, choose the category where the folders and files will be imported and select Import option (All sub folders or Only selected folders). Finally, click on Import button.




WP Download Manager Import

If you are using WP Download Manager plugin, from now on, you can easily import to our WP File download in a few clicks. Firstly, select the category from WP Download Manager , then click on Run Import button, after that select category where the folders and files will be imported. Finally, all files in the selected category in WP Download Manager plugin will be imported to our plugin.