{"id":17567,"date":"2012-04-02T15:43:05","date_gmt":"2012-04-02T15:43:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/cb-pinterest-image-pinner\/"},"modified":"2014-10-09T18:44:51","modified_gmt":"2014-10-09T18:44:51","slug":"cb-pinterest-image-pinner","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/cb-pinterest-image-pinner\/","author":7844193,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.93","stable_tag":"trunk","tested":"3.9.40","requires":"3.0.0","requires_php":"","requires_plugins":"","header_name":"Pinterest Image Pinner From Collective Bias","header_author":"chriswhittle","header_description":"","assets_banners_color":"","last_updated":"2014-10-09 18:44:51","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/collectivebias.com\/","header_plugin_uri":"http:\/\/collectivebias.com","header_author_uri":"http:\/\/collectivebias.com","rating":3,"author_block_rating":0,"active_installs":50,"downloads":15894,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<ul>\n<li>Birthed<\/li>\n<\/ul>"},"ratings":{"1":"2","2":0,"3":"1","4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1573786","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1573786","resolution":"1","location":"plugin"}},"screenshots":{"1":"Example post","2":"Admin Page"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[16542,312],"plugin_category":[56],"plugin_contributors":[81064,84167],"plugin_business_model":[],"class_list":["post-17567","plugin","type-plugin","status-publish","hentry","plugin_tags-collective-bias","plugin_tags-pinterest","plugin_category-social-and-sharing","plugin_contributors-chriswhittle","plugin_contributors-stephenprater","plugin_committers-cwhittl","plugin_committers-danlockcuff"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cb-pinterest-image-pinner.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/cb-pinterest-image-pinner\/trunk\/screenshot-1.png?rev=1573786","caption":"Example post"},{"src":"https:\/\/ps.w.org\/cb-pinterest-image-pinner\/trunk\/screenshot-2.png?rev=1573786","caption":"Admin Page"}],"raw_content":"<!--section=description-->\n<p>Extremely lightweight jquery based plugin.  Adds \"Pin This\" button to all images.<\/p>\n\n<p>Thanks to Elembee for this walkthrough http:\/\/elembee.com\/blogkeeping-pin-it-for-images\/<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload plugin's zip to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Extract files<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Enjoy<\/li>\n<li>Customize settings if needed<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>It's not working?<br \/>\n2 things to check \n1) Is another plugin interfering?  The plugin uses jQuery on document ready which if it is interrupted by another pluggin will never fire here.\n2) Check the selectors, does it reflect what the HTML is on your page?<\/p>\n\n<p>Can I reload it?\ncall cb_pinterest_plugin_load() from javascript and it will repin everything that might not have been available on load<\/p>\n\n<p>My style is still off ya jerk!\nWell calm down, the plugin works by trying to clone style off the image but it can miss some.  To tweak what's missing you will need \nto add the following to your themes custom style sheet and add the missing style attributes (which you can use firebug or something similar to find)\n.cb_pin_images {\n    \/<em>INSERT MISSING STYLE HERE<\/em>\/\n}<\/p>\n\n<p>Wait the image should be centered!\nfind the image id using firebug and find the id #pin_images_2 is our example (but also remember it could change if multiple images are added to the page)\nadd the following to your themes custom style sheet<\/p>\n<dl>\n<dt>pin_images_2 {<\/dt>\n<dd><p>margin-left:auto;\n    margin-right:auto;\n}\nor if it's plugin specific use your plugin class<\/p>\n\n<p>.zlrecipe-container-border .cb_pin_images {\n    margin-left:auto;\n    margin-right:auto;\n}<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Birthed<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<p>Fixed issue with dimensions not working.<\/p>\n\n<h4>1.2<\/h4>\n\n<p>Fixed 2nd issue with dimenstions.\nAdded Settings Link To Plugins Screen<\/p>\n\n<h4>1.3<\/h4>\n\n<p>Fixed issue with 0 dimensions<\/p>\n\n<h4>1.4<\/h4>\n\n<p>Wrapped function so it could be called after load.  cb_pinterest_plugin_load()<\/p>\n\n<h4>1.5<\/h4>\n\n<p>Changed the way it got the width and height of the image.<\/p>\n\n<h4>1.6<\/h4>\n\n<p>Added the move css attributes other than width and height to help with formatting(border,margin,padding).<\/p>\n\n<h4>1.7<\/h4>\n\n<p>Added code to work with lazy loading images (thanks vitalvital!);<\/p>\n\n<h4>1.8<\/h4>\n\n<p>Added fix for descriptions (thanks vitalvital!);\nChanged encodeURI to encodeURIComponent to fix issues with certin urls<\/p>\n\n<h4>1.9<\/h4>\n\n<p>Added fixed for 0 size images (thanks freerange)<\/p>\n\n<h4>1.91<\/h4>\n\n<p>Added misc support fixes<\/p>\n\n<h4>1.92<\/h4>\n\n<p>Added link to Elembee's walkthrough\nreplaced non validating php on plugin_action_links_<\/p>\n\n<h4>1.93<\/h4>\n\n<p>fixed $defines not being set originally<\/p>","raw_excerpt":"Adds Pin This button to all post images","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/17567","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=17567"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cwhittl"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=17567"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=17567"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=17567"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=17567"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=17567"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=17567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}