[WordPress] 外掛分享: String Replacer

WordPress 外掛 String Replacer 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「String Replacer」是 2025-06-20 上架。
  • 目前有 100 個安裝啟用數。
  • 上一次更新是 2025-12-08,距離現在已有 80 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.2 以上。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

baiatulutata |

外掛標籤

admin tool | translation | email filter | content filter | string replace |

內容簡介

總結:String Replacer 是一個 WordPress 外掛,讓您可以在網站上定義一對字串進行搜尋和取代,包括內容、文章標題、頁腳文字以及發送郵件等功能。它能立即生效,並包含一個簡單的管理介面來管理取代。

1. 這個 WordPress 外掛的名稱是什麼?
- String Replacer

2. String Replacer 讓使用者可以在哪些範圍進行字串的取代?
- 文章標題
- 文章內容
- 網站全域輸出(例如頁腳、小工具等)
- 發送郵件(wp_mail())

3. 該外掛提供了怎樣的管理介面?
- 簡單的管理介面,包含新增/移除列、即時搜尋和分頁功能

4. 這個外掛除了郵件地址,還可以在哪裡進行工作?
- 在 mailto: 鏈結中進行工作

5. 這個外掛支援哪些多語言和品牌取代用例?
- 完全支援多語言和品牌取代用例

6. 這個外掛符合什麼規範並且是完全本地化的?
- 符合 WordPress 外掛指南規範,且是完全本地化的

7. 開發者可以如何應用這個外掛進行取代?
- 開發者可以使用 STRIRE_replace_strings( $text ) 在自定義的上下文中手動應用這些取代功能

8. 這個外掛是由誰製作的?
- 由 Ionut Baldazar 製作

9. 那位開發者的 GitHub 是什麼?
- https://github.com/baiatulutata

10. 這位作者的電子郵件是什麼?
- [email protected]

原文外掛簡介

String Replacer lets you define pairs of strings to search and replace across your WordPress site — including content, post titles, footer text, and outgoing emails. It works instantly and includes a simple admin interface for managing replacements.
Features

Replace strings in:

Post titles
Post content
Site-wide output (e.g., footer, widgets, etc.)
Outgoing emails (wp_mail())

Simple admin UI with:

Add/remove rows
Live search
Pagination

Replaces email addresses and works inside mailto: links
Preserves leading and trailing spaces in replacement strings
Supports multilingual and branding replacement use cases
Fully local, compliant with WordPress plugin guidelines

Usage

In the admin screen, add one or more rows:

“Original String” (e.g., Hello)
“Replacement String” (e.g., Bonjour)

Save your changes.
The plugin will handle replacements in frontend output and emails automatically.

Examples

Replace [email protected][email protected]
Replace Hello → Bonjour
Replace ACME Inc. → NewCorp
Replace "Hello " (with a space) → "Hi " (space preserved)

Filters & Extensibility
This plugin hooks into:
– the_title and the_content
– template_redirect output buffering
– wp_mail filter (subject, message, and headers)
Developers can use STRIRE_replace_strings( $text ) to apply replacements manually in custom contexts.
Author
Created by Ionut Baldazar
GitHub: https://github.com/baiatulutata
Email: [email protected]

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「String Replacer」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.4 | 1.4.1 | 1.4.2 | 1.4.3 | trunk |

延伸相關外掛(你可能也想知道)

  • Loco Translate 》Loco Translate 提供在瀏覽器中編輯 WordPress 翻譯文件和與自動翻譯服務集成的功能。, 它還為開發人員提供 Gettext/本地化工具,例如提取字符串和生成模板。...。
  • Translate WordPress with GTranslate 》Translate WordPress with GTranslate外掛使用 Google Translate 自動翻譯服務,讓您的 WordPress 網站多語言化,並發揮 Google 的力量。有103種語言可供選擇...。
  • Polylang 》ts, Polylang is developed by the Polylang team with the help of numerous contributors., If you want to contribute or report an issue, please visit ...。
  • Translate Multilingual sites – TranslatePress 》透過可視化的翻譯介面,直接從前端翻譯您的WordPress網站並製作多語言網站,體驗更好的翻譯方式。, TranslatePress是一個任何人都可以使用的WordPress翻譯外...。
  • Cyr-To-Lat 》將文章、頁面和分類別名中的 Cyrillic 字元轉換為 Latin 字元,有助於建立易於閱讀的 URL。, 特點, , 唯一具有完全可編輯的轉換表的外掛程式。可以添加/刪除...。
  • Translate WordPress – Google Language Translator 》Google Language Translator 外掛現已經成為 GTranslate 家族的一員!, GTranslate 自 2008 年以來一直是一家領先的網站翻譯服務提供商,為全球超過 500,000 ...。
  • Translate WordPress with Weglot – Multilingual AI Translation 》Weglot Translate是領先的WordPress翻譯外掛,全球有超過60,000個使用者信任。您可以在幾分鐘內將WordPress網站翻譯成110多種語言,無需編碼即可實現多語言。...。
  • Performant Translations 》- 本專案使用了一種新的方法來處理 WordPress 的翻譯檔案,大幅提升本地化速度。, - 深入的 i18n 效能分析顯示,經過本地化處理的 WordPress 網站載入速度顯...。
  • Say what? 》這是一個易於使用的外掛,允許您改變網站上的字符串而無需編輯 WordPress 核心或外掛程式碼。只需輸入當前字符串和您想要替換的內容,外掛程式就會自動執行其...。
  • WP Multilang – Translation and Multilingual Plugin 》WP Multilang 是 WordPress 的多語言外掛。, 翻譯文章類型、分類法、元字段、選項、多媒體檔案中的文本字段、選單、標題和小工具中的文本字段。, WP Multilan...。
  • Theme and plugin translation for Polylang (TTfP) 》「Polylang 的主題和外掛程式翻譯」是什麼?, 這是 Polylang 外掛的擴充套件。Polylang 是一個可讓 WordPress 網站多語言化的擴充套件。, 這個外掛可以讓 Pol...。
  • Prisna GWT – Google Website Translator 》這個外掛讓 Google 自動翻譯服務的強大功能可翻譯您的網站成 100 多種語言,是 WordPress 的一個簡單而完整的多語言解決方案。, 功能:, , 易於安裝,包括內聯...。
  • My WP Translate 》這是一個簡單而強大的 WordPress 翻譯外掛程式,可在支援翻譯的大部分主題和外掛中使用。, , 為什麼要選擇 My WP Translate 自 MyThemeShop:, , 在 WordPres...。
  • Admin Language Per User 》這個插件讓你的後台管理面板可以以英文或任何已安裝的語言顯示,即使你的網站翻譯為其他語言。語言偏好設置可以基於使用者個人設定設定。, 在多站點上已進行...。
  • Admin Locale 》這個外掛提供了在網站上以某種語言運行(例如阿拉伯語),並在管理面板中使用另一種語言(例如英語)的能力。, 只需前往「設定」»「一般」,然後選擇您...。

文章
Filter
Apply Filters
Mastodon