Post Grid with Ajax Filter


Post Grid with Ajax Filter plugin is a simple WordPress plugin that helps you filter your post by category terms with Ajax including Infinite scroll. Ajax post grid will help you Load posts with grid layout and you can also filter by post category.

Just use below shortcodes anywhere. Below you can see all available shortcodes.

See the Live demo


  • Shortcodes for showing anywhere
  • Load More Button
  • Infinite Scroll
  • Animate on Post load
  • Pre-Build Layout
  • Grid Layout
  • Ajax Post Grid
  • Category Filter with ajax
  • Controlling Options
  • Post pagination
  • Show/Hide Specific category terms


  • Default Shortcode
  • Control for Show or Hide the filter
    Options: yes,no
    Default: yes
[am_post_grid show_filter="no"]
  • Control Number of Posts Per Page
    Options: Integers, -1 for all posts
    Default: WordPress Default
[am_post_grid posts_per_page="6"]
  • Post pagination
    Options: yes,no
    Default: “yes”
[am_post_grid posts_per_page="6" paginate="yes"]
  • Show/Hide “All” Button before filter
    Options: yes,no
    Default: “yes”
[am_post_grid btn_all="yes"]
  • Show/Hide Specific Category Terms
    Options: 1,2,3,4
    Default: “”
[am_post_grid cat="100,101,103"]


[am_post_grid terms="100,101,103"]
  • Hide/Show Empty Category Terms
    Options: true, false
    Default: “true”
[am_post_grid hide_empty="false"]
  • Post Order
    Options: ASC, DESC
    Default: “DESC”
[am_post_grid order="DESC"]
  • Post Orderby
    Default: ‘menu_order date’, //Display posts sorted by ‘menu_order’ with a fallback to post ‘date’
[am_post_grid orderby="title"]

Here is the full documentation for post order/orderby: Order & Orderby Parameters

  • Pagination Type: Load More button or Paginate Links
    Options: “”,load_more
    Default: “”
[am_post_grid pagination_type="load_more"]
  • Infinite Scroll (Works only for pagination_type=”load_more” attributes )
    Options: “”,true
    Default: “”
[am_post_grid infinite_scroll="true"]
  • Animation effect
    Options: “”,true
    Default: “”
[am_post_grid animation="true"]


  • Frontend Preview
  • Filter Preview
  • Pagination Preview


  1. Upload “\” to the “/wp-content/plugins/” directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.

Perguntas frequentes

How to use it?

use this shortcode: [am_post_grid]

Why the plugin is not working?

Please post details on support forum.

I need help with custom feature?

email me at


11 de Fevereiro, 2021
Very good work. Adding a few new options will make this plugin number 1 in the market.
12 de Julho, 2020
The plugin does exactly what it says it does and is simple to use but is missing some key features: Missing Features: - Post Grid Doesn't scroll back to the top row when you switch to the next paginated page. (Less convenient for users to scroll back up) - Uses full-sized images for thumbnails (Larger images will take longer to load. Easily remedied by switching it to 'thumbnails' in the plugin's code.) Other than that, the grid is not responsive for mobile but I easily fixed that with CSS and my own media queries. Though I couldn't figure out how to implement a scroll back to the top feature on my own. It would be ideal for mobile user-experience and when I have a lot of posts display on the screen at once.
Ler todas as 10 avaliações

Contribuidores e programadores

“Post Grid with Ajax Filter” é software de código aberto. As seguintes pessoas contribuíram para este plugin:


Traduza o “Post Grid with Ajax Filter” para o seu idioma.

Interessado no desenvolvimento?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Registo de alterações


  • Nov 21, 2021
    Added: Load More Button [See latest Shortcodes]
    Added: Infinite Scroll
    Added: Animation Effect on post load
    Added: Posts restrictions by Terms
    Fixed: Code issues


  • March 8, 2021
    Added: Order Parameter
    Added: Orderby Parameter


  • Feb 23, 2021
    WordPress 5.6.2 Compatible
    Added: Show/Hide Specific category terms
    Added: Hide/Show Empty Category Terms


  • Feb 3, 2021
    WordPress 5.6 Compatible


  • March 19, 2020
    Issue Fixed: Draft posts are displayed


  • March 9, 2020
    Ajax pagination
    CSS Improvement
    Ajax Improvement
    Speed Improvement


  • Jan 22, 2020
    Multiple grid support
    Ajax Improvement
    Speed Improvement
    Shortcode Extended :
    posts_per_page – for controlling number of posts
    btn_all – Show/Hide “All” Button on filter
    show_filter – Show/Hide the filter


  • Jan 21, 2020
    Multiple grid support
    Ajax Improvement
    Speed Improvement
    New Design Layout Added


  • Initial release.