{"id":5853,"date":"2008-05-02T08:12:53","date_gmt":"2008-05-02T15:12:53","guid":{"rendered":"http:\/\/www.ikillspies.com\/blog\/2008\/05\/02\/5853\/"},"modified":"2008-05-02T08:12:53","modified_gmt":"2008-05-02T15:12:53","slug":"fix-wp-amazon-in-wordpress-25","status":"publish","type":"post","link":"http:\/\/www.ikillspies.com\/?p=5853","title":{"rendered":"Fix WP-Amazon in WordPress 2.5"},"content":{"rendered":"<p>I upgraded WordPress to 2.5.1 recently.  Suddenly my WP-Amazon plugin is broken!  That is the thing I use to put Amazon links in my posts, and therefore like 90% of my pictures (mainly because I don&#8217;t have to host the pictures&#8230; kinda lazy huh).  What happens is the little Amazon button doesn&#8217;t even show up in my Manage tab.<\/p>\n<p>So I did some newsgroup spelunking and found how to fix it.<\/p>\n<p>Let&#8217;s say your WordPress is at $WP-HOME<\/p>\n<ol>\n<li>go to<br \/>\n<a href=\"http:\/\/www.gnifty.net\/code\/wp-amazon\/\">http:\/\/www.gnifty.net\/code\/wp-amazon\/<\/a><\/li>\n<li>copy everything there<\/li>\n<li>copy the <strong>wp-amazon.php<\/strong> to replace the one you have in<br \/>\n<strong>$WP-HOME\/wp-content\/plugins\/wp-amazon\/<\/strong><\/li>\n<li>make a directory &#8220;<strong>js<\/strong>&#8221; in that same directory<\/li>\n<li>copy files into that directory :\n<ul>\n<li><strong>jquery.accordion.pack.js<\/strong><\/li>\n<li><strong>jquery.dimensions.pack.js<\/strong><\/li>\n<\/ul>\n<p>into <strong>$WP-HOME\/wp-content\/plugins\/wp-amazon\/js<\/strong><\/li>\n<li>make another directory in that one <strong>$WP-HOME\/wp-content\/plugins\/wp-amazon\/js\/jquery<\/strong><\/li>\n<li>copy the &#8220;<strong>jquery.js<\/strong>&#8221; file from <strong>$WP-HOME\/wp-includes\/js\/jquery\/jquery.js<\/strong> into<br \/>\n<strong>$WP-HOME\/wp-content\/plugins\/wp-amazon\/js\/jquery<\/strong><\/li>\n<li>?<\/li>\n<li>profit!<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>I fixed WP-Amazon 2.1 in WordPress 2.5.1 &#8212; mainly by following instructions.  WP-Amazon is a plugin for WordPress that lets you put Amazon product pictures in your posts.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-5853","post","type-post","status-publish","format-standard","hentry","category-looky"],"_links":{"self":[{"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=\/wp\/v2\/posts\/5853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5853"}],"version-history":[{"count":0,"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=\/wp\/v2\/posts\/5853\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5853"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ikillspies.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}