Linux 软件免费装
Banner图

Midvash Bible References

开发者 midvash
更新时间 2026年11月7日 02:44
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

gutenberg block tooltip bible biblia bible verse

下载

1.0.2 1.0.1

详情介绍:

Midvash Bible References finds Bible references in your content and quietly turns each one into a styled link with a hover-tooltip that shows the verse text — fetched live from the Midvash Bible API and cached locally for performance. No account and no configuration required for the default experience. It works on any post or page in any of nine languages, recognises both the full book name ("John 3:16") and the standard abbreviation of the site's language ("Jn 3:16" in English, "Jo 3:16" in Portuguese), accepts the colon and dot separators, supports verse ranges ("John 3:16-18") and chapter-only references ("Psalms 23"), and links each reference to the matching verse on midvash.com using the locale-appropriate URL. What you get Supported reference formats Only the language chosen in Settings is matched, book names start with a capital letter and abbreviations must be written exactly, so everyday words are left alone: "Os 13 apóstolos", "at 10:30", "is 5" or "Mar 5" never become links. Text inside existing links, headings, code blocks and HTML attributes (image alt, src, srcset) is never touched. Available Bible versions The list below mirrors the Midvash API catalogue in October 2026 and may grow over time. The plugin's Settings → Midvash Bible References page always shows the current catalogue. Portuguese — 22: AA ©, ACF ©, ARA ©, ARC ©, AS21 ©, BPT ©, JFAA ©, KJA ©, MSGPT ©, NAA ©, NBV ©, NTLH ©, NVI ©, NVT ©, ALMEIDA-LIVRE, BPM, ONBV, NVA, BLPT, TFT, OL ©, ALM1911 English — 18: KJV, MSG ©, NIV ©, NLT ©, WEB, ASV, YLT, DRA, BBE, GENEVA1599, BSB, LSV, NET ©, DARBY, RV1885, CPDV, WMB, FBV Spanish — 7: NTV ©, NVIES ©, RVR1909, RVG, SEV, ONBV-ES, PDT French — 6: LSG, DARBY-FR, MARTIN1744, CRAMPON, FRASBL, NCL German — 7: LUTH1912, SCHL1951, ELB1905, MEN, LUTH1545, ELB1871, TEXTBIBEL Italian — 3: DIODATI, RIVEDUTA, DIODATI1885 Russian — 1: SYNODAL Korean — 1: KOR Chinese (Simplified and Traditional) — 4: CUV, CUVS, CCB, CCBT © = version with reserved rights, served to this plugin by the Midvash API (one chapter per reference). Default version per locale: ONBV (pt-br), BSB (en), RVR1909 (es), LSG (fr), LUTH1912 (de), RIVEDUTA (it), SYNODAL (ru), KOR (ko), CUV (zh). Beyond the plugin's nine display locales, the full Midvash API catalogue spans 153 Bible versions in 81 languages — including original-language texts such as the Hebrew Aleppo Codex and WLC, the Greek LXX and SBLGNT, and the Latin Vulgate. As new versions land in the API they appear in the plugin's settings automatically, no update required. Source code Source code and build tools: https://github.com/midvash/bible-wordpress-plugin The readable JavaScript and CSS ship in the plugin next to the minified copies (assets/js/*.js, assets/css/*.css). The *-<version>.min.js and *-<version>.min.css files are generated from them by scripts/build-zip.ts in the repository (npx tsx scripts/build-zip.ts, which minifies with esbuild). Define SCRIPT_DEBUG to load the readable files.

安装:

  1. Upload the midvash-bible-references folder to /wp-content/plugins/, or install via Plugins → Add New → search "Midvash Bible References".
  2. Activate the plugin through the Plugins screen.
  3. (Optional) Go to Settings → Midvash Bible References to pick the language, default Bible version, link styling, and whether the word "Bíblia" should be linked too.
  4. Write a post that mentions a verse like John 3:16 — that's it. Hover the link to see the tooltip.

屏幕截图:

  • A post with references detected automatically, and the verse tooltip on hover.
  • The "Bible Verse — Midvash" block on a post, with the version's attribution.
  • Verse of the Day, from the `[mvbr_votd]` shortcode (also available as a widget).

升级注意事项:

1.0.2 Fixes references that opened the wrong book, whole chapters in the block and the "NaN" in tooltips, and links many more ways of writing a reference. 1.0.1 Fixes the Verse of the Day cache when the shortcode has a very long version value. 1.0.0 New name: Midvash Bible References. Settings and widgets move over on their own. The shortcode is now [mvbr_votd]: replace [bbm_votd] in your posts. 0.10.3 Adds every version of midvash.com to Settings, including versions with reserved rights. Also includes the 0.9.x fixes: images that mention "Bíblia", false links, translations, the tooltip look and slow pages when the API is down. 0.8.1 Retired all-rights-reserved versions (NVT, NVI, ARA, NIV, ESV, NLT, NTV…) are replaced automatically by openly licensed ones (ONBV, Almeida Livre, BSB, KJV, RVR1909) and each verse now shows its licence attribution. No reconfiguration needed. 0.8.0 Tooltips now open instantly: all references on a page are prefetched in one batched API call. Version names appear localized in Settings and licensed translations show copyright attribution in the tooltip. Safe update, no reconfiguration. 0.7.0 Internal code-quality release preparing for WordPress.org submission: 4-character symbol prefix (bbmv_), full WordPress Coding Standards + PHPStan compliance, official Plugin Check passing clean. Safe update — settings, shortcodes and styling untouched. 0.6.0 WordPress.org compliance pass — security, performance and i18n cleanups. Significantly faster on archive pages, no more PHP notices on WP 6.7+. New uninstall.php cleans up after itself. Catalogue updated with 11 new Bible versions across pt-br, es, fr and de. 0.5.0 Adds the Gutenberg "Bible Verse" block — insert any verse directly into the block editor with version, language, and style controls. 0.4.0 Adds the Verse of the Day widget and [bbm_votd] shortcode — place daily verses in sidebars or posts with a single line. 0.3.0 Adds Schema.org Quotation microdata to every Bible reference link — no configuration needed, improves SEO structured data automatically. 0.2.1 Translates the plugin brand name into the 8 non-English locales (Bíblia, Biblia, Bibel, Bibbia, Библия, 성경, 圣经…) for a fully localized admin experience. 0.2.0 Adds full content support for French, German, Italian, Russian, Korean and Chinese. 0.1.0 Adds translations for 9 locales (pt_BR, en_US, es_ES, fr_FR, de_DE, it_IT, ru_RU, ko_KR, zh_CN). 0.0.1 First release.

常见问题:

Do I need an API key?

No. The Midvash API is public and read-only. The plugin works out of the box.

Does the tooltip load fast?

Yes. The first fetch for a given verse hits the API; subsequent loads for any visitor read from a local cache (30 days by default, configurable in Settings → Cache & Performance). On installs with a persistent object cache (Redis, Memcached) the second hit stays in memory.

Can I insert a specific verse manually instead of relying on auto-detection?

Yes — use the Bible Verse — Midvash Gutenberg block, available in the Text category of the block inserter. You can override the version, the display language, and toggle the reference badge / link per block.

How do I show a daily verse on the sidebar?

Add the Verse of the Day — Midvash widget via Appearance → Widgets, or drop [mvbr_votd] anywhere in your content. Both accept locale and version overrides; the daily verse is cached for 24 hours.

Which post types does auto-detection cover?

Single posts and pages (is_singular() true). The Gutenberg block and the VOTD shortcode work everywhere.

How do I change the link colour or underline style?

Settings → Midvash Bible References → General. Toggle "Enable custom color" and / or "Underline links", then pick the colour and style.

What languages are supported?

Nine: Portuguese (Brazil), English, Spanish, French, German, Italian, Russian, Korean and Chinese (Simplified). The plugin's UI strings are translated; book names, abbreviations and URL slugs are also localised in those nine languages.

更新日志:

1.0.2 1.0.1 1.0.0 0.10.3 0.10.2 0.10.1 0.10.0 0.9.2 0.8.1 0.8.0 0.7.0 0.6.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.2.0 0.1.0 0.0.1