Skip to content
Log in

Articles and article categories

On this page

Articles are pages that live within a category: blog posts, press releases, news, and similar site collateral. An Article Category groups them, by year, month, or subject, and an article can belong to more than one category.

Article categories support parent and child categories, so you can build a hierarchy. Link to the full archive with the /articles path, or link to a single category by its own path.

Article fields

Set these on the Article record (s_c__Article__c).

Field Usage Input
Article Name The name used to identify the article in Salesforce Plain Text
Store The store the article belongs to Store lookup
Identifier Unique ID for the article, also used in its CSS selector Plain Text (entered for you, but you can change it)
Author The person or group who authored the article Plain Text
Path The path or slug for the article Plain Text (do not include a leading /)
Require Login? Restrict the article to signed-in customers Checkbox
Article Hero Image The image displayed with the article Media lookup
Social Image The image used when the article is shared on social platforms Media lookup
Title H1 heading for the article Plain Text
Subtitle Medium-sized subtitle for the article Plain Text
Summary Short summary, shown at the top of the article and on the archive page Plain Text, Markdown, HTML
Introductory Text Introduction to the article Plain Text, Markdown, HTML
Content Body The main article content Plain Text, Markdown, HTML
Published Whether the article is ready to appear on the site Checkbox
Published On Date Publication date and time; articles are sorted by this Date & Time
Search Keywords Extra terms indexed by on-site search but not shown to customers Plain Text (comma separated)
Meta Title Meta title for SEO Plain Text
Meta Keywords Still rendered as a <meta name="keywords"> tag, but no longer a ranking signal Plain Text (comma separated)
Meta Description Meta description for SEO Plain Text

All of these are on the shipped Article page layout. Preview on Site also appears there: it is a read-only link that opens the article on your storefront, so use it to check your work.

:::note The Meta Keywords field no longer affects search ranking. See SEO and site data. :::

Add content to your articles

Articles are often just text and a hero image. To add other media, or to pull in an existing content block, use Liquid in any field that accepts Markdown or HTML.

Publish an article

  1. Open the Article record.
  2. Check Published.
  3. Set Published On Date. A date in the past publishes the article immediately; a date in the future holds it until then.
  4. Select Save.

The article appears at /articles/<path> on your storefront, and in the archive at /articles.

Add articles to article categories

  1. Open the Article record and go to its Related tab.
  2. In the Article Categories related list, select New.
  3. Search for and select the article category.
  4. Select Save.

The article is now reachable at /articles/<category-path>/<article-path> as well as at its own path.

Add a content block with Content Template set to Featured Articles, then choose the articles to show. See content block templates for the fields that template uses.

In this section

Was this article helpful?

Was this article helpful?