Support » Plugin: Word Replacer » [Plugin: Word Replacer] Code line replacement

  • I want to filter some objects automatically, so I try to replace it with an invisible object such as “<!-- Filtered Ads -->“.

    So I enter the following text in the Original left field to create my first rule
    <p><a target="_blank" rel="nofollow" href="http://www.anydomain.com">Advertising Links » Item</a></p>

    but after clicking ‘Add/Update Words’ my code text is modified to
    <p><a target=\"_blank\" rel=\"nofollow\" href=\"http://www.anydomain.com\">Advertising Links » Item</a></p>

    The result of course is not what I’ve expected as it replaces the full posts content. I’ve tested to enable/disable the “Insensitive” checkbox but it changes nothing. “Posts” is checked and “RegEx” is unchecked.

    I know this plugin hasn’t been made to replace some parts of the posts code but I can’t find a good filter plugin that would suit my needs. So any help on using Word replacer would be very welcome…

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’ve just tested to replace anydomain.com/index.php/ with google.com/search?q= and my full posts content has still disappeared. Using firebug I can see that my div.entry class has been fully removed (huh?!?). Strange. Do I have to abandon this plugin to do what I need or did I just make something wrong?

    Finally I can do it with the Text Obfuscator concurrent plugin. No RegEx but at least it works well…
    Anyway some help about Word Replacer would be still welcome.

    Plugin Author takien

    (@takien)

    Hello, what version of word replacer you’re using? There’s a problem with stripslashes in old version. However, in version 0.2.2 that problem already fixed.
    if it still happens, make sure your magic_quotes_gpc in your php settings is set to OFF.

    thankyou for using my plugins.

    It was 2 weeks ago so I’ve switched to Text Obfuscator, sorry. Anyway as I’ll need to make some “search and replace” on another blog very soon, I promise to try your new version and to give you my feedback. Thanks for your work, takien.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Word Replacer] Code line replacement’ is closed to new replies.