This is the complete documentation for STM Blog Pro (version 1.0.0), listed on the Adobe Commerce Marketplace as Blog Pro with AI Assistant. It is a blog for Magento 2 and Adobe Commerce, for Luma and Hyvä: products inside the post, revenue and reading figures per post without cookies, an SEO check and internal links while writing, an AI assistant with your own key, several blogs and languages in one store. Everything on this page is free to read — no registration, no account. The same documents are attached to the Marketplace listing as PDF downloads.

Composer package storetown-media/module-blog via the Adobe Commerce Marketplace (repo.magento.com)
Magento module STM_Blog
Requirements Magento Open Source or Adobe Commerce 2.4.6 to 2.4.9, PHP 8.1 to 8.5; tested with 2.4.8-p4 and PHP 8.4, Luma and Hyvä
Magento versions Magento Open Source, Adobe Commerce and Adobe Commerce Cloud 2.4.6 to 2.4.9
All 34 versions including patches
  • Magento 2.4.92.4.9
  • Magento 2.4.82.4.8, 2.4.8-p1, 2.4.8-p2, 2.4.8-p3, 2.4.8-p4, 2.4.8-p5
  • Magento 2.4.72.4.7, 2.4.7-p1, 2.4.7-p2, 2.4.7-p3, 2.4.7-p4, 2.4.7-p5, 2.4.7-p6, 2.4.7-p7, 2.4.7-p8, 2.4.7-p9, 2.4.7-p10
  • Magento 2.4.62.4.6, 2.4.6-p1, 2.4.6-p2, 2.4.6-p3, 2.4.6-p4, 2.4.6-p5, 2.4.6-p6, 2.4.6-p7, 2.4.6-p8, 2.4.6-p9, 2.4.6-p10, 2.4.6-p11, 2.4.6-p12, 2.4.6-p13, 2.4.6-p14, 2.4.6-p15
In the admin Content › STM Blog · Stores › Configuration › STM Extensions › Blog
Version November 2026 · checked with version 1.0.0

User Guide

Set up and use every feature, with its place in the admin and its effect in the store.

1. Overview

STM Blog Pro is a blog for Magento 2 and Adobe Commerce, for Luma and Hyvä. Posts, categories, tags, authors, series and several blogs in one shop are made in the admin under Content › STM Blog; the settings are under Stores › Configuration › STM Extensions › Blog. The blog puts products inside the post, counts the revenue per post and helps while writing with an SEO check, internal links and an AI assistant.

Features in the order of this guide

  1. Products inside the post: product card, row or comparison with price and cart button, size and colour chosen in the post, Shop the Look
  2. Revenue per post and analytics: carts, orders, reading depth, product clicks, searches without result, a test of two headlines, without cookies
  3. AI assistant with your own Anthropic key, also for translations
  4. SEO check in the editor, link check, notice on posts no other post links to
  5. Google figures per post from Search Console
  6. Internal links from keywords
  7. Editing with approval: status, calendar, editing lock, versions, preview link, trash
  8. Design: six list layouts, design values with a preview, post page, sidebar
  9. Several blogs with their own address, settings and admin roles
  10. Language versions with hreflang
  11. Addresses, search engines and RSS
  12. Moving from another blog, and export
  13. Comments, new posts by e-mail and sharing
  14. Integration: webhooks and REST

Every setting with all values and defaults is in the reference manual, the installation in the installation guide.

Important: The AI assistant needs your own API key at Anthropic; Anthropic bills the use to you directly. Google figures per post need a service account at Google or STM SEO Pro with Search Console connected. Every other feature works without these accesses.
Start page of the blog with list and sidebar (demo)
Start page of the blog with list and sidebar (demo)

2. Getting started

The installation creates a blog named “Blog” with the URL path blog; its start page answers at once at /blog. “Enable STM Blog” is set to “Yes”. Also on by default: own comments with review, the subscription to new posts, the RSS feed, counting views, internal links from keywords and the background check of links. Switched off: the AI assistant and the link in the main menu.

  1. Open Content › STM Blog › Blogs and check the blog: “Name” and “URL Path” set the address, “Heading” and “Introduction” the start page.
  2. Under “Categories”, “Tags” and “Authors” create what your posts need. An author gets a portrait, a role and a page of their own.
  3. Write the first post under Content › STM Blog › Posts with “Add New Post” (chapter 4). It shows in the shop with the status “Published”.
  4. Under Stores › Configuration › STM Extensions › Blog › General set “Link in the Main Menu” to “Yes” so that the blog appears in the main menu.
  5. Make sure Magento’s cron runs every minute. It switches scheduled posts, sends mails and webhooks and checks links.

Under Hyvä the module does not add the blog link to the main menu itself; the switch “Link in the Main Menu” has no effect there. Link the blog in the navigation of your Hyvä theme.

Important: On a live shop change settings in a staging environment or a single store view first, and flush the page cache before you check the shop.

3. The admin at a glance

All pages of the blog are in the menu Content › STM Blog. Each page only shows what the role of the user is allowed to do (chapter 19).

Menu item Purpose
Posts Create, edit, publish and trash posts; columns with SEO check and Google figures
Editorial Calendar Month view of scheduled and published posts
Categories Categories as a tree, with text above and below the posts and a fixed order
Tags Tags
Series and Topics Series in parts and topics with a lead post
Extra Fields Extra fields for posts, per blog
Authors Authors with portrait, role, biography and profile links
Comments Review, approve and answer comments
Internal Links Rules for internal links
Subscribers Subscribers of new posts
Sales from Posts Carts, orders and revenue per post
Blog Analytics Read, product clicks, Google, headline tests, searches without result, dead links
Blogs Blogs with address, start page and settings of their own
Webhooks Messages to Zapier, Make, n8n or another address
Settings Leads to Stores › Configuration › STM Extensions › Blog

The settings under Stores › Configuration › STM Extensions › Blog are arranged in 15 groups. What is set there applies to all blogs; a single blog can override many values for itself (chapter 13).

4. Writing posts

Under Content › STM Blog › Posts, “Add New Post” opens the post form. It has these sections, from top to bottom:

Top of the post form: status, title and second headline for the test
Top of the post form: status, title and second headline for the test
  • General: “Status”, “Title”, “Second Headline (Test)”, “Blog”, “Store View”, “Only for Customer Groups”, “Password”, “Publication Time”, “End of Publication”, “Featured Post” and “Comments Allowed”.
  • Content: “Excerpt”, the text with Page Builder or the editor, “Featured Image” (JPG, PNG, GIF or WebP, at least 1200 px wide) with “Alt Text of the Featured Image”, a separate “List Image”, “Video instead of the Featured Image” and “Picture Gallery”.
  • Categories, Tags and Authors: categories (the first one shows in lists and breadcrumbs), tags, “New Tags” (separated by commas, created on saving), authors in the order chosen, “Series or Topic” with “Part Number”.
  • Related Posts and Products: “Related Posts” by hand, “Product SKUs” and “Products from Categories” (chapter 5).
  • Language Versions: the same post in other store views (chapter 14).
  • Search Engine Optimisation: “Focus Keyword”, “URL Key”, “Meta Title”, “Meta Description”, “Robots” and “Canonical URL”.
  • Page Design and Views: “Page Layout of this Post”, “Layout Handle” for the theme and “Views Added by Hand”.
  • AI Assistant, SEO Check, Preview for Others and Versions (chapters 7, 8 and 11).

Important fields

  • “Publication Time”: empty means the moment of publication. A published post with a later time appears by itself at that time; from “End of Publication” on it is no longer shown. The cron checks this every minute.
  • “Only for Customer Groups”: leave empty to show the post to every visitor. With a choice, only these groups see it; it stays out of the sitemap and the feed unless NOT LOGGED IN is chosen.
  • “Password”: lists, search and sharing show title, excerpt and image; the text opens only after the password, for ten days on that device. The text of a protected post does not appear in lists, the feed, search, the meta description, webhooks or the Markdown version. Search engines only see the password field: the post is NOINDEX and left out of the sitemap and hreflang. The password is stored encrypted.
  • “URL Key”: empty builds it from the title; lower-case letters, digits and hyphens. If you change it later, the old address redirects with 301.
  • “Canonical URL”: only for posts first published elsewhere. Leave empty to use the post’s own address.
  • “Video instead of the Featured Image”: a YouTube or Vimeo address or an MP4 file of the shop. YouTube and Vimeo load only after a click; the featured image is the cover of the video.

The button “Save” has the options “Save & Close” and “Save & Duplicate”; “Save & Duplicate” makes a copy and opens it. “View” shows the post in the shop, also as a draft.

Post page: category, series, headline, excerpt, author, dates, reading time, video and table of contents
Post page: category, series, headline, excerpt, author, dates, reading time, video and table of contents

Series, topics and extra fields

  • Under Content › STM Blog › Series and Topics create a “Kind”: “Series: numbered parts, part 2 of 5” (the post shows “part 2 of 5” and leads from part to part) or “Topic: a lead post and the posts around it” with a “Lead Post” that comes first and links to the others. Series and topics have a page of their own.
  • Under Content › STM Blog › Extra Fields every blog gets extra fields without a developer. “Kind of Field”: “Text, one line”, “Text, several lines”, “Selection”, “Date”, “Number, also with decimals”, “Link”, “Product (SKU)”, “Image”. With “Show under the Post” the field is listed with its value below the text; templates and the interfaces use the value through “Code”.
Series with “part 1 of 2”, extra fields as details, products of the post and share links
Series with “part 1 of 2”, extra fields as details, products of the post and share links

The widget “STM Blog: Content for Customer Groups” shows a CMS block only to chosen customer groups, for example dealer terms, and optionally another block to everybody else. Guests are the group NOT LOGGED IN.

5. Products inside the post

Products get into a post in two ways: as a block inside the text (widget) and as the product list of the post. Prices come from Magento, with the customer group price, tier prices and the tax display of your shop.

Product block in the text

In the editor, insert the widget “STM Blog: Products” with “Insert Widget”. It shows a product card, a row or a comparison table with price, stock and cart button. Sales from it show in the blog’s sales report.

  • “SKUs”: SKUs separated by commas, up to 6, in the order shown.
  • “Show as”: “Product card (one product, with text)”, “Row of products” or “Comparison table”.
  • “Attributes to Compare”: attribute codes separated by commas, for example material,weight; only attributes the shop shows on product pages or in its comparison.
  • “Choose Size and Colour in the Block”: for configurable products the options right in the block; the chosen variant goes into the cart. With “No” a link leads to the product page.
  • “Add-to-Cart Button”: cart button on or off.
Product card in the post with price, stock and cart button
Product card in the post with price, stock and cart button
Row with size and colour right in the post
Row with size and colour right in the post

Shop the Look

The widget “STM Blog: Shop the Look” shows a picture with numbered points on the products, the products below it with price and cart button. “Picture” is a path below pub/media; upload the picture first with “Insert Image”. “Products and Points”: SKU@x,y separated by semicolons, x and y in percent from the top left corner, for example MJ01@35,40; WS03@62,70, at most 8. With “Name in the Sales Report” the picture appears in the sales report; if empty, the file name is used.

Shop the Look: picture with numbered points, the products below it
Shop the Look: picture with numbered points, the products below it

Products of the post

  • In the post form: “Product SKUs” (commas, in the order shown) and “Products from Categories” for the places left free. Only products a visitor can buy. The post also appears on the pages of these products.
  • Under Stores › Configuration › STM Extensions › Blog › Post Page: “Number of Products Shown with a Post” (default “4”; 0 = none), “Products of the Post” (below the text or in the sidebar) and “Complete Products from the Shop Search”: the shop search fills free places with matches for the post’s title and tags.
  • Under Stores › Configuration › STM Extensions › Blog › Product Page: “Posts about the Product” (default “3”) lists posts on the product page that name the product among their products. “Posts on the Order Confirmation” (default “3”, at most 6) shows posts about the ordered products after the order, for example instructions.
Posts on the product page
Posts on the product page

The widget “STM Blog: Posts” shows the newest or the featured posts of a blog in CMS pages and blocks, as “List of titles”, “Tiles with image” or “Slider with image”.

6. Revenue and analytics

Sales from Posts

Content › STM Blog › Sales from Posts shows per post “Put into Carts”, “Orders”, “Quantity Ordered” and “Revenue”, for “7 days”, “30 days”, “90 days”, “12 months” or “All time”, followed by the Shop the Look pictures. It counts products put into the cart with the button of a product block in a post, and the orders of those carts. Revenue is the row total less discount, without tax, in the base currency; cancelled orders do not count. The module sets no cookie for this and stores no personal data.

Sales from posts with Shop the Look pictures (sample data of the demo)
Sales from posts with Shop the Look pictures (sample data of the demo)

Blog Analytics

Content › STM Blog › Blog Analytics needs “Count Views” set to “Yes” (default). Counting is per post and day, without cookies and without personal data. The page has these parts:

  • “Posts read”: “Views” and the reading depth: “Read a quarter”, “Read half”, “Read three quarters”, “Read to the end” (measured at the lower edge of the window).
  • “Product clicks”: clicks on products in the product list of the post and in its product blocks.
  • “Google Search Console, last 28 days”: clicks, impressions and position per post (chapter 9).
  • “Headline tests”: the test of two headlines (below).
  • “Blog searches without result”: topics readers look for and do not find. Words that look like an e-mail address or a phone number are not kept.
  • “Dead links”: links that lead nowhere or are redirected (chapter 8).
Posts read with reading depth (sample data of the demo)
Posts read with reading depth (sample data of the demo)

Test of two headlines

Enter a “Second Headline (Test)” in the post. Every other hour visitors see this headline instead of the title, in lists and on the post, without cookies; search engines always see the title. Clicks per sighting in lists decide; the analytics name a lead from 100 sightings per headline and 95 % certainty, before that they show “Open: not enough difference yet”. Empty the field to end the test.

Headline tests in the analytics (sample data of the demo)
Headline tests in the analytics (sample data of the demo)

7. AI assistant

The assistant works in the post form with Claude by Anthropic. It only makes suggestions: nothing is saved or published without you. Anthropic receives the text of the post (for the alt text also its featured image), no customer data.

  1. Create an API key at Anthropic under console.anthropic.com. The shop’s own account pays for the use.
  2. Under Stores › Configuration › STM Extensions › Blog › AI Assistant: set “AI Assistant in the Post Form” to “Yes”, enter “Anthropic API Key” (stored encrypted), choose “Model of the AI Assistant”.
  3. Give the admin roles that should use the assistant the permission “Use the AI assistant”.

“Model of the AI Assistant”: “Claude Opus 5.5 (best texts)” (default), “Claude Sonnet 5.5 (fast, about half the price)” or “Claude Haiku 5.5 (cheapest)”.

The section “AI Assistant” of the post form has these buttons:

Button Result
“Meta title, description and focus keyword” Suggestions for “Meta Title”, “Meta Description” and “Focus Keyword”, with the number of characters
“Excerpt for lists” Suggestion for “Excerpt”
“Tags for the post” existing tags; the ones already chosen stay
“Alt text for the featured image” the model looks at the featured image itself
“Outline of the post” outline to copy into the text; the form is not changed
“Draft of the text” a first text with marked places for the editor, to copy; runs in the background through the cron
“Internal links” anchor text and target; “Create a link rule” turns it into a rule for internal links
“Fitting products” SKUs added to those already chosen

“Take over” writes a suggestion into the form, “Copy as HTML” copies outline and draft. Then save the post as usual.

AI assistant in the post form with suggestions for meta title, meta description and focus keyword
AI assistant in the post form with suggestions for meta title, meta description and focus keyword

Translating

For a saved post the assistant offers “Translate into” with the store views that have no version of the post yet. “Create the translation as a draft” creates the translation as a new post with the status draft, linked as a language version, with the same categories, tags, authors, products and featured image. Structure and widgets stay; the model translates the text only. Nothing is published by this.

Translating into another store view
Translating into another store view

Every request is logged with step, model, tokens and result, without content (table stm_blog_ai_log).

8. SEO check in the editor

The section “SEO Check” in the post form checks the post while you write and marks every point as a notice or as good. It checks:

  • Page title and meta description: length and whether the focus keyword is in them
  • “Focus Keyword”: in the page title, the meta description, the first paragraph and the URL key; plus a warning when another post of the blog has the same keyword
  • Headings: one h1 (the title), no skipped levels, subheadings in long texts
  • Images: featured image with alt text and width, alt texts of the images in the text
  • Links: internal and external links; “Check links” asks the addresses whether they still answer and reports dead and redirected links
  • Incoming links: how many other posts link to this one; without one, only lists lead to it
  • Readability: sentence length, paragraph length and Flesch reading ease
  • Google: clicks, impressions and position of the last 28 days, when figures exist (chapter 9)
SEO check in the post form
SEO check in the post form

In the post grid the column “SEO Check” shows the result of every post, the column “Linked from Posts” the number of posts that link to it in their text. The cron works this number out every hour.

With “Check Links of Published Posts in the Background” set to “Yes” (default) the cron checks the links of published posts in the background: five posts every 15 minutes, each at most once a week, changed posts first. Dead and redirected links are listed in “Blog Analytics”. Addresses of private networks are not asked.

9. Google figures per post

Clicks, impressions and position of every post over the last 28 days, with the hints “Losing places” and “On page 2”, appear in the post grid, the SEO check and “Blog Analytics”. They are read every night.

  • With STM SEO Pro: if STM SEO Pro reads Search Console, the blog uses its figures; nothing needs to be set here.
  • With your own access: create a service account in the Google Cloud console, switch on the Search Console API and add the e-mail address of the service account as a user of the property in Search Console. Under Stores › Configuration › STM Extensions › Blog › Google Search Console enter the whole JSON key file in “Service Account (Key File)” (stored encrypted, never shown again) and “Search Console Property” as Search Console names it, for example sc-domain:example.com or https://www.example.com/.
Post grid with the columns for incoming links, Google figures, missing store views and SEO check
Post grid with the columns for incoming links, Google figures, missing store views and SEO check

The columns are called “Google Clicks (28 Days)”, “Google Position” and “Google Hint”. With “Losing places” the check suggests comparing the post with the pages now in front of it; with “On page 2” a better title, more internal links or a richer text may bring it to page 1.

10. Internal links

Under Content › STM Blog › Internal Links you create rules: keywords that become links in the text of posts. “Internal Links from Keywords” is set to “Yes” by default, “Automatic Links per Post at Most” to “5”.

  • “Keywords”: one keyword or phrase per line. Only whole words are linked, the longer phrase first.
  • “Link Target”: a path of this shop starting with /, or a full address starting with https://.
  • “Links per Post”: how many occurrences in one post become links, from the first on, at most 10.
  • “Match Upper and Lower Case”: for abbreviations such as SAP that should not match an ordinary word.

Never inside headings, existing links, buttons, code or product blocks. Links the author set by hand do not count towards the maximum. Every rule applies to one blog.

Rule for internal links
Rule for internal links

11. Editing with approval

A post goes the way “Draft” → “Ready for Review” → “Approved, not Published” → “Published”. Only published posts are shown in the shop.

  • A role without the permission “Publish, schedule and edit published posts” writes drafts and asks for a review; it can neither approve nor publish nor change a published post. If it changes an approved post, the post goes back to “Ready for Review”.
  • Without the permission “Edit posts of other authors” a role edits only its own posts.
  • “Reviewers‘ E-mail Addresses” under Stores › Configuration › STM Extensions › Blog › Writing and Versions: these addresses get a mail with a preview link (7 days) and the link to the post as soon as a post is set to “Ready for Review”. Separate several with commas.

Editorial Calendar

Content › STM Blog › Editorial Calendar shows the posts of a month by their publication day, with a filter by blog and the list “Without a publication date (…)”.

Editorial calendar
Editorial calendar

Editing lock and autosave

If someone else has the post open, the form shows a notice with their name. If the post was saved since you opened it, your save is refused; your text stays in the form. Saving again overwrites the other changes; to keep them, reload the post and take your text over. “Autosave Every … Seconds” (default “60” seconds, at least 15, 0 = off) stores the open form as “unsaved changes” in the version history, without changing the post.

Versions

Every save that changes a post adds a version; “Versions Kept per Post” (default “30”, 0 = no history) limits their number. In the section “Versions”, “Compare” compares a version with the post, “Restore” replaces texts, image, SEO fields and assignments; status, dates and URL stay as they are, the current state remains in the history.

Versions of a post
Versions of a post

Preview for Others

For a client or proofreader without an admin login: “Create a preview link” makes a link “Valid for” 1, 7 or 30 days. It shows the saved state. “End all preview links of this post” revokes all links of the post.

Preview link for others
Preview link for others

Trash

A deleted post first goes offline into the trash: post grid, filter “Publication State” set to “In the Trash”. There the mass action “Restore from the Trash” brings it back with its status. After “Days in the Trash” (default “30”) the cron deletes it for good; 0 deletes at once, without trash. Posts deleted through the REST API are deleted for good at once.

12. Design

The blog takes fonts and colours from the theme. “List Layout” under Stores › Configuration › STM Extensions › Blog › General offers six layouts: “List: picture beside the text”; “Magazine: the newest post large, the others in two columns”; “Grid: picture above the text, in columns”; “Editorial: text only, large titles”; “Minimal: date and title, one line each”; “Timeline: grouped by month”.

Under Stores › Configuration › STM Extensions › Blog › Blog Design, “Picture Format in Lists”, “Columns of the Grid”, “Spacing”, “Show the Teaser in Lists”, “Font of the Headings”, “Accent Colour” and “Line Length of Posts” adjust the blog. The accent colour needs a contrast of at least 4.5 : 1 on white; otherwise it is refused. “Own CSS” loads rules of your own after the blog’s styles.

“Design Preview” shows the real page of the shop below the fields with the values set there, before they are saved, as desktop or phone. Only the person who opened this admin page sees the preview.

Design preview below the fields of the group Blog Design
Design preview below the fields of the group Blog Design

Post page

Under Stores › Configuration › STM Extensions › Blog › Post Page you control the post page: “Page Layout”, “Show Authors”, “Show Publication Date”, “Show the Date of the Last Change”, “Show Reading Time”, “Table of Contents”, “Table of Contents Position”, “Reading Progress Bar”, “Links to the Previous and Next Post”, “Show Tags below the Post” and “Show Author Profile below the Post”. Related posts: “Number of Related Posts” (default “3”), “Complete Related Posts Automatically”, “Related Posts as” as “Row of cards” or “Carousel (scrolls sideways)”, plus “More from the Same Category” and “More by the Same Author”.

“Page Layout of the List Pages” applies to the lists, “Page Layout” to posts: “One column”, “Two columns, sidebar on the right” or “Two columns, sidebar on the left”. A single post or category can get a page layout of its own and a layout handle of its own for the theme (stm_blog_custom_<value>).

Sidebar

The sidebar appears on the list pages and on posts with a two-column layout. Under Stores › Configuration › STM Extensions › Blog › Sidebar you switch “Blog Search”, “Categories” (with “Fold Subcategories”), “Recent Posts”, “Popular Posts”, “Authors”, “Archive by Month”, “Tags” and “Link to the RSS Feed”; “Banner (CMS Block)” shows a CMS block, for example an offer. With “Sidebar Stays in View” the sidebar moves along on wide screens. The table of contents and the products of the post can also go into the sidebar.

“Popular Posts” needs “Count Views”; it ranks by the views counted in the last 30 days (default).

Post with the table of contents in the sidebar
Post with the table of contents in the sidebar

Video, gallery and search

  • The widget “STM Blog: Video” embeds a YouTube or Vimeo video that loads only after a click, or an MP4 file of the shop.
  • “Picture Gallery” in the post shows pictures below the text that open large on a click.
  • The blog search finds every word in any order, also as the beginning of a longer word, in title, text, categories, tags and authors; hits in the title rank first. Under Stores › Configuration › STM Extensions › Blog › Search in Blog and Shop, “Posts in the Shop Search” and “Posts in the Search Suggestions” set how many posts appear in the shop search and in the search suggestions (Luma and Hyvä); 0 switches it off.
Picture gallery below the text
Picture gallery below the text
Post in the suggestions of the shop search (Luma)
Post in the suggestions of the shop search (Luma)

Images: when a post or author is saved, WebP copies are made in the widths 480, 800, 1200, 1600 px, with “AVIF Copies of Pictures” also AVIF. Pages give width and height so nothing jumps while loading. After switching on AVIF run bin/magento stm:blog:images once.

13. Several blogs

Under Content › STM Blog › Blogs you create further blogs, for example guides or news. Every blog has a “Name”, a “URL Path”, a start page with “Heading” and “Introduction”, meta data of its own and its own categories, tags, fields and rules for internal links.

  • “Display of This Blog”, “Post Page of This Blog”, “Sidebar of This Blog”, “Comments, Subscription, Feed and SEO of This Blog” and “Access in the Admin”: here a blog overrides the settings. What stays on “As in the configuration” follows the configuration. A theme can give the blog a layout of its own through the layout handle stm_blog_channel_<code>.
  • “Only for These Admin Roles”: leave empty so that every role with blog permissions works on this blog. With a choice, only these roles see its posts, categories, tags, comments and subscribers, in the admin and through REST. Users with full access always do; only they can change this list.
  • “Posts without the Blog Path”: posts at the shop address plus URL key (/my-post instead of /blog/my-post); start page, categories and tags stay below the blog path. Former addresses redirect with 301. A URL key already used by a page of the shop is refused when saving. Only for one blog per shop.
  • “Start Page of the Blog” set to “Introduction only, built with widgets” shows only the introduction of the blog; build the start page with Page Builder and the widgets “STM Blog: Posts” and “STM Blog: Products”.
Access to a blog for chosen admin roles only
Access to a blog for chosen admin roles only

14. Languages

A post applies to the store views you choose under “Store View”. The version in another language is a post of its own with store views of its own; in the section “Language Versions” you link the versions under “Versions in Other Languages”. Search engines learn about them through hreflang in the page head and in the sitemap, and the language switcher leads from one version to the other.

hreflang needs an address of its own for every language. If store views in another language share the domain of the default store view (language by cookie), the module adds ?___store=<code> so search engines reach every version without a cookie. Store views in the same language share one address.

The column “Missing in Store View” of the post grid shows what is left to translate. The AI assistant creates translations as drafts (chapter 7).

Language versions of a post
Language versions of a post

15. Addresses, search engines and feed

The URL path of each blog is set on the blog itself. Under Stores › Configuration › STM Extensions › Blog › Permalinks the words follow it: “Category Pages”, “Tag Pages”, “Author Pages”, “Archive Pages”, “Search Page”, “RSS Feed” and “Series and Topic Pages”, for example blog/category/news. A post cannot use the word of the search page or of the feed as its URL key.

  • “Page Number in the Address”: “As parameter: /blog?p=2” or “In the path: /blog/page/2”; the other form leads there with 301, so former addresses (for example /blog/page/2 of Magefan Blog) keep working.
  • “Addresses Ending with a Slash” set to “Yes” (default): /blog/post/ leads with 301 to /blog/post, so every page has one address.
  • Changed URL keys and paths redirect from the old address with 301.
  • “Removed Posts”: what the address of a post answers that was public and is gone: “Not found (404)”, “301 to the first category of the post, else the blog” or “301 to the start page of the blog”.

Under Stores › Configuration › STM Extensions › Blog › Search Engine Optimisation you set robots per page type (by default: blog start page, categories, posts and authors “INDEX, FOLLOW”; tags, archive and search “NOINDEX, FOLLOW”); posts and categories can override the value on their own form. Every blog page carries exactly one canonical tag. “Structured Data Type of Posts” (default “BlogPosting”, or “Article” or “NewsArticle”) writes the structured data as JSON-LD with author, publisher, dates, image and breadcrumbs.

XML sitemap: the blog pages are added to Magento’s sitemaps (Marketing › Site Map), with hreflang of the language versions. Under Stores › Configuration › STM Extensions › Blog › XML Sitemap you choose “Posts and Blog Start Pages”, “Categories”, “Tags” and “Authors”, plus “Frequency” and “Priority”. Pages set to NOINDEX are left out.

RSS: every blog has a feed at its path plus “RSS Feed” (default feed). “Enable RSS Feed” and “Number of Posts in the Feed” are under Stores › Configuration › STM Extensions › Blog › RSS Feed.

For AI assistants: every post is also available as Markdown, at its address plus .md; the page head of the post names this address.

Markdown version of a post
Markdown version of a post

16. Moving and export

The import takes over categories, tags, authors, posts with their links and images, comments, and creates 301 redirects from the old addresses. It runs on the console:

bin/magento stm:blog:import <source> [--run]
Source From
magefan Magefan Blog
mageplaza Mageplaza Blog
mirasvit Mirasvit Blog
aheadworks Aheadworks Blog
amasty Amasty Blog
wordpress WordPress
joomla Joomla
drupal Drupal
hubspot HubSpot
csv CSV file
stm JSON file of another shop with STM Blog Pro
  • Without --run it is a dry run: everything is done and rolled back at the end; the report shows exactly what the real run would do. The real run is all or nothing (one database transaction).
  • The source is this shop’s database; with --db-host, --db-name and --db-user another one. Its password is read from the environment variable STM_BLOG_IMPORT_DB_PASSWORD, never from the command line.
  • WordPress: --url of the site (its REST API is read) or --file of an export file (WXR). HubSpot: access token in STM_BLOG_IMPORT_HUBSPOT_TOKEN. CSV: --file.
  • --blog chooses the target blog, --limit takes only the newest posts for a first look, --no-images and --no-redirects leave out images and redirects. With --old-post, --old-category, --old-tag and --old-suffix you give different old addresses, with --old-host a former domain.
  • Whatever the module would refuse is settled first and warned about in the report: a URL key in use gets a number, a missing product is left out. A second run of the same source updates what the first one made.

If page numbers and posts looked different in the old blog, set “Page Number in the Address” and “Posts without the Blog Path” to match (chapters 15 and 13).

Export

bin/magento stm:blog:export --format=csv writes the posts of a blog as CSV (semicolon, UTF-8, opens as it is in Excel; --delimiter=, for other programs). Read in again with stm:blog:import csv, the file updates the posts it came from. --format=json writes the whole blog with images and comments for another shop (stm:blog:import stm). Without --file the file goes to var/export/.

17. Comments, subscription and sharing

“Comments” under Stores › Configuration › STM Extensions › Blog › Comments: “Own comments (stored in the shop)” (default), “Facebook, after a click”, “Disqus, after a click” or “No comments”. Facebook and Disqus load only after the visitor clicks, with a note that data goes to them.

  • Own comments need no third party and no captcha: a hidden field, a signed form token, a limit per hour (“Comments per Address and Hour”) and a link limit (“Links before a Comment Is Held Back”) keep robots out. No IP address is stored.
  • “Review Comments before They Appear” (default “Yes”): comments wait for review under Content › STM Blog › Comments. “Publish Comments of Logged-in Customers at Once” publishes comments of logged-in customers at once. Without review, comments with too many links still wait.
  • In the comment, “Status” sets “Approved”; the “Answer from the Shop” appears at once under the shop’s name (“Name on Answers from the Shop”). One reply level; comments can be switched off in each post with “Comments Allowed”.
  • ““Helpful“ Button under Comments”, “Comments Shown at First” and “Tell the Shop about New Comments by E-mail”; “Privacy Policy” links the privacy policy next to the consent at the form.
  • The cron cleans up: the values for the hourly limit after two days, spam and rejected comments after 30 days, unconfirmed requests for answer mails after 7 days.
Comments with an answer from the shop and “Helpful”
Comments with an answer from the shop and “Helpful”

New Posts by E-mail

Readers sign up below posts and in the sidebar and confirm by e-mail (double opt-in); every mail has an unsubscribe link. Under Stores › Configuration › STM Extensions › Blog › New Posts by E-mail: “Offer the Subscription”, “Rhythm” (“As soon as a post appears” or “Once a week, all new posts in one mail”), “Weekday” and “Mails per Run”. Every 15 minutes at most this many mails go out; the rest follows in the next run. Subscribers are listed under Content › STM Blog › Subscribers; a subscription becomes active only through the confirmation link.

Sign-up for new posts
Sign-up for new posts

The mails use the templates “STM Blog: New Comment (to the shop)”, “STM Blog: Confirm Mails about Answers”, “STM Blog: Answer to a Comment”, “STM Blog: Confirm the Subscription to New Posts”, “STM Blog: Post Ready for Review (to the reviewers)”, “STM Blog: New Posts” under Marketing › Email Templates.

Sharing

“Share Links” under Stores › Configuration › STM Extensions › Blog › Post Page: plain links to the share pages of the networks, without script and without tracking; nothing is loaded before a click. To choose from: LinkedIn, X, Facebook, Pinterest (only on posts with a featured image), Bluesky, WhatsApp, “E-mail” and “Copy link”. “Order of the Share Links” sets the order, for example whatsapp,linkedin,email.

Share links below the post
Share links below the post

Data requests

bin/magento stm:blog:privacy <e-mail> shows the comments and subscriptions of an e-mail address; with --erase it deletes them.

18. Integration

Webhooks

Under Content › STM Blog › Webhooks you report posts to Zapier, Make, n8n or any public address. “Events”: “Post published (once, also when scheduled)”, “Published post changed”, “Post taken offline or deleted”. Every request carries the headers webhook-id, webhook-timestamp and webhook-signature (Standard Webhooks, HMAC-SHA256); with the “Signing Secret” the receiver can check that it comes from your shop. If a delivery fails, new attempts follow after 1, 5 and 30 minutes, 2 and 12 hours, with the same message ID; after the sixth attempt it has failed. The form has a test button and the log of deliveries.

REST

35 routes below /rest/V1/stm-blog/… for posts, categories, tags, authors, blogs, comments, subscribers and images, with an admin or integration token. Every route checks the permission of the action; the approval rules apply as in the admin. The list is in the reference manual.

19. Permissions, troubleshooting and support

Under System › Permissions › User Roles you grant the 41 permissions of “STM Blog” individually, for example “Publish, schedule and edit published posts”, “Edit posts of other authors”, “Use the AI assistant” and “Settings”. The reference manual lists them all.

Symptom Cause and solution
The blog answers with 404 “Enable STM Blog” is set to “No” in this website or store view, or the blog is not active under “Blogs”.
A scheduled post does not appear It needs the status “Published”, and Magento’s cron must run (job stm_blog_publication, every minute).
The AI assistant shows only a notice It is switched off under Stores › Configuration › STM Extensions › Blog › AI Assistant, or the role lacks the permission “Use the AI assistant”.
Popular posts or the analytics stay empty “Count Views” is set to “No”.
No Google figures Neither does STM SEO Pro read Search Console nor are “Service Account (Key File)” and “Search Console Property” entered; the figures arrive every night.
Subscription mails do not go out The cron is not running (job stm_blog_send_new_posts, every 15 minutes), or the subscription is not confirmed yet.
Images without WebP or AVIF copies After switching on AVIF run bin/magento stm:blog:images; --force writes existing copies again.
Changes do not show in the shop Flush the page cache and check that the setting applies to the right website or store view and whether the blog overrides it under “Blogs”.

bin/magento stm:blog:status lists every blog with its posts, categories and tags.

Questions and support: moin@storetown-media.de, with Magento version, PHP version and the error message.

Installation Guide

Install with Composer, check, update and remove.

1. Requirements

Item Requirement
Magento Magento Open Source or Adobe Commerce 2.4.6 to 2.4.9; tested with 2.4.8-p4
PHP 8.1 to 8.5; tested with 8.4
Composer 2.x, with the access keys of your Marketplace account
Themes Luma and Hyvä; the blog pages need neither jQuery nor RequireJS
Cron Running Magento cron for scheduled posts, mails, webhooks, the link check and the trash
Optional An API key at Anthropic for the AI assistant; a Google service account for Google figures per post

Back up files and database before installing. Install in a staging environment first.

2. Installation with Composer

  1. In the Adobe Commerce Marketplace, open My Profile › Access Keys. The public key is the username, the private key the password for repo.magento.com.
  2. Run in the Magento root directory (where app and bin are). If Composer asks for credentials, enter the keys; Composer stores them in auth.json.
composer require storetown-media/module-blog

Composer also installs Anthropic’s official PHP library (anthropic-ai/sdk), which the AI assistant uses. Then enable the module and run the setup:

bin/magento module:enable STM_Blog
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush

setup:static-content:deploy is needed in production mode, with the languages of your store views, for example de_DE en_US. If setup:di:compile stops for lack of memory, run it as php -d memory_limit=-1 bin/magento setup:di:compile.

3. Check the installation

bin/magento module:status STM_Blog
bin/magento stm:blog:status
  • The module must be reported as enabled. stm:blog:status lists every blog with its posts, categories and tags; after installation that is one blog with the path blog.
  • In the admin the menu Content › STM Blog appears; the settings are under Stores › Configuration › STM Extensions › Blog.

4. After installation

  • First post: under Content › STM Blog › Posts with “Add New Post”. The blog can be reached at /blog.
  • By default: “Enable STM Blog” is set to “Yes”. The AI assistant and the link in the main menu are off; comments with review, the subscription to new posts, RSS and counting views are on.
  • Hyvä: under Hyvä the module does not add the blog link to the main menu itself; link the blog in the navigation of your theme.
  • Cron: bin/magento cron:run must run every minute. The jobs of the module run in the group default.
  • The user guide covers setup and features, the reference manual every setting.

5. Updating

composer update storetown-media/module-blog
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush

Your posts and settings stay in the database.

6. Removing

bin/magento module:disable STM_Blog
composer remove storetown-media/module-blog
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush

The tables stm_blog_*, the images below pub/media/stm_blog and the settings remain; only delete them after a backup. The blog addresses and their redirects no longer answer afterwards.

7. Troubleshooting

Symptom Cause and solution
Blank page or error 500 after installation setup:di:compile did not finish. Run it again with php -d memory_limit=-1, then cache:flush.
Admin pages look unstyled In production mode run setup:static-content:deploy -f for the languages of the admin.
Menu Content › STM Blog missing The user role lacks the permissions below STM_Blog::main; then run cache:clean config.
The blog answers with 404 “Enable STM Blog” is set to “No” in this website or store view, or the blog is not active.
Scheduled posts, mails or webhooks do not arrive Magento’s cron is not running. Check bin/magento cron:run.

Questions about the installation: moin@storetown-media.de, with Magento version, PHP version and the error message.

Reference Manual

Every setting with its default, admin pages, permissions, console commands and cron jobs.

1. How to read this manual

This manual lists every setting of the module in the order of the backend: 15 groups with 124 fields in total under Stores › Configuration › STM Extensions › Blog. The tables are generated from the program code of version 1.0.0, so they match your backend. How to set up and use the features is shown in the user guide.

  • Setting: the label in the backend, below it the configuration path (for bin/magento config:set) and the narrowest scope in which you can change the value. “Store view” means it can be set per language or store; “also per blog”: a blog can override the value under Content › STM Blog › Blogs.
  • Default: the value after installation, as long as you save nothing (from etc/config.xml).
  • Values: the choices the field offers, or the kind of input.
  • Description: the help text you also see below the field in the backend, and when the field is shown.

The menu item Content › STM Blog › Settings leads there as well.

2. The groups at a glance

Group Fields Content
General 8 –
Blog Design 10 The blog takes fonts and colours from the theme. These values adjust it; the list layout is chosen under General.
Writing and Versions 3 –
AI Assistant 3 Suggestions for meta title and description, focus keyword, excerpt, tags, the alt text of the featured image and an outline, in the post form. Nothing is saved or published without you: every suggestion has to be taken over and the post saved by hand. The text of the post (and for the alt text its featured image) is sent to Anthropic; no customer data.
Permalinks 10 The URL path of each blog is set on the blog itself (Content › STM Blog › Blogs). These words follow it, for example blog/category/news. A post cannot use the word of the search page or of the RSS feed as its URL key.
Post Page 31 –
Comments 16 Own comments need no third party and no captcha: a hidden field, a signed form token, a limit per hour and a link limit keep robots out. No IP address is stored. Comments can be switched off on each post.
New Posts by E-mail 4 Readers sign up below posts and in the sidebar and confirm by e-mail (double opt-in). Every mail has an unsubscribe link. Subscribers are listed under Content › STM Blog › Subscribers. The mails use the templates „STM Blog: …“ (Marketing › Email Templates).
Product Page 2 –
Google Search Console 2 Clicks, impressions and position of every post (last 28 days), with the hints „losing places“ and „on page 2“, in the post grid, the SEO check and Blog Analytics; read every night. With STM SEO Pro reading Search Console, its figures are used and nothing is needed here. Otherwise: a service account in the Google Cloud console with the Search Console API switched on, its e-mail address added as a user of the property in Search Console.
Sidebar 15 The sidebar is shown on the list pages of the blog, and on posts with a two-column page layout.
Search in Blog and Shop 2 The blog search finds every word in any order, also as the beginning of a longer word, in title, text, categories, tags and authors; hits in the title rank first.
Search Engine Optimisation 10 Posts and categories can override the robots value on their own form. Every blog page carries exactly one canonical tag.
XML Sitemap 6 The blog pages are added to Magento’s sitemaps (Marketing › Site Map). Pages set to NOINDEX are left out.
RSS Feed 2 –

3. Group “General”

Stores › Configuration › STM Extensions › Blog · stm_blog/general

Setting Default Values Description
Enable STM Blog
stm_blog/general/enabled
Store view
Yes Yes · No No = the blog pages answer with 404 in this scope. Posts and settings are kept.
Posts per Page
stm_blog/general/posts_per_page
Store view; also per blog
10 Text
List Layout
stm_blog/general/list_layout
Store view; also per blog
List: picture beside the text List: picture beside the text
Magazine: the newest post large, the others in two columns
Grid: picture above the text, in columns
Editorial: text only, large titles
Minimal: date and title, one line each
Timeline: grouped by month
Six layouts; picture format, columns, spacing and teaser are set under Design.
Link in the Main Menu
stm_blog/general/menu_link
Store view
No Yes · No Adds every active blog at the end of the main menu, with the heading of its start page as the label.
Featured Posts First on the Start Page
stm_blog/general/featured_first
Store view; also per blog
No Yes · No Posts marked as featured lead the start page of the blog; the others follow, newest first.
Start Page of the Blog
stm_blog/general/start_page
Store view; also per blog
Introduction and list of posts Introduction and list of posts
Introduction only, built with widgets
„Introduction only“ shows the introduction of the blog (Content › STM Blog › Blogs) without the list: build the start page there with Page Builder and the widgets „STM Blog: Posts“ (newest, featured, per category, as slider) and „STM Blog: Products“.
Days in the Trash
stm_blog/general/trash_days
Global
30 Text A deleted post first goes to the trash and offline: post grid, filter Publication State „In the Trash“, where it can be restored. After this many days it is deleted for good. 0 = delete at once, without trash.
Page Layout of the List Pages
stm_blog/general/list_page_layout
Store view; also per blog
Two columns, sidebar on the right One column
Two columns, sidebar on the right
Two columns, sidebar on the left
Start page, categories, tags, authors, archive and search. The blog sidebar is shown with two columns.

4. Group “Blog Design”

Stores › Configuration › STM Extensions › Blog · stm_blog/design

The blog takes fonts and colours from the theme. These values adjust it; the list layout is chosen under General.

Setting Default Values Description
Picture Format in Lists
stm_blog/design/image_ratio
Store view; also per blog
3 : 2 (photo) 3 : 2 (photo) · 16 : 9 (wide) · 4 : 3 · 1 : 1 (square)
Columns of the Grid
stm_blog/design/grid_columns
Store view; also per blog
Three Three · Two
Spacing
stm_blog/design/density
Store view; also per blog
Comfortable Comfortable · Compact
Show the Teaser in Lists
stm_blog/design/excerpt
Store view; also per blog
Yes Yes · No
Font of the Headings
stm_blog/design/heading_font
Store view; also per blog
Font of the theme Font of the theme · Serif (Georgia) · Sans serif (system font)
Accent Colour
stm_blog/design/accent
Store view; also per blog
empty Text Hex value, for example #1f4e79. Colours the category above titles, labels and the reading progress. Needs a contrast of at least 4.5 : 1 on white. Leave empty to use the theme’s text colour.
Line Length of Posts
stm_blog/design/measure
Store view; also per blog
Normal Narrow · Normal · Wide Normal suits most fonts: around 70 characters per line.
AVIF Copies of Pictures
stm_blog/design/avif
Global
No Yes · No WebP copies in four widths are always made. AVIF is smaller still, but takes longer to make. After switching it on, run bin/magento stm:blog:images once.
Own CSS
stm_blog/design/custom_css
Store view
empty Multi-line text Loaded after the blog’s own styles on every blog page, for small adjustments. Classes start with stm-blog. For larger changes a theme is the better place (layout handle stm_blog_channel_ per blog).
Design Preview
stm_blog/design/preview
Store view
empty Preview of the real blog page, stores nothing

5. Group “Writing and Versions”

Stores › Configuration › STM Extensions › Blog · stm_blog/editor

Setting Default Values Description
Versions Kept per Post
stm_blog/editor/revisions
Global
30 Text Every save that changes a post adds a version that can be compared and restored. The oldest ones are removed beyond this number. 0 = no version history.
Autosave Every … Seconds
stm_blog/editor/autosave_interval
Global
60 Text The open form of a saved post is stored as „unsaved changes“ in its version history, without changing the post. At least 15 seconds. 0 = no autosave.
Reviewers‘ E-mail Addresses
stm_blog/editor/review_emails
Global
empty Text When a post is set to „Ready for review“, these addresses get a mail with a preview link (7 days) and the link to the post. Separate several with commas. Empty = no mail.

6. Group “AI Assistant”

Stores › Configuration › STM Extensions › Blog · stm_blog/ai

Suggestions for meta title and description, focus keyword, excerpt, tags, the alt text of the featured image and an outline, in the post form. Nothing is saved or published without you: every suggestion has to be taken over and the post saved by hand. The text of the post (and for the alt text its featured image) is sent to Anthropic; no customer data.

Setting Default Values Description
AI Assistant in the Post Form
stm_blog/ai/enabled
Global
No Yes · No
Anthropic API Key
stm_blog/ai/api_key
Global
empty Stored encrypted, not shown again From console.anthropic.com. Stored encrypted. The shop’s own account pays for the use.
Only shown when “AI Assistant in the Post Form” = Yes
Model of the AI Assistant
stm_blog/ai/model
Global
Claude Opus 5.5 (best texts) Claude Opus 5.5 (best texts)
Claude Sonnet 5.5 (fast, about half the price)
Claude Haiku 5.5 (cheapest)
Opus writes the best texts; Sonnet is cheaper and fast; Haiku is the cheapest and fine for meta texts and tags.
Only shown when “AI Assistant in the Post Form” = Yes

7. Group “Permalinks”

Stores › Configuration › STM Extensions › Blog · stm_blog/permalink

The URL path of each blog is set on the blog itself (Content › STM Blog › Blogs). These words follow it, for example blog/category/news. A post cannot use the word of the search page or of the RSS feed as its URL key.

Setting Default Values Description
Category Pages
stm_blog/permalink/category_route
Store view
category Text
Tag Pages
stm_blog/permalink/tag_route
Store view
tag Text
Author Pages
stm_blog/permalink/author_route
Store view
author Text
Archive Pages
stm_blog/permalink/archive_route
Store view
archive Text
Search Page
stm_blog/permalink/search_route
Store view
search Text
RSS Feed
stm_blog/permalink/feed_route
Store view
feed Text
Series and Topic Pages
stm_blog/permalink/series_route
Store view
series Text
Page Number in the Address
stm_blog/permalink/page_style
Store view
As parameter: /blog?p=2 As parameter: /blog?p=2 · In the path: /blog/page/2 Of list pages from page 2 on. The other form leads there with 301, so former addresses (for example /blog/page/2 of Magefan Blog) keep working.
Word for the Page Number
stm_blog/permalink/page_route
Store view
page Text Only shown when “Page Number in the Address” = In the path: /blog/page/2
Addresses Ending with a Slash
stm_blog/permalink/trailing_slash
Store view
Yes Yes · No Yes: /blog/post/ leads with 301 to /blog/post, so every page has one address. No: both answer, the canonical link names the one without slash.

8. Group “Post Page”

Stores › Configuration › STM Extensions › Blog · stm_blog/post

Setting Default Values Description
Page Layout
stm_blog/post/layout
Store view; also per blog
One column One column
Two columns, sidebar on the right
Two columns, sidebar on the left
One column gives the text a comfortable line length. With two columns the blog sidebar is shown beside the post.
Show Authors
stm_blog/post/show_author
Store view; also per blog
Yes Yes · No
Show Publication Date
stm_blog/post/show_date
Store view; also per blog
Yes Yes · No
Date Format
stm_blog/post/date_format
Store view; also per blog
Long, for example 10 November 2026 Long, for example 10 November 2026
Medium, for example 10 Nov 2026
Short, for example 10/11/2026
Show the Date of the Last Change
stm_blog/post/show_modified
Store view; also per blog
Yes Yes · No Shown beside the publication date when the post was changed on a later day.
Show Reading Time
stm_blog/post/show_reading_time
Store view; also per blog
Yes Yes · No
Words per Minute
stm_blog/post/words_per_minute
Store view
200 Text Reading speed the reading time is worked out with. 200 suits most languages.
Only shown when “Show Reading Time” = Yes
Show Tags below the Post
stm_blog/post/show_tags
Store view; also per blog
Yes Yes · No
Show Author Profile below the Post
stm_blog/post/show_author_box
Store view; also per blog
Yes Yes · No Portrait, role and biography of each author with a link to the author page.
Table of Contents
stm_blog/post/toc
Store view; also per blog
Yes Yes · No Built from the subheadings of the post and placed above the text.
Show from … Subheadings on
stm_blog/post/toc_min
Store view; also per blog
3 Text Only shown when “Table of Contents” = Yes
Headings in the Table of Contents
stm_blog/post/toc_depth
Store view; also per blog
Main subheadings (H2) Main subheadings (H2) · Two levels (H2 and H3) Only shown when “Table of Contents” = Yes
Table of Contents Position
stm_blog/post/toc_position
Store view
In the text column In the text column · In the sidebar Above the text, or in the sidebar (needs a two-column page layout for posts; with „Sidebar Stays in View“ it moves along).
Reading Progress Bar
stm_blog/post/progress
Store view; also per blog
Yes Yes · No A thin line at the top of the window that fills while the post is read.
Progress Bar Position
stm_blog/post/progress_position
Store view
Top of the window Top of the window · Bottom of the window Only shown when “Reading Progress Bar” = Yes
Progress Bar Height in Pixels
stm_blog/post/progress_height
Store view
3 Text 1 to 12.
Only shown when “Reading Progress Bar” = Yes
Progress Bar Colour
stm_blog/post/progress_color
Store view
empty Text A colour like #1a5d8f. Empty: the accent colour of the blog, else the text colour.
Only shown when “Reading Progress Bar” = Yes
Progress Bar Opacity in Percent
stm_blog/post/progress_opacity
Store view
100 Text 10 to 100.
Only shown when “Reading Progress Bar” = Yes
Links to the Previous and Next Post
stm_blog/post/prev_next
Store view; also per blog
Yes Yes · No
Count Views
stm_blog/post/count_views
Store view
Yes Yes · No Counted per post and day without cookies and without personal data: views, how far the text was read, clicks on products of the post, blog searches without result. The numbers are the basis of „Popular Posts“ and of STM Blog › Blog Analytics.
Show the Number of Views on the Post
stm_blog/post/show_views
Store view; also per blog
No Yes · No Only shown when “Count Views” = Yes
Share Links
stm_blog/post/share
Store view
LinkedIn, X, Facebook, WhatsApp, E-mail, Copy link LinkedIn · X · Facebook · Pinterest · Bluesky · WhatsApp · E-mail · Copy link Plain links to the share pages of the networks: no script, no tracking, nothing is loaded before a click. Pinterest appears only on posts with a featured image. Choose none for no share links.
Order of the Share Links
stm_blog/post/share_order
Store view
empty Text Optional: the chosen networks in your order, separated by commas, for example whatsapp,linkedin,email. Codes: linkedin, x, facebook, pinterest, bluesky, whatsapp, email, copy. Networks not named follow in the usual order.
Number of Related Posts
stm_blog/post/related_count
Store view; also per blog
3 Text Shown below the post. The posts chosen on the post come first. 0 = no related posts.
Complete Related Posts Automatically
stm_blog/post/related_auto
Store view; also per blog
Yes Yes · No When fewer posts were chosen by hand, the posts that share the most tags and categories fill the remaining places.
Related Posts as
stm_blog/post/related_layout
Store view
Row of cards Row of cards · Carousel (scrolls sideways)
More from the Same Category
stm_blog/post/more_category_count
Store view
0 Text Newest posts of the post’s first category below the text; 0 = none. Posts already shown as related are left out.
More by the Same Author
stm_blog/post/more_author_count
Store view
0 Text Newest posts of the post’s first author below the text; 0 = none.
Products of the Post
stm_blog/post/products_position
Store view
In the text column In the text column · In the sidebar Below the text, or in the sidebar (needs a two-column page layout for posts).
Number of Products Shown with a Post
stm_blog/post/products_count
Store view; also per blog
4 Text Shown with image and price: first the SKUs entered on the post, then products of its product categories. 0 = no products.
Complete Products from the Shop Search
stm_blog/post/products_auto
Store view; also per blog
No Yes · No Places that SKUs and product categories leave free are filled with the best matches of the shop’s own search for the post’s title and tags. Only products a visitor can buy. The search terms report stays untouched.

9. Group “Comments”

Stores › Configuration › STM Extensions › Blog · stm_blog/comments

Own comments need no third party and no captcha: a hidden field, a signed form token, a limit per hour and a link limit keep robots out. No IP address is stored. Comments can be switched off on each post.

Setting Default Values Description
Comments
stm_blog/comments/type
Store view; also per blog
Own comments (stored in the shop) Own comments (stored in the shop)
Facebook, after a click
Disqus, after a click
No comments
Facebook and Disqus are loaded only after the visitor clicks, with a note that data goes to them.
Guests May Comment
stm_blog/comments/guests
Store view; also per blog
Yes Yes · No Only shown when “Comments” = Own comments (stored in the shop)
Review Comments before They Appear
stm_blog/comments/moderation
Store view; also per blog
Yes Yes · No Without review, comments with too many links or sent without the page’s script still wait for review.
Only shown when “Comments” = Own comments (stored in the shop)
Publish Comments of Logged-in Customers at Once
stm_blog/comments/approve_customers
Store view
No Yes · No Only shown when “Comments” = Own comments (stored in the shop) and “Review Comments before They Appear” = Yes
Comments Shown at First
stm_blog/comments/initial_count
Store view
0 Text Threads shown before „Show more comments“; 0 = all. A link to a comment further down opens them all. Without script all are shown.
„Helpful“ Button under Comments
stm_blog/comments/helpful
Store view
Yes Yes · No Readers mark good answers; the number shows under the comment. One vote per comment and day from one address, without cookie or account.
Only shown when “Comments” = Own comments (stored in the shop)
Maximum Length in Characters
stm_blog/comments/max_length
Store view
3000 Text Only shown when “Comments” = Own comments (stored in the shop)
Comments per Address and Hour
stm_blog/comments/rate_limit
Store view
5 Text Only shown when “Comments” = Own comments (stored in the shop)
Links before a Comment Is Held Back
stm_blog/comments/max_links
Store view
2 Text Only shown when “Comments” = Own comments (stored in the shop)
Privacy Policy
stm_blog/comments/privacy_url
Store view
privacy-policy-cookie-restriction-mode Text URL key of a CMS page or a full address. Linked from the consent next to the form.
Only shown when “Comments” = Own comments (stored in the shop)
Tell the Shop about New Comments by E-mail
stm_blog/comments/notify_admin
Store view
Yes Yes · No Only shown when “Comments” = Own comments (stored in the shop)
Send to
stm_blog/comments/admin_email
Store view
empty Text Leave empty to use the general contact of the store.
Only shown when “Comments” = Own comments (stored in the shop) and “Tell the Shop about New Comments by E-mail” = Yes
Sender of the Mails
stm_blog/comments/sender
Store view
general Senders from Stores › Configuration › General › Store Email Addresses Only shown when “Comments” = Own comments (stored in the shop)
Name on Answers from the Shop
stm_blog/comments/shop_name
Store view
empty Text Leave empty to use the store name.
Only shown when “Comments” = Own comments (stored in the shop)
Facebook App ID
stm_blog/comments/facebook_app_id
Store view
empty Text Only shown when “Comments” = Facebook, after a click
Disqus Shortname
stm_blog/comments/disqus_shortname
Store view
empty Text Only shown when “Comments” = Disqus, after a click

10. Group “New Posts by E-mail”

Stores › Configuration › STM Extensions › Blog · stm_blog/subscribe

Readers sign up below posts and in the sidebar and confirm by e-mail (double opt-in). Every mail has an unsubscribe link. Subscribers are listed under Content › STM Blog › Subscribers. The mails use the templates „STM Blog: …“ (Marketing › Email Templates).

Setting Default Values Description
Offer the Subscription
stm_blog/subscribe/enabled
Store view; also per blog
Yes Yes · No
Rhythm
stm_blog/subscribe/rhythm
Global
As soon as a post appears As soon as a post appears
Once a week, all new posts in one mail
Only shown when “Offer the Subscription” = Yes
Weekday
stm_blog/subscribe/weekday
Global
1 Weekdays Sent from 8 o’clock in the store’s time zone.
Only shown when “Offer the Subscription” = Yes and “Rhythm” = Once a week, all new posts in one mail
Mails per Run
stm_blog/subscribe/batch
Global
200 Text Every 15 minutes at most this many mails go out; the rest follows in the next run.
Only shown when “Offer the Subscription” = Yes

11. Group “Product Page”

Stores › Configuration › STM Extensions › Blog · stm_blog/product

Setting Default Values Description
Posts about the Product
stm_blog/product/posts_count
Store view
3 Text Posts that name the product among their products are listed on its page, newest first. 0 = none.
Posts on the Order Confirmation
stm_blog/product/order_posts_count
Store view
3 Text After the order: posts about the ordered products (posts that name them among their products), those about more of them first. Brings buyers back to the blog, for example with instructions for use. 0 = none, at most 6.

12. Group “Google Search Console”

Stores › Configuration › STM Extensions › Blog · stm_blog/search_console

Clicks, impressions and position of every post (last 28 days), with the hints „losing places“ and „on page 2“, in the post grid, the SEO check and Blog Analytics; read every night. With STM SEO Pro reading Search Console, its figures are used and nothing is needed here. Otherwise: a service account in the Google Cloud console with the Search Console API switched on, its e-mail address added as a user of the property in Search Console.

Setting Default Values Description
Service Account (Key File)
stm_blog/search_console/service_account
Website
empty Text field; the stored key is not shown again The whole JSON key file. Kept encrypted and never shown again; empty the field to remove it.
Search Console Property
stm_blog/search_console/property
Store view
empty Text As Search Console names it: sc-domain:example.com or https://www.example.com/.

13. Group “Sidebar”

Stores › Configuration › STM Extensions › Blog · stm_blog/sidebar

The sidebar is shown on the list pages of the blog, and on posts with a two-column page layout.

Setting Default Values Description
Blog Search
stm_blog/sidebar/search
Store view; also per blog
Yes Yes · No
Categories
stm_blog/sidebar/categories
Store view; also per blog
Yes Yes · No
Fold Subcategories
stm_blog/sidebar/collapse_categories
Store view
No Yes · No Subcategories open with a button; the branch of the current category stays open. Without script all are shown.
Recent Posts
stm_blog/sidebar/recent
Store view; also per blog
Yes Yes · No
Number of Recent Posts
stm_blog/sidebar/recent_count
Store view; also per blog
5 Text Only shown when “Recent Posts” = Yes
Popular Posts
stm_blog/sidebar/popular
Store view; also per blog
Yes Yes · No The most read posts of the last days. Needs „Count Views“ on the post page settings.
Number of Popular Posts
stm_blog/sidebar/popular_count
Store view; also per blog
5 Text Only shown when “Popular Posts” = Yes
Popular within … Days
stm_blog/sidebar/popular_days
Store view
30 Text Only shown when “Popular Posts” = Yes
Archive by Month
stm_blog/sidebar/archive
Store view; also per blog
Yes Yes · No
Tags
stm_blog/sidebar/tags
Store view; also per blog
Yes Yes · No
Authors
stm_blog/sidebar/authors
Store view
No Yes · No The authors with posts in this blog, with the number of their posts.
Link to the RSS Feed
stm_blog/sidebar/rss
Store view; also per blog
Yes Yes · No
Banner (CMS Block)
stm_blog/sidebar/banner
Store view
empty None or one of your CMS blocks A CMS block shown in the sidebar, for example an offer or a newsletter note. Content › Blocks.
Banner Position
stm_blog/sidebar/banner_position
Store view
At the bottom At the top · At the bottom
Sidebar Stays in View
stm_blog/sidebar/sticky
Store view
No Yes · No On wide screens the sidebar moves along while the page scrolls; a sidebar taller than the window scrolls on its own.

14. Group “Search in Blog and Shop”

Stores › Configuration › STM Extensions › Blog · stm_blog/search

The blog search finds every word in any order, also as the beginning of a longer word, in title, text, categories, tags and authors; hits in the title rank first.

Setting Default Values Description
Posts in the Shop Search
stm_blog/search/catalog_posts
Store view
3 Text Matching posts below the products of the shop search, also when no product matches. 0 switches it off.
Posts in the Search Suggestions
stm_blog/search/suggest_posts
Store view
3 Text Matching posts as links below the suggestions while the visitor types into the shop’s search field (Luma and Hyvä), at most 8. 0 switches it off.

15. Group “Search Engine Optimisation”

Stores › Configuration › STM Extensions › Blog · stm_blog/seo

Posts and categories can override the robots value on their own form. Every blog page carries exactly one canonical tag.

Setting Default Values Description
Robots: Blog Start Page, Categories and Posts
stm_blog/seo/robots_list
Store view; also per blog
INDEX, FOLLOW INDEX, FOLLOW
NOINDEX, FOLLOW
INDEX, NOFOLLOW
NOINDEX, NOFOLLOW
Robots: Tag Pages
stm_blog/seo/robots_tag
Store view
NOINDEX, FOLLOW INDEX, FOLLOW
NOINDEX, FOLLOW
INDEX, NOFOLLOW
NOINDEX, NOFOLLOW
Robots: Author Pages
stm_blog/seo/robots_author
Store view
INDEX, FOLLOW INDEX, FOLLOW
NOINDEX, FOLLOW
INDEX, NOFOLLOW
NOINDEX, NOFOLLOW
Robots: Archive Pages
stm_blog/seo/robots_archive
Store view
NOINDEX, FOLLOW INDEX, FOLLOW
NOINDEX, FOLLOW
INDEX, NOFOLLOW
NOINDEX, NOFOLLOW
Robots: Search Results
stm_blog/seo/robots_search
Store view
NOINDEX, FOLLOW INDEX, FOLLOW
NOINDEX, FOLLOW
INDEX, NOFOLLOW
NOINDEX, NOFOLLOW
Structured Data Type of Posts
stm_blog/seo/schema_type
Store view; also per blog
BlogPosting BlogPosting · Article · NewsArticle Written as JSON-LD together with author, publisher, dates, image and breadcrumbs.
Internal Links from Keywords
stm_blog/seo/auto_links
Store view
Yes Yes · No Keywords of the rules under STM Blog › Internal Links become links in the text of posts. Never inside headings, existing links, buttons, code or product blocks.
Automatic Links per Post at Most
stm_blog/seo/auto_links_max
Store view
5 Text 0 = as many as the rules allow. Links the author set by hand do not count.
Only shown when “Internal Links from Keywords” = Yes
Removed Posts
stm_blog/seo/gone_redirect
Store view
Not found (404) Not found (404)
301 to the first category of the post, else the blog
301 to the start page of the blog
What the address of a post answers that was public and is gone: deleted, set back to draft or past its end of publication. A post that was never public, a scheduled post and a post hidden from a customer group stay „not found“.
Check Links of Published Posts in the Background
stm_blog/seo/link_check
Global
Yes Yes · No Every 15 minutes five posts, each at most once a week, changed posts first. Links that lead nowhere or are redirected appear under STM Blog › Blog Analytics. Addresses of private networks are not asked.

16. Group “XML Sitemap”

Stores › Configuration › STM Extensions › Blog · stm_blog/sitemap

The blog pages are added to Magento’s sitemaps (Marketing › Site Map). Pages set to NOINDEX are left out.

Setting Default Values Description
Posts and Blog Start Pages
stm_blog/sitemap/posts
Store view
Yes Yes · No
Categories
stm_blog/sitemap/categories
Store view
Yes Yes · No
Tags
stm_blog/sitemap/tags
Store view
No Yes · No
Authors
stm_blog/sitemap/authors
Store view
Yes Yes · No
Frequency
stm_blog/sitemap/changefreq
Store view
Weekly Always · Hourly · Daily · Weekly · Monthly · Yearly · Never
Priority
stm_blog/sitemap/priority
Store view
0.5 Text A value between 0 and 1.

17. Group “RSS Feed”

Stores › Configuration › STM Extensions › Blog · stm_blog/rss

Setting Default Values Description
Enable RSS Feed
stm_blog/rss/enabled
Store view; also per blog
Yes Yes · No
Number of Posts in the Feed
stm_blog/rss/limit
Store view
20 Text Only shown when “Enable RSS Feed” = Yes

18. Settings per blog

In the form of a blog (Content › STM Blog › Blogs) these 46 settings override the configuration for this one blog. What stays on “As in the configuration” follows the configuration. The URL path, the start page, the meta data and the admin roles of a blog are set there only.

Group Setting Path
General List Layout stm_blog/general/list_layout
General Posts per Page stm_blog/general/posts_per_page
General Page Layout of the List Pages stm_blog/general/list_page_layout
General Featured Posts First on the Start Page stm_blog/general/featured_first
General Start Page of the Blog stm_blog/general/start_page
Blog Design Picture Format in Lists stm_blog/design/image_ratio
Blog Design Columns of the Grid stm_blog/design/grid_columns
Blog Design Spacing stm_blog/design/density
Blog Design Show the Teaser in Lists stm_blog/design/excerpt
Blog Design Font of the Headings stm_blog/design/heading_font
Blog Design Accent Colour stm_blog/design/accent
Blog Design Line Length of Posts stm_blog/design/measure
Post Page Page Layout stm_blog/post/layout
Post Page Date Format stm_blog/post/date_format
Post Page Show Authors stm_blog/post/show_author
Post Page Show Publication Date stm_blog/post/show_date
Post Page Show the Date of the Last Change stm_blog/post/show_modified
Post Page Show Reading Time stm_blog/post/show_reading_time
Post Page Table of Contents stm_blog/post/toc
Post Page Show from … Subheadings on stm_blog/post/toc_min
Post Page Headings in the Table of Contents stm_blog/post/toc_depth
Post Page Reading Progress Bar stm_blog/post/progress
Post Page Links to the Previous and Next Post stm_blog/post/prev_next
Post Page Show the Number of Views on the Post stm_blog/post/show_views
Post Page Show Tags below the Post stm_blog/post/show_tags
Post Page Show Author Profile below the Post stm_blog/post/show_author_box
Post Page Number of Related Posts stm_blog/post/related_count
Post Page Complete Related Posts Automatically stm_blog/post/related_auto
Post Page Number of Products Shown with a Post stm_blog/post/products_count
Post Page Complete Products from the Shop Search stm_blog/post/products_auto
Sidebar Blog Search stm_blog/sidebar/search
Sidebar Categories stm_blog/sidebar/categories
Sidebar Recent Posts stm_blog/sidebar/recent
Sidebar Number of Recent Posts stm_blog/sidebar/recent_count
Sidebar Popular Posts stm_blog/sidebar/popular
Sidebar Number of Popular Posts stm_blog/sidebar/popular_count
Sidebar Archive by Month stm_blog/sidebar/archive
Sidebar Tags stm_blog/sidebar/tags
Sidebar Link to the RSS Feed stm_blog/sidebar/rss
Comments Comments stm_blog/comments/type
Comments Guests May Comment stm_blog/comments/guests
Comments Review Comments before They Appear stm_blog/comments/moderation
New Posts by E-mail Offer the Subscription stm_blog/subscribe/enabled
RSS Feed Enable RSS Feed stm_blog/rss/enabled
Search Engine Optimisation Robots: Blog Start Page, Categories and Posts stm_blog/seo/robots_list
Search Engine Optimisation Structured Data Type of Posts stm_blog/seo/schema_type

19. Admin pages, menu and permissions

All pages are under Content › STM Blog:

Menu item Admin route Permission
Posts stm_blog/entity/index/type/post STM_Blog::post
Posts
Editorial Calendar stm_blog/calendar/index STM_Blog::calendar
Editorial calendar
Categories stm_blog/entity/index/type/category STM_Blog::category
Categories
Tags stm_blog/entity/index/type/tag STM_Blog::tag
Tags
Series and Topics stm_blog/entity/index/type/series STM_Blog::series
Series and Topics
Extra Fields stm_blog/entity/index/type/field STM_Blog::field
Extra Fields
Authors stm_blog/entity/index/type/author STM_Blog::author
Authors
Comments stm_blog/entity/index/type/comment STM_Blog::comment
Comments
Internal Links stm_blog/entity/index/type/link STM_Blog::link
Internal Links
Subscribers stm_blog/entity/index/type/subscriber STM_Blog::subscriber
Subscribers
Sales from Posts stm_blog/report/sales STM_Blog::report
Sales from Posts
Blog Analytics stm_blog/report/analytics STM_Blog::analytics
Blog Analytics
Blogs stm_blog/entity/index/type/channel STM_Blog::channel
Blogs
Webhooks stm_blog/entity/index/type/webhook STM_Blog::webhook
Webhooks
Settings adminhtml/system_config/edit/section/stm_blog STM_Blog::config
Settings

Under System › Permissions › User Roles you grant the permissions individually. The entry of an area allows its list and form; saving, deleting and further actions are permissions of their own. Without “Publish, schedule and edit published posts” a role writes drafts only and asks for a review; without “Edit posts of other authors” it edits only its own posts.

Permission ID
STM Blog STM_Blog::main
    Posts STM_Blog::post
        Create and edit STM_Blog::post_save
        Publish, schedule and edit published posts STM_Blog::post_publish
        Delete STM_Blog::post_delete
        Edit posts of other authors STM_Blog::post_others
        Editorial calendar STM_Blog::calendar
    Categories STM_Blog::category
        Create and edit STM_Blog::category_save
        Delete STM_Blog::category_delete
    Tags STM_Blog::tag
        Create and edit STM_Blog::tag_save
        Delete STM_Blog::tag_delete
    Authors STM_Blog::author
        Create and edit STM_Blog::author_save
        Delete STM_Blog::author_delete
    Comments STM_Blog::comment
        Moderate, edit and answer STM_Blog::comment_save
        Delete STM_Blog::comment_delete
    Subscribers STM_Blog::subscriber
        Change status STM_Blog::subscriber_save
        Delete STM_Blog::subscriber_delete
    Series and Topics STM_Blog::series
        Create and edit STM_Blog::series_save
        Delete STM_Blog::series_delete
    Extra Fields STM_Blog::field
        Create and edit STM_Blog::field_save
        Delete STM_Blog::field_delete
    Internal Links STM_Blog::link
        Create and edit STM_Blog::link_save
        Delete STM_Blog::link_delete
    Use the AI assistant STM_Blog::ai
    Sales from Posts STM_Blog::report
    Blog Analytics STM_Blog::analytics
    Webhooks STM_Blog::webhook
        Create, edit and test STM_Blog::webhook_save
        Delete STM_Blog::webhook_delete
    Blogs STM_Blog::channel
        Create and edit STM_Blog::channel_save
        Delete STM_Blog::channel_delete
    Settings STM_Blog::config

20. Widgets

Under Content › Widgets or via “Insert Widget” in the editor of a CMS page, a CMS block or a post:

Widget Content Parameters
STM Blog: Posts The newest or the featured posts of a blog, for CMS pages, blocks and Page Builder Heading, Blog, Only from Category, Featured Posts Only, Number of Posts, Display Options
STM Blog: Products One product, a row of products or a comparison table with live price, stock and an add-to-cart button; sales from it show in the blog’s sales report SKUs, Show as, Attributes to Compare, Heading, Choose Size and Colour in the Block, Add-to-Cart Button
STM Blog: Shop the Look A picture with numbered points on the products, the products below it with price and cart; revenue per picture Picture, Alt Text of the Picture, Products and Points, Heading, Name in the Sales Report, Add-to-Cart Button
STM Blog: Video A YouTube or Vimeo video that loads only after a click, or an MP4 file of the shop Video Address, Title of the Video, Caption
STM Blog: Content for Customer Groups A CMS block only chosen customer groups see, for example terms for dealers; another one for everybody else Customer Groups, CMS Block for These Groups, CMS Block for Everybody Else, Look

21. Console commands

Command Effect and options
bin/magento stm:blog:privacy <email> Shows the comments and subscriptions of an e-mail address; with --erase it deletes them.
--erase
bin/magento stm:blog:export Writes the posts of a blog as CSV, or the whole blog as JSON for another shop.
--format, --blog, --file, --delimiter
bin/magento stm:blog:images Makes the WebP and AVIF copies of all featured images and portraits.
--force
bin/magento stm:blog:import <source> Imports posts, categories, tags, authors and comments from another blog; without --run a dry run only. Sources: magefan, mageplaza, mirasvit, aheadworks, amasty, wordpress, joomla, drupal, hubspot, csv, stm.
--run, --blog, --prefix, --db-host, --db-name, --db-user, --no-images, --no-redirects, --old-post, --old-category, --old-tag, --old-topic, --old-suffix, --url, --file, --content-type, --category-field, --files-path, --hubspot-blog, --wp-user, --limit, --old-host
bin/magento stm:blog:reindex Writes the search text of all posts again.
bin/magento stm:blog:status Lists every blog with its posts, categories and tags.

Passwords and access tokens for the import come from environment variables: STM_BLOG_IMPORT_DB_PASSWORD, STM_BLOG_IMPORT_WP_PASSWORD, STM_BLOG_IMPORT_HUBSPOT_TOKEN.

22. Cron jobs

Job Schedule Task
stm_blog_publication * * * * * Scheduled posts appear and ended posts disappear within a minute.
stm_blog_ai_jobs * * * * * Runs steps of the AI assistant that work in the background (draft).
stm_blog_webhooks * * * * * Announces scheduled posts, sends the webhook queue, removes old deliveries.
stm_blog_send_new_posts */15 * * * * Sends mails about new posts to subscribers, at most “Mails per Run” per run.
stm_blog_link_check 7,22,37,52 * * * * Checks the links of published posts, five posts per run, each at most once a week.
stm_blog_empty_trash 27 3 * * * Deletes posts for good that have been in the trash longer than “Days in the Trash”.
stm_blog_incoming_links 41 * * * * Counts per post the links from other posts (column “Linked from Posts”).
stm_blog_search_console 47 4 * * * Reads the Google figures per post, from STM SEO Pro or with the blog’s own access.
stm_blog_comment_cleanup 17 3 * * * Clears limit values, spam, rejected comments and unconfirmed mail requests.

All jobs run in the cron group default and need a running Magento cron (bin/magento cron:run every minute).

23. Database tables

Table Content (comment in the schema)
stm_blog_channel channels (blogs)
stm_blog_post posts
stm_blog_post_revision post revisions
stm_blog_stat_daily daily numbers per post
stm_blog_post_related post to related post
stm_blog_post_product post to product
stm_blog_import_map imported entries
stm_blog_post_product_category post to product category
stm_blog_url_history former URL keys and paths
stm_blog_post_customer_group post to customer group
stm_blog_comment comments
stm_blog_subscriber subscribers of new posts
stm_blog_post_store post to store view (0 = all)
stm_blog_category categories
stm_blog_tag tags
stm_blog_author authors
stm_blog_post_category post to category
stm_blog_post_tag post to tag
stm_blog_post_author post to author
stm_blog_sale products put into the cart from a post, and their orders
stm_blog_field extra fields of posts
stm_blog_series series and topics
stm_blog_post_lock posts open in the admin
stm_blog_ai_log requests of the AI assistant
stm_blog_ai_job jobs of the AI assistant
stm_blog_link_rule rules for internal links
stm_blog_stat_product clicks on products of a post per day
stm_blog_stat_search blog searches without results per day
stm_blog_link_check when the links of a post were checked
stm_blog_dead_link links that lead nowhere or are redirected
stm_blog_webhook webhooks
stm_blog_webhook_delivery webhook deliveries and their queue
stm_blog_webhook_post posts as announced by webhooks
stm_blog_stat_headline headline test per day, post and variant

24. REST

REST below /rest/V1/stm-blog/… with an admin or integration token; each route checks the permission of its action. PUT changes only the fields sent; the publish permission works as in the admin. DELETE removes posts for good, without trash.

Route Method Permission
/V1/stm-blog/posts/:id GET STM_Blog::post
/V1/stm-blog/posts GET STM_Blog::post
/V1/stm-blog/posts POST STM_Blog::post_save
/V1/stm-blog/posts/:id PUT STM_Blog::post_save
/V1/stm-blog/posts/:id DELETE STM_Blog::post_delete
/V1/stm-blog/categories/:id GET STM_Blog::category
/V1/stm-blog/categories GET STM_Blog::category
/V1/stm-blog/categories POST STM_Blog::category_save
/V1/stm-blog/categories/:id PUT STM_Blog::category_save
/V1/stm-blog/categories/:id DELETE STM_Blog::category_delete
/V1/stm-blog/tags/:id GET STM_Blog::tag
/V1/stm-blog/tags GET STM_Blog::tag
/V1/stm-blog/tags POST STM_Blog::tag_save
/V1/stm-blog/tags/:id PUT STM_Blog::tag_save
/V1/stm-blog/tags/:id DELETE STM_Blog::tag_delete
/V1/stm-blog/authors/:id GET STM_Blog::author
/V1/stm-blog/authors GET STM_Blog::author
/V1/stm-blog/authors POST STM_Blog::author_save
/V1/stm-blog/authors/:id PUT STM_Blog::author_save
/V1/stm-blog/authors/:id DELETE STM_Blog::author_delete
/V1/stm-blog/blogs/:id GET STM_Blog::channel
/V1/stm-blog/blogs GET STM_Blog::channel
/V1/stm-blog/blogs POST STM_Blog::channel_save
/V1/stm-blog/blogs/:id PUT STM_Blog::channel_save
/V1/stm-blog/blogs/:id DELETE STM_Blog::channel_delete
/V1/stm-blog/comments/:id GET STM_Blog::comment
/V1/stm-blog/comments GET STM_Blog::comment
/V1/stm-blog/comments/:id PUT STM_Blog::comment_save
/V1/stm-blog/comments/:id DELETE STM_Blog::comment_delete
/V1/stm-blog/subscribers/:id GET STM_Blog::subscriber
/V1/stm-blog/subscribers GET STM_Blog::subscriber
/V1/stm-blog/subscribers/:id PUT STM_Blog::subscriber_save
/V1/stm-blog/subscribers/:id DELETE STM_Blog::subscriber_delete
/V1/stm-blog/images POST STM_Blog::post_save
/V1/stm-blog/info GET STM_Blog::main

25. Mail templates and addresses in the shop

Mail template ID
STM Blog: New Comment (to the shop) stm_blog_comment_admin
STM Blog: Confirm Mails about Answers stm_blog_comment_confirm
STM Blog: Answer to a Comment stm_blog_comment_reply
STM Blog: Confirm the Subscription to New Posts stm_blog_subscribe_confirm
STM Blog: Post Ready for Review (to the reviewers) stm_blog_review_request
STM Blog: New Posts stm_blog_new_posts
Address (default words) Page
/blog Start page of the blog; the path is set on the blog
/blog/<url-key> Post (or without the blog path, if set)
/blog/<url-key>.md Post as Markdown
/blog/category/…, /blog/tag/…, /blog/author/… Category, tag, author
/blog/archive/…, /blog/search Archive by month, search
/blog/series/… Series or topic
/blog/feed RSS feed

26. Languages, updates, uninstall

  • Languages: English, German, Czech, Danish, Spanish, French, Italian, Dutch, Polish, Portuguese, Swedish (i18n/*.csv). A Magento language pack can override single short texts.
  • Update: composer update storetown-media/module-blog, then bin/magento setup:upgrade, in production mode also setup:di:compile and setup:static-content:deploy, then cache:flush.
  • Switching off without uninstalling: set “Enable STM Blog” to “No”, for all or a single website or store view; the blog pages answer with 404 there, posts and settings are kept.
  • Uninstall: bin/magento module:disable STM_Blog, composer remove storetown-media/module-blog, setup:upgrade. The tables stm_blog_*, the images below pub/media/stm_blog and the settings remain; only delete them after a backup.

Questions and support: moin@storetown-media.de.

Support

Questions about the extension are answered through the support link on its Marketplace listing. For pre-sales questions and custom requirements, get in touch.