diff --git a/.distignore b/.distignore new file mode 100644 index 0000000..07a6592 --- /dev/null +++ b/.distignore @@ -0,0 +1,15 @@ +.DS_Store +.git +.github +LICENSE +README.md +.editorconfig +.gitignore +.distignore +/node_modules +package.json +package-lock.json +/vendor +composer.json +composer.lock +gulpfile.js diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..047636d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +# This file is for unifying the coding style for different editors and IDEs +# editorconfig.org + +# WordPress Coding Standards +# https://make.wordpress.org/core/handbook/coding-standards/ + +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = tab +indent_size = 4 + +[{.jshintrc,*.json,*.yml}] +indent_style = space +indent_size = 2 + +[{*.txt,wp-config-sample.php}] +end_of_line = crlf \ No newline at end of file diff --git a/.gitignore b/.gitignore index e43b0f9..270de8f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,12 @@ .DS_Store +phpcs.xml +phpunit.xml +Thumbs.db +wp-cli.local.yml +node_modules/ +package-lock.json +vendor/ +composer.lock +*.sql +*.tar.gz +*.zip diff --git a/extensions-for-elementor-form.php b/extensions-for-elementor-form.php index d1a97c7..fa835ca 100644 --- a/extensions-for-elementor-form.php +++ b/extensions-for-elementor-form.php @@ -6,7 +6,7 @@ * Author: EduardoVillao.me * Author URI: https://eduardovillao.me/ * Text Domain: extensions-for-elementor-form - * Version: 2.0 + * Version: 2.0.1 * Requires at least: 5.5 * Requires PHP: 7.0 * License: GPL-2.0+ @@ -22,7 +22,7 @@ define( 'EEF_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); define( 'EEF_PLUGN_URL', plugin_dir_url( __FILE__ ) ); -define( 'EEF_VERSION', '2.0' ); +define( 'EEF_VERSION', '2.0.1' ); define( 'EEF_PHP_MINIMUM_VERSION', '7.0' ); define( 'EEF_WP_MINIMUM_VERSION', '5.5' ); @@ -43,7 +43,7 @@ /** * Init plugin (temp. code) - * + * * @since 2.0 */ function eef_init_plugin() { @@ -92,7 +92,7 @@ function eef_admin_notice_wp_version_fail() { /** * Admin notice Elementor Pro disabled - * + * * @since 2.0 * @return string */ @@ -109,7 +109,7 @@ function eef_notice_elementor_pro_inactive() { /** * Check if plugin is active - * + * * @since 2.0 */ function eef_plugin_is_active( $plugin_name ) { diff --git a/readme.txt b/readme.txt index 08772aa..8a2a9de 100755 --- a/readme.txt +++ b/readme.txt @@ -1,87 +1,90 @@ -=== Extensions for Elementor Form === -Contributors: EVCODE -Donate link: https://eduardovillao.me/ -Tags: elementor, elementor form, elementor plugins, form, register post, register custom post type -Requires at least: 5.4 -Tested up to: 6.1 -Stable tag: 2.0 -Requires PHP: 7.0 -License: GPLv2License -URI:https://www.gnu.org/licenses/gpl-2.0.html - -== Description == - -Extensions for Elementor Form create many new actions and controls to default Elementor Form widget. - -> This plugin require Elementor Pro version (Form Widget). - -#### Available Extensions #### - -* Send form message to WhatsApp - After form is submitted send fields message directo to WhatsApp. [Video demo](https://www.youtube.com/watch?v=OjEChAW2gGc) - -* Hide form after success submit. [Video demo](https://www.youtube.com/watch?v=CMN32j4hGlA) - -* Custom Success Message - Create a custom template message to show after form is submitted. [Video demo](https://www.youtube.com/watch?v=CMN32j4hGlA) - -* Search in select input - Add search capability to select input. (Soon!) - -* Register Post and Custom Post - Use the form to create posts or custom posts direct from the website front end. (Soon!) - -== Do you know my other plugins? == - -Discover [my plugins](https://eduardovillao.me/wordpress-plugins/) - -== WordPress Tips? == - -Access [my blog](https://eduardovillao.me/blog/) - -== Plugins Suggestions/requests? == - -Please, send me a message: [plugins@eduardovillao.me](mailto:plugins@eduardovillao.me) - -== Installation == - -1. Download the plugin from WP directory. - -2. Activate the plugin. - -3. Go to Elementor editor's page and use Form widget to use the extensions options. - -== Frequently Asked Questions == - -= This plugin requires Elementor Pro version? = - -Yes! As this is a extensions for Elementor Form widget it will work only widget Elementor Pro version. - -= This plugin works with other widgets forms, like JetEngine and other? = - -No! This extensions will be work only with Elementor plugin. - -== Screenshots == - -== Changelog == - -= 2.0 = -* New: action to register post/custom post with form. -* Changed: code improvements. - -= 1.3.7 = -* Changed: Compatibility with WordPress 6.1. - -= 1.3.6 = -* Changed: Compatibility with WordPress 6.0. - -= 1.3.1 = -* Compatibility with WordPress 5.7. - -= 1.3 = -* Fixed hide form after submit. - -= 1.2 = -* Add support for break line with token %break%. - -= 1.1 = -* Fix bug on phone number. - -= 1.0 = -* Initial release. +=== Extensions for Elementor Form === +Contributors: EVCODE +Donate link: https://eduardovillao.me/ +Tags: elementor, elementor form, elementor plugins, form, register post, register custom post type +Requires at least: 5.4 +Tested up to: 6.2 +Stable tag: 2.0.1 +Requires PHP: 7.0 +License: GPLv2License +URI:https://www.gnu.org/licenses/gpl-2.0.html + +== Description == + +Extensions for Elementor Form create many new actions and controls to default Elementor Form widget. + +> This plugin require Elementor Pro version (Form Widget). + +#### Available Extensions #### + +* Send form message to WhatsApp - After form is submitted send fields message directo to WhatsApp. [Video demo](https://www.youtube.com/watch?v=OjEChAW2gGc) + +* Hide form after success submit. [Video demo](https://www.youtube.com/watch?v=CMN32j4hGlA) + +* Custom Success Message - Create a custom template message to show after form is submitted. [Video demo](https://www.youtube.com/watch?v=CMN32j4hGlA) + +* Search in select input - Add search capability to select input. (Soon!) + +* Register Post and Custom Post - Use the form to create posts or custom posts direct from the website front end. (Soon!) + +== Do you know my other plugins? == + +Discover [my plugins](https://eduardovillao.me/wordpress-plugins/) + +== WordPress Tips? == + +Access [my blog](https://eduardovillao.me/blog/) + +== Plugins Suggestions/requests? == + +Please, send me a message: [plugins@eduardovillao.me](mailto:plugins@eduardovillao.me) + +== Installation == + +1. Download the plugin from WP directory. + +2. Activate the plugin. + +3. Go to Elementor editor's page and use Form widget to use the extensions options. + +== Frequently Asked Questions == + += This plugin requires Elementor Pro version? = + +Yes! As this is a extensions for Elementor Form widget it will work only widget Elementor Pro version. + += This plugin works with other widgets forms, like JetEngine and other? = + +No! This extensions will be work only with Elementor plugin. + +== Screenshots == + +== Changelog == + += 2.0.1 = +* Changed: compatibility with WordPress 6.2 + += 2.0 = +* New: action to register post/custom post with form. +* Changed: code improvements. + += 1.3.7 = +* Changed: Compatibility with WordPress 6.1. + += 1.3.6 = +* Changed: Compatibility with WordPress 6.0. + += 1.3.1 = +* Compatibility with WordPress 5.7. + += 1.3 = +* Fixed hide form after submit. + += 1.2 = +* Add support for break line with token %break%. + += 1.1 = +* Fix bug on phone number. + += 1.0 = +* Initial release.