该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Find And Replace Text

描述

Find And Replace Text plugin allows you to install a find & replace button to your WordPress Editor.

It supports batch finding and replacing string when you edit your posts either in TinyMCE visual or text mode.

Please note the plugin in TinyMCE visual mode also find and replace string in raw file. Which means that you should make sure there are not HTML tag to find and replace.

For example, if you find and replace “href” to “something else” in Visual mode. The plugin also change every “href” to “something else” if the HTML codes have links with “href” even you can not see the “href” string on the visual mode screen.

So please make sure that you are not replacing HTML tags in Visual mode. Or you can start from Text mode.

Remember saving your post before your find and replace anything. So even you make something mess you can always get revisions back.

屏幕截图

  • Find & Replace button above the Editor.
  • Find what.
  • Replace with.
  • Confirm to replace.

安装

  1. Go to the Add New plugins screen in your WordPress Dashboard
  2. Click the upload tab
  3. Browse for the plugin file (find-and-replace-text.zip) on your computer
  4. Click “Install Now” and then hit the activate button

常见问题

Where can I get help?

Find And Replace Text plugin is supported via the wordpress.org support forum. Or you can go to Find And Replace Text page.

What if I replaced wrong strings for my whole post?

Don’t worry. You can always press Ctrl-Z in TinyMCE visual mode to undo your replacement.

评价

2021 年 9 月 17 日
This makes some of our page update chores much easier, in a way that "database find and replace" plug-ins can't, especially thanks to its ability to find-and-replace within HTML tags. This plug-in is really worth keeping up to date! I'm using it with WP 5.8.1 (using the Classic Editor) with no problem. Hopefully, the code is simple enough that it will keep working for a long, long time.
阅读所有2条评价

贡献者及开发者

“Find And Replace Text” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Find And Replace Text」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Find And Replace Text”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.0

  • Support both visual and text mode. Rewrite code with JQuery. Add media button.

1.0

  • Support text mode. add button to quick tag.