1. Home
  2. Docs
  3. Post List Designer
  4. Plugin Shortcodes
  5. Post List Parameter

Post List Parameter

Post List – [pld_post_list]

    Shortcode Parameters

    Design (Layout)
    [pld_post_list design="design-1"]
    Choose your favorite layout. Values are design-1 to design-18. There are total 18 designs for carousel.

    Post Type
    [pld_post_list 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
    [pld_post_list 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
    [pld_post_list 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
    [pld_post_list type="featured"]
    Select display type of post. Is it Featured or Trending? Supported values are ‘featured’ OR ‘trending’.

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

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

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

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

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

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

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

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

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

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

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

    Image Size
    [pld_post_list 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), pldp-medium (700 X 500), 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
    [pld_post_list style_id="X"]
    Where X is style ID. You can create style under Post List Designer –> Style Manager and create your style. Style Manager is use to change title, content, meta details font size and colors. You can also customize read more button design.

    Pagination
    [pld_post_list pagination="true"]
    Display pagination. Supported values are ‘true’ OR ‘false’.

    Pagination Type
    [pld_post_list pagination_type="numeric"]
    Choose pagination type. Supported values are ‘numeric’ OR ‘prev-next’, ‘load-more’ and ‘prev-next-ajax’.

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

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

    Enable Sharing
    [pld_post_list 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
    [pld_post_list limit="10"]
    Enter total number of post to be displayed. Enter -1 to display all. Leave it blank for default.

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

    1. ID – Based on Post ID’s
    2. title – Based on Post Title
    3. date – Based on Post added date
    4. modified – Based on Post modified date
    5. rand – Random Order on each page load
    6. menu_order – Post Sorting Order
    7. author – Based on Post Author

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

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

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

    Display Child Category Post
    [pld_post_list 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
    [pld_post_list posts="3,5"]
    Enter id of the post which you want to display. You can pass multiple ids with comma seperated. You can find id at relevant post listing page.

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

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

    Exclude Post From Specific Author
    [pld_post_list 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
    [pld_post_list 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
    [pld_post_list 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.