WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Easy Digital Downloads - Related Downloads

Automatically show related downloads by tag or category when using Easy Digital Downloads plugin.

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:

the_widget('edd_related_downloads_widget');

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' => '<div id="isa-related-downloads" class="widget">',// make it grid-style
        'after_widget' => '</div>',
    );
    the_widget('edd_related_downloads_widget', $inst, $args);

How can I give back?

Please rate the plugin. Thank you.

Requires: 3.3 or higher
Compatible up to: 3.9.1
Last Updated: 2014-4-28
Downloads: 4,498

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1