Document Library Lite

July 20, 2024

Document Library Lite Plugin

Create a WordPress document library to manage, search and download files.

Document Library Lite creates a WordPress document library/download manager. It displays documents in a table layout and allows users to quickly search for, sort and download documents.

View the plugin demo to see it in action.

Features

  • Easy document management – add documents of any file type, plus all the document data you want to display.
  • List documents in searchable, sortable tables.
  • Choose any or all of the following columns: ID, image, title, content, date, categories, plus download button.
  • List all files in your document library, or list them by category or status.
  • 100% responsive – works on any screen size or mobile device.

Supports the following file types:

  • PDF
  • DOC, DOCX (Microsoft Word)
  • XLS, XLSX (Microsoft Excel)
  • PPT, PPTX, PPS, PPSX (Microsoft PowerPoint)
  • ODT, ODS, ODP (OpenDocument Format)
  • JPG, JPEG, PNG, SVG (image files)
  • MP4, MOV (video files)
  • .numbers, .pages, .key (Apple document formats)
  • And many more

The plugin adds a dedicated ‘Documents’ section to the Media Library where you can manage documents separately from images and other media types. If you’ve ever wanted Media Library categories then you can filter the media library to view document files only.

The document library makes things easier for your users. Instead of having to read through a long list of document links, they can use the instant search box, sortable columns and category filters to find exactly what they’re looking for. They can click to download documents of any file type straight to their device.

To get started with the WordPress download manager plugin, simply install the plugin, start adding documents and they will instantly appear on the ‘Document Library’ page. You can also use the [doc_library] shortcode to insert document libraries anywhere.

Document Library Pro

Our Pro version adds lots more functionality to take your WordPress document management to the next level.

View free & pro comparison table

  • Bulk upload – Add files using drag and drop file upload, CSV import, or import Media Library files to the download manager.
  • Extra layout options – Display documents in a beautiful grid layout, and optionally structure the WordPress document library into collapsible folders.
  • Add extra columns – File size, file type, document excerpt, status, last modified date, author, plus custom fields and custom taxonomies. You can also rename the column headings of the document library. Advanced Custom Fields and ACF Pro support.
  • Individual document pages – Create a separate page for each document.
  • Host documents on third party sites – As well as displaying files from the Media Library, your WordPress download manager can include documents hosted on third party sites such as Dropbox, Google Drive, and Office 365.
  • Control which downloads to list – Display documents based on additional factors including author, post type, taxonomy term, custom field, year, month, day, or ID. You can also exclude documents from the file manager by ID or category.
  • Filter dropdowns – Make it easier for people to find specific documents by adding filter dropdowns for categories, tags and taxonomies.
  • Standalone document search – As well as the AJAX search box above the document library, you can use the ‘Document search’ widget or [doc_search] shortcode to add a search box anywhere on your site. For example, you can use this to display a ‘Find Downloads’ search box to the homepage, site header, or sidebar.
  • Multiple button styles – Choose from a download button, file type icon, text link, or button with icon.
  • Flexible document links – Control the links in your WordPress document library including choosing which columns are clickable and opening links in a new tab.
  • Multiple document download – Allow users to select multiple documents and download them together in a handy zip file.
  • Instant document preview – Display ‘Preview’ buttons so that users can view documents without downloading them.
  • Display audio and video – As well as downloadable documents, display embedded audio and video players directly in the WordPress document library.
  • Lazy load – Enable AJAX and caching to list unlimited documents with no performance limitations.
  • Compatibility with third party plugins – Tested with dozens of other plugins.
  • And much more – PLUS get dozens of extra features for added flexibility, such as the ability to show and hide each part of the WordPress download manager, customize the colors, and more.

How to Create a WordPress File Manager

You can use Document Library Lite to create a download manager which lists documents of any file type. It’s perfect for creating a WordPress document library, resource library, download management, file manager, audio library, video gallery, and much more.

First, install the plugin and choose your settings at Documents > Settings. This page gives you full control over the WordPress file manager including which columns to display, and the text of the document download button.

Next, you can start adding documents at Documents > Add New. The plugin automatically adds a ‘Document Library’ page to your WordPress site. This page lists all your documents in a searchable, sortable table. Each file in the download manager appears as a separate row of the table, complete with helpful information such as the filename and summary description. This helps users to learn more about each document before downloading the file to their computer.

For more flexibility, you can use the [doc_library] shortcode to list different downloads on different parts of your site. Use the shortcode options to override the global settings and apply different options to each document library. And don’t forget, you can get dozens more shortcode options with our premium Document Library Pro plugin!

Full List of Features

  • Add documents, document data, and upload a file for each document.
  • Supports all file types.
  • Built-in ‘Document Library’ page which automatically lists all your downloads.
  • [doc_library] shortcode for added flexibility.
  • List documents in a table with sortable columns.
  • Instant AJAX search box to find documents more quickly.
  • ‘Search on click’ feature to filter the WordPress file manager by clicking on a document category.
  • Display the number of documents in the table, and allow users to change this number.
  • For easier WordPress document management, you can filter the Media Library to view document files only.
  • Structure the download manager into categories.
  • Choose the number of downloads per page in the document library.
  • Change how the WordPress document library is sorted, and customize the sort order for your file manager.
  • Display the document featured image and allow users to open the image and view it in a lightbox.
  • Configure your file manager centrally on the plugin settings page, and instantly update all your document lists (except where you have overridden specific options in the shortcode).
  • Developed, maintained and supported by Barn2 Plugins.

View the plugin documentation for full details.

Shortcode options

Options for the [doc_library] shortcode:

  • content – The columns to display in the document library. This can be any combination of the following (comma-separated): id, image, title, content, categories, or date.
  • doc_category – List downloads from a specific category only.
  • status – List documents based on their status (e.g. published/draft/private).
  • lightbox – Enable or disable the feature which opens document featured images in a lightbox modal window.
  • docs_per_page – Change the number of documents on each page of the library.
  • sort_by – Override the sort order of the WordPress download manager library.
  • sort_order – Choose whether files are ordered alphabetically in ascending or descending order.
  • scroll_offset – If your theme has a sticky header then you can use this option to ensure that users are jumped to the correct point of the page when they use the pagination buttons at the bottom of the WordPress document library.
  • wrap – By default, if the document library contains too much text to fit on one row then it wraps onto multiple rows. If you prefer, then you can truncate the text and ensure that each download only takes up 1 row of the library. This helps to save space if you have a large download manager table.
  • search_on_click – Allow users to click on a category in the ‘Document categories’ column in order to filter the download library by that column.
  • show_footer – Show or hide the footer row of the file manager.

For example: [doc_library doc_category="meetings" content="title,content,link" sort_by="date"]
View the full documentation, check out the demo, and if you need more features then have a look at Document Library Pro.

Thank you for using our WordPress document library plugin 🙂

Installation

  1. Upload the plugin files to the /wp-content/plugins/document-library-lite directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Follow the setup wizard or go to Documents > Settings and configure your document libraries.
  4. View your document library by going to the Document Library page.

Screenshots

  1. Searching a WordPress document library.

    Searching a WordPress document library.

  2. Click on a download category to filter the document library.

    Click on a download category to filter the document library.

  3. Choose and re-order your document library columns.

    Choose and re-order your document library columns.

  4. Optionally display a featured image for each document.

    Optionally display a featured image for each document.

  5. Manage downloads from a dedicated section of the Wordpress Dashboard.

    Manage downloads from a dedicated section of the Wordpress Dashboard.

  6. Easily add documents, downloadable files and document data.

    Easily add documents, downloadable files and document data.

  7. Keep the download manager organized by structuring documents into categories.

    Keep the download manager organized by structuring documents into categories.

  8. Configure your document libraries centrally on the plugin settings page.

    Configure your document libraries centrally on the plugin settings page.

  9. Choose which columns of information to include in the document library.

    Choose which columns of information to include in the document library.

  10. Easily list documents anywhere on your site using a simple shortcode.

    Easily list documents anywhere on your site using a simple shortcode.

  11. View document downloads separately from other Media Library files.

    View document downloads separately from other Media Library files.

FAQ

How does the free WordPress document library plugin work?

This free download and file manager plugin adds a ‘Documents’ section to the WordPress admin. This is where you add and manage your downloadable files.

Each document is added as a separate ‘Post’ within the Document Manager. You add all the information that you want to display about the document, such as the title and a short description. Of course, you also upload a downloadable file. This is what people will click on in order to download the document to their computer/mobile device.

Once you have added the documents to the library, they will appear in a searchable table on the front end of your website. They appear on a page called ‘Document Library’.

What information can I list in the document library?

To control which columns appear on the list of downloads, enter a comma separated list of the following options. You should enter this on the plugin settings page to set the columns for all your document libraries, or enter it as a shortcode option. For example, you might enter title, content, link to create a library containing 3 columns.

  • id – The document’s WordPress database ID.
  • title – The document title.
  • content – The document description or summary that you entered on the ‘Add Document’ page.
  • image – The document’s featured image.
  • date – The date that the document was added to your WordPress site.
  • doc_categories – A comma separated list of the document categories.
  • link – A download button for each file.

Do I have to list all the file downloads on the same page?

The main ‘Document Library’ page will list all your documents, and you can delete this if you don’t need it. Instead, you can use the [doc_library] shortcode to list different documents in different parts of your WordPress website. For example, you can list documents by category.

See the complete list of shortcode options above

Is there a maximum number of documents?

With the free WordPress document library plugin, the number of documents depends on the overall speed of your website and how good your hosting is. Most sites can happily list several dozen documents per page.

If you want to list hundreds (or even thousands) of downloads on the same page, then we recommend upgrading to Document Library Pro. This comes with built-in lazy load and caching options which allow you to list an unlimited number of documents without any performance issues.

Can I make the document library private?

If you want a private WordPress file manager then we recommend using Document Library Lite with our other plugin, Password Protected Categories. This lets you restrict access to any or all of your download categories.

For example, you can make all the categories private, or show different categories to different people.

For each category, you can:
* Make it password protected so that anyone with the password can see the hidden documents and download files.
* Restrict it to specific WordPress user roles only.
* Give access to specific logged in users only.

Can I see a demo of the download manager plugin?

Absolutely! You can see the Document Library Lite plugin in action on the demo site.

Is there a premium version with more features?

We have designed the free Document Library Lite plugin to have all the essential features that you need to create a fully functional document library.

For more advanced document management and display options, you can upgrade to Document Library Pro. This incredibly popular plugin will supercharge your document library by giving you extra column and layout options, more ways to list documents, plus time-saving features including bulk document import.

Compare the free and pro plugins and choose which is best for your site.

Can you customize the plugin for me?

We developed this free plugin to be flexible and easy to configure so that it will be suitable for many different websites. The premium version adds most of the features which you are ever likely to need.

If you would like to modify the plugin to suit your exact requirements, then we recommend posting a task on Codeable. They have lots of excellent developers who are experienced in customizing our plugins.

Where can I find the documentation?

Like all Barn2 plugins, the free file manager plugin comes with in-depth documentation. You can either read the instructions above, or the dedicated documentation page on the Barn2 site.

Where do I report security bugs found in this plugin?

Please report any security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.

Changelog

1.0.7

Release date 13 June 2024

  • Dev: Tested up to WordPress 6.5
  • Dev: Updated internal libraries
  • Dev: Updated the classes to use barn2-lib 2.0
  • Dev: Tested up to PHP 8.2
  • Fix: Setup wizard runs after every activation

See changelog.txt for more details.

Details

  • Version: 1.0.7
  • Active installations: 2,000
  • WordPress Version: 6.1
  • Tested up to: 6.5.5
  • PHP Version: 7.4

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars