Plugin Directory

WordPress Filter

Author: Matt Walters

WordPress Filter is a comprehensive post filtering & template system. It allows the user to define a set of simple "Catches" (criteria) to be met by a post, and then have a set of "Actions" applied to the post. This plugin takes action whenever a Post is published inside of WordPress (including Posts coming in via XMLRPC). It can be used for many tasks, including creating your own mini plugins without ever having to leave your WordPress administration area.

v1.3.6

Changes:

  • Added Catch -> Post Title: Contains
  • Added Action -> Title: Replace Substring
  • Added Action -> Content: Replace Substring
  • Added Action -> Excerpt: Replace Substring

A special formatting of Action Data is needed to use Substring Replacements. Let's say you wanted to replace all instances of "test" with "testing" inside the content area. To do this:

  • Select Content: Replace Substring as the action
  • In Action Data enter: test=testing

The basic idea is you supply what you wish to have changed, then "=", followed by what you want to change it to. I'd like to make it a little more user friendly eventually, but I needed this change for something I'm working on and thought I'd share it with you all as well in case it would be helpful.

Coming Soon:

  • v1.4 should add the ability to run one-off filters. Basically you'll be able to define a filter and then run it on all of your current posts.

Download

FYI

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(4 ratings)