Skip to content
Available for new work
Pages in Blog

GuidePremium

The article rail in CoullWorks Blog for Magento 2

The four sections of the quick-access rail beside an article (On this page, Key takeaways, Written by and share links, Related), where each one's content comes from, and when a section is left out.

Updated 17 November 2026Back to the package pageBuy

The rail is the column beside an article that uses the Article with quick-access rail template. How to choose that template is on Templates and layouts. The rail has four sections, always in this order: On this page, Key takeaways, Written by, Related.

A section with nothing to show is left out and the others close up. There is nothing to configure in the rail itself: each section is filled from the post, as described below. On a narrow screen the rail is hidden. A closed On this page disclosure appears above the body instead (the contents list only, not the other three sections), and it closes again after a link is pressed.

The screenshots below are crops of the rail on the demo post "How to pitch a tent in the wind" at 1440 pixels.

On this page#

The contents list is built from the headings in the rendered article. It takes the second-level headings and, nested under their section, the third-level ones. Each heading is given a stable address (a slug, and a number added if two are the same) so the links keep working; an id already on a heading is kept. The list is hidden when the article has no headings.

To fill it, give the article headings. In the Page Builder content, use a Heading or the heading inside text. You do not need to add anything else, and the contents list the module's Table of contents content type builds uses the same source, so the two always agree.

The On this page section of the rail: six headings, one nested

On this page: "Pitch it before you need it", "Check the pitch, not just the tent", "Banner and figure", "Callouts and quotes", "Compare the options" and "Common questions", with "Ready to pick one?" indented beneath the last as a sub-heading.

While a reader scrolls, the heading in view is marked in the list. Pressing a link scrolls smoothly to the heading, or jumps straight to it for readers whose system asks for reduced motion, and the list works as plain links if scripts do not run.

Key takeaways#

The list comes from the post's own Key Takeaways rows. To fill it:

  1. Open the post in Content, CoullWorks Blog, Posts.
  2. Open the Key Takeaways section and add one row for each takeaway.
  3. Save the post.

The Key takeaways section of the rail: three bullet points

Key takeaways: "Pitch it in the garden first, in daylight.", "Face the narrow end into the wind." and "Peg guylines at forty-five degrees."

A post with no takeaways has no section. On the plain Article template the same takeaways are shown as a box under the introduction instead.

This section always appears. It shows the post's author (avatar, name linked to the author page, job title) and a row of share buttons. A post with no author shows the heading Share and the buttons alone.

The buttons are plain links, with no third-party script or tracking pixel loaded by the page: X, LinkedIn, Facebook, Bluesky, Email, and Copy link. The first four open the network's own share page in a new tab; Email opens the reader's mail program with the title and address filled in; Copy link copies the post address.

The Written by section of the rail: the author Maya Hart, Gear editor, and six round share buttons

Written by: Maya Hart's avatar, her name and "Gear editor", and a row of six round buttons labelled X, in, f, bs, an envelope and a copy icon.

To change the author, choose a different one in the post form. Authors are managed under Content, CoullWorks Blog, Authors.

The section shows related posts first, then related products, and is left out when there are neither.

  • Related posts. The ones chosen in the post's Related Posts and Products section, up to three, shown as a small image and the title. Only posts the reader may see are shown, in the order you chose them.
  • Related products. The products chosen in the same section come first, then products matched by the rule in that section, up to the rule's limit. Only products that can be bought and found on the storefront are shown, each with its image, name and price.

To fill it:

  1. Open the post and the Related Posts and Products section.
  2. Under Related Posts, pick posts. Under Related Products, pick products, and optionally set a rule and its limit.
  3. Save the post.

The Related section of the rail: two posts and two products with prices

Related: two posts, "A boot fitting checklist" and "Layering for wet, cold days", then two products, "Trail Pyramid Tent, 2 Person" at £189.00 and "Family Dome Tent, 4 Person" at £249.00.

The related products are also listed as mentions in the article's structured data (see SEO output), and the page cache for the post is cleaned when one of those products changes.

Available for new work

UK based · PHP · Python · JS · TS. Every first call is free.