Show related downloads by tag or category when using Easy Digital Downloads plugin.
|Author:||Isabel Castillo (profile at wordpress.org)|
|WordPress version required:||3.8|
|WordPress version tested:||4.8-alpha-|
|Added to WordPress repository:||05-04-2013|
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|Total downloads:||18 202|
Click to start download
Why aren’t there any related downloads showing up on my single download page?
Most likely, there are no other downloads that share that download’s tag or category.
I don’t want them below my content. Can I use a template tag in single-download.php to position the related downloads wherever I want?
Yes. Use WordPress’s function
the_widget. If you want the default output, use:
If you want to specify parameters for this instance, use:
$inst = array( 'title' => 'You May Also Like', 'number' => 3, 'taxcat' => false, ); the_widget('edd_related_downloads_widget', $inst, $args);
However, the 2 above will style it just like the sidebar widget, which is list-style. If you want this to appear grid-style, like the default Related Downloads that get added below the content, you have to add the
$args parameter, like so (you can change the $inst, but not the $args if you want grid-style):
$inst = array( 'title' => 'You May Also Like', 'number' => 3, 'taxcat' => false, ); $args = array( 'before_widget' => '',// make it grid-style 'after_widget' => '', ); the_widget('edd_related_downloads_widget', $inst, $args);
Can I use a custom image size for the featured image?
Yes, see this
Can I use custom images instead of the featured image for the Related Downloads?
Yes, see this.
- Tweak – The plugin textdomain should be loaded on the init action rather than the plugins_loaded action.
- Tweak – Updated links to plugin URI and plugin documentation.
- New = option to show only the related download image without the title.
- Tweak = Improved styling. Images are now aligned even if long titles are of uneven lengths.
- New – A new filter, edd_related_downloads_image_size, lets you modify the image size retrieved for the featured image. Thanks to eliorivero.
- New – Checks if the image URL has the correct scheme in SSL environments. Thanks to eliorivero.
- Maintenance – updated widget args to work with the WordPress 4.0 live widget customizer.
- Maintenance – Removed several PHP warning notices.
- New: the textdomain for translations has changed to the plugin slug in order to meet WordPress standards. You must update your .mo and .po filenames with the new textdomain – easy-digital-downloads-related-downloads_. Old .mo and .po language files have been removed.
- New: moved the settings from the “Downloads -> Misc” tab to “Downoads -> Extenstions” tab.
- New: added width and height attributes to related images for increased page loading speed.
- New: singleton class.
- Maintenance: Tested and passed for WP 3.9 compatibility.
- New: added option to choose sort order and orderby parameters.
- Tested for WP 3.8 compatibility.
- Tested for WP 3.7.1 compatibility.
- Tweak: Now compatible with EDD Hide Download plugin.
- Minor fix: link to Documentation was incorrect
- Tweak: removed rate link. Added link to Docs instead.
- New: added filter to image src so you can filter it to use custom promo images instead of the regular featured image.
- Tweak: minified CSS file
- Minified readme since added link to Instruction Guide.
- Tested for WP 3.6.1 compatibility
- Update: compatible with WP 3.6
- Tweak: Added compatibility with EDD Changelog plugin, moved related downloads down below the changelog.
- Tweak: removed extend from plugin URI.
- New: added CSS for grid-style widget
- Updated translation files.
- Fixed discrepancy with the Widgets Pack extension by Matt Varone
- Tweak: added clearfix to sidebar widget
- Tweak: removed itemprop=”name” from titles of related downloads, so as to not interfere with main title
- Tweak: widget title will not be displayed if no related downloads exist.
- New: ability to disable related downloads from being added to bottom of content, useful when using sidebar widget instead.
- New: added translations for French, Portuguese, Spanish, as well as
- Fixed incorrect version tagged as stable.
- Minor tweaks to readme. Changed plugin url, added donate link, added rate it link.
- New: added related downloads widget
- Tweak: Gave late priority to related downloads action to ensure that related items proceed after any other inserted stuff by other plugins
- Cosmetic tweak: Centered misaligned titles.
- New: Added setting – How many related items to show.
- New: Added setting – Custom Related Downloads Title.
- Initial release.