Quote:
Originally Posted by deadmoon
would be easy with a wp plugin. in the post text, just put something like AFFID where you want the affiliate id. then with the plugin just do a str_replace("AFFID", $_GET['affid']);. (of course, sanatize the $_GET['affid'] to numbers only (assuming ccbiill).
There are probably text replacement wp plugins out there that will do this.
(and you can just do <a href="site.com/affcode=<?=$_GET['affid'];?> in your template for banners etc. (again, make sure you strip anything but letters/numbers from $_GET['affid'];)
|
Yeah, I've had post content ect like this forever. I'm more worried about the tag links, category links, titles, archives, etc.
__________________
Hands Free Adult - Join Once, Earn For Life
"I try to make a habit of bouncing my eyes up to the face of a beautiful woman, and often repeat “not mine” in my head or even verbally. She’s not mine. God has her set aside. She’s not mine. She’s His little girl, and she needs me to fight for her by keeping my eyes where they should be."