Page Addon

Using this plugin you can add a self-contained [download_page] shortcode to your site to list downloads, categories, tags, and show info pages about each of your resources. Requires the new Download Monitor with custom post type support.


  • Unzip and upload the plugin’s folder to your /wp-content/plugins/ directory
  • Activate the extension through the ‘Plugins’ menu in WordPress

For more information on installing and managing plugins see here

Shortcode Usage

To start, simply add the [download_page] shortcode to one of your WordPress pages. Ensure it is not wrapped with any formatting (you can switch the visual editor to HTML mode to check this).

The following arguments can be added to the shortcode to customize the page:

  • format=pa – The format used to output downloads in the lists. By default this is content-download-pa.php.
  • show_search=true – Show the search box on the frontpage. Set to true or false.
  • show_featured=true – Show the featured downloads box on the frontpage. Set to true or false.
  • show_tags=true – Show the tags box on the frontpage. Set to true or false.
  • featured_limit=4 – How many featured downloads to list. Defaults to 4.
  • featured_format=pa-thumbnail – The format to use to output featured downloads. By default this is content-download-pa-thumbnail.php.
  • category_limit=4 – How many downloads to show per category on the frontpage. Defaults to 4.
  • front_orderby=download_count – The order of downloads on the frontpage. Can be set to title, download_count, or date.
  • default_orderby=title – The order of downloads in lists. Can be set to title, download_count, or date.
  • posts_per_page=20 – The number of downloads to show in lists per page (in individual categories and tags). Defaults to 20.
  • include_categories= – Comma-separated list of category ID’s that should be included. Defaults to all (empty string).
  • exclude_categories= – Comma-separated list of category ID’s that should be excluded. Defaults to none (empty string).


Show the download page with no tags, search and 10 featured downloads:
[download_page show_search=false show_tags=false featured_limit=10]

Template overrides

Files in this plugin’s ‘templates’ folder can be overridden via your theme. To do this, take a file from dlm-page-addon/templates/ and place it in yourtheme/download-monitor/


This plugin comes with basic styles which work with default WordPress themes. You may need to restyle the page to match other themes, in which case you should add the styles to your theme’s CSS files.

If you need to turn off Page Addon styles for any reason, including the above, you can do so with a snippet in your theme functions.php file:

add_action( 'wp_enqueue_scripts', 'dequeue_dlm_page_frontend_scripts', 99 );
function dequeue_dlm_page_frontend_scripts(){ wp_deregister_style( 'dlm-page-addon-frontend' ); }

You can also remove the number that displays the download count. You will need to create a file in your theme in the folder: download-monitor. The file should be renamed to: content-download-pa.php and the following code should be added to it:

<?php / *** Default output for a download via the [download] shortcode */ if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly /** @var DLM_Download $dlm_download */ global $dlm_page_addon; ?> <a href="<?php echo $dlm_page_addon->get_download_info_link( $dlm_download ); ?>" rel="nofollow"> <?php $dlm_download->the_title(); ?> </a>

Was this article helpful?

Related Articles

Start Protecting your WordPress Downloads

Protect and track downloads on WordPress... What are you waiting for?