Displays Gravatars of customers who have purchased your product
This plugin requires Easy Digital Downloads. It outputs gravatars of all the customers who have purchased your product.
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.
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.
To show the purchase gravatars on a single download, add this shortcode into the WP editor:
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.
To show the purchase gravatars with a custom title, use the title parameter. This will override the heading in the main plugin options
[edd_purchase_gravatars title="This is my custom title"]
Template Tag usage
This example will show the purchase gravatars of whichever single download it is placed on.
$gravatars = new EDD_Purchase_Gravatars(); echo $gravatars->gravatars( get_the_ID() );
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:
$gravatars = new EDD_Purchase_Gravatars(); echo $gravatars->gravatars( '942' );
To show a custom title, pass in your title as the 2nd parameter
$gravatars = new EDD_Purchase_Gravatars(); echo $gravatars->gravatars( get_the_ID(), 'This is my custom title' );
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.
More add-ons for Easy Digital Downloads
You can find more add-ons (both free and commercial) from Easy Digital Downloads' website
Free theme for Easy Digital Downloads
Shop Front was designed to be simple, responsive and lightweight. It has only the bare essentials, making it the perfect starting point for your next digital e-commerce store. It’s also easily extensible with a growing collection of add-ons to enhance the functionality and styling.
Stay up to date
Become a fan on Facebook http://www.facebook.com/sumobicom
Follow me on Twitter http://twitter.com/sumobi_
Requires: 3.3 or higher
Compatible up to: 4.2.5
Last Updated: 5 months ago
Active Installs: 300+
Got something to say? Need help?