Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Terms Before Download

Shows a popup dialog with terms and conditions (EULA) that must be accepted before a file can be downloaded

Terms Before Download adds a shortcode that can be used instead of HTML anchors to link to downloadable files. If such a link is clicked a popup dialog shows terms and conditions (EULA) which must be accepted for the download to start.

The terms and conditions are read from a WordPress page. That way there is only a single place to maintain the terms and they can easily be displayed independently of the plugin.

The plugin supports Google Analytics to keep track of the number of downloads.

An example of the plugin in action can be found here: http://helgeklein.com/download/


Add the shortcode tbd_terms once (!) to each page or post where terms need to be displayed and configure the ID of the page that contains the terms. Example:

[tbd_terms terms_page_id=5670]

The page ID is part of the URL when editing a page in the admin UI. Example: http://domain.com/wp-admin/post.php?post=5670&action=edit

Create a link to a downloadable file like this:

[tbd_link url=\"URL\"]link text[/tbd_link]


The following parameters can be used with the shortcode tbd_terms:

  • terms_page_id: ID of the terms page displayed in the dialog [required]
  • dialog_title: The title of the dialog to be displayed [optional]
  • class: CSS class of the div enclosing the dialog content [optional]
  • padding: Padding between the dialog frame and the inner content [optional]
  • width: Width of the dialog [optional]
  • ok_button_text: Text for the OK button [optional]

The following parameters can be used with the shortcode tbd_link:

  • url: The URL to link to [required]
  • text: Link text [required if text is not enclosed]
  • gacategory: Google Analytics Category [optional]
  • gaaction: Google Analytics Action [optional]
  • galabel: Google Analytics Label [optional]

Requires: 3.5 or higher
Compatible up to: 4.0.15
Last Updated: 3 years ago
Active Installs: 100+


4.5 out of 5 stars


Got something to say? Need help?


Not enough data

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