ეს პლაგინი არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე. როგორც ჩანს, ის უკვე აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

Remove jQuery from Gravity Forms

აღწერა

Gravity Forms is an excellent plugin for creating forms, but requires loading jQuery in the front-end for AJAX submissions to work. Obiously we would like to avoid a full reload on submission, but also not include JQuery in this day and age where vanilla JavaScript is so capable.

This plugin makes use of the built-in REST API in Gravity Forms, and uses that to submit the form and perform validation. File uploads and multi-page forms are supported.

By only using vanilla JavaScript, this plugin is 1.5kB (v1.1 minified and gzipped), compared to the 31kB of jQuery (3.6.1 minified and gzipped). A 95% reduction in size!

დაყენება

  1. Make sure Gravity Forms is installed and activated.
  2. Enable the REST API in Gravity Forms settings.
  3. Install and activate this plugin.

ხდკ

Will this break my site?

This plugin removes jQuery from the front-end, and other plugins dependent on that may face issues. If you still require jQuery to be loaded, you probably don’t need this plugin.

მიმოხილვები

There are no reviews for this plugin.

მონაწილეები & დეველოპერები

“Remove jQuery from Gravity Forms” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.

მონაწილეები

გადათარგმნეთ Remove jQuery from Gravity Forms თქვენს ენაზე.

დაინტერესებული ხართ დეველოპმენტით?

დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.

ცვლილებები

1.1.1

Disable submit button while loading to prevent double submissions.

1.1

Add support for file uploads and test with WordPress 6.1. Managed to reduce the size of the plugin (gzipped) from 1.6kB to 1.5kB!

1.0

  • First release!