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: 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
  • 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



Leave a Reply