View Product Page

Product Download Links shortcode

The shortcode [membership_download_product_links] prints the link for a downloadable product.

Shortcode attributes are:

  • id: product ID. If not specified, it prints the current product download links
  • class: the CSS class of download links
  • content: linked text. If it is not set, the linked text will be the name of the file set in the product
  • layout: set as box to print download links in a box.

How to display download links in a box layout

If you want the download links to appear inside a styled box, you can use the shortcode like this: [membership_download_product_links layout="box"]

When you use layout="box", the download box will dynamically adapt based on the user’s membership status.

If the download requires credits, the box will display:

  • Cost in credits
  • User’s current credits
  • User’s remaining credits after download

If the download is free for the member, the box will simply indicate that the download is free: