WordPress Filter - Rating, Reviews, Demo & Download
Plugin Description
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.4
Added some catches back in (particularly Post Status which folks had been asking for). Sorry it took me so long for a new release to be ready.
Added:
- Catch – Post Author: Equals
-
Catch – Post Status: Equals
-
Action – Post Status: Equals
Changed:
- Catches like “Post Title: Equals” no longer case sensitive
Bug Fixes:
- Fixed image link on add filter screen
- Fixed issue where if looking for content within the Post Content, Excerpt or Title and the content is the first string, it would not realize it was found (for instance if looking for “Hello” and the text being searched was “Hello world”, the plugin catch would not engage)
Coming In Future Version:
- 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.
- Ability to force a filter to run on a post even if that specific filter has already been run on the post.
Example Usage
Let’s assume you want to participate in Project 365 but want to make it as easy as possible. You would like to take a picture with your camera phone and send it to your flickr2blog email address with the title “potd”. To do this, you could use WordPress Filter in this way:
Define the Catch:
- If Post Title: Equals “potd”
Apply the Actions:
- Title: Replace “Picture of the Day”
- Tag(s): Add “potd_%%year%%, photo”
- Content: Append “<br/><br/>This photo is part of my <a href=”/tags/potd/”>Picture of the Day Series for %%year%%</a>.”
When the post arrives at your blog it would:
- Change the post title to “Picture of the Day”
- Add the tags “potd_2008, photo”
- Add a short bit of text to the end of the content
%%year%% is a substitution that will be made by WordPress Filter at the time the post is saved. It inserts the current four digit year. There are other System Substitutions (see Other Notes tab for a listing) as well.
Another good use for this plugin would be to auto-tag or auto-categorize your posts. For instance, you could set it up so that whenever you mentioned “Microsoft” in a post, you could have it automatically categorize the post in “Technology” and tag the post with “technology, microsoft”.
System Substitutions
- %%day-num%% -> Current day of the month in numeric format (1, 2, 3, etc)
- %%day-text%% -> Current day of the month in text format (Monday, Tuesday, etc)
- %%year%% -> Current four digit year (2008, 2009, etc)
- %%month-num%% -> Current month in numeric format (1, 2, 3, etc)
- %%month-text%% -> Current month of the year in text format (January, February, etc)
Support
Please use the Issues Page to report bugs and request feature enhancements.