Easy Digital Downloads Featured Downloads
You are able to designate certain Downloads as “featured” with the help of the Featured Downloads extension for Easy Digital Downloads, and then showcase those Downloads on your website with the help of a shortcode or a template tag.
Setup
You can locate the option to make a Download “featured” after installing and activating the Featured Downloads extension by navigating to Downloads > All Downloads and either creating a new Download or editing an existing Download. This can be done after you have installed and activated the extension.
Usage
Simply add the featured attribute to the already present [downloads] shortcode that Easy Digital Downloads has supplied. This will showcase a list of all Featured Downloads that are currently available.
[downloads featured="yes"]
Template Tag
If you are comfortable adding custom code to your theme, the following code can be used anywhere in your theme’s folders to display the Featured Downloads. If you are not comfortable adding custom code to your theme, you can ignore this section. The most common places to use this feature are in the single.php and page.php files, or in functions.php in conjunction with a conditional expression.
if( function_exists( ‘edd_fd_show_featured_downloads’) ) {
edd_fd_show_featured_downloads(); }
FAQ
How are featured products ordered?
- When you use the shortcode option, the featured products are arranged in the sequence that you specify in the ordering settings for the shortcode. Viewing the complete paperwork for the shortcode will provide you with additional information regarding the ordering process for products in Easy Digital Downloads.
- If you are using the custom code example from earlier, then they will be ordered according to the date the merchandise was first made available for purchase.
Reviews
There are no reviews yet.