We'll create fresh WordPress site with Agreement installed. You have 20 minutes to test the plugin after that site we'll be deleted.
The Agreement plugin helps to create pop-up licence agreement or term to use before download any thing from post or page. It will give freedom to change text in pop-up. After activation of plugin in post/page add file from “Add Media”, then change editor type from Visual to text and give id to that media file. Id will be like this id=”agreement”. Your link will be like ‘id=”agreement” href=”http://yourdomain.com/wp-content/uploads/2016/01/pdf.pdf”‘ or you can use custom HTML block too. Now save post/page.
Example
{a id=”agreement” href=”http://yourdomain.com/wp-content/uploads/2016/01/pdf.pdf”} file name {a}
This plugin works for multiple item in single page.
After activation there is a sub menu in Settings called Agreement. Click on this and there is a option to change license agreement text called “Enter your License Agreement setting text below:”. You can also insert html tag like ul,li, br, hr from agreement option in settings.