Docs / Shortcodes / [wpdm_packages] – Display Multiple Download Packages

[wpdm_packages] – Display Multiple Download Packages

The [wpdm_packages] shortcode displays multiple packages with powerful filtering options. It works like WordPress’s WP_Query, allowing you to filter by category, tag, author, and more.

Basic Syntax

[wpdm_packages]

This displays all packages with default settings. Add parameters to customize the output.

Parameters

Display Options

ParameterTypeDefaultDescription
items_per_pageinteger10Number of packages to show per page
templatestringDefaultLink template ID to use
colsinteger3Number of columns on desktop
colspadinteger2Number of columns on tablet
colsphoneinteger1Number of columns on mobile
paging0 or 11Enable or disable pagination
toolbar0 or 11Show or hide the toolbar
async0 or 10Load pagination via AJAX

Category Filtering

ParameterTypeDefaultDescription
categoriesstringCategory slugs, comma-separated
xcatsstringCategories to exclude, comma-separated
include_children0 or 11Include child category packages
operatorstringININ (any category) or AND (all categories)
cat_fieldstringslugField type: slug, term_id, or name

Tag Filtering

ParameterTypeDescription
tagsstringTag slugs, comma-separated
tag_idintegerSingle tag ID
tag__andarrayPackages must have ALL these tag IDs
tag__inarrayPackages with ANY of these tag IDs
tag__not_inarrayExclude packages with these tag IDs

Author Filtering

ParameterTypeDescription
authorintegerAuthor user ID. Prefix with – to exclude.
author_namestringAuthor’s user_nicename (not display name)
author__not_inarrayExclude packages from these author IDs

Sorting

ParameterTypeDefaultDescription
orderbystringdateField to sort by: date, title, modified, download_count, view_count, rand
orderstringDESCSort direction: ASC or DESC

Access Control

ParameterTypeDefaultDescription
login0 or 10Require login to view. Shows login form if not logged in.

Usage Examples

Display All Packages

[wpdm_packages]

Filter by Category

[wpdm_packages categories="software,plugins" items_per_page="12"]

Exclude Categories

[wpdm_packages xcats="private,archived"]

Author’s Packages

[wpdm_packages author="5" template="link-template-panel"]

Popular Downloads

[wpdm_packages orderby="download_count" order="DESC" items_per_page="10"]

4-Column Grid Layout

[wpdm_packages cols="4" colspad="2" colsphone="1" template="link-template-bsthumnail"]

Members-Only Section

[wpdm_packages login="1" categories="premium-content"]

Related

View Live Demo

Last updated on January 26, 2026

Need Help?

Get support from our team or community forum.

Visit Support

Customization

Need custom features? We can help.

Request Quote