這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Word Filter Plus

描述

Word Filter Plus allows you to replace one word or phrase on your blog, with another word or phrase. It can do this passively, by replacing content as it is displayed, leaving your database unchanged. It can do this actively, by updating the content as it is created or edited, leaving the display of your site efficient as ever. It can even update all of the posts or comments all at once, in a server friendly way.

If you need to run the plugin on multiple sites, there is an export and an import feature to save effort and eliminate mistakes.

This plugin will help you clean up your site’s content. In its simplest form, it finds one word you are using and puts in another word. You might want to replace can replace the word “firetruck” with “f**k” or make your “2112 Rates and Fees” become your “2113 Rates and Fees” everywhere that text exists.

The reasons that you might want to do this are many. Here are seven I thought about as I made this plugin:

  • You’ve been told by advertisers they can’t advertise on your site because of the use of high risk words.
  • Terms that were ok to use one year, are now considered highly offensive
  • You’ve found you are blocked from schools and homes with content filters that are active.
  • A lawsuit/DMCA issue has forced you to remove references to a certain topic or company
  • Your phone number/company name/last name has changed and you want to update it on your site.
  • You wish to add hyperlinks to every reference of a specific word.
  • You’ve removed/replaced a plugin and you now have short codes that don’t work and you need to update them all
  • You’ve reference a year or date in posts or titles and you want your content to appear current.

There are other plugins that do similar functions, including the Word Replacer Plugin, which formed the foundation of this plugin. However, the “Plus” in “Word Filter Plus” means that I’ve added a number of extra features. These Plus features include:

  • Passive and Active modes to allow you to temporarily or permanently make the changes to your post content.
  • Batch mode is introduced already optimized to clean LARGE websites and cause no performance hit upon page load once the cleanup has been completed.
  • Import and Export features allow you to configure your replacements on one website or even in a spreadsheet and import them into your other sites.
  • Improved security around both the database access and the settings screens.
  • Excerpts are now included in the filtered content.
  • Improved on-screen help content.
  • Reworked the table structure to allow better default behavior.

Features

  1. Replace one word or phrase with another word or phrase in your posts, pages, titles and excerpts.
  2. Moderate the content others are placing on your website in comments.
  3. Enforce editing standards upon people who are contributing posts to your site before the fact, not after.
  4. Use regex to replace a word when it is used in a specific context
  5. Use regex to parse matching text, extract values and build a replacement text using those variables
  6. Passively filter your content as it is displayed, leaving the database unchanged.
  7. Actively filter your content as it is saved, updating the database once, causing no delays as your content is displayed.
  8. Update all existing content on your site in batches, being friendly to your server.
  9. Create the replacement list in any spreadsheet tool and import it into the site. Or export one site’s settings for import into another,

NOTE: Thank you to my daughter Azia for making the WordPress.org Banner for this plugin.

螢幕截圖

  • The Options page which controls which mode (Off/Active/Passive) under which the plugin will operate.
  • The Replacement screen with some examples of use.
  • The Replacement screen with the inline help displayed
  • The Batch screen which allows you to update all existing content on your site at once. This screen lets you configure, start and cancel batch operations.
  • The Import/Export screen which allows you to upload a CSV file, or save the existing replacement data to your computer.

安裝

The installation process.

  1. Upload to the /wp-content/plugins/ directory. Or Directly upload from your Plugin management page.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Tools menu and you will see Word Filter Plus sub menu.

常見問題

None. Yet.

But if you do have questions, please ask them on the WordPress.org forum for this plugin: https://wordpress.org/tags/word-filter-plus?forum_id=10

評價

2021年7月5日
this is not functioning anymore. it messes with email functionality and direct messages.
閱讀全部2個評價

貢獻者及開發者

“Word Filter Plus” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Word Filter Plus 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

  • First release

1.0.1

  • Redefined a static method that was causing problems on activation

2.0

  • Fixed the repeated addition of slashes during save. This may make this version incompatible with earlier releases. Contact the me if you have issues upgrading and I will resolve this.
  • Fixed excessive use if prepare statements