The [wpdm_trending] shortcode displays the most downloaded packages within a specified time period, perfect for showcasing popular downloads on your site.
[wpdm_trending]
This displays the top 5 trending downloads from the last 7 days.
| Parameter | Type | Default | Description |
|---|---|---|---|
days |
integer | 7 | Number of days to look back for download statistics |
limit |
integer | 5 | Maximum number of packages to display |
template |
string | link-template-default.php | Link template to use for displaying packages |
cols |
integer | 3 | Number of grid columns on desktop |
colspad |
integer | 2 | Number of grid columns on tablet |
colsphone |
integer | 1 | Number of grid columns on mobile |
categories |
string | (empty) | Comma-separated category slugs to filter by |
heading |
string | (empty) | Section heading text (displays with 🔥 emoji) |
show_badge |
integer | 1 | Show ranking badge (#1, #2, etc.). Set to 0 to hide. |
show_count |
integer | 1 | Show download count for the period. Set to 0 to hide. |
min_downloads |
integer | 1 | Minimum downloads required to qualify as trending |
cache_minutes |
integer | 30 | How long to cache results (in minutes) |
[wpdm_trending days="30" limit="10"]
[wpdm_trending heading="🔥 Hot Downloads This Week"]
[wpdm_trending categories="software,documents"]
[wpdm_trending template="link-template-card.php" cols="4"]
[wpdm_trending show_badge="0" show_count="0"]
[wpdm_trending min_downloads="10" days="14"]
[wpdm_trending days="30" limit="8" cols="4" colspad="2" colsphone="1" heading="Popular Downloads" categories="software" min_downloads="5" cache_minutes="60"]
ahm_download_stats table to get accurate download counts for the specified periodwpdmpro are includedSince: WordPress Download Manager 7.0
For any technical issue, if you are already using pro version please post in pro forum and free version users please post in free forum. Otherwise, if you have any pre-sale or order related query please contact live chat support team. For technical support.