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);
Please rate the plugin, Tweet about it, share it on Facebook, etc. Thank you. You can also follow me on your favorite social network: Twitter, Facebook, Google Plus
Requires: 3.3 or higher
Compatible up to: 3.7.1
Last Updated: 2013-11-6
1 of 2 support threads in the last two months have been resolved.
Got something to say? Need help?