DSI Card Grids & Sliders releases
Card-based product and post grids/sliders for consistent visual layouts. WooCommerce products + blog posts.
by Michael Patrick · github.com/michaelspatrick/dsi-card-grids
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/michaelspatrick/dsi-card-grids/archive/refs/heads/main.zipCard-based grids and sliders for WooCommerce products and WordPress posts, using mostly your theme's styling.
Shortcodes
Products: [dsi_products]
Attributes (subset of WooCommerce [products]):
ids– Comma-separated product IDs.category– Comma-separated product category slugs.tag– Comma-separated product tag slugs.limit– Number of products. Default12.orderby–date,title,menu_order,rand. Defaultdate.order–DESCorASC. DefaultDESC.on_sale–true/false. Defaultfalse.featured–true/false. Defaultfalse.slider–true/falsefor slider mode. Defaultfalse.items– Number of visible cards (slider). Default3.interval– Autoplay interval in ms. Default5000.button–vieworadd_to_cart. Defaultview.class– Extra CSS class on wrapper.
Examples:
[dsi_products]
[dsi_products limit="8" category="seminars" on_sale="true"]
[dsi_products slider="true" items="4" interval="4000" button="add_to_cart"]
Posts: [dsi_posts]
Attributes:
post_type– Defaults topost.category– Category slugs (forpost).tag– Tag slugs (forpost).ids– Comma-separated post IDs.exclude– Comma-separated post IDs to exclude.limit– Default6.orderby–date,title,rand. Defaultdate.order–DESC/ASC. DefaultDESC.slider–true/false. Defaultfalse.items– Visible cards (slider). Default3.interval– Autoplay interval in ms. Default5000.class– Extra CSS class.
Examples:
[dsi_posts]
[dsi_posts limit="3" category="news"]
[dsi_posts slider="true" items="3" interval="6000"]
Markup & Theme Styling
- Products output
<article>with classes:dsi-card dsi-card-productplus normalpost_class()for product. - Posts output
<article>with classes:dsi-card dsi-card-postplus normalpost_class().
Each card contains:
.dsi-card-mediawith featured/product image..dsi-card-body.entry-summarywith:.dsi-card-title.entry-title.dsi-card-excerpt.dsi-card-meta(date or price).
.dsi-card-footerwith.dsi-card-button.button.
Your theme can style these classes or rely on existing entry-* and .button styles.
The plugin’s CSS is intentionally minimal and only handles:
- Slider track flex layout.
- Navigation button positioning.
- Placeholder image aspect ratio.
- Badge container positioning.
Slider Behaviour
- Uses vanilla JS, no jQuery.
- Respects
data-dsi-itemsanddata-dsi-intervalattributes from the shortcode. - Autoplays by default; pauses on hover.
Installation
- Upload the ZIP via Plugins → Add New → Upload Plugin.
- Activate the plugin.
- Use
[dsi_products]and[dsi_posts]in pages, posts, or templates.
Releases
2 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.