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

  • cat_id
    [pgaf_post_grid cat_id="category_id"]
    Display posts categories wise.
  • include_cat_child
    [pgaf_post_grid include_cat_child="false"]
    Include cat child 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"]
    Post order ie DESC or ASC.

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

  • image_fit
    [pgaf_post_grid image_fit="true"]
    Fit the post image in wrap. Values are “true” or “false”.

  • media_size
    [pgaf_post_grid media_size="large"]
    Set the featured image size to diplay 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 “ture 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 “ture OR false”

  • show_read_more
    [pgaf_post_grid show_read_more="true"]
    Display Read more button or not. Options are “ture 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 “ture OR false”.

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

  • content_tail
    [pgaf_post_grid content_tail=".."]
    Set content tail.

  • pagination
    [pgaf_post_grid pagination="true"]
    Display Pagination.

  • pagination_type
    [pgaf_post_grid pagination_type="numeric"]
    values are “prev-next” and “numeric”.

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

  • single_post_popup
    [pgaf_post_grid single_post_popup="false"]
    Options are “ture OR false”.

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

  • exclude_cat
    [pgaf_post_grid exclude_cat="10,12"]
    Don’t show post of only specific category. 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_effect
    [pgaf_post_grid popup_effect="fadein"]
    Display effect for popup.

  • popup_positionx
    [pgaf_post_grid popup_positionx="center"]
    Display position of popup.

  • popup_positiony
    [pgaf_post_grid popup_positiony="center"]
    Display position of popup.

  • full_screen
    [pgaf_post_grid full_screen="false"]
    Display popup in full-screen.

  • 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
    [pgaf_post_grid delay="150"]
    Display popup delay time.

  • enable_loader
    [pgaf_post_grid enable_loader="true"]
    Display loader or not.

  • enable_overlay
    [pgaf_post_grid enable_overlay="true"]
    Display overlay or not.

  • overlay_color
    [pgaf_post_grid overlay_color="#000"]
    Dispaly overlay color.

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

shortcode parameters for grid filter

[pgaf_post_filter]

  • cat_id
    [pgaf_post_filter cat_id="category_id"]
    Display posts categories wise.

  • include_cat_child
    [pgaf_post_filter include_cat_child="false"]
    Include cat child 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"]
    Post order ie DESC or ASC.

  • 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"]
    Fit the post image in wrap. 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 “ture OR false”

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

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

  • show_read_more
    [pgaf_post_filter show_read_more="true"]
    Display Read more button or not. Options are “ture 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 “ture OR false”.

  • content_words_limit
    [pgaf_post_filter content_words_limit="30"]
    Control post short content Words limt. By default limit is 20 words.

  • content_tail
    [pgaf_post_filter content_tail=".."]
    Set content tail.

  • show_comments
    [pgaf_post_filter show_comments="true"]
    Options are “ture OR false”.

  • cat_orderby
    [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.

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

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

  • exclude_cat
    [pgaf_post_filter exclude_cat="10,12"]
    Don’t show Post of only specific category. 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.

  • 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_effect
    [pgaf_post_filter popup_effect="fadein"]
    Display effect for popup.

  • popup_positionx
    [pgaf_post_filter popup_positionx="center"]
    Display position of popup.

  • popup_positiony
    [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
    [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