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.9All 34 versions including patches
|
| 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
- Products inside the post: product card, row or comparison with price and cart button, size and colour chosen in the post, Shop the Look
- Revenue per post and analytics: carts, orders, reading depth, product clicks, searches without result, a test of two headlines, without cookies
- AI assistant with your own Anthropic key, also for translations
- SEO check in the editor, link check, notice on posts no other post links to
- Google figures per post from Search Console
- Internal links from keywords
- Editing with approval: status, calendar, editing lock, versions, preview link, trash
- Design: six list layouts, design values with a preview, post page, sidebar
- Several blogs with their own address, settings and admin roles
- Language versions with hreflang
- Addresses, search engines and RSS
- Moving from another blog, and export
- Comments, new posts by e-mail and sharing
- Integration: webhooks and REST
Every setting with all values and defaults is in the reference manual, the installation in the installation guide.

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.
- Open Content › STM Blog › Blogs and check the blog: “Name” and “URL Path” set the address, “Heading” and “Introduction” the start page.
- Under “Categories”, “Tags” and “Authors” create what your posts need. An author gets a portrait, a role and a page of their own.
- Write the first post under Content › STM Blog › Posts with “Add New Post” (chapter 4). It shows in the shop with the status “Published”.
- Under Stores › Configuration › STM Extensions › Blog › General set “Link in the Main Menu” to “Yes” so that the blog appears in the main menu.
- 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.
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:

- 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.

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”.

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.


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.

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.

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.

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).

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.

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.
- Create an API key at Anthropic under console.anthropic.com. The shop’s own account pays for the use.
- 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”.
- 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.

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.

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)

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.comorhttps://www.example.com/.

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 withhttps://. - “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.

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 (…)”.

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.

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.

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.

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).

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.


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-postinstead 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”.

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).

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/2of 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.

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
--runit 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-nameand--db-useranother one. Its password is read from the environment variableSTM_BLOG_IMPORT_DB_PASSWORD, never from the command line. - WordPress:
--urlof the site (its REST API is read) or--fileof an export file (WXR). HubSpot: access token inSTM_BLOG_IMPORT_HUBSPOT_TOKEN. CSV:--file. --blogchooses the target blog,--limittakes only the newest posts for a first look,--no-imagesand--no-redirectsleave out images and redirects. With--old-post,--old-category,--old-tagand--old-suffixyou give different old addresses, with--old-hosta 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.

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.

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.

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
- 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. - Run in the Magento root directory (where
appandbinare). If Composer asks for credentials, enter the keys; Composer stores them inauth.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:statuslists every blog with its posts, categories and tags; after installation that is one blog with the pathblog. - 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:runmust run every minute. The jobs of the module run in the groupdefault. - 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 Blogstm_blog/general/enabledStore view |
Yes | Yes · No | No = the blog pages answer with 404 in this scope. Posts and settings are kept. |
Posts per Pagestm_blog/general/posts_per_pageStore view; also per blog |
10 | Text | |
List Layoutstm_blog/general/list_layoutStore 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 Menustm_blog/general/menu_linkStore 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 Pagestm_blog/general/featured_firstStore 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 Blogstm_blog/general/start_pageStore 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 Trashstm_blog/general/trash_daysGlobal |
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 Pagesstm_blog/general/list_page_layoutStore 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 Listsstm_blog/design/image_ratioStore view; also per blog |
3 : 2 (photo) | 3 : 2 (photo) · 16 : 9 (wide) · 4 : 3 · 1 : 1 (square) | |
Columns of the Gridstm_blog/design/grid_columnsStore view; also per blog |
Three | Three · Two | |
Spacingstm_blog/design/densityStore view; also per blog |
Comfortable | Comfortable · Compact | |
Show the Teaser in Listsstm_blog/design/excerptStore view; also per blog |
Yes | Yes · No | |
Font of the Headingsstm_blog/design/heading_fontStore view; also per blog |
Font of the theme | Font of the theme · Serif (Georgia) · Sans serif (system font) | |
Accent Colourstm_blog/design/accentStore 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 Postsstm_blog/design/measureStore view; also per blog |
Normal | Narrow · Normal · Wide | Normal suits most fonts: around 70 characters per line. |
AVIF Copies of Picturesstm_blog/design/avifGlobal |
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 CSSstm_blog/design/custom_cssStore 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 Previewstm_blog/design/previewStore 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 Poststm_blog/editor/revisionsGlobal |
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 … Secondsstm_blog/editor/autosave_intervalGlobal |
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 Addressesstm_blog/editor/review_emailsGlobal |
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 Formstm_blog/ai/enabledGlobal |
No | Yes · No | |
Anthropic API Keystm_blog/ai/api_keyGlobal |
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 Assistantstm_blog/ai/modelGlobal |
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 Pagesstm_blog/permalink/category_routeStore view |
category | Text | |
Tag Pagesstm_blog/permalink/tag_routeStore view |
tag | Text | |
Author Pagesstm_blog/permalink/author_routeStore view |
author | Text | |
Archive Pagesstm_blog/permalink/archive_routeStore view |
archive | Text | |
Search Pagestm_blog/permalink/search_routeStore view |
search | Text | |
RSS Feedstm_blog/permalink/feed_routeStore view |
feed | Text | |
Series and Topic Pagesstm_blog/permalink/series_routeStore view |
series | Text | |
Page Number in the Addressstm_blog/permalink/page_styleStore 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 Numberstm_blog/permalink/page_routeStore view |
page | Text | Only shown when “Page Number in the Address” = In the path: /blog/page/2 |
Addresses Ending with a Slashstm_blog/permalink/trailing_slashStore 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 Layoutstm_blog/post/layoutStore 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 Authorsstm_blog/post/show_authorStore view; also per blog |
Yes | Yes · No | |
Show Publication Datestm_blog/post/show_dateStore view; also per blog |
Yes | Yes · No | |
Date Formatstm_blog/post/date_formatStore 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 Changestm_blog/post/show_modifiedStore view; also per blog |
Yes | Yes · No | Shown beside the publication date when the post was changed on a later day. |
Show Reading Timestm_blog/post/show_reading_timeStore view; also per blog |
Yes | Yes · No | |
Words per Minutestm_blog/post/words_per_minuteStore 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 Poststm_blog/post/show_tagsStore view; also per blog |
Yes | Yes · No | |
Show Author Profile below the Poststm_blog/post/show_author_boxStore view; also per blog |
Yes | Yes · No | Portrait, role and biography of each author with a link to the author page. |
Table of Contentsstm_blog/post/tocStore view; also per blog |
Yes | Yes · No | Built from the subheadings of the post and placed above the text. |
Show from … Subheadings onstm_blog/post/toc_minStore view; also per blog |
3 | Text | Only shown when “Table of Contents” = Yes |
Headings in the Table of Contentsstm_blog/post/toc_depthStore 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 Positionstm_blog/post/toc_positionStore 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 Barstm_blog/post/progressStore 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 Positionstm_blog/post/progress_positionStore view |
Top of the window | Top of the window · Bottom of the window | Only shown when “Reading Progress Bar” = Yes |
Progress Bar Height in Pixelsstm_blog/post/progress_heightStore view |
3 | Text | 1 to 12. Only shown when “Reading Progress Bar” = Yes |
Progress Bar Colourstm_blog/post/progress_colorStore 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 Percentstm_blog/post/progress_opacityStore view |
100 | Text | 10 to 100. Only shown when “Reading Progress Bar” = Yes |
Links to the Previous and Next Poststm_blog/post/prev_nextStore view; also per blog |
Yes | Yes · No | |
Count Viewsstm_blog/post/count_viewsStore 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 Poststm_blog/post/show_viewsStore view; also per blog |
No | Yes · No | Only shown when “Count Views” = Yes |
Share Linksstm_blog/post/shareStore 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 Linksstm_blog/post/share_orderStore 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 Postsstm_blog/post/related_countStore 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 Automaticallystm_blog/post/related_autoStore 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 asstm_blog/post/related_layoutStore view |
Row of cards | Row of cards · Carousel (scrolls sideways) | |
More from the Same Categorystm_blog/post/more_category_countStore 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 Authorstm_blog/post/more_author_countStore view |
0 | Text | Newest posts of the post’s first author below the text; 0 = none. |
Products of the Poststm_blog/post/products_positionStore 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 Poststm_blog/post/products_countStore 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 Searchstm_blog/post/products_autoStore 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 |
|---|---|---|---|
Commentsstm_blog/comments/typeStore 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 Commentstm_blog/comments/guestsStore view; also per blog |
Yes | Yes · No | Only shown when “Comments” = Own comments (stored in the shop) |
Review Comments before They Appearstm_blog/comments/moderationStore 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 Oncestm_blog/comments/approve_customersStore view |
No | Yes · No | Only shown when “Comments” = Own comments (stored in the shop) and “Review Comments before They Appear” = Yes |
Comments Shown at Firststm_blog/comments/initial_countStore 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 Commentsstm_blog/comments/helpfulStore 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 Charactersstm_blog/comments/max_lengthStore view |
3000 | Text | Only shown when “Comments” = Own comments (stored in the shop) |
Comments per Address and Hourstm_blog/comments/rate_limitStore view |
5 | Text | Only shown when “Comments” = Own comments (stored in the shop) |
Links before a Comment Is Held Backstm_blog/comments/max_linksStore view |
2 | Text | Only shown when “Comments” = Own comments (stored in the shop) |
Privacy Policystm_blog/comments/privacy_urlStore 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-mailstm_blog/comments/notify_adminStore view |
Yes | Yes · No | Only shown when “Comments” = Own comments (stored in the shop) |
Send tostm_blog/comments/admin_emailStore 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 Mailsstm_blog/comments/senderStore 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 Shopstm_blog/comments/shop_nameStore view |
empty | Text | Leave empty to use the store name. Only shown when “Comments” = Own comments (stored in the shop) |
Facebook App IDstm_blog/comments/facebook_app_idStore view |
empty | Text | Only shown when “Comments” = Facebook, after a click |
Disqus Shortnamestm_blog/comments/disqus_shortnameStore 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 Subscriptionstm_blog/subscribe/enabledStore view; also per blog |
Yes | Yes · No | |
Rhythmstm_blog/subscribe/rhythmGlobal |
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 |
Weekdaystm_blog/subscribe/weekdayGlobal |
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 Runstm_blog/subscribe/batchGlobal |
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 Productstm_blog/product/posts_countStore view |
3 | Text | Posts that name the product among their products are listed on its page, newest first. 0 = none. |
Posts on the Order Confirmationstm_blog/product/order_posts_countStore 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_accountWebsite |
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 Propertystm_blog/search_console/propertyStore 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 Searchstm_blog/sidebar/searchStore view; also per blog |
Yes | Yes · No | |
Categoriesstm_blog/sidebar/categoriesStore view; also per blog |
Yes | Yes · No | |
Fold Subcategoriesstm_blog/sidebar/collapse_categoriesStore view |
No | Yes · No | Subcategories open with a button; the branch of the current category stays open. Without script all are shown. |
Recent Postsstm_blog/sidebar/recentStore view; also per blog |
Yes | Yes · No | |
Number of Recent Postsstm_blog/sidebar/recent_countStore view; also per blog |
5 | Text | Only shown when “Recent Posts” = Yes |
Popular Postsstm_blog/sidebar/popularStore 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 Postsstm_blog/sidebar/popular_countStore view; also per blog |
5 | Text | Only shown when “Popular Posts” = Yes |
Popular within … Daysstm_blog/sidebar/popular_daysStore view |
30 | Text | Only shown when “Popular Posts” = Yes |
Archive by Monthstm_blog/sidebar/archiveStore view; also per blog |
Yes | Yes · No | |
Tagsstm_blog/sidebar/tagsStore view; also per blog |
Yes | Yes · No | |
Authorsstm_blog/sidebar/authorsStore view |
No | Yes · No | The authors with posts in this blog, with the number of their posts. |
Link to the RSS Feedstm_blog/sidebar/rssStore view; also per blog |
Yes | Yes · No | |
Banner (CMS Block)stm_blog/sidebar/bannerStore 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 Positionstm_blog/sidebar/banner_positionStore view |
At the bottom | At the top · At the bottom | |
Sidebar Stays in Viewstm_blog/sidebar/stickyStore 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 Searchstm_blog/search/catalog_postsStore 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 Suggestionsstm_blog/search/suggest_postsStore 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 Postsstm_blog/seo/robots_listStore view; also per blog |
INDEX, FOLLOW | INDEX, FOLLOW NOINDEX, FOLLOW INDEX, NOFOLLOW NOINDEX, NOFOLLOW |
|
Robots: Tag Pagesstm_blog/seo/robots_tagStore view |
NOINDEX, FOLLOW | INDEX, FOLLOW NOINDEX, FOLLOW INDEX, NOFOLLOW NOINDEX, NOFOLLOW |
|
Robots: Author Pagesstm_blog/seo/robots_authorStore view |
INDEX, FOLLOW | INDEX, FOLLOW NOINDEX, FOLLOW INDEX, NOFOLLOW NOINDEX, NOFOLLOW |
|
Robots: Archive Pagesstm_blog/seo/robots_archiveStore view |
NOINDEX, FOLLOW | INDEX, FOLLOW NOINDEX, FOLLOW INDEX, NOFOLLOW NOINDEX, NOFOLLOW |
|
Robots: Search Resultsstm_blog/seo/robots_searchStore view |
NOINDEX, FOLLOW | INDEX, FOLLOW NOINDEX, FOLLOW INDEX, NOFOLLOW NOINDEX, NOFOLLOW |
|
Structured Data Type of Postsstm_blog/seo/schema_typeStore view; also per blog |
BlogPosting | BlogPosting · Article · NewsArticle | Written as JSON-LD together with author, publisher, dates, image and breadcrumbs. |
Internal Links from Keywordsstm_blog/seo/auto_linksStore 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 Moststm_blog/seo/auto_links_maxStore 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 Postsstm_blog/seo/gone_redirectStore 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 Backgroundstm_blog/seo/link_checkGlobal |
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 Pagesstm_blog/sitemap/postsStore view |
Yes | Yes · No | |
Categoriesstm_blog/sitemap/categoriesStore view |
Yes | Yes · No | |
Tagsstm_blog/sitemap/tagsStore view |
No | Yes · No | |
Authorsstm_blog/sitemap/authorsStore view |
Yes | Yes · No | |
Frequencystm_blog/sitemap/changefreqStore view |
Weekly | Always · Hourly · Daily · Weekly · Monthly · Yearly · Never | |
Prioritystm_blog/sitemap/priorityStore 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 Feedstm_blog/rss/enabledStore view; also per blog |
Yes | Yes · No | |
Number of Posts in the Feedstm_blog/rss/limitStore 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::postPosts |
| Editorial Calendar | stm_blog/calendar/index |
STM_Blog::calendarEditorial calendar |
| Categories | stm_blog/entity/index/type/category |
STM_Blog::categoryCategories |
| Tags | stm_blog/entity/index/type/tag |
STM_Blog::tagTags |
| Series and Topics | stm_blog/entity/index/type/series |
STM_Blog::seriesSeries and Topics |
| Extra Fields | stm_blog/entity/index/type/field |
STM_Blog::fieldExtra Fields |
| Authors | stm_blog/entity/index/type/author |
STM_Blog::authorAuthors |
| Comments | stm_blog/entity/index/type/comment |
STM_Blog::commentComments |
| Internal Links | stm_blog/entity/index/type/link |
STM_Blog::linkInternal Links |
| Subscribers | stm_blog/entity/index/type/subscriber |
STM_Blog::subscriberSubscribers |
| Sales from Posts | stm_blog/report/sales |
STM_Blog::reportSales from Posts |
| Blog Analytics | stm_blog/report/analytics |
STM_Blog::analyticsBlog Analytics |
| Blogs | stm_blog/entity/index/type/channel |
STM_Blog::channelBlogs |
| Webhooks | stm_blog/entity/index/type/webhook |
STM_Blog::webhookWebhooks |
| Settings | adminhtml/system_config/edit/section/stm_blog |
STM_Blog::configSettings |
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, thenbin/magento setup:upgrade, in production mode alsosetup:di:compileandsetup:static-content:deploy, thencache: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 tablesstm_blog_*, the images belowpub/media/stm_blogand 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.
















{% endif %}
{% if title and title != "" %}
{{ title }}
{% endif %}
{% if excerpt and excerpt != "" %}