EDD Third Party And Blog Link Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
This plugin requires Easy Digital Downloads. It allows you to add post meta data in Easy Digital Downloads to indicate a third party product as well as a link for more information. Also, it adds a checkbox to indicate if the download is available in the WordPress plugin repository.
Please Note: The plugin doesn’t really do anything on it’s own. It is for advanced users and does nothing on the front-end without writing your own custom code.
Here is what it does do:
- Adds a checkbox to the download configuration for you to indicate that a product is from a third party.
- Adds another checkbox to indicate that a product is available on the WordPress plugin repository.
- Adds a URL field for you to add an external link to a blog or website for product details or more information.
- Stores this data in the download product’s post_meta data for you to access and use in your custom code.
Example of how to call the data in your code:
if(get_post_meta( $post_id, 'edd_third_party', true )) {
echo 'This item is from a third party.' ;
}
if(get_post_meta( $post_id, 'edd_wp_plugin', true )) {
echo 'This item can be downloaded from WordPress.' ;
}
if(get_post_meta( $post_id, 'edd_bloglink_url', true )) {
$bloglink = get_post_meta( $post_id, 'edd_bloglink_url', true );
echo `<a href="' .$bloglink. '" target="_blank">Click for Details </a>`;
}
For more examples and information visit the plugin’s blog page: http://butlerconsulting.com/work/plugins/edd-thirdparty-bloglink/.
Translated Languages Available
I was having some fun after upgrading to the pro version of Poedit so I attempted to add Spanish, German, French and Russian translations. I used Google translate and I’m curious to see how it turned out. Please let me know! If you’d like to contribute a translation or report on a poor translation attempt, please let me know on the support forums.
- Otherwise, the plugin supports American English by Default… Also supports Canadian, British, Scottish, Irish, Australian and a few others (that’s a joke)
Screenshots
-
A screenshot of the fields that this plugin adds to the “Download Prices” post metabox.
-
Example usage for code. In this case, if “edd_third_party” returns true, I display the third-party badge. If “edd_wp_plugin” returns true, I add the “FREE Download” text and the WordPress FontAwesome icon to the button.
-
Second example usage for code. In this case, I am also using the free External Products plugin in conjunction with my own. This enables me to have two links, one for the file download and one for the “View Details” link.