Documentation

Post grid and filter with popup Pro

How to display and shortcodes

Display post grid on your website with or without categoryies filter.Easy way to display WordPress post in grid view and post grid with filter. Display anywhere via shortcode. lots more shortcode parameters give you extend as your needs.

Post grid and filter ultimate helps you to display any WordPress posts on any page, in responsive grid and list easily, without coding.

Post grid and filter with popup Pro contain 2 shortcodes.

  • [pgaf_post_grid] – Post Grid Shortcode
  • [pgaf_post_filter] – Post Filter Shortcode

Shortcode Parameters for Grid

[pgaf_post_grid]

  • Limit
    [pgaf_post_grid limit="10"]
    Display latest 10 posts and then pagination

  • Category Id
    [pgaf_post_grid cat_id="category_id"]
    Display posts categories wise. You can pass multiple ids by comma separated.

  • Child Category
    [pgaf_post_grid include_cat_child="false"]
    Display Child Category or not. Values are “true” or “false”.

  • Design
    [pgaf_post_grid design="design-1"]
    Select the design to display. There are 2 designs ie design-1 and design-2 .

  • Grid
    [pgaf_post_grid grid="2"]
    Display post in Grid formats.

  • Order
    [pgaf_post_grid order="DESC"]
    Display post by order. Values are “ASC or DESC”.

  • Order By
    [pgaf_post_grid orderby="date"]
    Order by post ie ID, author, title, date, name, rand etc.

  • Image Fit
    [pgaf_post_grid image_fit="true"]
    Image fit to box or not. Values are “true” or “false”.

  • Media Size
    [pgaf_post_grid media_size="large"]
    Set the featured image size to display in post Values are thumbnail, medium, large, full.

  • Image Height
    [pgaf_post_grid image_height="300"]
    Set featured image height.

  • Show Date
    [pgaf_post_grid show_date="false"]
    Display post date OR not. By default value is “true”. Options are “true OR false”.

  • Show Author
    [pgaf_post_grid show_author="true"]
    Display post Author. Values are “true” or “false”

  • Show Content
    [pgaf_post_grid show_content="true"]
    Display post Short content OR not. By default value is “true”. Options are “true OR false”.

  • Show Read More
    [pgaf_post_grid show_read_more="true"]
    Display Read more button or not. Options are “true OR false”

  • Show Category Name
    [pgaf_post_grid show_category_name="true"]
    Display post category name OR not. By default value is “true”. Options are “true OR false”.

  • Content Words Limit
    [pgaf_post_grid content_words_limit="20"]
    Control post short content Words limit. By default limit is 20 words.

  • Content Tail
    [pgaf_post_grid content_tail=".."]
    Dots after short content for continue reading.

  • Pagination
    [pgaf_post_grid pagination="true"]
    Display Pagination. Values are “true OR false”

  • Pagination Type
    [pgaf_post_grid pagination_type="numeric"]
    If pagination is true then you can set pagination type and Values are “prev-next” and “numeric”.

  • Show Comments
    [pgaf_post_grid show_comments="true"]
    Display comments. Options are “true OR false”.

  • Single Post Popup
    [pgaf_post_grid single_post_popup="false"]
    Options are “true OR false”.

  • Read More Text
    [pgaf_post_grid read_more_text="Read More"]
    Change “Read More” text to your Desired text.

  • Exclude Category
    [pgaf_post_grid exclude_cat="10,12"]
    Exclude category which you do not want to display. You can pass multiple category ids by comma separated.

  • Exclude Post
    [pgaf_post_grid exclude_post="10,12"]
    Exclude some post which you do not want to display.

  • Posts
    [pgaf_post_grid posts="10,12"]
    Display specific Posts. You can pass multiple ids by comma separated

  • Popup Effects
    [pgaf_post_grid popup_effect="fadein"]
    Display effect for popup.

  • Popup Position-X
    [pgaf_post_grid popup_positionx="center"]
    Display position of popup. Values are “left, right OR center”.

  • Popup Position-Y
    [pgaf_post_grid popup_positiony="center"]
    Display position of popup. Values are “top, bottom OR center”.

  • Full Screen
    [pgaf_post_grid full_screen="false"]
    Display popup in full-screen. Values are “true OR false”.

  • Speed In
    [pgaf_post_grid speed_in="300"]
    Display popup speed for open.

  • Speed Out
    [pgaf_post_grid speed_out="300"]
    Display popup speed for close.

  • Delay Time
    [pgaf_post_grid delay="150"]
    Display popup delay time.

  • Enable Loader
    [pgaf_post_grid enable_loader="true"]
    Display loader or not. Values are”true OR false”.

  • Enable Overlay
    [pgaf_post_grid enable_overlay="true"]
    Display overlay or not. Values are”true OR false”.

  • Overlay Color
    [pgaf_post_grid overlay_color="#000"]
    Display overlay color.

  • Overlay Opacity
    [pgaf_post_grid overlay_opacity="0.5"]
    Display opacity of overlay.

shortcode parameters for grid filter

[pgaf_post_filter]

  • Category Id
    [pgaf_post_filter cat_id="category_id"]
    Display posts categories wise. You can pass multiple ids by comma separated.

  • Child Category
    [pgaf_post_filter include_cat_child="false"]
    Display child category or not. Values are “true” or “false”.

  • Design
    [pgaf_post_filter design="design-1"]
    Select the design to display. There are 2 designs ie design-1 and design-2 .

  • Grid
    [pgaf_post_filter grid="2"]
    Display post in Grid formats.

  • Order
    [pgaf_post_filter order="DESC"]
    You can set post by order. Values are “ASC or DESC”

  • Orderby
    [pgaf_post_filter orderby="date"]
    Order by post ie ID, author, title, date, name, rand etc.

  • Image Fit
    [pgaf_post_filter image_fit="true"]
    Image fit to box or not. Values are “true” or “false”.

  • Media Size
    [pgaf_post_filter media_size="large"]
    Set the featured image size to diplay in post Values are thumbnail, medium, large, full.

  • image Height
    [pgaf_post_filter image_height="300"]
    Set featured image height.

  • Show Date
    [pgaf_post_filter show_date="false"]
    Display post date OR not. By default value is “true”. Options are “true OR false”

  • Show Author
    [pgaf_post_filter show_author="true"]
    Display post author. Values are “true” or “false.

  • Show Comments
    [pgaf_post_filter show_content="true"]
    Display post Short content OR not. By default value is “true”. Options are “true OR false”.

  • Show Read More
    [pgaf_post_filter show_read_more="true"]
    Display Read more button or not. Options are “true OR false”

  • Show Category Name
    [pgaf_post_filter show_category_name="true"]
    Display post category name OR not. By default value is “True”. Options are “true OR false”.

  • Content Word Limit
    [pgaf_post_filter content_words_limit="20"]
    Control post short content Words limit. By default limit is 20 words.

  • Content Tail
    [pgaf_post_filter content_tail=".."]
    Three Dots after short content for continue reading.

  • Show Comments
    [pgaf_post_filter show_comments="true"]
    Display comments or not. Options are “true OR false”.

  • Orderby Category
    [pgaf_post_filter cat_orderby="name"]
    Display Order by category. ie ID, author, title, date, name, rand etc

  • All Filter Text
    [pgaf_post_filter all_filter_text="All"]
    All filter text name. Value is any string.

  • Category Limit
    [pgaf_post_filter cat_limit="0"]
    Display number of categories.

  • Order of Category
    [pgaf_post_filter cat_order="ASC"]
    Set order your categories by “Ascending” OR “Descending”. Values are “asc” OR “desc”

  • Exclude Category
    [pgaf_post_filter exclude_cat="10,12"]
    Exclude category which you do not want to display. You can pass multiple category ids by comma separated.

  • Exclude Post
    [pgaf_post_filter exclude_post="10,12"]
    Exclude some post which you do not want to display.

  • Specific Posts
    [pgaf_post_filter posts="10,12"]
    Display specific Posts. You can pass multiple ids by comma separated

  • Single Post Popup
    [pgaf_post_filter single_post_popup="false"]
    Options are “ture OR false”

  • Read More Text
    [pgaf_post_filter read_more_text="Read More"]
    Change “Read More” text to your Desired text.

  • Popup Effects
    [pgaf_post_filter popup_effect="fadein"]
    Display effect for popup.

  • Popup Position-X
    [pgaf_post_filter popup_positionx="center"]
    Display position of popup.

  • Popup Position-Y
    [pgaf_post_filter popup_positiony="center"]
    Display position of popup.

  • Full Screen
    [pgaf_post_filter full_screen="false"]
    Display popup in full-screen.

  • Speed In
    [pgaf_post_filter speed_in="300"]
    Display popup speed for open.

  • Speed Out
    [pgaf_post_filter speed_out="300"]
    Display popup speed for Close.

  • Delay Time
    [pgaf_post_filter delay="150"]
    Display popup delay time.

  • Enable Loader
    [pgaf_post_filter enable_loader="false"]
    Display loader or not.

  • Enable Overlay
    [pgaf_post_filter enable_overlay="true"]
    Display overlay or not.

  • Overlay Color
    [pgaf_post_filter overlay_color="#000"]
    Dispaly overlay color.

  • Overlay Opacity
    [pgaf_post_filter overlay_opacity="0.5"]
    Display opacity of overlay.

Updated On 5 Jul 2017