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

Document library content & excerpt length

Document Library Pro comes with options to control the length of the content and excerpt columns. These tell the plugin how many words to display in the library - any extra words will be truncated.

These options are available on the plugin settings page or they can be set directly in a shortcode.

Content length

The content length option sets the length of the content column, if used. Enter the number of words, e.g. 20. The default is 15 words. Set it to -1 to show the full content.

Shortcode example: [doc_library content_length="10"]

Excerpt length

The excerpt length option sets length of the excerpt column, if used. Enter the number of words, e.g. 20. The WordPress default excerpt length is 55 words.

Shortcode example: [doc_library excerpt_length="30"]

WordPress library plugin content excerpt length

The content length and excerpt length options aren't working!

These options aren't compatible with the shortcodes option. If you activate shortcodes in the library then they will therefore be disabled. Please see our article about using shortcodes in the document library.

Related Articles

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