Display & Media

WPDM Extended Shortcodes

3 min read Updated Jan 26, 2026

WPDM Extended Shortcodes adds powerful shortcodes to WordPress Download Manager Pro for displaying downloads in creative ways. This documentation covers all available shortcodes and their parameters.

[wpdm_tree] – Interactive File Tree Browser

Display your download categories and packages in an expandable tree structure, similar to a desktop file explorer.

Features

  • Hierarchical category navigation
  • Smooth expand/collapse animations
  • Color-coded file type icons
  • Optional expand/collapse all toolbar
  • Dark mode support
  • Access control integration

Basic Usage

[wpdm_tree]

Parameters

ParameterDefaultDescription
category(all)Category slug to display. Leave empty to show all categories.
download_link0Set to 1 to show direct download links instead of package page links.
orderbymodifiedOrder packages by: title, date, or modified.
orderdescOrder direction: asc or desc.
newwin0Set to 1 to open links in a new tab.
toolbar0Set to 1 to show Expand All / Collapse All buttons.

Examples

[wpdm_tree category="software" orderby="title" order="asc"]
[wpdm_tree toolbar="1" newwin="1"]
[wpdm_tree category="documents" download_link="1"]

[wpdm_stats] – Download Statistics Display

New in v4.0! Showcase your site’s download statistics with beautiful, animated counters.

Features

  • 5 statistics: downloads, packages, categories, authors, file size
  • 3 display styles: cards, inline, minimal
  • Animated count-up effect
  • 30-minute caching for performance
  • Responsive grid layout
  • Dark mode support

Basic Usage

[wpdm_stats]

Parameters

ParameterDefaultDescription
stylecardsDisplay style: cards, inline, or minimal.
showdownloads,packages,categories,authorsComma-separated stats: downloads, packages, categories, authors, size.
animated1Set to 0 to disable count-up animation.
aligncenterAlignment: left, center, or right.
columnsautoColumns for cards style (2-4).

Examples

[wpdm_stats style="inline"]
[wpdm_stats style="minimal" align="left"]
[wpdm_stats show="downloads,packages" columns="2"]
[wpdm_stats show="downloads,packages,categories,authors,size"]

[wpdm_activity_feed] – Recent Download Activity

New in v4.0! Display a live feed of recent download activity to create social proof.

Features

  • 3 styles: feed, compact, ticker (scrolling)
  • User avatars and names
  • Relative time display
  • Category filtering
  • 5-minute caching
  • Privacy options
  • Dark mode support

Basic Usage

[wpdm_activity_feed]

Parameters

ParameterDefaultDescription
limit10Number of items to display (max 50).
stylefeedDisplay style: feed, compact, or ticker.
show_avatar1Set to 0 to hide avatars.
show_user1Set to 0 to hide usernames.
show_time1Set to 0 to hide time.
show_file0Set to 1 to show filename.
categories(all)Filter by category slugs.
cache5Cache duration in minutes.

Examples

[wpdm_activity_feed limit="5" style="compact"]
[wpdm_activity_feed style="ticker"]
[wpdm_activity_feed show_user="0" show_avatar="0"]
[wpdm_activity_feed categories="software,themes" limit="15"]

Display packages in a smooth, animated carousel with touch/swipe support.

Basic Usage

[wpdm_carousel category="software"]

Parameters

ParameterDefaultDescription
category(required)Category slug or ID.
items_per_page3Visible items on desktop.
items_total-1Total packages (-1 for all).
templatelink-template-panelLink template to use.
autoplay0Set to 1 for auto-rotation.
nav0Set to 1 for prev/next arrows.
dots1Set to 0 to hide dots.
wrap1Set to 0 to remove card wrapper.

Examples

[wpdm_carousel category="featured" items_per_page="4" autoplay="1"]
[wpdm_carousel category="themes" nav="1" dots="0"]

[wpdm_slider] – Package Slider

Create a full-width slider featuring specific packages by ID.

Basic Usage

[wpdm_slider ids="1,2,3,4,5"]

Parameters

ParameterDefaultDescription
ids(required)Comma-separated package IDs.

A template tag for opening packages in a Bootstrap modal popup. Use in custom link templates.

Usage in Templates

<a href="[page_url]" [popup_link]>Quick View</a>

Dark Mode Support

All shortcodes automatically sync with WPDM color scheme settings (Light, Dark, or System). Configure in Downloads → Settings → User Interface.

Requirements

  • WordPress 5.0+
  • WordPress Download Manager Pro
  • PHP 7.4+