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.
在帖子/页面中激活插件后,从“添加媒体”添加文件,然后将编辑器类型从 Visual strong>更改为文本 strong>,并为该媒体文件提供ID。 Id will be like this id=”agreement”.
ID将类似于此 id =“协议” strong>。Your link will be like ‘id=”agreement” href=”http://yourdomain.com/wp-content/uploads/2016/01/pdf.pdf”‘, Now save post/page.
您的链接将类似于“ id =” agreement” href =“ http://yourdomain.com/wp-content/uploads/2016/01/pdf.pdf””,现在保存帖子/页面。 p>
Example
示例 p>
{a id=”agreement” href=”http://yourdomain.com/wp-content/uploads/2016/01/pdf.pdf”} file name {a}
{a id =“ agreement” href =“ http://yourdomain.com/wp-content/uploads/2016/01/pdf.pdf”}文件名{a} p>
This plugin works for multiple item in single page.
此插件可在单个页面中用于多个项目。 strong> p>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.
您还可以在设置中的协议选项中插入html标签,例如 ul strong>, li strong>, br strong>, hr strong>。 p>
>
Requirements
要求 h4>
- WordPress 3.5.1 or greater
- WordPress 3.5.1或更高版本 li>
- PHP 5.2.6 or greater (5.3 recommended)
- PHP 5.2.6或更高版本(建议5.3) li>
- MySQL 4.1.2 or greater (5.x recommended)
- MySQL 4.1.2或更高版本(建议使用5.x) li>
ul>