1. Document Library Pro
  2. Document Library Options

Customizing the “No Documents” message

Document Library Pro lets you add 2 custom messages that will appear in the table if no documents are found. We recommend adding both types of message to the [doc_library] shortcode.

No documents message

The no_documents_message option controls the text that displays in the table if no documents are found when the table 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_documents_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_documents_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_documents_filtered_message="Sorry, no documents match these search criteria."]

WordPress table 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

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