plugin-icon

Add-on SweetAlert Contact Form 7

제작자: Camilo·
Add SweetAlert2 script into Contact Form 7 submission process.
등급
3.7/5
버전
1.1.1
활성화된 설치 항목
100
최근 업데이트일
Aug 1, 2020

This plugin adds the SweetAlert2 script into Contact Form 7 wordpress plugin submission process.

This plugin requires the Contact Form 7 plugin to work.

Just activate it to replace CF7 default submission output by a SweetAlert2 pop up. The add-on will display the Contact Form 7 messages in the pop up.

If you want, you can set a custom duration and a custom title for the alerts.

This plugin is an enhancement to the plugin created by akandor, Antoine Derrien which was closed by WordPress security team

Its base has been used and all this has been improved: -Load admin styles only on the settings page -Removed style sheets with little css content (It has been directly embedded, as it does not make sense load a sheet for a few lines) -Sanitize data input and output (Since it was vulnerable to XSS attacks) -Update css and js files from sweetalert (Since it was very outdated) -Show sweetalert icons again -Remove unnecessary code and files -Css fix, since there was conflict with some themes -Load the js and css only when the contact form shortcode is detected (Except a script) -Titles are now converted to uppercase by default

How does it work?

It enqueues scripts and styles to override CF7 submission process and surcharge it with SweetAlert2 scripts.

무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 5.5.17
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.