1. Home
  2. Docs
  3. News & Blog Designer ...
  4. Category Layout Shortcode...
  5. Common Shortcode Parameters

Common Shortcode Parameters

Common parameters which works with all shortcode.

Taxonomy
[bdp_cat_grid taxonomy="category"]
Enter registered taxonomy name. You can find it on plugin setting page.
Note: Be sure you have added valid taxonomy name otherwise no result will be displayed.

Limit
[bdp_cat_grid Limit="12"]
Enter limit to display number of categories. To display all categories, please pass the limit=”-1″

Design
[bdp_cat_grid design="design-1"]
Choose your favourite layout. Values are design-1 to design-5.

Media size
[bdp_cat_grid media_size="large"]
Choose WordPress registered image size. e.g thumbnail (150 X 150), medium (300 X 300), large (1024 X 1024), medium-large (768 X 768), bdpp-medium (640 X 480), full.
Note : These are the WordPress registered image size. When you upload the image in WordPress it creates various size of images. You can call them as per your need and speed concern. These sizes may very depending on your theme or any third party plugin with this functionality.
Recommended size is ‘medium’ or ‘medium-large’.

Link
[bdp_cat_grid link="true"]
Enable link for category or not.

Link target
[bdp_cat_grid link_target="blank"]
Choose link behaviour to open in a new tab or same tab. Supported values are ‘self’ OR ‘blank’.

Parent
[bdp_cat_grid parent=""]
Get direct children of this term (only terms whose explicit parent is this value). If 0 is passed, only top-level terms are returned. Default is an empty string.

Child of
[bdp_cat_grid child_of=""]
Get all descendents of this term. Default is 0.
Note: the difference between child_of and parent is that where parent only gets direct children of the parent term (ie: 1 level down), child_of gets all descendants (as many levels as are available)

Order By
[bdp_cat_grid orderby="date"]
Select order type. Supported values are

  1. id – Based on category ID’s
  2. count – Based on category post count.
  3. name – Based on category title.
  4. slug – Based on category slug.

Order
[bdp_cat_grid order="DESC"]
Select sorting order. Supported values are ‘DESC’ OR ‘ASC’.

Hide empty
[bdp_cat_grid hide_empty="true"]
Show empty terms or not. Values are ‘true’ or ‘false’.

Show title
[bdp_cat_grid show_title="true"]
Display category title or not. Values are ‘true’ or ‘false’.

Show count
[bdp_cat_grid show_count="true"]
Display category count or not. Values are ‘true’ or ‘false’.

Show desc
[bdp_cat_grid show_desc="true"]
Display category description or not. Values are ‘true’ or ‘false’..

Include category
[bdp_cat_grid include_cat="3,5"]
Enter id of the category which you to display. You can pass multiple ids with comma separated.

Exclude category
[bdp_cat_grid exclude_cat="3,5"]
Enter id of the category which you do not want to display. You can pass multiple ids with comma separated.

Offset
[bdp_cat_grid offset="1"]
Exclude number of category from starting. e.g if you pass 3 then it will skip first third post. Note: Do not use limit=-1 with this.

CSS Class
[bdp_cat_grid css_class="extra-css-class"]
Enter an extra CSS class for design customization. Note: Extra class added as parent so using extra class you customize your design.