Description
The Advanced Post Grid plugin allows you to create customizable and responsive grid layouts to display your posts, pages, or any custom content dynamically. Designed for flexibility and ease of use, this plugin integrates seamlessly with the Gutenberg block editor, offering an intuitive way to showcase your content in a visually appealing grid format. Whether you’re building a blog, portfolio, or product showcase, this plugin gives you full control over the number of columns, layout styling, and content arrangement..
Features
- Dynamic Column Control: Choose the number of columns to display in the grid, adapting to your design requirements.
- Customizable Layouts: Style your grids with custom CSS or use default settings for a clean and responsive design.
- Dynamic Content Support: Display posts, pages, or any REST-enabled public post type with ease.
- Mobile Responsive: Per-block tablet and mobile column controls with an independent responsive toggle.
- Shortcode Support: Use
[advance_post_grid]anywhere — pages, widgets, classic editor. - Developer Friendly: Extend the plugin’s functionality with hooks, filters, and templates.
Shortcode
Use [advance_post_grid] anywhere shortcodes are supported — pages, widgets, or the classic editor.
Available attributes (all optional):
- posttype — Post type to display. Default: post. Accepts any REST-enabled public post type slug.
- postgrid — Desktop column count. Default: 3. Accepts: 1, 2, 3, 4.
- postgridtablet — Tablet column count. Default: 2. Only applied when enablepostgridres=”true”.
- postgridmobile — Mobile column count. Default: 1. Only applied when enablepostgridres=”true”.
- enablepostgridres — Enable independent tablet and mobile columns. Default: true. Accepts: true, false.
- postperpage — Number of posts per page. Default: 12.
- postorder — Sort direction. Default: DESC. Accepts: ASC, DESC.
- postorderby — Sort field. Default: title. Accepts: title, date, modified, menu_order, rand, comment_count.
- showhidepagi — Show pagination. Default: true. Accepts: true, false.
- showhidelink — Show post links and Read More button. Default: true. Accepts: true, false.
- showhidecat — Show category badges. Default: true. Accepts: true, false.
- showhidedate — Show post date. Default: true. Accepts: true, false.
- showhidert — Show estimated read time. Default: true. Accepts: true, false.
Example: [advance_post_grid posttype=”product” postgrid=”4″ postperpage=”8″ postorderby=”date” showhidedate=”false” showhidert=”false”]
Blocks
This plugin provides 1 block.
- Advance Post Grid Block to add post type with advance options
Installation
- Download the plugin & install it to your
wp-content/pluginsfolder (or use the Plugins menu through the WordPress Administration section) - Activate the plugin
- Add Block to the page.
- Select your option.
- Save and enjoy!
FAQ
-
I need help to configure the plugin?
-
Please email me at [email protected]
-
For support or troubleshooting help
-
Submit a issue here.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Advance Post Grid” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Advance Post Grid” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Release first version
1.1.0
- Added pagination
- Added new elements
- ability to hide elements
1.1.1
- Update Stable Tag
1.1.2
- Minor Update
- Added option for shortcode as well
1.1.3
- fix bug in shortcode
- added responsive options
1.1.4
- Update Stable Tag
1.1.5
- Fix mobile pagination bug
1.1.6
- Fix broken block wrapper attributes caused by incorrect use of esc_html on get_block_wrapper_attributes
- Fix invalid HTML — removed href attribute from div elements when Post Link is disabled
- Add placeholder image for posts without a featured image (editor and frontend)
- Fix pagination next button missing circle styles in editor
- Fix pagination inactive page numbers missing circle styles in editor
- Fix card layout — replaced fragile absolute positioning with flexbox
- Fix post categories container missing display flex
- Fix CSS color variable with no fallback
- Fix pagination responsive layout — hide/show correct elements per breakpoint
1.1.7
- Improved: Post type selector now dynamically includes all REST-enabled public post types — no longer limited to post, page, and product
- Improved: Replaced raw fetch() in the editor with apiFetch for correct nonce handling and subdirectory WordPress support
- Improved: Expanded Order By options — added Last Modified, Menu Order, Random, Comment Count
- Improved: REST API extended to accept rand, menu_order, and comment_count as valid orderby values so the editor preview stays in sync with the frontend
- Improved: Removed dependency on –cr_color_primary theme CSS variable in pagination styles
- Fixed: Disabled next-page arrow on the last page was missing role=”button” and rendered without border or sizing styles
- Fixed: Placeholder image was referenced from src/assets/images which is not deployed — now copied to build/assets/images via webpack and paths updated in render.php and wp_localize_script
1.1.8
- Update Stable Tag
