WPDM Directory Add-on

Version: 5.1.0 76.50 KB Updated Feb 23, 2026
WordPress Download Manager Archive Page

WordPress Download Manager Directory Add-on will help WordPress Download Manager users to show all categories and downloads on a single page with different styles.

WordPress Download Manager Directory Add-on Setup Instructions:

Install:

Upload/Install from Admin Menu Plugins Add New Upload, Just the same way as other WordPress plugins.

Usage:

[wpdm_archive button_style="default" template="link-template-default" cols=1 items_per_page="10" orderby="title" order="ASC" login=1 last_state=0]
[wpdm_archive_compact template="link-template-default" cols=2 colspad=1 colsphone=1 items_per_page="10" orderby="title" order="ASC" login=1]
[wpdm_archive_simple template="link-template-default" cols=2 colspad=1 colsphone=1 items_per_page="10" orderby="title" order="ASC" login=1]
[wpdm_archive_flat orderby="title" order="ASC"]

Use the shortcode inside page or post content to show directory like interface for WordPress Download Manager

Parameters:

— buton_style: `default` or `success` or `info` or `warning` or `danger` or `primary` or `secondary`
— template: any link-template ID( optional parameter )
— category: use any category slug here if you want to create an archive page for that specific category or don't use the parameter
— include_children: if you use category parameter, on initial load, it only will fetch the packages from the mentioned categories, if you want to include packages from sub-categories too, you must use include_children=1.
— orderby: `package_size_b` or `date` or `modified` or `download_count` or `view_count` or `title`
— order: `asc` or `desc`
— order_fields: optional parameter, you can use this option if you want to edit order fields dropdown options. Ex: order_fields="date:Date|title:Title|modified:Last Updated"

 

— login: 1, use this parameter if you want to make the shortcode members only / login protected. Otherwise, you may skip this parameter.

 

[wpdm_categories] - Use the shortcode inside page or post content to show all categories

[wpdm_categories orderby="name" order="DESC" subcat="1" showcount="0" cols=3]

Parameters:

— orderby: how the retrieved terms should be sorted:

  • name – Sorts terms alphabetically by name.
  • slug – Sorts terms alphabetically by slug.
  • term_id – Sorts terms numerically by term ID.
  • id – Alias for term_id.
  • count – Sorts terms by the number of posts associated with them (post count).
  • description – Sorts terms alphabetically by description.
  • parent – Sorts terms by their parent term ID

— order: ASC or DESC
— subcat: Show ( 1 ) or Hide ( 0 ) sub-categories
— subcat:
Show ( 1 ) or Hide ( 0 ) sub-categories
— showcount: 
Show ( 1 ) or Hide ( 0 ) number of packages in a category
— cols: Number of columns

 

[wpdm_tags btnstyle="link" icon="tag" showcount=1 cols=3]

Parameters:

— showcount: Show ( 1 ) or Hide ( 0 ) number of packages in a category
— cols: Number of columns
— icon: Font awesome icon
— btnstyle: Button style, possible values: link | secondary | primary | success | info | warning | danger

 

[wpdm_category_blocks categories="slug1,slug2..." cols=4 button_color="green|blue|purple|primary|info|warning|danger|success|#colorcode" hover_color="primary-hover|info-hover|warning-hover|danger-hover|success-hover|#colorcode"]

Parameters:

— categories: Category slugs separated by comma
— cols: Number of columns, 1 or 2 or 3 or 4 or 6 or 12
— button_color: Block color scheme, use any of the pre-defined colors ( green, blue, purple, primary, info, warning, danger, success or color code like #339966
— hover_color: Block hove color, use any of the pre-defined colors ( green, blue, purple, primary-hover, info-hover, warning, danger-hover, success-hover or color code like #339966

Category Block View Demo

Generates advanced search and filter page:

[wpdm_archive_filter items_per_page="12" template="link-template-default" cols=1 colspad=1 colsphone=1]

Parameters:

— template: any link-template ID ( optional parameter )
— category: use any category slug here if you want to create an archive page for that specific category or don't use the parameter
— include_children: if you use category parameter, on initial load, it only will fetch the packages from the mentioned categories, if you want to include packages from sub-categories too, you must use include_children=1.
— orderby: `package_size_b` or `date` or `modified` or `download_count` or `view_count` or `title`
— order_fields: optional parameter, you can use this option if you want to edit order fields dropdown options. Ex: order_fields="date:Date|title:Title|modified:Last Updated"
— order: `asc` or `desc`
— login: 1, use this parameter if you want to make the shortcode members only / login protected. Otherwise, you may skip this parameter.
— cols: Number of columns, 1 or 2 or 3 or 4 or 6 or 12 ( optional parameter )
— colspad: Number of columns in tabs/pads, 1 or 2 or 3 or 4 or 6 or 12 ( optional parameter )
— colsphone: Number of columns in phone, 1 or 2 or 3 or 4 or 6 or 12 ( optional parameter )
— sidebar: left or right

additionally, there is a search box widget for searching downloads.

Note:

Please use WPDM Gutenberg Block Add-on or Advanced TinyMCE Button Add-on to generate short-codes properly, short-code options are marked in the following image:

wpdm archive page addon shortcode generator

Editing Template Files:

If you want to customize a view in your own way, you need to edit template files inside /plugins/wpdm-arhive-page/src/Templates/****/views/ dir. Please follow the following steps to edit a template file so that the new update doesn't erase your changes:

  1. Create a dir path download-manager/wpdm-arhive-page/**** inside your active theme directory if it is already not there. Here replace  **** with simple or flat or filter or compact, depending on the template dir name, from where you are moving the template file.
  2. For example, if you are editing template file from /wpdm-archive-page/src/Templates/Filter/views, you need to place it in {active-theme-dir}/download-manager/wpdm-arhive-page/filter/
  3. Copy all the files you need to modify
  4. Update template file(s) in {active-theme-dir}/download-manager/wpdm-arhive-page/**** dir as per your need

 

WPDM Directory Add-on Demo:

WPDM Directory Add-on demo links:

Changelog

v5.1.0Latest2026-01-10
  • Added dark mode sync with theme toggle - automatically detects dark mode from body/html classes and data-theme attributes using MutationObserver
  • Fixed CSS selector specificity for Flat template dark mode (changed .w3eden.dark-mode .wpdmflat-archive to .wpdmflat-archive.dark-mode)
  • Dark mode styles now properly apply to all components: loading spinner, category tree, form controls, breadcrumbs, pagination, alerts, and links
  • Updated all template views (Flat, Compact, Simple, Singular, SimpleSearch, Category Blocks, Starter, Filter, Tags) with dark mode sync script
v5.0.02026-01-08
  • Modern Category Tree - Redesigned with card-based UI, SVG icons, smooth animations, and accent color theming (success, info, primary, etc.)
  • Dark Mode Support - Full dark mode styling for all new UI components
  • Performance & Security - Added caching, fixed N+1 queries, removed unsafe @extract(), proper input sanitization
  • Bug Fixes - Fixed category toggle button, nested items display, and count badge visibility issues
v4.6.22025-05-08
  • Improved short-code, archive page compact view
v4.6.12025-03-13
  • Added a new parameter to the wpdm categories shortcode for sorting categories
v4.6.02024-09-25
  • Enhanced Functionality and Compatibility Update

Write a comment...

87 Comments

  1. welswebmaster

    Hi team, One issue I’m finding is that when at page view after pressing the “+” icon it doesn’t appear in the cart. What am I missing? Using this shortcode which displays well for me. [wpdm_archive_flat orderby=”title” order=”DESC”]
    Thanks for the support.

    1. welswebmaster

      Disregard. Posted to private ticket.

  2. kishor kumar

    Hi, I need to get support to show the left sidebar with the category when clicking the primary menu

  3. kishor kumar

    how to show the left sidebar with the category on the front

  4. Mario Rodrigues

    Hello,
    Hello,
    I have some important observations about how the tool works.

    Using the shortcode model “wpdm_archive_filter” I noticed that the tags registered in the posts are not displayed in the “Tags” field. Another observation is that in the “Categories” field, when there are more than three ascending categories, the order of the options is misconfigured.

    Using the shortcode “wpdm_category_blocks” it is not possible to create a visualization of a category within the other as in the example: “Main category > Subcategory > …”. When accessing the main category, the subcategories do not appear.

    1. Shahjada

      Tags with wpdm pro is different from regular post tags. And may you please explain your category observation a little more.

  5. Marlon Umana

    HI, I need to get support to install dummy content & child theme similar to your demo

  6. Patrick Meppe

    Hello there,
    we just purchased a developer license for this add on.
    The installation & activation were done without a problem.
    However the shortcode we wish to use on a page is not being converted at all.
    wpdm_archive_filter

    Did we miss a step in the process?

  7. CScience

    Hello,

    Are we able to create multiple directories based on different parent categories instead of one directory page?

  8. Greg Petersen

    I have a few issues with the shortcode [wpdm_category_blocks]. Can we:
    1. Add an option to list all categories
    2. Add an option to hide category if no files exist.

    It is a pain to update this thing every time I have a new category to display.

    1. Shahjada

      Noted for implementation.

  9. katie leedham

    Hello!!

    Just wondering it would be possible to get the shortcode of the following layout “Category Blocks:

    See link here:
    https://demo.wpdownloadmanager.com/wpdmpro/category-blocks/

    Thanks!

    1. Shahjada
    2. Shahjada

      Hi,
      The shortcode is documented on this page above:

      [wpdm_category_blocks categories="slug1,slug2..." cols=4 button_color="green|blue|purple|primary|info|warning|danger|success|#colorcode" hover_color="primary-hover|info-hover|warning-hover|danger-hover|success-hover|#colorcode"]
  10. dru77ster

    Hello.
    I want to display the page archive default view like this type: http://prntscr.com/unmu7n
    Would you please guide me for a shortcode and steps?
    Thank you.

  11. Rafael Dominguez

    hello.
    I had made some changes on wpdm-archive-page.php , ¿how do i include this in my child theme? I tryed to put the file in themes/my-theme/cownload-manager but is not working, just works in plugin directory .
    ¿any idea?

    1. Shahjada

      `wpdm-archive-page.php` is the core plugin file, only template files in `tpls` are customizable in that way. However, please let me know what did you change.

      1. Rafael Dominguez

        My changes are just for made compatibility with wpdm_user_access.

        1. Rafael Dominguez

          my code just filter all wpdm categories and get the ones are allowed by wpdm_user_access for current user and not allowed, them i use not allowed array to ‘exclude’ these wpdm categories from lists and dropdowns.

          1. Rafael Dominguez

            I did not find another way, i tryed with pre_get_posts filter but could not made it, so that why i did it directly in wpdm-archive-page.php.

  12. Jonas Wagner

    Hi, I´m using this code to display some Categories of my downloads:

    [wpdm-archive category=”3640,3639,3638″ cat_view=”sidebar” subcat=”1″ button_style=”success” link_template=”link-template-calltoaction3.php” order_by=”post_title” order=”desc” items_per_page=”12″ ]

    I´m searching for a possibility to avoid the breadcrums on top of the list once I choose a category! I just want no Breadcrumbs in any of my download-views. Breadcrumbs in Yoast or my divi-theme are disabled, so I think it must be changed in the archive-module or in the downloadmanager itself, mustn´t it? Thanks, your help is much appreciated

    1. Shafayet

      Use the following css code to hide breadcrumb:

      .w3eden .breadcrumb {
      display: none;
      }

      1. Jonas Wagner

        Man, you´re my hero. I was looking for this “switch” a long time and now its solved within the blink of an eye. Maybe there could be a option in the settings in a future update for all the people who may also be interested in this feature.

        Thanks again, you made my day 🙂

  13. William Dorrington

    Since updating to the new UI I can no longer access the shortcode generator to use the new UI. I am very keen on using “Advanced Search ( Left )”. How do I now use this?

    1. Shahjada

      Shortcode for Advanced Search ( Left ):
      `[wpdm-search-page cols=”1″ items_per_page=”10″ link_template=”panel” position=”left”]`

  14. Jahanur Miah

    need Archive Page Compact shortcode

    1. Shahriar
      [wpdm-archive button_style="inverse" link_template="link-template-panel" order_by="post_title" order="asc" items_per_page="9" cat_view="compact" cols=3]
  15. Joel Bouwmeester

    Hi,

    iam using de free plugin with the directory add on. I’m using this shortcode: [wpdm-archive button_style=”default” link_template=”link-template-panel” items_per_page=”10″ category=”category-slug” order_by=”asc” cat_view=”compact”]
    but i’ve got many white spaces and incorrect spacing. See; https://agrarischekinderopvang.nl/Schermafbeelding%202019-07-22%20om%2015.15.15.png

    can you help me?

    1. Shahjada

      It was because, while you were copying the shortcode, there also copied extra HTML tag <pre>. Remove the <pre> tag around the shortcode and formating will look okay.

  16. Lindsay Kane

    Will this plugin allow you to show both categories and files together? For example if I have a directory with both sub-directories and files in the parent directory, will it show up in this way?

    1. Shahjada

      Hi,
      Please check the demo link at the bottom of the item description, all possible ways to are demonstrated there.

  17. Philippe Bonneau

    Hi team.

    I would like to have an archive page like the Archive Page Default https://demo.wpdownloadmanager.com/wpdmpro/archive-page-default/

    But the Advanced TinyMCE Button Add-on does not display in the Pro themes page editor.

    It would be nice that you publish the shortcodes and settings to achieve your demos…

    1. Shahjada

      The shortcode is used there is:

      [wpdm-archive button_style="secondary" link_template="link-template-panel" order_by="post_title" order="asc" items_per_page="10" cols="2"]
  18. e-labo

    I need to exclude categories, how can i do ?
    Thank-you for support

    1. e-labo

      in wpdm-archive

  19. carlos

    hello,

    Is posible hide the all files list and only show files when the user clic on a especific category?

    thanks

  20. electromarket

    Hello .
    Where’s kind of changed files, such as grid

  21. bepbrasil

    Hello! Do you think it’s possible to do something like this (http://www.intelbras.com.br/downloads) with WP Downloads Manager? What is the demo that is more similar do this, and what should I buy to accomplish this?

    1. Shahriar

      Probably you are looking for this: https://www.wpdownloadmanager.com/download/wpdm-accordion/.
      Yes, you will need developer license for both, main plugin and all add-ons pack to use with unlimited sites.

    2. bepbrasil

      Another question: If I buy the All Addons Pack for unlimited sites, do I need to buy the Developers License for the main plugin?

  22. e-labo

    sry code not passed :
    echo do_shortcode(‘[wpdm-archive cat_view=”compact” category=”conception” button_style=”success” link_template=”58b6f00b8dae9″ order_by=”post_title” order=”asc” items_per_page=”10″]’);

  23. e-labo

    seem not working in my theme. I have the filters but no content.

  24. FuoriLuogo

    Hi, is it possible to make an advance search also by tags and not only by category?
    Many thanks

    1. Shaon

      Sorry, not yet. But it is in our to do list.

  25. Brian Childs

    The parameter cat_view isn’t showing up in the shortcode listed in the “usage” section on this page. How do I set the menu structure to be Archive Page Sidebar?

    Thanks for your help.

    1. Brian Childs

      Nevermind! Downloaded the TinyMCE button that solved it!

      Thanks

  26. ruditrip

    Massive problem…. using this addon however url /?wpdmtask=get_downloads&pg=4626&category=&cp=26 renders an un-styled page where all protected files are downloadable without being logged in / or having the correct access. Please help… i can email you the link and admin login in private… dont want to share here for privacy reasons! please HELP… my client is losing their mind and may get sued becuase of this!!

    1. Shahriar

      We shall add rel="noindex nofollow" attr with the next update, please use support forum https://www.wpdownloadmanager.com/support/forum/download-manager-pro/ for faster response.

  27. ruditrip

    Is it possible to hide the number count next to each category?

  28. cbournak1

    Hi, it seems like the shortcode doesn’t totally work in a text widget?

  29. jmcewan

    Great add on, much better for larger quantities of downloads. I had a few questions:
    1) Is it possible to hide/remove the two ‘Order By’ columns in the Compact layout? I do not want to have that functionality.
    2) Can I rename ‘Packages’ to ‘Downloads’ anywhere?
    3) For some reason, subcategories are displaying beneath a particular main category when using the Compact layout. I do not want them to show. Could this be because they are three levels down (main>secondary>third)?

    Thanks!

    1. jmcewan

      I just noticed that all of my subcategories are listed. Can I change this at all?

  30. cbournak1

    Hi, How can I change the default display to ASC instead of DESC? Even if I use order=”asc” in the shortcode it still defaults to descending order.

    1. Shahriar

      Use tinymce button to insert shortcode. There might be some error in your shortcode.

  31. iangotts

    What is the shortcode for your example http://demo.wpdownloadmanager.com/wpdmpro/archive-page/

    I have tried using the TinyMCA plugin and cannot replicate your demo

    1. Shaon

      Please update plugin, now you will be able to select category view too, also updated usage in the description above too.

  32. archatlweb

    Is it possible that when you click a category the list that appears respects the order by you put into the shortcode?

    1. Shaon

      Sorry, no, it will take the order parameter from the dropdown next to search box.

  33. archatlweb

    Is there a way to turn off the default list and just have the category buttons until someone clicks one?

    1. Shaon

      Not yet, but noted for implementation.

  34. qstiegler

    How can i show nested folder structures? I want to see the subfolders of the folder when I click on it and then in the subfolders there are the files.

    1. Shaon

      You need to use short-code [wpdm_tree] ( First install and activate extended short-code add-on: http://www.wpdownloadmanager.com/download/wpdm-extended-short-codes/ )

      1. qstiegler

        thanks for the quick response: when i add “[wpdm_tree]” to any page. nothing will show up in the frontend. the extended short-code add-on is enabled.

        1. qstiegler

          is there any setting i need to set when i want to use [wpdm_tree]?

          1. qstiegler

            Actually I don´t want the functionality as it´s in the [wpdm_tree] example. I want a list of all categories and when i click on a category i want to see the subcategories without the parent once. and if i click on a subcategory i want to see the files which are in that subcategory.

  35. expresspcb

    How do you update the paid version of this plugin? I see the announcement that 2.6 is available but just takes you to wpdm home page.

    1. Shaon

      You simply need to download it again from your orders page ( http://www.wpdownloadmanager.com/purchases/ ) to get the latest version.

  36. Costanzino

    you do not see the files of the second language, instead WPDM-downloads-all he did. How to fix it?

  37. Costanzino

    Thanks net9design. I solved it by changing the code because I did not want to upgrade my version to avoid errors that can cause an update.

  38. Costanzino

    in var/www/vhosts/mysite/httpdocs/wp-content/plugins/wpdm.archive-page/wpdm-archive-page.php on line 1043 (Parse error)

    1. net9design

      Hi Costanzio – I got the same message but updated my version of PHP to 5.4 and all working ok now. Hope this helps

  39. Costanzino

    error installation Directory Add-on: “syntax error, unexpected T_FUNCTION, expecting ‘)'”

    1. Shaon

      you need to upgrade your server php version to 5.4+.

  40. Costanzino

    hi, you can go any do a search for tags associated with the file as well as searching by name? Thanks.

    1. Shaon

      Ok, I’ll add the option with next update

  41. Splork

    Is there shortcode for the examples given in the demo?

    1. Shaon

      please download and install this add-on http://www.wpdownloadmanager.com/download/advanced-tinymce-button/ , you can generate all short-code using that add-on, as soon as you install any new wpdm add-on, the new short-code option will be hooked with wpdm tinymce button add-on automatically.

  42. clive

    Hi Shaon,

    It seems I can’t use
    [wpdm-tags cols=”1 or 2 or 3 or 4 or 6″ icon=”font-awesome-icon-name-only, for example: tag, cube, check…” btnstyle=”primary | default | warning | success | info”]

    to generate anything.

    Could you please advise ?

    Thank you.

    1. Shaon

      You need to try like this:
      [wpdm-tags cols=”4″ icon=”tag” btnstyle=”primary”]

  43. kedaiwebs

    wheere is the demo of this plugin?

  44. 61756d

    Is the Directory add-on included in the All Add-Ons pack?

    I did not see it listed in the discription.

    1. Shaon

      Yes, Directory Add-On is included in All Add-ons bundle (wpdm-archive-page.zip)

      1. juanyo

        hi, can i use WPDM Directory Add-on in the free version of the wdm?

        1. Shaon

          Yes, you can.

$49.00 — $99.00
Select License
Yearly recurring pricing
Cancel anytime
Priority support
Secure checkout

Have questions?

Contact Support

Get notified when this plugin is updated

Enter your email to receive updates about this plugin.