FeedWordPress conflict with quick text filter – HELP!!
-
I’m trying to get feedwordpress working along with another quickie plugin that I wrote to prepend all outgoing urls with my click tracking service. The plugin is this:
<?php /* Plugin Name: Quickie Text Replace Version: 1.0a Plugin URI: none Author: You, fool. Author URI: none Description: add xclicks code to URLs.*/ function xclicks_out($content) { $content = str_replace('href="http://', 'href="http://x4.xclicks.net/sc/out.php?s=3708&o=http://',$content); return $content; } add_filter('the_content','xclicks_out'); ?>The problem is as follows:
When I have just FeedWordPress activated, it (FWP) works fine.
When I have just the Quickie Text Replace activated, it works fine.
When I have them BOTH activated – the FeedWordPress works, but not the Q.T.R.
Why would these two not play nice?
Also, any suggetions on how to make it so that if I want to replace a few more strings, I wont have to create new functions (replace 1(), replace2(). ) I image an array os sort.
The topic ‘FeedWordPress conflict with quick text filter – HELP!!’ is closed to new replies.