Automatically show related downloads by tag or category when using Easy Digital Downloads plugin.
Most likely, there are no other downloads that share that download's tag or category.
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' => '<div id="isa-related-downloads" class="widget">',// make it grid-style 'after_widget' => '</div>', ); the_widget('edd_related_downloads_widget', $inst, $args);
Yes, see this
Yes, see this.
Requires: 3.8 or higher
Compatible up to: 4.2.5
Last Updated: 6 months ago
Active Installs: 1,000+
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?