spanjaan / wn-blogportal-plugin
Extends Winter's Blog plugin with tags, archives, comments, view tracking, social sharing, and author features.
Package info
github.com/spanjaan/wn-blogportal-plugin
Type:winter-plugin
pkg:composer/spanjaan/wn-blogportal-plugin
2.0.2
2026-04-11 16:49 UTC
Requires
- php: >=8.0
- composer/installers: ~1.0
- gregwar/captcha: ^1.2
Replaces
- ratmd/bloghub-plugin: ~1.3.0
README
A powerful Winter CMS plugin that extends Winter.Blog with comments, tags, archives, view tracking, social sharing, and author features.
Features
💬 Comments System
- Hierarchical nested comments with replies
- User authentication (Backend, Frontend, Guest)
- Comment moderation (Approve, Reject, Spam)
- Like/Dislike functionality
- Author favorites - Pin important comments
- Markdown support
- Captcha & Honeypot spam protection
- Comment modes: Open, Restricted, Private, Closed
🏷️ Tag Management
- Custom tags with slugs
- Promoted tags support
- Tag color customization
- Filter posts by tags
📅 Archive System
- Archive links by year/month
- Date-based post filtering
📊 Statistics & Analytics
- View counter & unique visitors
- Comment statistics
- Post popularity tracking
🔗 Social Sharing
- Facebook, Twitter, LinkedIn, WhatsApp
- Share count tracking
👤 Author Features
- Custom display names
- Author slug & archives
- About me section
Installation
composer require spanjaan/wn-blogportal-plugin php artisan migrate
Components
Posts Components
| Component | Description |
|---|---|
blogportalPostsByTag |
Display posts filtered by tag |
blogportalPostsByAuthor |
Display posts by author |
blogportalPostsByDate |
Display posts by date |
blogportalPostsByCommentCount |
Posts sorted by comments |
blogportalPopularPosts |
Most viewed posts |
Comments Components
| Component | Description |
|---|---|
blogportalCommentSection |
Full comments with form |
blogportalCommentList |
Comments list only |
UI Components
| Component | Description |
|---|---|
blogportalTags |
List of tags |
blogportalArchiveLinks |
Archive links |
blogportalShareButtons |
Social share buttons |
Usage Examples
Comments Section
[blogportalCommentSection]
postSlug = "{{ :slug }}"
commentsPerPage = 10
sortOrder = "created_at desc"
formPosition = "above"
==
Posts by Tag
[blogportalPostsByTag]
tagFilter = "{{ :slug }}"
postsPerPage = 10
==
Posts by Author
[blogportalPostsByAuthor]
authorFilter = "{{ :slug }}"
postsPerPage = 10
==
Posts by Date
[blogportalPostsByDate]
dateFilter = "{{ :date }}"
postsPerPage = 10
==
Popular Posts
[blogportalPopularPosts] postsPerPage = 5 ==
Tags List
[blogportalTags] hideEmpty = 1 ==
Archive Links
[blogportalArchiveLinks] archivePage = "blog/date" ==
Share Buttons
[blogportalShareButtons]
postSlug = "{{ :slug }}"
==
Settings
Access via Settings > BlogPortal in backend:
- Guest comments enable/disable
- Comment moderation options
- Like/Dislike settings
- Markdown & Captcha
- TOS requirement
- Comment modes per post
Backend Features
Menu Items
- Tags - Manage blog tags
- Comments - Manage with moderation
- Share Counts - Social statistics
Post Fields
- Comments visibility
- Comment mode (Open/Restricted/Private/Closed)
User Fields
- Display name
- Author slug
- About me
Requirements
- Winter CMS 1.2+
- Winter.Blog plugin