Directory / plugin
Matnban
v1.0.2 · by webban
Persian writing assistant — ZWNJ (half-space) fixes, Arabic character cleanup, readability and a site-wide writing report. دستیار نگارش فارسی وردپرس.
About this plugin
Matnban is a Persian writing assistant for WordPress — built for Persian the way SEO plugins are built for keywords.
Note for international users: the plugin’s admin interface is in Persian (Farsi).
Persian typography has rules that generic editors silently break: missing half-spaces (ZWNJ) in prefixed verbs, Arabic look-alike characters (Arabic yeh and kaf) that break search and spell-checkers, Arabic-Indic digits, wrong quotation marks, decorative kashida, and invisible direction marks pasted from messaging apps. Matnban fixes all of this — with one click, or automatically.
Features
- One-click correction in the post editor — 17 rules: ZWNJ for verb prefixes (mi, nami, bi) and suffixes (ha, tar, tarin), the ezafe ye, Arabic character and digit conversion to Persian, Persian quotes and punctuation, kashida removal, and cleanup of invisible direction marks (RLM/LRM) that break copied text
- Optional automatic correction on save, or on display (display mode never modifies the database)
- Persian readability panel in the post editor: sentence-length analysis and keyword density with Persian stemming — the focus keyphrase is read automatically from Yoast SEO or Rank Math when present
- Site-wide writing health report: scan all posts, list the ones with issues, export to CSV
- Guidance for Persian-friendly image filenames and alt text
- Every rule can be switched off individually; the plugin never touches HTML, code, shortcodes, links or English text
All processing happens locally on your site with PHP. This plugin sends no requests to any external service.
A premium version with bulk post fixing, a 30-day undo, an AI assistant (using your own API key) and a smart English slug generator is sold separately at https://webbanwp.ir/ — the code for those features is not included in this plugin.
فارسی — معرفی کوتاه
متنبان دستیار نگارش فارسی برای وردپرس است؛ همانطور که افزونههای سئو کارِ کلمهٔ کلیدی را انجام میدهند، متنبان کارِ نگارش فارسی را انجام میدهد.
نگارش فارسی قاعدههایی دارد که ویرایشگرهای عمومی بیصدا خرابش میکنند: نیمفاصلهٔ جاافتاده در فعلهای پیشوندی («می رود»)، حروف عربیِ همشکل با فارسی («ي»، «ك») که جستوجو و غلطیاب را از کار میاندازد، ارقام عربی («٤٥»)، گیومهٔ اشتباه، کشیدهٔ تزئینی، و نشانههای جهتِ نامرئی که از پیامرسانها کپی میشوند. متنبان همهٔ اینها را اصلاح میکند — با یک کلیک، یا خودکار.
امکانات
- اصلاح یککلیکی در ویرایشگر مطلب — ۱۷ قاعده: نیمفاصلهٔ «می/نمی»، «بی»، «ها»، «تر/ترین»، شناسهٔ فعل و یای میانجی؛ تبدیل حروف و ارقام عربی به فارسی؛ علائم نگارشی و گیومهٔ فارسی؛ حذف کشیده، فاصلههای تکراری و نویسههای نامرئی
- اصلاح خودکار هنگام ذخیره (اختیاری) یا هنگام نمایش؛ حالت نمایش هیچ تغییری در دیتابیس نمیدهد
- پنل خوانایی فارسی در ویرایشگر: طول جمله، تنوع آغاز جملهها و چگالی کلمهٔ کلیدی با ریشهیابی فارسی. کلمهٔ کلیدی بهطور خودکار از Yoast SEO یا Rank Math خوانده میشود
- گزارش سلامت نگارش کل سایت: اسکن همهٔ مطالب، فهرست مطالب نیازمند توجه، و خروجی CSV
- راهنمای نام فایل و متن جانشین (alt) تصاویر برای فارسی
- هر قاعده جداگانه خاموش/روشن میشود؛ افزونه هرگز به HTML، کد، شورتکد، لینک و متن انگلیسی دست نمیزند
همهٔ پردازشها محلی و با PHP روی سایت خودتان انجام میشود؛ این افزونه هیچ درخواستی به بیرون نمیفرستد.
نسخهٔ حرفهای (اصلاح گروهی کل آرشیو، بازگردانی ۳۰ روزه، دستیار هوش مصنوعی و نامک انگلیسی هوشمند) محصولی جداگانه در https://webbanwp.ir/ است و کد آن در این افزونه نیست.