hallowebsite Smart Card Lists
Shows posts, CPTs or taxonomy terms as responsive card grids or sliders with one shortcode. Taxonomy filter buttons, lazy loading, event dates and detailed card options make it fit blogs, references, team pages and events.
Download v1.2.2Overview
hallowebsite Smart Card Lists outputs posts, custom post types or taxonomy terms as responsive card grids or sliders, using a single shortcode. Lists can be filtered by taxonomy (with visitor-facing filter buttons), loaded lazily in batches, and tuned in detail: image ratio, excerpt, date, author, taxonomy badges and highlight-only lists. Event lists with upcoming or past dates from a meta field are included too. It's the flexible building block for blogs, references, team pages, events and category overviews.
Features
[smart_list]for posts/CPTs (mode="posts") or taxonomy terms (mode="terms").[upcoming_events]: a ready-made upcoming events list.- Grid with responsive columns, or a slider (arrows, dots, snap) when enabled in the settings.
- Filter buttons by any taxonomy, plus hard include/exclude by category, ID or parent.
- Lazy loading via Ajax: initial count plus batch size.
- Image size, aspect ratio and fit. Excerpt from content, excerpt field or a custom meta field.
- Date, author and taxonomy badges. Custom date fields (JetEngine timestamps supported).
- Context options: current archive, same category, exclude current post, highlight-only.
- Global defaults on the settings page. Every value can be overridden per shortcode.
Examples
[smart_list post_types="post" per_page="9" cols_desktop="3"]
[smart_list post_types="referenz" tax_filters="branche" show_filters="true"]
[smart_list post_types="post" same_category="true" exclude_current="true" per_page="3"]
[smart_list layout="slider" slider_nav="arrows" post_types="team"]
[smart_list mode="terms" tax="category" hide_empty="true"]
[smart_list post_types="event" use_custom_date="date_of_event" custom_date_format="timestamp" event_scope="upcoming"]
[upcoming_events post_types="event" limit="5" all_url="/events/"]
Important attributes
| Attribute | Default | Description |
|---|---|---|
mode | posts | posts or terms. |
post_types | post | One or more post types (CSV). |
layout, slider_nav, slider_align | grid, both, start | Grid or slider and slider controls. |
cols_desktop/tablet/mobile | 3 / 2 / 1 | Columns per breakpoint. |
per_page, lazy, initial, batch | 12, auto, 6, 6 | Number of cards and lazy loading. |
orderby, order, ids_order | – | Sorting. ids_order="keep" keeps the order of include_ids. |
tax, tax_filters, show_filters | –, –, auto | Taxonomy filter and filter buttons. |
include_category_slugs, exclude_category_slugs | – | Hard category filter. |
include_ids, exclude_ids, exclude_current, same_category | – | Selection by ID and context. |
children_of, include_descendants, max_depth, only_top_level | – | Hierarchy filters. |
use_current_archive, auto_archive | false | Use the current archive query. |
highlight_only, highlight_meta_key | false, highlight | Only entries with a truthy highlight field. |
thumb_size, thumb_ratio, thumb_fit, image_loading | medium, 3/2, cover, auto | Image output. |
excerpt_enable, excerpt_words, excerpt_from, custom-excerpt_meta_key | true, 30, auto, – | Excerpt settings. |
show_date, date_format, show_author, show_tax | true, WP format, false, – | Meta information on the card. |
card_link, disable_links, cats_links, tax_links | – | Link behaviour of cards and badges. |
use_custom_date, custom_date_format, event_scope, event_date_meta_key | –, ymd, none, … | Events: date field, format (ymd, ymd_compact, timestamp) and scope (upcoming/past). |
Settings
Settings → Smart Card Lists holds the global defaults (post types, image ratio, excerpt, event fields, slider activation and more). Slider buttons are styled with CSS variables, so you can match them to your Kadence palette.
Notes
- Exclude Ajax endpoints from page caching if you use lazy loading or filters.
- Don't run old and new versions of the plugin at the same time.
Changelog
Changed: - Rebranding: neuer Name „hallowebsite Smart Card Lists“, Autor hallowebsite, Plugin-URI https://hallowebsite.de/plugins/smart-card-lists/ - Keine funktionalen Änderungen.