[cmdm-index]
Show index page view
Filtering parameters:
author – ID of the author (default: empty)
cat – Slug of a category (default: empty)
tag – Slug of a tag (default: empty)
limit – Limit results (default: 5)
alldownloads – Show all downloads or not (0 or 1)
View parameters:
view – View to show, one of: tiles, list, category, table (default: tiles)
viewoption – Show the views list to change the current view or not (0 or 1), default: 1
sortbar – Show the sorting options or not (0 or 1), default: 1
search – Show search input field or not (0 or 1), default: 1
header – Show header or not (0 or 1), default: 1
showcategories – Show the categories list or not (0 or 1), default: 1
sort – Sort by: post_title, post_title_desc, post_modified, newest, rating, downloads, views, menu_order (default: newest)
[cmdm-files-list]
Files list
Filtering parameters:
category – Term ID or slug of the category (optional)
tags – Comma separated list of tags (optional)
author – User’s slug or id or multiple comma-separated ids
query – Search a word in downloads
limit – Limit the results
page – Show specific page of results
emptycategories – Show empty categories or not (0 or 1), default is 1
View parameters:
view – View type (one of: list, categories) – default is list
search – Show AJAX-based search field (0 or 1), default is 1
filter – Show input field that will filter currently visible results or not (0 or 1), default is 0
categoryfilter – Show category filter type (one of: single or twolevel), default is 0 (disabled)
datefilter – Show date filter, default is 1 (enabled)
userfilter – Show user filter or not (0 or 1), default is 0 (disabled)
tagsfilter – Show tags filter (accepted values: checkbox, select) or don’t show, default value is 0 (disabled)
pendingpaymentfilter – Show pending payment filter or not (0 or 1), default is 0 (works only if payment addon enabled)
toggletree – Enable the categories tree toggling if using view=categories (0 or 1), default is 0 (disabled), “folded” – category sections are collapsed
usercontrols – Show user control buttons such as Edit and Delete
sort – Sort downloads by: post_modified or newest or rating or views or downloads or post_title or post_title_desc or manual
recursive – Show downloads recursively in the categories when using view=categories or not (0 or 1), default is 0
upload – Show the upload button or not (0 or 1), default is 0
permalink – The download title can be a link to the download’s separate page or not (0 or 1), default is 0
scroll – Scroll down to the downloads list after used a filter (0 or 1), default is 1
details – Show the download’s details or not (0 or 1), default is 1
showauthor – Show the download’s author or not (0 or 1), default is 1
showdate – Show the download’s modify date (0 or 1), default is 0
customfields – Show the download’s custom fields (0 or 1), default is 0
urlfilter – (experimental) Enable filtering downloads using the parameters given from the URL address or not (0 or 1), default is 0
newcard – Download files in the new browser’s card (0 or 1), default is 1
desctrimwords – Number of words from the download’s description to show, default is 20
[CMDM]
Simple download button
Filtering parameters:
id – ID of the download resource
View parameters:
showtitle – whether to show the download’s title or not (values: 0 or 1). Default is 1.
showpreview – whether to show the download’s preview link or not (values: 0 or 1). Default is 1.
showborder – whether to show the container’s border or not (values: 0 or 1). Default is 1.
btnbackground – background color of the download button
btntextcolor – text color of the download button
[CMDM-header]
Download page header with screenshots area
id – ID of the download resource
[CMDM-content]
Download page tabs content
id – ID of the download resource
[CMDM-details]
Download details block – [CMDM-details id=5]
id – ID of the download resource
[cmdm-upload-form]
Show download form
[CMDM-download]
Download button block
id – ID of the download resource
[CMDM-top-downloads]
Top Downloads
count – times downloaded to show, default: 5
category – category’s slug to show the downloads from
[CMDM-frequent-contributors]
Frequent Contributers
count – number of user to show, default: 5
[CMDM-list]
Downloads List
count – times downloaded to show, default: 5
category – category’s slug to show the downloads from
sort – sort downloads (asc or desc)
[CMDM-related-downloads]
Related Downloads
count – times downloaded to show, default: 5
sort – sort downloads (asc or desc)
[cmdm-categories-tree]
Categories tree
view – view to show: tiles, list or category
[cmdm-my-logs]
User’s download log
limit – limit number of results, default: 5
[cmdm-cmvl-stats]
Video Lessons statistics
Shows the statistics of the videos from CM Video Lessons plugin that has been used in the CM Downloads.
channelname – show the related lesson name or the download’s name (values: download, video)
channelpermalink – as the link URL use the related lesson’s permalink or the download’s permalink (values: download, video)
onlyrelated – show only related lessons or not (0 or 1), default: 1
[cmdm-files-list-link]
Link to the download list
Produce link to a page with the cmdm-files-list shortcode that will use predefined filters passed by the URL parameters.
url – page with cmdm-files-list shortcode
category – category’s slug to filter
tag – tag’s slug to filter
search – search term to filter
separatelink – show separate link (0 or 1), default: 0
[cmdm-my-downloads]
Show my downloads
Produce a table with the current user’s downloads, the same as displayed in the user’s dashboard page.
edit – show edit download link (0 or 1), default: 1
delete – show delete download button (0 or 1), default: 1
limit – limit the downloads rows (optional).
search – search by default by a specific string (optional).
[cmdm-login-form]
Show login form
Displays the login form – the same as the CMDM Login Form widget.
redirect_to – link to redirect successfully logged user, default redirect: last visited page or home page
logout_btn – (0 or 1) show logout button for successfully logged user, default: 0
[cmdm-downloads-table]
Display table with user’s downloads