The article object
article object has the following attributes:
Returns the full name of the article's author.
Returns the published comments of the article. Returns an empty array if comments are disabled.
Returns the number of published comments for the article.
true if comments are enabled. Returns
false if comments are disabled.
Returns the relative URL where POST requests are sent to when creating new comments.
Returns the content of the article.
Returns the timestamp of when the article was created. Use the date filter to format the timestamp.
Returns the excerpt of the article.
article.excerpt of the article if it exists. Returns
article.content if an excerpt does not exist for the article.
Returns the handle of the article.
Returns the id of the article.
Returns the article's image object.
Returns the article image's
Returns the relative URL to the article image.
true if the blog that the article belongs to is set to moderate comments. Returns
false if the blog is not moderated.
Returns the date/time when the article was published. Use the date filter to format the timestamp.
Returns all the tags for the article.
Total tag count
When looping through
article.tags, you can print how many times a tag is used with
tag.total_count. This number shows visitors how many blog posts have been tagged with a particular tag:
Returns the title of the article.
Returns the date/time when the article was updated. Use the date filter to format the timestamp.
Returns the relative URL of the article.
Returns an object with information about the article's author. This information can be edited in the Staff accounts options on the Account page in your Shopify admin.
true if the author of the article is the account owner of the store. Returns
false if the author is not the account owner.
Returns the bio of the author of the article.
Returns the email of the author of the article.
Returns the first name of the author of the article.
Returns the home page of the article author.
Returns the image object of the author of the article.
Returns the last name of the author of the article.