close

Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

BERJAYA

Agreement

Apraksts

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.

Requirements

  • WordPress 3.5.1 or greater
  • PHP 5.2.6 or greater (5.3 recommended)
  • MySQL 4.1.2 or greater (5.x recommended)

Ekrānuzņēmumi

  • BERJAYA
    Add id in media file link.
  • BERJAYA
    Change pop-up text in admin panel.
  • BERJAYA
    How it looks like in front end. UI may be differ as per your template.

Uzstādīšana

This plugin uses the standard installation procedure: install the plugin’s folder inside of ‘wp-content/plugins’ (make sure the folder is named agreement).

BUJ

Is it works for custom content type?

Yes it works.

From where I can change text of pop-up ?

After activation,there is a sub menu in Settings called Agreement. Click on this. New page will open,there is an option to change license agreement text called “Enter your License Agreement setting text below:”.

Atsauksmes

BERJAYA
1 jūnijs, 2019
Easy setup and initial functionality sufficient, although had to dig deeper into the js to improve some sizing behavior. But this plugin saved me a lot of time, thanks!
BERJAYA
15 februāris, 2018
Good work! Some typo mistake in code in agreement-functions.php div class=’licence-agreement’style=’display:none;’ should be: div class=’licence-agreement’ style=’display:none;’ but works.
BERJAYA
15 marts, 2017
This is the best and most simple plugin I have found for this purpose.
Lasīt 9 atsauksmes

Autori un izstrādātāji

“Agreement” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Agreement&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

Now it works for multiple item in single page.