انتقل إلى المحتوى الرئيسي

article / articles

Blog article picker fields. Use article for a single article or articles for a list. Returns the article object(s) from the store.

Properties

PropertyTypeRequiredDescription
type"article" or "articles"YesSingle or multiple articles
labelstringYesLabel shown in the builder
defaultstring or arrayNo"" for article, [] for articles

Usage

{
"featured": {
"type": "article",
"label": "Featured article",
"default": ""
},
"items": {
"type": "articles",
"label": "Articles",
"default": []
}
}
Article object

The returned article object includes title, handle, excerpt, content, image, author, and publishedAt.

Interactive Preview

Interactive Preview
How to Style Your Store
by Admin
Live Output
{
  "featured": {
    "_id": "69248443e2f94be6c3772ecc",
    "title": "How to Style Your Store",
    "handle": "how-to-style-your-store",
    "excerpt": "Learn the best practices for...",
    "author": "Admin",
    "publishedAt": "2025-01-15T10:00:00Z"
  }
}