There is a new version of this plugin. Please download it from the plugin page
After the first release of the Hidden affiliate Links plugin some bloggers wanted to know if this plugin would be able to automatically replace some keywords in posts and turn them into affiliate links.
John Chow bought a plugin for wordpress that does something like that from DealDotCom (yes it's an afiliate link and it was created automatically ) but I know it wouldn't be that hard to add such a functionality to my plugin. So here's the real deal they should put on DealDotCom:
Now my plugin will let you define keywords and it will replace those keywords (when you save/update a post) with a new link you can specify. And it will still work for adding such links manually as the first version does (just don't put anything into keywords or Link fields ) .
The keywords field is actually a field where you can specify a regular expression ( so make sure you escape special characters like - or . (dot ) by placing a \ ( backslash ) in front of them.
Let's say you write a post and you want this plugin to replace both the keywords/phrases DealDotCom and "Deal Dot Com" then the content of the keywords column should look like DealDotCom|Deal Dot Com . The "Match slug" field can be go/dealdotcom and the "New link" should be something like "/go/dealdotcom" or "http://patchlog.com/go/dealdotcom" ( without the quotes ) - this is what it looks like on your blog.
Download new version
Hidden Affiliate Links v0.2 zip file / tar.gz file
If you have already installed version 0.1 you will have to deactivate from wp-admin -> Plugins and delete the table wp_hal_links then just install the new plugin like any other plugin.
Because the plugin allows you to specify regular expression for the " Match Slug" field you will have to escape some special characters like . (dot ) , _ , - and / by placing a backslash in front of them . I could make the plugin so that this will not be necessary but that would make it lose the great flexibility that regular expression matching can offer.
- make it configurable so that the user can chose to match case sensitive or insensitive keywords and link slugs. At the moment the match is case sensitive but some users may not like that. It would also be nice to be able to specify this for each link.
- give the user the option to replace the keywords at runtime (every time the post is rendered). This has the advantage that the keywords on all posts will be replaced ( not just the ones you update after you install the plugin ) but has the disadvantage that it can slow down your blog
- Anything else you would like ? feed free to let me know in the comments...
88 thoughts on “Hidden Affiliate Links update version 0.2”
Activate it in wp v2.6> can’t work. great job hope it will continue upgrade.
A new version will be available soon but it will probably be available for 2.7 only so you better upgrade. Make sure you subscribe to my RSS feed to be notified as soon as it’s available.
Im using WordPress 2.6.5 and 2.7. But nothing happens when I pressed the button, â€œAdd hidden Linkâ€, I canâ€™t add any link or do anything. plz help me
A version for wordpress 2.7 will be available soon.
As for the wp .2.6.5 just upgrade it to 2.7
Great work! Looking forward for the 2.7 version. 🙂
Can’t wait for the support to Word press 2.7 🙁
can’t wait to see the new version. this sounds like just what I need.
karla | modernmediamomâ€™s last blog post..Headlines for March 12th, 2009 from 6:07 AM to 6:45 AM
Hey! Your plugin looks great from what I have read, but I’m not finding version 0.2 anywhere…since the download link on here is no longer working. Is it posted elsewhere that I’m missing?
try the .tar.gz file but this only workd for wp 2.3 . I’m working on a version that will work on 2.7 and probably 2.8
Ah OK. I really regret changing over to 2.8 w/o doing my homework first….I would have waited and saved myself a few issues with several plugins and interface problems.
Hello mihai, any news for the latest version? cant wait..
Hi, i tried this plugin on version 2.8.4 and it didn’t work! can’t wait for a workable version! let us know!
Why this plugin can’t work in WordPress 2.8.2 or 2.8.4 version…?
it only works for versions
Need a new version! You’ve got a great idea with this plugin — please update for us!
I am happy with this plugin, that I used with my very old WP version. But now I need it for the new version. I dont know if I can help in anyway man. Just yell it! 🙂
There doesn’t appear to be a zip file stored on your site. The download link directs to a “nothing found” page
I’d love to try this plugin so any chance you could send it over?
Just wanted to let everyone know that there is a new version of this plugin that works with WordPress 3.0.1.
You can download it from the plugin page: