On this pageOverview

Blog and articles

The blog page lists your articles with their date, author, topic and reading time. Each article can end with the gear it mentions, so readers go from a story to the products in it.

Blog page

The Blog posts section of the blog template lists the articles of a blog. Each article shows its image, title, excerpt, date, author, first tag and reading time, plus the number of comments when it has any.

Setting What it does
Show breadcrumb The path to the blog above its title.
Description A short line under the blog title.
Show topic filters The article tags as topics above the list.
Topics on the row How many topics show in the row. The rest go behind a More topics button, and a selected topic always shows in the row.
Feature the first article The newest article shows large, on the first page and when no topic is selected.
Featured label The label above the featured article.
Articles per page How many articles each page lists.
Show date The publication date on each article.
Show author The author's name on each article.

Article page

Setting What it does
Show breadcrumb The path to the article above its title.
Show featured image The article image above the text.
Show author The author's name under the title.
Show read time An estimate based on the length of the article.
Show sharing links Links to share the article, and a button that copies its address.
Show previous and next article Links to the neighboring articles of the blog.
Show the gear list Up to four products from the article's gear metafield, with their image, key specs and price. See below.

Gear in this story

The gear list shows up to four products an article mentions, with their image, key specs and price. It reads them from a metafield on the article, which you create once.

  1. In your admin, go to Settings > Metafields and metaobjects > Blog posts and click Add definition.

  2. Name it, for example Gear in this story. Shopify shows the namespace and key under the name: set them to custom.gear, or keep your own and enter them in the theme settings in step 5.

  3. In Type, switch One to List, select Product, and save.

  4. Open an article in Content > Blog posts. In its Metafields section, choose the products for Gear in this story.

  5. In the theme editor, open an article and select the Article section. Check that Show the gear list is on, and that Metafield namespace and Metafield key match your definition. By default they are custom and gear. Heading changes the title of the list.

Comments

Comments are set per blog. In your admin, go to Content > Blog posts, click Manage blogs, open the blog and choose Disabled, Allowed, pending moderation or Allowed.

When comments are allowed, the article shows its comments, 20 per page, and a form to add one. With moderation, the form says that comments are published after they are approved.

Blog posts on other pages

The Blog posts section also shows a few articles anywhere else, for example on the home page.

Setting What it does
Heading The title of the section.
Blog The blog to show. Leave it empty on a blog or article template to use the blog in context.
Layout Featured and list, or Grid.
Posts to show How many articles the section shows.
Show excerpt The excerpt of the large article, in the Featured and list layout.
Show date The publication date on each article.
Show author The author's name on each article.
View all label The link to the blog.

Search the documentation