=== Pinterest "Pin It" Button ===
Contributors: pderksen
Tags: pinterest, pin it button, pin button, social, social media, image, images, photo, photos, pinterest pin it button, pin it, social button
Requires at least: 3.4.2
Tested up to: 3.6
Stable tag: trunk

Add a Pinterest "Pin It" Button to your site and get your visitors to start pinning your awesome content!

== Description ==

Add a simple Pinterest "Pin It" Button to your posts in 2 minutes!

###Pinterest "Pin It" Button Plugin Features:###

* Let the reader select an image from a popup (Pinterest bookmarklet style)
* (or) Specify the image to pin on each post (Pinterest default)
* Show horizontal, vertical or no pin count (Pinterest counts per post/URL)
* Show or hide the button on any post, page or category
* Add custom CSS to align with other sharing buttons
* Sidebar widget and shortcode options included

###More Features Available in Pro Version:###

* 30 Custom "Pin It" Button Designs to choose from
* Enable a Hover "Pin It" button over each image in any corner
* Upload your own custom "Pin It" buttons
* Facebook, Twitter, Google +1 & LinkedIn sharing buttons included
* Allow featured images to be pre-selected when pinning
* Automatic Upgrades & Priority Support

[Click Here to Upgrade to "Pin It" Button Pro! &raquo;](http://pinterestplugin.com/pin-it-button-pro/?utm_source=wordpress_org&utm_medium=link&utm_campaign=pin_it_button_lite)

###Raves###

* "The Pinterest 'Pin It' Button is a painless solution for bloggers just getting started with this social network." -- [WP Jedi](http://www.wpjedi.com/pinterest-pin-it-button-for-wordpress/)
* Top 10 Plugins for February 2012 (the only Pinterest one) -- [ManageWP](http://managewp.com/top-10-wordpress-plugins-of-the-month-february)
* "If you want to make it easy for Pinterest users to pin your articles, consider using this 'Pin It' button plugin." -- [WP Tavern](http://www.wptavern.com/pin-it-is-the-new-bookmark)
* "If you're looking for something simple and obtrusive, the Pinterest 'Pin It' Button will suit you." -- [WPMU.org](http://wpmu.org/pinterest-plugins-wordpress/)

[See the "Pin It" Button in Action &raquo;](http://bruisesandbandaids.com/2011/newborn-photography-props/) (see bottom of post and image hover)

[Click Here to Upgrade to "Pin It" Button Pro! &raquo;](http://pinterestplugin.com/pin-it-button-pro/?utm_source=wordpress_org&utm_medium=link&utm_campaign=pin_it_button_lite)

== Installation ==

= Finding and installing through the WordPress admin: =

1. If searching for this plugin in your WordPress admin, search for "pin it button".
1. Find the plugin that's labeled **Pinterest "Pin It" Button"** with "Pin It" in quotes.
1. Also look for my name as the author (**Phil Derksen**). There are other "Pin It" button plugins which is why this can be confusing.
1. Click "Install Now", then Activate, then head to the new menu item on the left labeled "Pin It Button".

= Alternative installation methods: =

* Download this plugin, then upload through the WordPress admin (Plugins > Add New > Upload)
* Download this plugin, unzip the contents, then FTP upload to the `/wp-content/plugins/` directory

Note: If you overwrite the plugin using an FTP upload, you may lose some saved settings.

== Frequently Asked Questions ==

= Troubleshooting =

If the "Pin It" button doesn't get triggered on click (and your browser is redirected to a pinterest.com URL), please make sure that there is not extra code that is hijacking the click event (for example, a Google Analytics onclick event).

A popular known plugin that does this is **Google Analytics for WordPress**. Try unchecking one or both of these options: 1) Track outbound clicks & downloads, 2) Check Advanced Settings, then make sure "Track outbound clicks as pageviews" is un-checked.

Your theme must implement **wp_footer()** in the footer.php file, otherwise JavaScript will not load correctly. You can test if this is the issue by switching to a WordPress stock theme such as twenty-twelve temporarily.

[Full FAQ maintained here &raquo;](http://pinterestplugin.com/pin-it-button-faq)

== Screenshots ==

1. Settings page
2. Button display below a post
3. Widget options
4. Per page settings
5. Advanced settings

== Changelog ==

= 1.4.3 =
* Fixed bug where Create Pin popup wasn't working in some cases.
* Tested with WordPress 3.6.2.

= 1.4.2 =
* Tested with WordPress 3.5.
* Added: Option to save settings upon plugin uninstall.
* Changed: Removed "Always show pin count" option as it's no longer supported by Pinterest.
* Changed: Iframe option removed as it's no longer supported by Pinterest.
* Changed: Moved some JavaScript files to load in the footer rather than the header to improve page speed load and compatibility with Pinterest code. Theme must implement wp_footer() to function properly.
* Fixed: Count="vertical" shortcode fixed.
* Fixed: Updated button CSS/styles to improve compatibility with more themes.
* Fixed: Checks theme support for post thumbnails and adds if needed.
* Fixed: Various minor bug fixes.

= 1.4.1 =
* Fixed: Various shortcode fixes.
* Fixed: Moved some JavaScript files that were loaded in the footer to now load in the header to improve compatibility with themes not implementing wp_footer().
* Fixed: Updated button CSS/styles to improve compatibility with more themes.

= 1.4.0 =
* Changed/Fixed: Iframe removed when button set to "User selects image". Fixes security issues and display errors on some web hosts.
* Added: Displays new features available if upgrading "Pin It" Button Pro

= 1.3.1 =
* Changed: Modified button JavaScript to be in line with Pinterest's current button embed JavaScript
* Changed: Split up internal code files for easier maintenance and updates
* Fixed: Shortcode -- If the attributes "url", "image_url" and/or "description" aren't specified, it will try and use the post's custom page url, image url and/or description if found. If not found it will default to the post's url, first image in post and post title.
* Fixed: Changed the way defaults are set upon install so it shouldn't override previous settings
* Fixed: Uninstall now removes custom post meta fields

= 1.3.0 =
* Added: Added a Pin Count option (horizontal or vertical)
* Added: Added new button style where image is pre-selected (like official Pinterest button)
* Added: Added fields for specifying URL, image URL and description for new button style **image pre-selected**
* Added: Added float option for alignment (none, left or right) to widget and shortcode
* Added: Shortcode -- Can now remove div tag wrapper
* Added: Widget -- Can now remove div tag wrapper
* Changed: Moved "Follow" button widget to separate plugin: [Pinterest "Follow" Button](http://wordpress.org/extend/plugins/pinterest-follow-button/)
* Changed: Both button styles now embed iframe (like official Pinterest button)
* Changed: External JavaScript now loads in footer for better performance
* Fixed: Fixed bug where front page was still showing button even when Front Page was unchecked
* Fixed: Fixed bug where some settings weren't saved when upgrading the plugin
* Fixed: Fixed bug where tag, author, date and search archive pages were not displaying the button

= 1.2.1 =
* Fixed: Fixed bug with hiding posts/pages/categories when upgrading from a previous version

= 1.2.0 =
* Added: Added option to hide button per page/post
* Added: Added option to hide button per category
* Added: Added widget to display "Pin It" button
* Added: Added widget to display "Follow" on Pinterest button
* Fixed: Fixed CSS where some blogs weren't displaying the button properly

= 1.1.3 =
* Added: Added option to hide button on individual posts and pages (on post/page editing screen)

= 1.1.2 =
* Fixed: Removed use of session state storing for now as it caused errors for some

= 1.1.1 =
* Fixed: Updated jQuery coding method to avoid JavaScript conflicts with other plugins and themes some were getting

= 1.1.0 =
* Added: Added custom CSS area for advanced layout and styling
* Added: Added checkbox option to remove the button's surrounding `<div>` tag
* Added: Button image and style updated to match Pinterest's current embed code
* Fixed: Changed the way the button click is called to solve pinning issues in Internet Explorer

= 1.0.2 =
* Added: Added checkbox option to display/hide button on post excerpts
* Fixed: "Pin It" links generated by the shortcode should not show up when viewing the post in RSS readers

= 1.0.1 =
* Added: Added checkbox option to display/hide button on "front page" (sometimes different than home page)

= 1.0.0 =
* Added: Added checkbox options to select what types of pages the button should appear on
* Added: Display options above and below content are now checkboxes (one or both can be selected)
* Added: Added shortcode [pinit] to display button within content

= 0.1.2 =
* Changed: Moved javascript that fires on button click to a separate file

= 0.1.1 =
* Fixed style sheet reference

= 0.1.0 =
* Initial release
