Official plugins
Blog Extras — comments, contents and share buttons
The official Blog Extras plugin — comments under posts with moderation and spam protection, automatic contents, reading time, Facebook / X / LINE share buttons, related posts and an author box
The Blog Extras plugin (blog-extras) adds what a blog should have to every post, without editing templates:
| Part | Where |
|---|---|
| ⏱ Reading time | Top of the content — counts Thai characters and English words |
| Contents | Above the content when there are 3 or more h2/h3 headings (click to scroll to a heading) |
| Share buttons | Facebook, X, LINE and copy link (on phones it opens the device's share menu) |
| Author box | Name, photo and bio from the author's My account (off by default) |
| Related posts | Latest posts in the same category, with featured images |
| Comments | The comment list and form, one level of replies |
Needs Anasaki Studio 2.2.2 or later. Works on posts (type post) only.
Settings#
Plugins → Blog Extras → Settings — switch each part on or off, and choose whether new comments wait for approval (default) or show right away. Enter a new comment notification email to get an email every time (set up the site's email first).
Moderating comments#
The Comments page (developer menu → plugin pages) is split into pending / approved / spam. For each comment press Approve, Hide, Spam or Delete (replies are deleted too), and the admin shows a banner while comments are waiting. The Moderate comments permission is set under Users → Permissions (default: administrators and editors).
Commenters' email addresses are visible only on this page, never on the site.
Spam protection#
- A honeypot field people cannot see
- At most 3 comments per minute from one IP address (only a hash of the IP is kept)
- 2–3000 characters and at most 2 links
- Wait for approval mode — nothing appears until approved
Your own templates#
The parts are added through the template's Post content box, so they work right away with the default and your own templates. To place them yourself, switch a part off in the settings and place a plugin block instead: Comments, Share buttons, Related posts (choose how many).
To keep pages fast, comments and related posts are cached for an hour (cleared at once on a new or approved comment). The first visitor after the cache expires sees this part load just after the content.
For developers#
site.on('blog-extras.comment.created', (c) => log.info('comment', c.id, 'on', c.postId, c.status));
site.on('blog-extras.comment.approved', (c) => log.info('approved', c.id));
The plugin's table is p_blog_extras_comments.
