UM Docs Shortcodes
Document Directory
Use the following shortcode for creating a directory of documents. The directory contains the same permissions
[um_docs_directory]
Available parameters are:
- category
- exclude_category
- tags
- exclude_tags
- author
- number
- orderby
- order
- ids
- layout
- view
- page
The category and tags parameters use a comma separated list of IDs. Example
[um_docs_directory category="1,13" tags="8, 17"]
The exclude_category and exclude_tags parameters are used to prevent downloads with specific categories or tags from being displayed. Use a comma separated list of IDs for each.
The order parameter accepts either "DESC" or "ASC".
The ids parameter accepts specific download IDs. You can specify multiple download IDs using comma separated values. For example:
[um_docs_directory ids="6,3,5"]
The layout parameter accepts grid and table. The default is grid. Example
[um_docs_directory layout="table"]
The view parameter accepts uploads and pinned. Example
[um_docs_directory view="uploads"]
The number parameter accepts a number for the amount of docs to be displayed. Example
[um_docs_directory number="20"]
Document Form
Use the following shortcode for adding a document submission form.
[um_docs_form]