Purpose: Displays a carousel/grid of blog articles. Supports three source modes: a legacy custom repeater with external articles, a relationship field picking specific WP posts, and an auto-fetch of the 3 latest published posts.
Modes: select_type=custom (OLD — repeater), select_type=posts (relationship), select_type=latest_posts (auto-fetch 3)
| Anchor | What is tested |
|---|---|
| blog | Happy path: select_type=custom, 3 external articles with all fields filled, center/light/none, overview button |
| blog-1 | Dark background, left align, pattern=default, 3 articles, overview button |
| blog-2 | select_type=posts — relationship field with 3 WP post IDs, center/light/none, overview button |
| blog-3 | select_type=latest_posts — auto-fetches 3 latest published posts, dark/center/none, no overview button |
| blog-4 | select_type=custom — mix of custom-type and post-type repeater rows, one row with missing optional fields |
| blog-5 | Minimal: 1 article only, no image/author/category, no overview button, center/light/none |
| blog-6 | Max 6 articles (repeater max), very long article title, dark/left/default pattern, overview button |
| blog-7 | External links with target=_blank, pattern=custom, 2 articles, no author/category, no overview button |