>
Download This Plugin | |
Download Elegant Themes | |
Name | WP Amazon Affiliate Change to Smile Links |
Version | 1.0.1 |
Author | Thomas Loughlin |
Rating | 100 |
Last updated | 2013-11-06 12:43:00 |
Downloads |
511
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
WP Amazon Affiliate Change to Smile Links plugin added 2 bytes of resources to the Home page and 5 bytes of resources to the sample Post page.
WP Amazon Affiliate Change to Smile Links plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! WP Amazon Affiliate Change to Smile Links plugin ads no tables to your Wordpress blog database.Looks for a shortened amazon affiliate link like http://amzn.to/YPupmI and converts it to the smile version (http://smile.amazon.com/gp/product/B003MWQ30E/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=B003MWQ30E&linkCode=as2&tag=tl3po-20) at runtime. This process can be slow so there is some caching.
How the WordPress AmazonSmile plugin works - Long Version from http://thomasloughlin.com/amazon-smile-amazons-affiliate-program/
Adds a filter so the content is passed to a function. Content is searched for a shortened Amazon Affiliate Link. The ‘key’ is extracted from the url and checked against cache. If the end url is not found, the full url is grabbed, converted to smile and thrown into cache.
It's pretty simple to run, just drop it in the plugin directory and activate that's all it takes.