Thanks for your comment, I know about the Affiliate Link Cloaker plugin but it's main functionality is replacing certain keywords with affiliate links. I don't want this to happen: in my understanding, the affiliate programs demand that you don't promote other's sites on pages with their content, so for one, getting someone else's link inserted in a post with content by another would be bad. Additionally, I'm looking to insert links also in images, not just in text. So my idea is that when you're uploading an image and you choose which URL to link it to, you just type "#affiliate" and the proper URL gets replaced there based on the tags, categories, taxonomies or custom fields set on that post. The "cloaking" part is actually a piece of cake.
|