Category short-code will all parameters:

[wpdm_category id="Category Slug(s)" operator="IN" title="Custom Title Here or 1" desc="Custom Description or 1" toolbar="1" paging="1" order_by="field name" order="asc or desc" item_per_page="10" template="template 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 a comma
  • operator: Use this parameter only when you are using multiple categories. Possible values are ‘IN’, ‘NOT IN’, ‘AND’, ‘EXISTS’ and ‘NOT EXISTS’. The 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 the category description
  • item_per_page: use any numeric value but greater than o, it is a  required parameter
  • order_by: field name to sort packages, you can sort by title, download_count, create_date, modified ( update date ) or id, it’s an optional parameter, if you skip this parameter “id” will be taken as default.
  • order: asc or desc, optional parameter
  • template: Use link template ID here
  • toolbar: 1 for showing toolbar with category title and sorting option while showing short-code output and 0 will hide the tools
  • paging: 0 if you want to hide pagination
  • 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

Live Demo

Last Updated: Oct 6, 2017


Leave a Reply