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…
- The topic ‘[Plugin: Word Replacer] Code line replacement’ is closed to new replies.