Version Description
- Fix: Tweak for banner
- Fix: Compatiblity with latest Elementor & Elementor pro
Download this release
Release Info
Developer | voidcoders |
Plugin | Contact Form7 Widget For Elementor Page Builder |
Version | 1.1.9 |
Comparing to | |
See all releases |
Code changes from version 1.1.8 to 1.1.9
- .gitignore +1 -0
- assets/banner-with-elemailer.png +0 -0
- readme.txt +4 -1
- void-cf7-widget-elementor.php +24 -20
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.DS_Store
|
assets/banner-with-elemailer.png
ADDED
Binary file
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: voidthemes,voidcoders,soyket,shawon786
|
|
3 |
Tags: page-builder, elementor, cf7, contact-form-7, contact-form-7 widget, widget, elementor add on, email, contact, form
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.8.2
|
6 |
-
Stable tag: 1.1.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -78,6 +78,9 @@ Our Contact Form7 Widget For Elementor Page Builder adds a new section in the el
|
|
78 |
Update the plugin either via wp dashboard or via FTP. After update make sure you clear your browser cache.
|
79 |
|
80 |
== Changelog ==
|
|
|
|
|
|
|
81 |
= 1.1.8 =
|
82 |
* Fix: Fatal error if folder renmaned / site migration is done
|
83 |
* Fix: Compatiblity with latest WordPress version
|
3 |
Tags: page-builder, elementor, cf7, contact-form-7, contact-form-7 widget, widget, elementor add on, email, contact, form
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.8.2
|
6 |
+
Stable tag: 1.1.9
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
78 |
Update the plugin either via wp dashboard or via FTP. After update make sure you clear your browser cache.
|
79 |
|
80 |
== Changelog ==
|
81 |
+
= 1.1.9 =
|
82 |
+
* Fix: Tweak for banner
|
83 |
+
* Fix: Compatiblity with latest Elementor & Elementor pro
|
84 |
= 1.1.8 =
|
85 |
* Fix: Fatal error if folder renmaned / site migration is done
|
86 |
* Fix: Compatiblity with latest WordPress version
|
void-cf7-widget-elementor.php
CHANGED
@@ -3,12 +3,12 @@
|
|
3 |
/**
|
4 |
* Plugin Name: Void Contact Form 7 Widget For Elementor Page Builder
|
5 |
* Description: Adds Contact Form 7 widget element to Elementor page builder for easy drag & drop the created contact forms with Contact Form 7
|
6 |
-
* Version: 1.1.
|
7 |
* Author: voidCoders
|
8 |
* Plugin URI: https://voidcoders.com/product/contact-form7-widget-for-elementor-free/
|
9 |
* Author URI: https://voidcoders.com
|
10 |
* Text Domain: void
|
11 |
-
* Elementor tested up to: 3.
|
12 |
* Elementor Pro tested up to: 3.6
|
13 |
*/
|
14 |
|
@@ -16,7 +16,7 @@ use Account\AccountDataFactory;
|
|
16 |
|
17 |
if (!defined('ABSPATH')) exit; // Exit if accessed directly
|
18 |
|
19 |
-
define('CF7_WIDGET_E_VERSION', '1.1.
|
20 |
define('CF7_WIDGET_E_PLUGIN_URL', trailingslashit(plugin_dir_url(__FILE__)));
|
21 |
define('CF7_WIDGET_E_PLUGIN_DIR', trailingslashit(plugin_dir_path(__FILE__)));
|
22 |
|
@@ -125,7 +125,7 @@ add_action('admin_notices', 'void_cf7_widget_promotional_notice');
|
|
125 |
function void_cf7_activation_time()
|
126 |
{
|
127 |
$get_installation_time = strtotime("now");
|
128 |
-
|
129 |
}
|
130 |
register_activation_hook(__FILE__, 'void_cf7_activation_time');
|
131 |
|
@@ -145,9 +145,9 @@ function void_cf7_check_installation_time()
|
|
145 |
}
|
146 |
}
|
147 |
|
148 |
-
if ( 'yes' !== get_option( '
|
149 |
-
if ( strtotime( '-3 days' ) >= get_option( '
|
150 |
-
add_action( 'admin_notices', '
|
151 |
}
|
152 |
}
|
153 |
}
|
@@ -173,14 +173,14 @@ function void_cf7_display_admin_notice()
|
|
173 |
}
|
174 |
|
175 |
/**
|
176 |
-
* Display Admin Notice, for elemailer
|
177 |
*/
|
178 |
-
function
|
179 |
{
|
180 |
-
$temporary_hide = esc_url( get_admin_url() . '?
|
181 |
-
$dont_disturb = esc_url( get_admin_url() . '?
|
182 |
-
$elemailer_link = esc_url( 'https://elemailer.com
|
183 |
-
$banner_url = CF7_WIDGET_E_PLUGIN_URL . '/assets/
|
184 |
?>
|
185 |
<div class="notice" style="border: none; padding: 0px; position: relative;">
|
186 |
<a style="display:flex;" href="<?php echo $elemailer_link; ?>" target="_blank">
|
@@ -204,18 +204,22 @@ function void_cf7_spare_me()
|
|
204 |
}
|
205 |
}
|
206 |
|
207 |
-
if ( isset( $_GET['
|
208 |
-
if ( 1 === absint( $_GET['
|
209 |
-
update_option( '
|
210 |
-
update_option( '
|
211 |
}
|
212 |
}
|
213 |
|
214 |
-
if ( isset( $_GET['
|
215 |
-
if ( 1 === absint( $_GET['
|
216 |
-
update_option( '
|
217 |
}
|
218 |
}
|
|
|
|
|
|
|
|
|
219 |
}
|
220 |
add_action('admin_init', 'void_cf7_spare_me', 5);
|
221 |
|
3 |
/**
|
4 |
* Plugin Name: Void Contact Form 7 Widget For Elementor Page Builder
|
5 |
* Description: Adds Contact Form 7 widget element to Elementor page builder for easy drag & drop the created contact forms with Contact Form 7
|
6 |
+
* Version: 1.1.9
|
7 |
* Author: voidCoders
|
8 |
* Plugin URI: https://voidcoders.com/product/contact-form7-widget-for-elementor-free/
|
9 |
* Author URI: https://voidcoders.com
|
10 |
* Text Domain: void
|
11 |
+
* Elementor tested up to: 3.6
|
12 |
* Elementor Pro tested up to: 3.6
|
13 |
*/
|
14 |
|
16 |
|
17 |
if (!defined('ABSPATH')) exit; // Exit if accessed directly
|
18 |
|
19 |
+
define('CF7_WIDGET_E_VERSION', '1.1.9');
|
20 |
define('CF7_WIDGET_E_PLUGIN_URL', trailingslashit(plugin_dir_url(__FILE__)));
|
21 |
define('CF7_WIDGET_E_PLUGIN_DIR', trailingslashit(plugin_dir_path(__FILE__)));
|
22 |
|
125 |
function void_cf7_activation_time()
|
126 |
{
|
127 |
$get_installation_time = strtotime("now");
|
128 |
+
update_option('void_cf7_elementor_activation_time', $get_installation_time);
|
129 |
}
|
130 |
register_activation_hook(__FILE__, 'void_cf7_activation_time');
|
131 |
|
145 |
}
|
146 |
}
|
147 |
|
148 |
+
if ( 'yes' !== get_option( 'void_cf7_email_with_elementor_never' ) ) {
|
149 |
+
if ( strtotime( '-3 days' ) >= get_option( 'void_cf7_email_with_elementor_time', strtotime( '-3 days' ) ) ) {
|
150 |
+
add_action( 'admin_notices', 'void_cf7_email_with_elementor_admin_notice' );
|
151 |
}
|
152 |
}
|
153 |
}
|
173 |
}
|
174 |
|
175 |
/**
|
176 |
+
* Display Admin Notice, for elemailer banner
|
177 |
*/
|
178 |
+
function void_cf7_email_with_elementor_admin_notice()
|
179 |
{
|
180 |
+
$temporary_hide = esc_url( get_admin_url() . '?void_cf7_email_with_elementor=1' );
|
181 |
+
$dont_disturb = esc_url( get_admin_url() . '?void_cf7_email_with_elementor_never=1' );
|
182 |
+
$elemailer_link = esc_url( 'https://elemailer.com/?utm_source=void-cf7-dashboard&utm_medium=wpdashboard&utm_campaign=general&utm_id=cf7-2021' );
|
183 |
+
$banner_url = CF7_WIDGET_E_PLUGIN_URL . '/assets/banner-with-elemailer.png';
|
184 |
?>
|
185 |
<div class="notice" style="border: none; padding: 0px; position: relative;">
|
186 |
<a style="display:flex;" href="<?php echo $elemailer_link; ?>" target="_blank">
|
204 |
}
|
205 |
}
|
206 |
|
207 |
+
if ( isset( $_GET['void_cf7_email_with_elementor'] ) && ! empty( $_GET['void_cf7_email_with_elementor'] ) ) {
|
208 |
+
if ( 1 === absint( $_GET['void_cf7_email_with_elementor'] ) ) {
|
209 |
+
update_option( 'void_cf7_email_with_elementor', 'yes' );
|
210 |
+
update_option( 'void_cf7_email_with_elementor_time', strtotime("now") );
|
211 |
}
|
212 |
}
|
213 |
|
214 |
+
if ( isset( $_GET['void_cf7_email_with_elementor_never'] ) && ! empty( $_GET['void_cf7_email_with_elementor_never'] ) ) {
|
215 |
+
if ( 1 === absint( $_GET['void_cf7_email_with_elementor_never'] ) ) {
|
216 |
+
update_option( 'void_cf7_email_with_elementor_never', 'yes' );
|
217 |
}
|
218 |
}
|
219 |
+
|
220 |
+
delete_option( 'void_cf7_elep_2021_temporary' );
|
221 |
+
delete_option( 'void_cf7_elep_2021_temporary_time' );
|
222 |
+
delete_option( 'void_cf7_elep_2021_never' );
|
223 |
}
|
224 |
add_action('admin_init', 'void_cf7_spare_me', 5);
|
225 |
|