PublishingCentral
Forum Replies Created
-
I got something working using wp_get_object_terms, but if there’s a more elegant solution, I’d appreciate knowing about it.
Forum: Plugins
In reply to: [Plugin: Amazon Affiliate Link Localizer]It adds my .com affiliate id, but it doesn’t redirect for results-type links, as far as I can tell.
Forum: Plugins
In reply to: [Plugin: Amazon Affiliate Link Localizer]One final thought… check the source of your blog to make sure the script line (the same one you edited) shows up there.
Not sure what else to check, but I hope you find a solution to your problem.
W
Forum: Plugins
In reply to: [Plugin: Amazon Affiliate Link Localizer]Are the products you’re listing available on the co.uk site? I’ve had a number of books and videos that don’t switch from the .com site, and it turns out that they come up with a 404 page when I change the extension.
The other thing I would try is putting an Amazon link without your affiliate id, to see if the script adds it. At least you’d know for sure then whether the script is functioning at all. If it’s not, I’d try uninstalling, then reinstalling.
Forum: Plugins
In reply to: [Plugin: Amazon Affiliate Link Localizer]The same thing happened to me. I fixed it by getting an API key from here:
http://code.google.com/apis/loader/signup.htmlThen you’ll need to add the key to your plugin. Open amazon_affiliate_link_localizer.php in the wordpress plugin editor, and look for the line that has this javascript bit:
<script type=\"text/javascript\" src=\"http://www.google.com/jsapi\">right after the jsapi add
?key=
and then your API key that you got from Google.So that line should look like:
<script type=\"text/javascript\" src=\"http://www.google.com/jsapi?key=YOUR_BIG_LONG_API_KEY_FROM_GOOGLE\">After I did that, my link localization worked perfectly.