Linux 软件免费装
Banner图

Negaresh

开发者 lordarma
更新时间 2026年10月8日 03:21
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv3 or later
版权网址: 版权信息

标签

persian farsi rtl typography virastar

下载

5.2.3 5.3.0

详情介绍:

Negaresh (نگارش) corrects common Persian typing mistakes in WordPress, using a patched copy of the Virastar library. Read more about Negaresh (in Persian) on the author's blog: افزونهٔ نگارش فارسی.

安装:

  1. Upload the plugin in Plugins → Add New → Upload Plugin, or copy the negaresh folder to wp-content/plugins.
  2. Activate it.
  3. Choose the rules and when to fix in Settings → Negaresh.
  4. To fix posts you already have, use Tools → Negaresh (or wp negaresh fix --apply).

屏幕截图:

  • The Negaresh panel in the block editor: leave a post alone, or fix it now (Undo reverts it).
  • Tools → Negaresh: existing posts in a list like the posts list, with the changed lines; fix the selected posts or every waiting post.
  • The dashboard widget: how many posts are fixed, waiting to be checked or left alone.
  • The rules and their examples, in Persian (with the Persian language pack).

升级注意事项:

5.0.0 Adds optional fixing of comments and wp negaresh status. Includes the 4.4.0 fix for dates written with Persian digits. 4.4.0 Fixes Persian and Arabic digit dates being scrambled. Please upgrade. 4.1.0 4.0.0 damaged how posts were displayed and blocked logins. Please upgrade.

常见问题:

Does it change my posts?

In "when a post is saved" mode (the default for new installs) the stored text is corrected when you save. In "when a post is displayed" mode (kept by sites upgrading from 4.x) nothing stored is ever changed. Posts you mark "Leave this post alone" are never changed.

Can I undo a bulk fix?

Yes. Before Negaresh changes an existing post it keeps the text as a revision, so each post can be restored from its revisions screen (when your site keeps revisions).

Will it break my HTML, shortcodes or code samples?

No. Only the text between tags is fixed; tags, attributes, shortcodes and the contents of pre, code, script, style, textarea, svg and math are left exactly as they are.

How do I keep a quote or a paragraph as it is?

In the block editor add negaresh-skip in Advanced → Additional CSS class(es), or add data-negaresh="off" to an element in HTML.

更新日志:

5.3.0 5.2.3 5.2.2 5.2.1 5.2.0 5.1.0 5.0.0 4.4.0 4.3.0 4.2.0 4.1.0