Panth Blog for Magento 2
Adds a blog to Magento 2 with posts, nested categories, tags, author pages and moderated comments. Every post gets BlogPosting JSON-LD, RSS and Atom feeds list it, and a Markdown copy is served at /blog/url-key.md.
- Free
composer require mage2kishan/module-blog
- Package requirementsRead the source documentation
- Developer profileView Upwork profile
- Themes listedCheck the selected release
- PHP versions listedCheck the selected release
- Installation questionsDiscuss your store setup
What it does for your store
The main features, as listed in the module documentation.
-
Posts, categories and tags
Draft, scheduled, published and archived posts with SEO fields, nested categories with Grid, List or Magazine layouts, tags and author pages.
-
JSON-LD on blog pages
BlogPosting, Person and BreadcrumbList on posts, HowTo when numbered step headings are found, and CollectionPage on listings.
-
Feeds and Markdown
Site-wide RSS 2.0 and Atom 1.0, RSS per category and author (per tag optional), and a Markdown copy of every published post.
-
IndexNow queue
Post URLs are queued when a post is published or updated (delete pings are off by default) and sent to api.indexnow.org by cron once you enter your IndexNow key.
-
Moderated comments
Off by default. Optional threaded replies, a CAPTCHA choice, a per-IP hourly limit and nofollow on external links.
-
REST and GraphQL
A REST API and read-only GraphQL queries for posts, categories, tags and authors, for headless storefronts.
Installation
Example commands from the Magento root. Follow the package instructions and your staging and deployment process.
- 1Check the releaseMatch Magento, PHP, theme and dependency requirements.
- 2Install on stagingReview Composer changes and follow the package instructions.
- 3Configure and verifyUse the documented settings and test the affected features.
$ composer require mage2kishan/module-blog $ bin/magento setup:upgrade $ bin/magento setup:di:compile $ bin/magento setup:static-content:deploy -f $ bin/magento cache:clean
Listed requirements
These are the details supplied in this listing. Confirm the selected release supports your Magento edition, PHP and storefront.
| Composer package | mage2kishan/module-blog |
|---|
Documentation
Product details and setup guidance. Check the package repository for release-specific instructions.
A blog inside the Magento admin
Panth Blog adds posts, categories, tags, authors and comments to Magento 2 and serves them under a URL prefix you choose (default /blog). Content is written in the Magento admin with the WYSIWYG editor, so there is no separate CMS to run.
Content
- Posts with status draft, scheduled, published or archived, a featured image, TL;DR, citations, related posts and SEO fields (meta title, description, robots, canonical URL, OG image).
- Categories with a parent category, a Grid, List or Magazine layout and posts per page.
- Tags, and author pages with bio, avatar, links and schema fields.
- Scheduled posts are published by cron once their date has passed.
- When a post or category URL key changes, the old URL answers with a 301 redirect.
Search and feeds
- JSON-LD: BlogPosting, Person and BreadcrumbList on posts, HowTo when a post has numbered step headings, Blog or CollectionPage on listings, ProfilePage on author pages.
- RSS 2.0 and Atom 1.0 site-wide, and RSS per category and author. Per-tag feeds are off by default.
- A Markdown copy of every published post at /blog/url-key.md.
- IndexNow: post URLs are queued when a post is published or updated (delete pings are off by default) and sent by cron. Nothing is sent until you enter an IndexNow key.
- Tags with fewer published posts than a threshold (default 3) are set to noindex,follow by a nightly job.
- With Panth LlmsTxt installed, posts are listed in llms.txt, llms-full.txt and llms.json. With Panth XML Sitemap installed, posts, categories, tags and authors go into the XML sitemap. The blog module does not add them to a sitemap by itself.
Comments
Comments are off by default. When on, they are saved as pending or approved, with optional threaded replies, a math question, Turnstile, hCaptcha or reCAPTCHA v3, a per-IP limit per hour and rel="nofollow" on external links.
Admin and CLI
Settings are at Stores > Configuration > Panth > Blog. Console commands rebuild URL rewrites, refresh counts, import and export posts as Markdown, queue IndexNow pings and create demo content.
Requirements
- Magento Open Source or Adobe Commerce 2.4.4 to 2.4.8.
- PHP 8.1, 8.2, 8.3 or 8.4.
- mage2kishan/module-core, installed by Composer.
- Magento cron, for scheduled publishing, counts, feed cache and IndexNow.
Free and open source under the MIT License.
Themes and APIs
The storefront uses one set of .phtml templates and a plain CSS file, with no Alpine.js, jQuery or RequireJS, so the output is the same on Hyvä and Luma. A REST API and read-only GraphQL queries return posts, categories, tags and authors.
Questions before you install?
Send me your composer.json and I will check for conflicts first. Free. Installation is +$45, custom work is quoted first.