Use tinymce button add-on to generate short-code
Single Package Short-code:

Default Package Short-code:

[wpdm_package id="package-id-here"]

Package Short-code With link template specified:

[wpdm_package id="package-id-here" template="template-id"]

All link template file names:

  • link-template-default
  • link-template-panel
  • link-template-extended
  • link-template-semi-ext
  • link-template-bsthumnail
  • link-template-audio

All page template file names:

  • page-template-default
  • page-template-1col
  • page-template-1col-ex-autdio
  • page-template-1col-flat
  • page-template-col2-il
  • page-template-1col-ex

If no template parameter used with short-code, it will user the selected link template when you created the package. “template” parameter is just useful if you want to show same package with different link template at different places.

Extended Short-codes
Please download and install Extended Short-code Add-on

Short-code for Image Slider:

[wpdm_slider ids="package,ids,separated,by,comma"]

Short-code for category carousel:

[wpdm_carousel category="category-id"]

Short-code for generating tree view of all packages and categories:

[wpdm_tree]

Short-code for generating tree view of specific category:

[wpdm_tree category="category-slug"]

And if you want to use direct download link, use:

[wpdm_tree download_link=1]
Category Short-code

Category short-code will all parameters:

[wpdm_category id="Category Slug(s)" operator="IN" title="Custom Title Here or 1" desc="Custom Dscription or 1" toolbar="1" order_by="field name" order="asc or desc" item_per_page="10" template="temaplte name or ID" cols=4 colspad=2 colsphone=1]

Parameters:

  • id: the category slug, it is a  required parameter, in case of multiple category slugs should be separated by comma
  • operator: Use this parameter only when you are using multiple categories. Possible values are ‘IN’, ‘NOT IN’, ‘AND’, ‘EXISTS’ and ‘NOT EXISTS’. Default value is ‘IN’.
  • title: optional, you can use any text there, if you use “1” then it will show the category title, otherwise will show the custom text string, if you skip that parameter will not show category title
  • desc: optional, you can use any text there, if you use “1” then it will show the category description, otherwise will show the custom text string, if you skip that parameter will not show category description
  • item_per_page: use any numeric value but greater then o, it is a  required parameter
  • order_by: field name to sort packages, you can sort by title, download_count, create_date, update_date or id , its a optional parameter, if you skip this parameter “id” will be taken as default.
  • order: asc or desc, optional parameter
  • template: same as explained for package short-code
  • toolbar: 1 for showing toolbar with category title and sorting option while showing short-code output and 0 will hide the tools
  • cols: number of columns for desktop/laptop layout, value range 1 ~ 4
  • colspad: number of columns for pad layout, value range 1 ~ 4
  • colsphone: number of columns for phone layout, value range 1 ~ 4
Tag Short-code

Category short-code will all parameters:

[wpdm_tag id="Tag Slug(s)" title="Custom Title Here or 1" desc="Custom Dscription or 1" toolbar="1" order_by="field name" order="asc or desc" item_per_page="10" template="temaplte name or ID" cols=4 colspad=2 colsphone=1]

Parameters:

  • id: the tag slug, it is a required parameter, in case of multiple tag slugs should be separated by comma
  • title: optional, you can use any text there, if you use “1″ then it will show the tag title, otherwise will show the custom text string, if you skip that parameter will not show category title
  • desc: optional, you can use any text there, if you use “1″ then it will show the tag description, otherwise will show the custom text string, if you skip that parameter will not show tag description
  • item_per_page: use any numeric value but greater then o, it is a required parameter
  • order_by: field name to sort packages, you can sort by title, download_count, create_date, update_date or id , its a optional parameter, if you skip this parameter “id” will be taken as default.
  • order: asc or desc, optional parameter
  • template: same as explained for package short-code
  • toolbar: 1 for showing toolbar with tag title and sorting option while showing short-code output and 0 will hide the tools
  • cols: number of columns for desktop/laptop layout, value range 1 ~ 4
  • colspad: number of columns for pad layout, value range 1 ~ 4
  • colsphone: number of columns for phone layout, value range 1 ~ 4
Data Table
Please download ans install Extended Short-code add-on to activate this short-code
Short-code to list All Packages in a tabular format with sorting and searching options:

[wpdm-all-packages items_per_page="20" categories="slug1,slug2,..." jstable=1 order_by="field_name" order="ASC/DESC"]

Parameters:

  • items_per_page: Items to show per page
  • categories: use the parameter if you want to show the table for specific category or categories
  • order_by: field name ( title | date )
  • order: ASC or DESC
  • jstable: Enable disable datatable.js

and the front-end preview for the short-code is here

USer Dashboard

Short-code for wpdm user dashboard:

[wpdm_user_dashboard]

and the preview for the short-code is here

Front-end Uploader UI

Short-code for wpdm front-end uploader and members area:

[wpdm_frontend]

and the front-end preview for the short-code is here

 

More Shortcodes:

Last Updated: Sep 13, 2017


Discussion

Leave a Reply