1. Home
  2. Knowledge Base
  3. Document Library Pro
  4. Document Library Options

Customizing the “No Documents” message

Document Library Pro lets you add 2 custom messages that will appear if no documents are found.

These options must be added directly to a shortcode.

No documents message

The no_docs_message option controls the text that displays if no documents are found when the library first loads (for example, because you have set it to display a category with no documents). Set this to any text you like. For example, if you’re displaying events you could use:

[doc_library no_docs_message="Sorry, no events available."]

WordPress Table Plugin No Posts Message

Please note: this option will have no effect if you have set a custom language using the doc_library_supported_languages filter.

No documents filtered message

The no_docs_filtered_message controls the text that displays if there are no results after the user has entered a search term. For example:

[doc_library no_docs_filtered_message="Sorry, no documents match these search criteria."]

WordPress library plugin no search results message

Please note: this option will have no effect if you have set a custom language using the doc_library_supported_languages filter.

Related Articles

If searching the knowledge base hasn't answered your question, please contact support.