Directory / plugin
Negaresh
v5.3.0 · by Arma
Fixes Persian (Farsi) typography in your posts: half spaces, Persian digits, punctuation, quotes and more.
About this plugin
Negaresh (نگارش) corrects common Persian typing mistakes in WordPress, using a patched copy of the Virastar library.
- Fix before saving or on display. Correct the stored text when a post is saved, so the editor shows what readers get, or fix only what is displayed and never change the stored text.
- 33 rules you choose, each with an example: Persian digits, half spaces (ZWNJ) for prefixes and suffixes, Persian comma, semicolon and question mark, «guillemets», ellipsis, dashes, Kashida cleanup, spacing and more.
- Try it on the settings page: paste text and see it fixed with the boxes you have checked, before saving.
- Only text is changed. HTML tags, attributes, links, shortcodes and code (
pre,code,script,style…) are never touched, and neither is text written only in English. - Leave a post alone from the editor sidebar, or part of a post with the CSS class
negaresh-skip. - Fix this post now button in the block editor; Undo reverts it.
- Fix existing posts in Tools Negaresh or with
wp negaresh fix: see the changed lines first, and every change is kept in the post’s revisions. - Titles, hand written excerpts and comments can be fixed too (off by default).
- Words to leave alone: brand names, quotations and other words Negaresh must never change.
- A dashboard widget shows how many posts are fixed or waiting.
- Multisite: set defaults for the whole network.
- Persian translation included.
Read more about Negaresh (in Persian) on the author’s blog: افزونهٔ نگارش فارسی.