CM Download (CMDM) - Shortcodes - One Download Page
Shortcodes - One Download Page
TIP: What Are Shortcodes
Shortcodes add dynamic content to your site via a small piece of code. Learn more: Shortcodes - How To Use
[cmdm-files-list] shortcode lets the admin create a one-page download list of all available downloads.
This way, the admin can replace the default CMDM index page and all the separate download pages.
Below is an example of how the Download List shortcode will appear when you insert it in a page or post:
[CMDM-list count="5" category="cat-name" sort="desc"]
The parameters for this shortcode are:
count="number"- The number of related downloads you would like to display.
category="cat-name"- The category that you want the downloads to belong to.
sort="desc|asc"- An option to sort the related downloads in ascending (oldest first) or descending (newest first) order.
A widget with a built-in CMDM Downloads List shortcode is also available in the widget area!