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.

Download

Latest version: Download Word Filter Plus v2.0 [zip]

Installation

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.

Changelog

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

11 Comments

Add a Comment

Your email address will not be published. Required fields are marked *