
Dynamic Post Grid – Shortcode Builder and Widget for Elementor
v1.9.1Maidul · 2024年5月13日 上架
Show posts, pages or WooCommerce products as a grid, masonry, list or slider. Build it in the admin, then paste a shortcode or use Elementor.
- 正在使用
- 20+
- 评分
- 暂无
- 累计下载
- 3,416
- 最近更新
- 2026年11月21日
贡献者
截图
Dynamic Post Grid shows your posts, pages, custom post types or WooCommerce products as a grid, masonry, list or slider. You design the grid once in the admin and display it with a shortcode, or you place it with the Elementor widget.
There are two ways to use it:
- Grid Shortcodes (no page builder needed): go to Grid Shortcodes > Add New, choose the post type and categories, set columns and layout, arrange what each card shows, then copy the shortcode
[depg_grid id="123"]into a page, post or widget area. - Elementor widget: add the Post Grid widget (in the “Post Grid” group of the Elementor panel) and style it with Elementor’s controls. Requires Elementor 3.0 or higher.
What you can do
- Layouts: grid, masonry (CSS columns), list and slider.
- Choose columns (1 to 4), number of posts, order and order by.
- Build each card from layout elements: thumbnail, title, meta, excerpt, read more, terms, divider, spacer, custom HTML, button, price, rating, custom field.
- 10 hover effects for thumbnails.
- 8 style presets, and save your own presets.
- Category filter buttons that update the grid without a page reload.
- Load More button, or infinite scroll.
- WooCommerce products with price, rating and sale badge elements.
- Advanced query settings: taxonomy queries, date range, author, search, include and exclude IDs, post status, meta query.
- Grid output is cached for one hour and cleared when you save a post.
Known limits
The AJAX filter and Load More use the settings saved in the Grid Shortcodes builder. Attributes you add in the shortcode itself (for example per_page or layout_mode) apply to the first page load but not to later AJAX loads.
External services
The plugin loads the Swiper library (JavaScript and CSS) from the jsDelivr CDN: https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js and https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css. It requests these files on front-end pages, so your visitors’ browsers contact jsDelivr and it receives their IP address and the usual request headers. No other data is sent. Service: https://www.jsdelivr.com. Terms: https://www.jsdelivr.com/terms. Privacy: https://www.jsdelivr.com/terms/privacy-policy-jsdelivr-net.
Shortcode Reference
Basic usage
[depg_grid id="123"]
All attributes
[depg_grid id="123" layout_mode="grid" columns="3" per_page="6" orderby="date" order="DESC" filter="yes" filter_tax="category" load_more="yes" infinite_scroll="yes"]
Attribute
Type
Default
Description
id
integer
(required)
Shortcode post ID
layout_mode
string
grid
Layout mode: grid, masonry, list, or slider
columns
integer
3
Number of columns (1-4)
per_page
integer
6
Posts per page (-1 for all)
orderby
string
date
Sort by: date, title, ID, modified, rand, menu_order
order
string
DESC
Sort direction: ASC or DESC
filter
string
no
Show filter buttons: yes, 1, or true
filter_tax
string
auto
Taxonomy for filter buttons
load_more
string
no
Show Load More button: yes, 1, or true
infinite_scroll
string
no
Enable infinite scroll: yes, 1, or true






