Docs / Templates / Template Files

Template Files

When you are developing a theme for WordPress Download Manager, you need to add 2 custom templates:

  1. taxonomy-wpdmcategory.php

    the template for custom taxonomy “wpdmcategory”, will show Download Manager package when you open a WordPress Download Manager category URL. Usually, you can create a copy from archive.php and rename it to taxonomy-wpdmcategory.php
    Category Page Demo

  2. single-wpdmpro.php

    the template for custom post type “wpdmpro”, will show WordPress Download Manager Package details when you open a WordPress Download Manager package URL. Usually, you can create a copy from single.php and rename it to single-wpdmpro.php
    Package Details Page Demo

  3. Changing Template Files in /plugins/download-manager/src/{ComponentDir}/views/ ( Download Manager Plugin ) dir:

    1. Create a dir named download-manager inside  your active theme dir
    2. Now copy the files you want to modify from /src/{ComponentDir}/views dir to /{active-theme}/download-manager/ dir.
    3. Customize template file(s) in {active-theme}/download-manager dir as per your need
    4. Keep dir structure, means, a file from /src/Packages/views/link-templates dir should go to /{active-theme}/download-manager/link-templates dir.
  4. Changing Template Files in /plugins/wpdm-premium-packages/templates/ ( Premium Packages Plugin ) dir:

    1. Copy files from`/plugins/premium-packages/templates/` dir to {active-theme}/download-manager
    2. Now remove all files from {active-theme}/download-mamager except the ones you need to modify
    3. Update template file(s) in {active-theme}/download-manager dir as per your need

Theme Functions:

Check all theme functions here


Need a Custom Category Page Template?
Need custom category page template and download details page template for your theme, we can build those 2 page-templates for you with only 1 hour of custom upgrade service. You may order it from the following link.
Last updated on January 30, 2026

Need Help?

Get support from our team or community forum.

Visit Support

Customization

Need custom features? We can help.

Request Quote