This plugin allows you to dynamically (i.e. at the time when a page is generated) replace code and text from themes and other plugins with code and text of your choosing before a page is delivered to a user's browser.

Because the find and replace happens in real-time no changes are needed to plugins or themes which means upgrades remain easy!

Here are some real-world examples:

1. Don't like the "Category:" text that the Dagon Design Sitemap plugin puts in front of every category? Remove it!
2. Annoyed by the link that Global Translator adds to every page? Remove it!
3. Have you noticed that the Sociable plugin doesn't correctly display the Twitter image? No problem, insert it!

And remember, all of the above can be done WITHOUT modifying themes or plugin files so you'll always be able to upgrade them without having to worry about losing custom edits.

Download the plugin here.

Special thanks to Aaron Waggener for providing the technical brains behind this plugin!

Version History
1.0.0 Initial Release
1.0.1 Adjusted input box sizes so page better fits at lower resolutions
1.0.2 Corrected issue with missing files in distribution


30 Responses to “Real-Time Find and Replace for WordPress”
  1. Comment by Daniel:

    Hi!

    I think there is a little bug in the plugin. Whenever I set a rule to search something that contains "#038;", it strips this string out from the "find" field as soon as I click the apply settings button. It happens when using both options, regex or not.
    Is this expected behavior or it is a real bug?
    What can I do to surpass this behavior and make it actually search for "#038;"? I've tried to escape all characters, but no joy either.

    Thanks a lot!

    • Comment by Marios Alexandrou:

      Daniel,

      I was able to save a rule with "#038;" in it. I didn't do anything special and it saved the first time. Are you able to enter other rules without problems?

      • Comment by Daniel:

        Discovered that the problem is an "&" before the #308, making the problem string "&#308".
        The first time the rule is entered it stays there. If I go to another page and then go back to the plugin's settings, the "&#308" is not there anymore. Anyway, the string is part of a URL, if that matters.
        All other rules are always OK, only the ones using something like #+number are giving me this problem :(

        Thanks!

  2. Comment by Daniel:

    Hi. I've noticed that the plugin filters my feed, too.
    Is there any easy way to exclude the feed from being filtered?

    Thanks a lot!

    • Comment by Marios Alexandrou:

      Sorry, there is no easy way i.e. no options you can set.

      • Comment by Daniel:

        Ok, I didn't mean THIS easy ;)
        An "IF is_feed" well placed should do the trick, maybe?
        I am starting to study wordpress, if you could point me to the right direction, maybe I could figure it out.

        Thanks a lot!

  3. Comment by Frank Cunnane:

    I would like to make a donation. Can you modify the plugin not to rewrite the KEYWORDS meta?

    • Comment by Marios Alexandrou:

      Do you mean that if there's a match, but it's in the meta keywords, the replacement shouldn't happen? You can achieve this by using regular expressions although such regular expressions could get rather complicated.

  4.  
Trackbacks
  1.  
Leave a Reply