{"id":25655,"date":"2013-10-14T08:41:47","date_gmt":"2013-10-14T08:41:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/edd-purchase-gravatars\/"},"modified":"2021-09-21T10:24:45","modified_gmt":"2021-09-21T10:24:45","slug":"edd-purchase-gravatars","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/edd-purchase-gravatars\/","author":10539184,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.5","stable_tag":"1.0.5","tested":"5.8.13","requires":"4.2","requires_php":"","requires_plugins":"","header_name":"Easy Digital Downloads - Purchase Gravatars","header_author":"Sandhills Development, LLC","header_description":"","assets_banners_color":"276a99","last_updated":"2021-09-21 10:24:45","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/easydigitaldownloads.com\/downloads\/edd-purchase-gravatars\/","header_author_uri":"https:\/\/sandhillsdev.com","rating":5,"author_block_rating":0,"active_installs":20,"downloads":7420,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"sumobi","date":"2015-07-12 02:46:41"},"1.0.2":{"tag":"1.0.2","author":"cklosows","date":"2017-09-07 23:36:11"},"1.0.3":{"tag":"1.0.3","author":"cklosows","date":"2017-10-17 19:58:39"},"1.0.4":{"tag":"1.0.4","author":"sumobi","date":"2017-11-01 06:46:33"},"1.0.5":{"tag":"1.0.5","author":"NoseGraze","date":"2021-09-21 10:24:45"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":787929,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.0.3","1.0.4","1.0.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":787483,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":787483,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":787483,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":787483,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Using the [edd_purchase_gravatars] shortcode","2":"Using the widget in a theme's sidebar","3":"The settings screen in Easy Digital Download's extension tab","4":"The widget"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5346,25502,5484,2665,5481],"plugin_category":[45],"plugin_contributors":[78293,78288,78291],"plugin_business_model":[],"class_list":["post-25655","plugin","type-plugin","status-publish","hentry","plugin_tags-digital-downloads","plugin_tags-e-downloads","plugin_tags-easy-digital-downloads","plugin_tags-edd","plugin_tags-sumobi","plugin_category-ecommerce","plugin_contributors-cklosows","plugin_contributors-easydigitaldownloads","plugin_contributors-sumobi","plugin_committers-cklosows","plugin_committers-smub","plugin_committers-sumobi","plugin_support_reps-dgoldak","plugin_support_reps-misulicus"],"banners":{"banner":"https:\/\/ps.w.org\/edd-purchase-gravatars\/assets\/banner-772x250.png?rev=787929","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/edd-purchase-gravatars_276a99.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/edd-purchase-gravatars\/assets\/screenshot-1.png?rev=787483","caption":"Using the [edd_purchase_gravatars] shortcode"},{"src":"https:\/\/ps.w.org\/edd-purchase-gravatars\/assets\/screenshot-2.png?rev=787483","caption":"Using the widget in a theme's sidebar"},{"src":"https:\/\/ps.w.org\/edd-purchase-gravatars\/assets\/screenshot-3.png?rev=787483","caption":"The settings screen in Easy Digital Download's extension tab"},{"src":"https:\/\/ps.w.org\/edd-purchase-gravatars\/assets\/screenshot-4.png?rev=787483","caption":"The widget"}],"raw_content":"<!--section=description-->\n<p>This plugin requires <a href=\"https:\/\/wordpress.org\/plugins\/easy-digital-downloads\/\" title=\"Easy Digital Downloads\">Easy Digital Downloads<\/a>. It outputs gravatars of all the customers who have purchased your product.<\/p>\n\n<p>It works by using the customer's email that they used to purchase your product, and checking it against Gravatar.com. Only unique email addresses are used, so if a customer purchases your product more than once, it will only show their Gravatar once.<\/p>\n\n<p>To show the Gravatars of customers who have purchased your product, use the [edd_purchase_gravatars] shortcode, or drag the provided widget into the sidebar of your single download page. You can also show the gravatars of a particular product anywhere on your website using the template tag or shortcode, by passing in the download's ID.<\/p>\n\n<p><strong>Features<\/strong><\/p>\n\n<ol>\n<li>Set a heading to display above the Gravatars.<\/li>\n<li>Set the size of each Gravatar (512px maximum)<\/li>\n<li>Set the minimum number of unique purchases a download must have before the Gravatars are shown. Leave blank for no minimum.<\/li>\n<li>Set the maximum number of gravatars to show. Leave blank for no limit.<\/li>\n<li>Only show customers with a Gravatar account<\/li>\n<li>Randomize the Gravatars<\/li>\n<\/ol>\n\n<p><strong>Shortcode usage<\/strong><\/p>\n\n<p>To show the purchase gravatars on a single download, add this shortcode into the WP editor:<\/p>\n\n<pre><code>[edd_purchase_gravatars]\n<\/code><\/pre>\n\n<p>To show the purchase gravatars of a particular download on another page or download, add the id parameter. This example will show the download with an ID of 942.<\/p>\n\n<pre><code>[edd_purchase_gravatars id=\"942\"]\n<\/code><\/pre>\n\n<p>To show the purchase gravatars with a custom title, use the title parameter. This will override the heading in the main plugin options<\/p>\n\n<pre><code>[edd_purchase_gravatars title=\"This is my custom title\"]\n<\/code><\/pre>\n\n<p><strong>Template Tag usage<\/strong><\/p>\n\n<p>This example will show the purchase gravatars of whichever single download it is placed on.<\/p>\n\n<pre><code>$gravatars = new EDD_Purchase_Gravatars();\necho $gravatars-&gt;gravatars( get_the_ID() );\n<\/code><\/pre>\n\n<p>If you'd like to show purchase gravatars of a specific download from somewhere else on your site, pass in the ID of the download like so:<\/p>\n\n<pre><code>$gravatars = new EDD_Purchase_Gravatars();\necho $gravatars-&gt;gravatars( '942' );\n<\/code><\/pre>\n\n<p>To show a custom title, pass in your title as the 2nd parameter<\/p>\n\n<pre><code>$gravatars = new EDD_Purchase_Gravatars();\necho $gravatars-&gt;gravatars( get_the_ID(), 'This is my custom title' );\n<\/code><\/pre>\n\n<p><strong>Widget usage<\/strong><\/p>\n\n<p>Drag the widget into your sidebar. If the widget is shown on a single download page, and that download has purchases, the purchase gravatars will be shown.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unpack the entire contents of this plugin zip file into your <code>wp-content\/plugins\/<\/code> folder locally<\/li>\n<li>Upload to your site<\/li>\n<li>Navigate to <code>wp-admin\/plugins.php<\/code> on your site (your WP Admin plugin page)<\/li>\n<li>Activate this plugin<\/li>\n<li>Configure the plugin's settings from downloads -&gt; settings -&gt; extensions<\/li>\n<li>Use the included shortcode, template tag or widget.<\/li>\n<\/ol>\n\n<p>OR you can just install it with WordPress by going to Plugins &gt;&gt; Add New &gt;&gt; and type this plugin's name<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='my%20gravatars%20are%20not%20showing'><h3>My Gravatars are not showing<\/h3><\/dt>\n<dd><p>In order for the gravatars to display, \"Show Avatars\" must be enabled in Settings -&gt; Discussion.<\/p><\/dd>\n<dt id='how%20can%20i%20change%20the%20default%20avatar%3F'><h3>How can I change the default avatar?<\/h3><\/dt>\n<dd><p>The default avatar can be changed from Settings -&gt; Discussion. If you are a developer, there's a edd_pg_gravatar_default_image filter available to pass in any image URL.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>New: Introduced the filter <code>edd_pg_gravatar_args<\/code>, which allows you to customize the arguments passed to <code>get_avatar()<\/code>.<\/li>\n<li>Fix: Some shortcode HTML was being outputted even if no Gravatars were available.<\/li>\n<li>Fix: \"Maximum Gravatars to Show\" setting not being respected.<\/li>\n<li>Refactor: Change plugin author name to Sandhills Development, LLC.<\/li>\n<li>Dev: Fixed incorrect inline documentation for <code>EDD_Purchase_Gravatars::shortcode()<\/code>.<\/li>\n<li>Dev: Remove debugging code.<\/li>\n<li>Dev: Add compatibility with EDD 3.0.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Tweak: Moved extension settings to own \"Purchase Gravatars\" section<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Fix: PHP 7+ compatibility with widget constructor method name.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fix: Use EDD_Payment for customer information to avoid nested calls to maybe_unserialize.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>New: Added edd_pg_name filter for the image's alt tag<\/li>\n<li>New: French translations, props fxbenard<\/li>\n<li>Fix: Removed PHP 4 style constructors<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Displays Gravatars of customers who have purchased your product","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/25655","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=25655"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sumobi"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=25655"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=25655"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=25655"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=25655"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=25655"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=25655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}