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. Ajax post grid will help you Load posts with grid layout and you can also filter by post category.

Just use this shortcode anywhere. Below you can see all available shortcodes.

Post Grid with Ajax Filter by


  • 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: “no”
[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: “title”
[am_post_grid orderby="title"]

Here is the full documentation for post order/orderby:


  • Shortcodes for showing anywhere
  • Pre-Build Layout
  • Grid Layout
  • Ajax Post Grid
  • Category Filter with ajax
  • Controlling Options
  • Post pagination
  • Show/Hide Specific category terms


  • Frontend Preview
  • Filter Preview
  • Pagination Preview


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


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


Very good work. Adding a few new options will make this plugin number 1 in the market.
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.


“Post Grid with Ajax Filter” 是开源软件。 以下人员对此插件做出了贡献。




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