1. Home
  2. Docs
  3. News & Blog Designer ...
  4. Post Plugin Shortcodes
  5. Common Shortcode Parameters

Common Shortcode Parameters

Common parameters which works with all shortcode.

Post Type
[bdp_post post_type="post"]
Enter registered post type name. You can find it on plugin setting page.
Note: Be sure you have added valid post type name otherwise no result will be displayed.

Taxonomy
[bdp_post 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.

Tag Taxonomy
[bdp_post tag_taxonomy="post_tag"]
Enter registered tag taxonomy name. You can find it on plugin setting page. This is just to display post tags.
Note: Be sure you have added valid tag taxonomy name otherwise no result will be displayed. Leave it empty for default.

Display Type
[bdp_post type="featured"]
Select display type of post. Is it Featured or Trending? Supported values are ‘featured’ OR ‘trending’.

Display Sticky Post
[bdp_post sticky_posts="true"]
Display sticky post. Supported values are ‘true’ OR ‘false’.

Display Author
[bdp_post show_author="true"]
Display post author. Supported values are ‘true’ OR ‘false’.

Display Post Date
[bdp_post show_date="true"]
Display post date. Supported values are ‘true’ OR ‘false’.

Display Post Category
[bdp_post show_category="true"]
Display post categories. Supported values are ‘true’ OR ‘false’.

Display Post Tags
[bdp_post show_tags="true"]
Display post tags. Supported values are ‘true’ OR ‘false’.

Display Comments Count
[bdp_post show_comments="true"]
Display post comment count. Supported values are ‘true’ OR ‘false’.

Display Post Content
[bdp_post show_content="true"]
Display post content.

Post Content Word Limit
[bdp_post content_words_limit="20"]
Display number of post content words.

Display Read More
[bdp_post show_read_more="true"]
Display post read more button. Supported values are ‘true’ OR ‘false’.

Read More Button Text
[bdp_post read_more_text="Read More"]
Enter your desired read more button text.

Link Behaviour
[bdp_post link_behaviour="new"]
Choose post link behavior to open in a new tab or same tab. Supported values are ‘self’ OR ‘new’.

Image Size
[bdp_post media_size="medium"]
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’.

Style Manager
[bdp_post style_id="X"]
Where X is style ID. You can create style under Blog Designer Pack –> Style Manager and create your style. Style Manager is use to change title, content, meta details font size and colors. You can also customize slider arrows, dots and read more button design.

Previous Button Text
[bdp_post prev_text="Previous"]
Set previous button text. You can enter any Text or HTML entity. Leave it empty for default.

Next Button Text
[bdp_post next_text="Next"]
Set next button text. You can enter any Text or HTML entity. Leave it empty for default.

Enable Sharing
[bdp_post sharing="design-1"]
Enable sharing functionality. It will display a sharing icon. On hover or click of it user can share post on configured social media. Supported values are “design-1”, “design-2”, “design-3” and “design-4”. Set it false to disable it.

Total Number of Post
[bdp_post limit="10"]
Enter total number of post to be displayed. Enter -1 to display all. Leave it blank for default.

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

  1. ID – Based on Post ID’s
  2. title – Based on Post Title
  3. name – Order by post name (post slug)
  4. date – Based on Post added date
  5. modified – Based on Post modified date
  6. rand – Random Order on each page load
  7. menu_order – Post Sorting Order
  8. author – Based on Post Author
  9. comment_count – Order by number of comments

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

Display Post From Specific Category
[bdp_post category="5,10"]
OR
[bdp_post category="category_slug"]
Enter category id or slug to display categories wise. You can pass multiple ids or slug with comma seperated. You can find id and slug at relevant category listing page.

Exclude Post From Specific Category
[bdp_post exclude_cat="3,5"]
Exclude post category. Works only if `Category` field is empty. You can pass multiple ids with comma seperated. You can find id at relevant category listing page.

Display Child Category Post
[bdp_post include_cat_child="true"]
If you are using parent category then whether to display child category post or not. Supported values are ‘true’ OR ‘false’.

Display Specific Post
[bdp_post posts="3,5"]
Enter id of the post which you want to display. You can pass multiple ids with comma separated. You can find id at relevant post listing page.

Exclude Posts
[bdp_post hide_post="3,5"]
Enter id of the post which you do not want to display. You can pass multiple ids with comma separated. You can find id at relevant post listing page.

Display Post From Specific Author
[bdp_post include_author="3"]
Enter author id to display posts of particular author. You can pass multiple ids with comma separated. You can find id at users listing page.

Exclude Post From Specific Author
[bdp_post exclude_author="3"]
Enter author id to hide post of particular author. Works only if `Include Author` field is empty. You can pass multiple ids with comma separated. You can find id at relevant users listing page.

Query Offset
[bdp_post query_offset="1"]
Exclude number of posts 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_post 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.