Article
The article object represents a blog article, including its content, author, comments, and SEO information.
Properties
seo_description
Returns description for search engines.
seo_title
Returns title for search engines.
seo_keywords
Returns keywords for search engines.
handle
Retrieve a handle for this article.
header_image
Retrieve the assosiated header image URL for this article.
author
Returns the full name of the author.
id
Get the identifier for this article.
title
Returns the title.
content
Get the content of this article.
summary
Returns the summary (max. 140 characters) for this article.
comments
Returns the published comments of this article. Returns an empty array if comments are disabled.
comments_count
Returns the number of published comments to this article.
blog
Returns the associated blog.
is_published
Tells whether this post is published or not. In design mode unpublished articles are visible.
comments_are_enabled
Returns true if commenting is enabled for this article.
comments_require_account
Returns true if commenting requires customer account.
comments_require_approval
Returns true if commenting is moderated for this article.
account_owner
Returns true if the author is the owner of the store.
author
Returns information about the article’s author as an AuthorDrop.
created_at
Returns the timestamp when the article was created.
created_at
Returns the timestamp when the article was published.
updated_at
Returns the timestamp when the article was updated or modified.