WordPress File Manager Plugin (CMDM) - Shortcodes - Add a Download to Post/Page


Downloads - Add a Download to Post/Page

Back to User Guides

TIP: What Are Shortcodes

Shortcodes add dynamic content to your site via a small piece of code. Learn more: Shortcodes - How To Use

The WordPress File Manager plugin shortcode [CMDM id="Download-id"] can be inserted on any page or post, in a variety of possible forms, making it easy for yours users and readers to find your downloads wherever relevant content is displayed.

This shortcode also makes it easy for the developer or site admin to insert your downloads exactly where you want them to appear, without having to worry about user flows and UEX.

Below is an example of the cmdm download id shortcode on a post:

Example of the download inserted to the page using a shortcode - File Manager Plugin for WordPress
Example of the download inserted to the page using a shortcode

Showing Only Part of the Download Module

This shortcode has some variations that allow you to only show part of it, namely:

[CMDM-header id="Download-id"] - Download page header with screenshots area

Displaying a download page header - File Download Plugin
Displaying a download page header

[CMDM-content id="Download-id"] - Download page tabs content

Displaying download page tabs content - WordPress Document Management
Displaying download page tabs content

[CMDM-details id="Download-id"] - Download details block

Displaying a download details block - File Manager WordPress
Displaying a download details block

[CMDM-download id="Download-id"]  - Download button block

Displaying a download button block - WP File Download Plugin
Displaying a download button block

Customizing the Download Button

You can customize the download button's text and border. 

[CMDM-download label="File"]   - Changes the label to the text inside quotes (File in the example). The default value is "Download".

[CMDM-download showborder=1"]   Shows or hide border (1 to show, 0 to hide). The default value is 1.

Note that you can use both attributes at the same time. Example:

[CMDM-download id=xxx showborder="1" label="File"]  

Customizing the download button - File Manager Plugin for WordPress
Customizing the download button

More information about the WordPress File Manager Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.