Version Description
2019-02-08 =
FIX: Ensure Visual editor shown when add new form if have CF7 configuration error in CF7 5.1+
TWEAK: Add minimum required PHP & CF7 versions
Download this release
Release Info
Developer | buzztone |
Plugin | Contact Form 7 Skins |
Version | 2.0.2 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.0.2
- css/admin.css +1 -1
- includes/admin-notice.php +2 -2
- includes/admin.php +27 -5
- includes/getting-started.php +26 -26
- includes/pro-version.php +22 -22
- includes/tab.php +35 -33
- index.php +2 -2
- readme.txt +39 -79
css/admin.css
CHANGED
@@ -111,7 +111,7 @@
|
|
111 |
#cf7s .skins-sort select {
|
112 |
font-size: inherit;
|
113 |
}
|
114 |
-
#cf7s .dashicons
|
115 |
color: #777;
|
116 |
height: 31px;
|
117 |
line-height: 31px;
|
111 |
#cf7s .skins-sort select {
|
112 |
font-size: inherit;
|
113 |
}
|
114 |
+
.cf7s .dashicons { /* @before #cf7s .dashicons */
|
115 |
color: #777;
|
116 |
height: 31px;
|
117 |
line-height: 31px;
|
includes/admin-notice.php
CHANGED
@@ -86,8 +86,8 @@ class CF7_Skins_Admin_Notice {
|
|
86 |
<p>
|
87 |
<?php _e( 'Fast, easy form creation on the new CF7 Skins Form tab. Try it out on a new form.', CF7SKINS_TEXTDOMAIN ); ?>
|
88 |
<br />
|
89 |
-
<a href="http://kb.cf7skins.com/cf7-skins-visual-editor-tour
|
90 |
-
<a href="http://kb.cf7skins.com/edit-cf7-skins-form-visual-editor
|
91 |
</p>
|
92 |
</div>
|
93 |
<?php
|
86 |
<p>
|
87 |
<?php _e( 'Fast, easy form creation on the new CF7 Skins Form tab. Try it out on a new form.', CF7SKINS_TEXTDOMAIN ); ?>
|
88 |
<br />
|
89 |
+
<a href="http://kb.cf7skins.com/cf7-skins-visual-editor-tour/?utm_source=plugin&utm_medium=link&utm_campaign=update-notice"><?php _e( 'Take a tour', CF7SKINS_TEXTDOMAIN ); ?></a> –
|
90 |
+
<a href="http://kb.cf7skins.com/edit-cf7-skins-form-visual-editor/?utm_source=plugin&utm_medium=link&utm_campaign=update-notice"><?php _e( 'Visit our documentation', CF7SKINS_TEXTDOMAIN ); ?></a>
|
91 |
</p>
|
92 |
</div>
|
93 |
<?php
|
includes/admin.php
CHANGED
@@ -266,12 +266,15 @@ class CF7_Skins_Admin {
|
|
266 |
|
267 |
/**
|
268 |
* Check if current admin page is Contact Form 7 editing page.
|
|
|
269 |
*
|
270 |
* @return {boolean}
|
271 |
*
|
272 |
* @since 1.0.2
|
273 |
*/
|
274 |
-
public static function edit_page() {
|
|
|
|
|
275 |
global $hook_suffix;
|
276 |
|
277 |
// Don't show at the Contact Form 7 list wp-admin/admin.php?page=wpcf7
|
@@ -279,13 +282,32 @@ class CF7_Skins_Admin {
|
|
279 |
return true;
|
280 |
}
|
281 |
|
282 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
if ( version_compare( WPCF7_VERSION, '4.4' ) <= 0 ) {
|
284 |
-
if (
|
285 |
return true;
|
286 |
}
|
287 |
} else {
|
288 |
-
if (
|
289 |
return true;
|
290 |
}
|
291 |
}
|
@@ -345,5 +367,5 @@ class CF7_Skins_Admin {
|
|
345 |
|
346 |
echo json_encode( $mailtags );
|
347 |
exit;
|
348 |
-
}
|
349 |
}
|
266 |
|
267 |
/**
|
268 |
* Check if current admin page is Contact Form 7 editing page.
|
269 |
+
* This function can be used to determine if it is a CF7 edit/new page.
|
270 |
*
|
271 |
* @return {boolean}
|
272 |
*
|
273 |
* @since 1.0.2
|
274 |
*/
|
275 |
+
public static function edit_page() {
|
276 |
+
|
277 |
+
// The hook_suffix is same as get_current_screen()->base.
|
278 |
global $hook_suffix;
|
279 |
|
280 |
// Don't show at the Contact Form 7 list wp-admin/admin.php?page=wpcf7
|
282 |
return true;
|
283 |
}
|
284 |
|
285 |
+
/**
|
286 |
+
* CF7 registers a menu title and it is used by WordPress to generate the hook suffix,
|
287 |
+
* The menu title is translated to current user/site language if available.
|
288 |
+
*
|
289 |
+
* Since the wpcf7_admin_menu_change_notice() was introduced,
|
290 |
+
* CF7 adds a bullet red number (a.k.a plugins count) to the add_menu_page menu() title
|
291 |
+
* that adds a number in hook suffix changing it from i.e "contact_page_wpcf7-new" to "contact-8_page_wpcf7-new".
|
292 |
+
*
|
293 |
+
* Approach taken is to get last 15 chars of hook suffix and should be
|
294 |
+
* similar to '_page_wpcf7-new', without tranlasted menu title and a number.
|
295 |
+
*
|
296 |
+
* @links https://plugins.trac.wordpress.org/browser/contact-form-7/trunk/admin/admin.php#L25
|
297 |
+
* https://plugins.trac.wordpress.org/changeset/1985273
|
298 |
+
* https://core.trac.wordpress.org/browser/tags/5.0.3/src/wp-admin/includes/plugin.php#L1097
|
299 |
+
*
|
300 |
+
* @since 2.0.2
|
301 |
+
*/
|
302 |
+
$wpcf7_new = '_page_wpcf7-new' === substr( $hook_suffix, -15 ) ? true : false;
|
303 |
+
|
304 |
+
// Backward compatibility for CF7 new page
|
305 |
if ( version_compare( WPCF7_VERSION, '4.4' ) <= 0 ) {
|
306 |
+
if ( $wpcf7_new && isset( $_GET['locale'] ) ) { // CF7 < 4.4 new page
|
307 |
return true;
|
308 |
}
|
309 |
} else {
|
310 |
+
if ( $wpcf7_new ) { // CF7 > 4.4 new page
|
311 |
return true;
|
312 |
}
|
313 |
}
|
367 |
|
368 |
echo json_encode( $mailtags );
|
369 |
exit;
|
370 |
+
}
|
371 |
}
|
includes/getting-started.php
CHANGED
@@ -26,13 +26,13 @@
|
|
26 |
|
27 |
<h3><?php _e( 'Using CF7 Skins', CF7SKINS_TEXTDOMAIN ); ?></h3>
|
28 |
|
29 |
-
<p>1. <a href="http://cf7skins.com/visual-editor
|
30 |
|
31 |
<p><img src="<?php echo CF7SKINS_URL; ?>images/cf7skins-visual-ui.png" alt="CF7 Skins Visual Editor UI" width="600" height="449" class="alignright" /><em><?php _e( 'Start with a CF7 Skins Template.', CF7SKINS_TEXTDOMAIN ); ?> </em></p>
|
32 |
|
33 |
<ul>
|
34 |
<li>
|
35 |
-
<?php _e( 'Select a <strong>Template</strong>
|
36 |
</li>
|
37 |
<li>
|
38 |
<?php _e( 'The <strong>Form</strong> tab is where you build your form.', CF7SKINS_TEXTDOMAIN ); ?>
|
@@ -72,11 +72,11 @@
|
|
72 |
</li>
|
73 |
</ul>
|
74 |
|
75 |
-
<p><a class="cf7s-btn" target="_blank" href="http://kb.cf7skins.com/category/visual-editor
|
76 |
|
77 |
<div class="clearfix"></div>
|
78 |
|
79 |
-
<p>2. <a href="http://cf7skins.com/templates
|
80 |
|
81 |
|
82 |
<p><img src="<?php echo CF7SKINS_URL; ?>images/cf7skins-templates.png" alt="CF7 Skins Templates" width="600" height="238" class="alignright" /><em><?php _e( 'Each <strong>Template</strong> acts as an easy to follow guide, which can be adapted to your particular requirements.', CF7SKINS_TEXTDOMAIN ); ?></em></p>
|
@@ -93,11 +93,11 @@
|
|
93 |
</li>
|
94 |
</ul>
|
95 |
|
96 |
-
<p><a class="cf7s-btn" target="_blank" href="http://kb.cf7skins.com/category/templates
|
97 |
|
98 |
<div class="clearfix"></div>
|
99 |
|
100 |
-
<p>3. <a href="http://cf7skins.com/styles
|
101 |
|
102 |
<p><img src="<?php echo CF7SKINS_URL; ?>images/cf7skins-styles.png" alt="CF7 Skins Styles" width="600" height="239" class="alignright" /><em><?php _e( 'Every <strong>Style</strong> covers the full range of Contact Form 7 form elements.', CF7SKINS_TEXTDOMAIN ); ?></em></p>
|
103 |
|
@@ -113,7 +113,7 @@
|
|
113 |
</li>
|
114 |
</ul>
|
115 |
|
116 |
-
<p><a class="cf7s-btn" target="_blank" href="http://kb.cf7skins.com/category/styles
|
117 |
|
118 |
<div class="clearfix"></div>
|
119 |
|
@@ -122,20 +122,20 @@
|
|
122 |
|
123 |
<ul>
|
124 |
<li>
|
125 |
-
<a href="http://kb.cf7skins.com/getting-started-using-cf7-skins
|
126 |
</li>
|
127 |
<li>
|
128 |
-
<a href="http://kb.cf7skins.com/edit-cf7-skins-form-visual-editor
|
129 |
</li>
|
130 |
<li>
|
131 |
-
<a href="http://kb.cf7skins.com/why-we-use-fieldset-legend-lists-in-cf7-skins
|
132 |
</li>
|
133 |
<li>
|
134 |
-
<a href="http://kb.cf7skins.com/use-custom-css-plugin
|
135 |
</li>
|
136 |
</ul>
|
137 |
|
138 |
-
<p><a class="cf7s-btn" target="_blank" href="http://kb.cf7skins.com/category/using-cf7skins
|
139 |
|
140 |
</div>
|
141 |
|
@@ -144,13 +144,13 @@
|
|
144 |
<p><?php _e( 'You can help fellow WordPress users in the following simple ways', CF7SKINS_TEXTDOMAIN ); ?></p>
|
145 |
<ul>
|
146 |
<li>
|
147 |
-
<strong><a href="https://wordpress.org/
|
148 |
</li>
|
149 |
<li>
|
150 |
-
<strong><a href="http://cf7skins.com/testimonials
|
151 |
</li>
|
152 |
<li>
|
153 |
-
<strong><a href="http://cf7skins.com/support/#feedback" target="_blank"><?php _e( 'Feedback', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'help us to improve CF7 Skins by offering feedback', CF7SKINS_TEXTDOMAIN ); ?>
|
154 |
</li>
|
155 |
</ul>
|
156 |
|
@@ -158,13 +158,13 @@
|
|
158 |
<p><?php _e( 'Our in-depth documentation is a great place to find detailed answers', CF7SKINS_TEXTDOMAIN ); ?></p>
|
159 |
<ul>
|
160 |
<li>
|
161 |
-
<strong><a href="http://kb.cf7skins.com/faq
|
162 |
</li>
|
163 |
<li>
|
164 |
-
<strong><a href="http://kb.cf7skins.com
|
165 |
</li>
|
166 |
<li>
|
167 |
-
<strong><a href="http://kb.cf7skins.com/category/tutorials
|
168 |
</li>
|
169 |
</ul>
|
170 |
|
@@ -180,31 +180,31 @@
|
|
180 |
<li><strong><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></strong></li>
|
181 |
<ul>
|
182 |
<li>
|
183 |
-
<strong><a href="http://cf7skins.com/support/#premium-email-support" target="_blank"><?php _e( 'Premium Email Support', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'available (for current paid licenses) to deal with users questions and problems.', CF7SKINS_TEXTDOMAIN ); ?>
|
184 |
</li>
|
185 |
</ul>
|
186 |
</ul>
|
187 |
-
<p><a href="http://cf7skins.com" target="_blank"><?php _e( 'Website', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/faq
|
188 |
|
189 |
<h2><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></h2>
|
190 |
|
191 |
-
<p><?php printf( __( 'Ongoing development of CF7 Skins is made possible by sales of renewable annual licenses of our %1$s.', CF7SKINS_TEXTDOMAIN), '<a href="http://cf7skins.com/add-ons
|
192 |
|
193 |
<ul>
|
194 |
<li>
|
195 |
-
<strong><a href="http://cf7skins.com/add-ons/pro
|
196 |
</li>
|
197 |
<li>
|
198 |
-
<strong><a href="http://cf7skins.com/add-ons/ready
|
199 |
</li>
|
200 |
<li>
|
201 |
-
<strong><a href="http://cf7skins.com/add-ons/multi
|
202 |
</li>
|
203 |
<li>
|
204 |
-
<strong><a href="http://cf7skins.com/add-ons/logic
|
205 |
</li>
|
206 |
</ul>
|
207 |
|
208 |
-
<p><em><?php _e( 'Our range of', CF7SKINS_TEXTDOMAIN ); ?> <a href="http://cf7skins.com/add-ons
|
209 |
|
210 |
</div>
|
26 |
|
27 |
<h3><?php _e( 'Using CF7 Skins', CF7SKINS_TEXTDOMAIN ); ?></h3>
|
28 |
|
29 |
+
<p>1. <a href="http://cf7skins.com/visual-editor/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _ex('CF7 Skins','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?><?php _e( ' Visual Editor', CF7SKINS_TEXTDOMAIN ); ?></strong></a><?php _e( ' – where you edit and build your form.', CF7SKINS_TEXTDOMAIN ); ?></p>
|
30 |
|
31 |
<p><img src="<?php echo CF7SKINS_URL; ?>images/cf7skins-visual-ui.png" alt="CF7 Skins Visual Editor UI" width="600" height="449" class="alignright" /><em><?php _e( 'Start with a CF7 Skins Template.', CF7SKINS_TEXTDOMAIN ); ?> </em></p>
|
32 |
|
33 |
<ul>
|
34 |
<li>
|
35 |
+
<?php _e( 'Select a <strong>Template</strong> to add it to the <strong>Form</strong> tab.', CF7SKINS_TEXTDOMAIN ); ?>
|
36 |
</li>
|
37 |
<li>
|
38 |
<?php _e( 'The <strong>Form</strong> tab is where you build your form.', CF7SKINS_TEXTDOMAIN ); ?>
|
72 |
</li>
|
73 |
</ul>
|
74 |
|
75 |
+
<p><a class="cf7s-btn" target="_blank" href="http://kb.cf7skins.com/category/visual-editor/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _e( 'Learn More', CF7SKINS_TEXTDOMAIN ); ?></a></p>
|
76 |
|
77 |
<div class="clearfix"></div>
|
78 |
|
79 |
+
<p>2. <a href="http://cf7skins.com/templates/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _e( ' Templates', CF7SKINS_TEXTDOMAIN ); ?></strong></a><?php _e( ' – give you a starting point for your form.', CF7SKINS_TEXTDOMAIN ); ?></p>
|
80 |
|
81 |
|
82 |
<p><img src="<?php echo CF7SKINS_URL; ?>images/cf7skins-templates.png" alt="CF7 Skins Templates" width="600" height="238" class="alignright" /><em><?php _e( 'Each <strong>Template</strong> acts as an easy to follow guide, which can be adapted to your particular requirements.', CF7SKINS_TEXTDOMAIN ); ?></em></p>
|
93 |
</li>
|
94 |
</ul>
|
95 |
|
96 |
+
<p><a class="cf7s-btn" target="_blank" href="http://kb.cf7skins.com/category/templates/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _e( 'Learn More', CF7SKINS_TEXTDOMAIN ); ?></a></p>
|
97 |
|
98 |
<div class="clearfix"></div>
|
99 |
|
100 |
+
<p>3. <a href="http://cf7skins.com/styles/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _e( ' Styles', CF7SKINS_TEXTDOMAIN ); ?></strong></a><?php _e( ' – control the appearance for your form.', CF7SKINS_TEXTDOMAIN ); ?></p>
|
101 |
|
102 |
<p><img src="<?php echo CF7SKINS_URL; ?>images/cf7skins-styles.png" alt="CF7 Skins Styles" width="600" height="239" class="alignright" /><em><?php _e( 'Every <strong>Style</strong> covers the full range of Contact Form 7 form elements.', CF7SKINS_TEXTDOMAIN ); ?></em></p>
|
103 |
|
113 |
</li>
|
114 |
</ul>
|
115 |
|
116 |
+
<p><a class="cf7s-btn" target="_blank" href="http://kb.cf7skins.com/category/styles/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _e( 'Learn More', CF7SKINS_TEXTDOMAIN ); ?></a></p>
|
117 |
|
118 |
<div class="clearfix"></div>
|
119 |
|
122 |
|
123 |
<ul>
|
124 |
<li>
|
125 |
+
<a href="http://kb.cf7skins.com/getting-started-using-cf7-skins/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Getting Started – Using CF7 Skins', CF7SKINS_TEXTDOMAIN ); ?></a>
|
126 |
</li>
|
127 |
<li>
|
128 |
+
<a href="http://kb.cf7skins.com/edit-cf7-skins-form-visual-editor/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Edit your CF7 Skins Form', CF7SKINS_TEXTDOMAIN ); ?></a>
|
129 |
</li>
|
130 |
<li>
|
131 |
+
<a href="http://kb.cf7skins.com/why-we-use-fieldset-legend-lists-in-cf7-skins/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Fieldset, Legend & Lists in CF7 Skins', CF7SKINS_TEXTDOMAIN ); ?></a>
|
132 |
</li>
|
133 |
<li>
|
134 |
+
<a href="http://kb.cf7skins.com/use-custom-css-plugin/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Modify your CF7 Skins Style', CF7SKINS_TEXTDOMAIN ); ?></a>
|
135 |
</li>
|
136 |
</ul>
|
137 |
|
138 |
+
<p><a class="cf7s-btn" target="_blank" href="http://kb.cf7skins.com/category/using-cf7skins/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _e( 'Learn More', CF7SKINS_TEXTDOMAIN ); ?></a></p>
|
139 |
|
140 |
</div>
|
141 |
|
144 |
<p><?php _e( 'You can help fellow WordPress users in the following simple ways', CF7SKINS_TEXTDOMAIN ); ?></p>
|
145 |
<ul>
|
146 |
<li>
|
147 |
+
<strong><a href="https://wordpress.org/support/plugin/contact-form-7-skins/reviews/#new-post" target="_blank"><?php _e( 'Review', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'leave a plugin review on WordPress.org', CF7SKINS_TEXTDOMAIN ); ?>
|
148 |
</li>
|
149 |
<li>
|
150 |
+
<strong><a href="http://cf7skins.com/testimonials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Testimonial', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'add your Testimonial to those listed', CF7SKINS_TEXTDOMAIN ); ?>
|
151 |
</li>
|
152 |
<li>
|
153 |
+
<strong><a href="http://cf7skins.com/support/#feedback?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Feedback', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'help us to improve CF7 Skins by offering feedback', CF7SKINS_TEXTDOMAIN ); ?>
|
154 |
</li>
|
155 |
</ul>
|
156 |
|
158 |
<p><?php _e( 'Our in-depth documentation is a great place to find detailed answers', CF7SKINS_TEXTDOMAIN ); ?></p>
|
159 |
<ul>
|
160 |
<li>
|
161 |
+
<strong><a href="http://kb.cf7skins.com/faq/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'FAQ', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'browse over some commonly asked questions.', CF7SKINS_TEXTDOMAIN ); ?>
|
162 |
</li>
|
163 |
<li>
|
164 |
+
<strong><a href="http://kb.cf7skins.com/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Documentation', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'search by Categories & Tags or Keywords.', CF7SKINS_TEXTDOMAIN ); ?>
|
165 |
</li>
|
166 |
<li>
|
167 |
+
<strong><a href="http://kb.cf7skins.com/category/tutorials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Tutorials', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'to help you get started quickly with CF7 Skins.', CF7SKINS_TEXTDOMAIN ); ?>
|
168 |
</li>
|
169 |
</ul>
|
170 |
|
180 |
<li><strong><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></strong></li>
|
181 |
<ul>
|
182 |
<li>
|
183 |
+
<strong><a href="http://cf7skins.com/support/#premium-email-support?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Premium Email Support', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'available (for current paid licenses) to deal with users questions and problems.', CF7SKINS_TEXTDOMAIN ); ?>
|
184 |
</li>
|
185 |
</ul>
|
186 |
</ul>
|
187 |
+
<p><a href="http://cf7skins.com?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Website', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/faq/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'FAQ', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Documentation', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/category/tutorials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Tutorials', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></a></p>
|
188 |
|
189 |
<h2><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></h2>
|
190 |
|
191 |
+
<p><?php printf( __( 'Ongoing development of CF7 Skins is made possible by sales of renewable annual licenses of our %1$s.', CF7SKINS_TEXTDOMAIN), '<a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank">'. __( 'Add-ons', CF7SKINS_TEXTDOMAIN ) .'</a>' ); ?></p>
|
192 |
|
193 |
<ul>
|
194 |
<li>
|
195 |
+
<strong><a href="http://cf7skins.com/add-ons/pro/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'CF7 Skins Pro', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'Extra Templates & Styles', CF7SKINS_TEXTDOMAIN ); ?>
|
196 |
</li>
|
197 |
<li>
|
198 |
+
<strong><a href="http://cf7skins.com/add-ons/ready/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'CF7 Skins Ready', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'Useful styling options', CF7SKINS_TEXTDOMAIN ); ?>
|
199 |
</li>
|
200 |
<li>
|
201 |
+
<strong><a href="http://cf7skins.com/add-ons/multi/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'CF7 Skins Multi', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'Multi-part forms', CF7SKINS_TEXTDOMAIN ); ?>
|
202 |
</li>
|
203 |
<li>
|
204 |
+
<strong><a href="http://cf7skins.com/add-ons/logic/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'CF7 Skins Logic', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'Conditional logic for your forms', CF7SKINS_TEXTDOMAIN ); ?>
|
205 |
</li>
|
206 |
</ul>
|
207 |
|
208 |
+
<p><em><?php _e( 'Our range of', CF7SKINS_TEXTDOMAIN ); ?> <a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _ex( 'Add-ons','Subject form. Add conjugations if needed.', CF7SKINS_TEXTDOMAIN ); ?></strong></a> <?php _e( 'brings the functionality available in other premium WordPress form plugins directly within Contact Form 7.', CF7SKINS_TEXTDOMAIN ); ?></em></p>
|
209 |
|
210 |
</div>
|
includes/pro-version.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<div class="cf7s-info">
|
11 |
<h2><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></h2>
|
12 |
|
13 |
-
<img title="CF7 Skins" src="<?php echo CF7SKINS_URL; ?>images/cf7skins-logo.png" alt="CF7 Skins Logo" width="400" height="150" class="alignright" /><p><?php printf( __( 'Ongoing development of CF7 Skins is made possible by sales of renewable annual licenses of our %1$s.', CF7SKINS_TEXTDOMAIN), '<a href="http://cf7skins.com/add-ons
|
14 |
|
15 |
<h4><?php _e( 'CF7 Skins Add-ons offer a number of advantages:', CF7SKINS_TEXTDOMAIN ); ?></h4>
|
16 |
<ul>
|
@@ -25,21 +25,21 @@
|
|
25 |
</li>
|
26 |
</ul>
|
27 |
|
28 |
-
<p><em><?php _e( 'Our range of', CF7SKINS_TEXTDOMAIN ); ?> <a href="http://cf7skins.com/add-ons
|
29 |
|
30 |
<h3><?php _ex('CF7 Skins Pro','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></h3>
|
31 |
|
32 |
-
<p><a href="http://cf7skins.com/add-ons/pro
|
33 |
|
34 |
-
<p><a href="http://cf7skins.com/support/#premium-email-support" target="_blank"><strong><?php _ex( 'Premium Email Support','Subject form. Add conjugations if needed.', CF7SKINS_TEXTDOMAIN ); ?></strong></a> <?php _e( 'is provided by paid staff to deal with Premium users questions and problems', CF7SKINS_TEXTDOMAIN ); ?>.</p>
|
35 |
|
36 |
-
<p><a class="cf7s-btn" target="_blank" href="http://cf7skins.com/add-ons/pro
|
37 |
|
38 |
<h3><?php _ex('CF7 Skins Ready','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></h3>
|
39 |
|
40 |
-
<a target="_blank" href="http://cf7skins.com/add-ons/ready
|
41 |
|
42 |
-
<p><a target="_blank" href="http://cf7skins.com/add-ons/ready
|
43 |
|
44 |
<ul>
|
45 |
<li>
|
@@ -59,13 +59,13 @@
|
|
59 |
</li>
|
60 |
</ul>
|
61 |
|
62 |
-
<p><a class="cf7s-btn" target="_blank" href="http://cf7skins.com/add-ons/ready
|
63 |
|
64 |
<h3><?php _ex('CF7 Skins Multi','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></h3>
|
65 |
|
66 |
-
<a target="_blank" href="http://cf7skins.com/add-ons/multi
|
67 |
|
68 |
-
<p><a target="_blank" href="http://cf7skins.com/add-ons/multi
|
69 |
|
70 |
<ul>
|
71 |
<li>
|
@@ -91,13 +91,13 @@
|
|
91 |
</li>
|
92 |
</ul>
|
93 |
|
94 |
-
<p><a class="cf7s-btn" target="_blank" href="http://cf7skins.com/add-ons/multi
|
95 |
|
96 |
<h3><?php _ex('CF7 Skins Logic','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></h3>
|
97 |
|
98 |
-
<a target="_blank" href="http://cf7skins.com/add-ons/logic
|
99 |
|
100 |
-
<p><a target="_blank" href="http://cf7skins.com/add-ons/logic
|
101 |
|
102 |
<ul>
|
103 |
<li>
|
@@ -120,7 +120,7 @@
|
|
120 |
</li>
|
121 |
</ul>
|
122 |
|
123 |
-
<p><a class="cf7s-btn" target="_blank" href="http://cf7skins.com/add-ons/logic
|
124 |
|
125 |
</div>
|
126 |
|
@@ -129,13 +129,13 @@
|
|
129 |
<p><?php _e( 'You can help fellow WordPress users in the following simple ways', CF7SKINS_TEXTDOMAIN ); ?></p>
|
130 |
<ul>
|
131 |
<li>
|
132 |
-
<strong><a href="https://wordpress.org/
|
133 |
</li>
|
134 |
<li>
|
135 |
-
<strong><a href="http://cf7skins.com/testimonials
|
136 |
</li>
|
137 |
<li>
|
138 |
-
<strong><a href="http://cf7skins.com/support/#feedback" target="_blank"><?php _e( 'Feedback', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'help us to improve CF7 Skins by offering feedback', CF7SKINS_TEXTDOMAIN ); ?>
|
139 |
</li>
|
140 |
</ul>
|
141 |
|
@@ -143,13 +143,13 @@
|
|
143 |
<p><?php _e( 'Our in-depth documentation is a great place to find detailed answers', CF7SKINS_TEXTDOMAIN ); ?></p>
|
144 |
<ul>
|
145 |
<li>
|
146 |
-
<strong><a href="http://kb.cf7skins.com/faq
|
147 |
</li>
|
148 |
<li>
|
149 |
-
<strong><a href="http://kb.cf7skins.com
|
150 |
</li>
|
151 |
<li>
|
152 |
-
<strong><a href="http://kb.cf7skins.com/category/tutorials
|
153 |
</li>
|
154 |
</ul>
|
155 |
|
@@ -165,10 +165,10 @@
|
|
165 |
<li><strong><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></strong></li>
|
166 |
<ul>
|
167 |
<li>
|
168 |
-
<strong><a href="http://cf7skins.com/support/#premium-email-support" target="_blank"><?php _e( 'Premium Email Support', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'available (for current paid licenses) to deal with users questions and problems.', CF7SKINS_TEXTDOMAIN ); ?>
|
169 |
</li>
|
170 |
</ul>
|
171 |
</ul>
|
172 |
-
<p><a href="http://cf7skins.com" target="_blank"><?php _e( 'Website', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/faq
|
173 |
|
174 |
</div>
|
10 |
<div class="cf7s-info">
|
11 |
<h2><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></h2>
|
12 |
|
13 |
+
<img title="CF7 Skins" src="<?php echo CF7SKINS_URL; ?>images/cf7skins-logo.png" alt="CF7 Skins Logo" width="400" height="150" class="alignright" /><p><?php printf( __( 'Ongoing development of CF7 Skins is made possible by sales of renewable annual licenses of our %1$s.', CF7SKINS_TEXTDOMAIN), '<a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank">'. __( 'Add-ons', CF7SKINS_TEXTDOMAIN ) .'</a>' ); ?></p>
|
14 |
|
15 |
<h4><?php _e( 'CF7 Skins Add-ons offer a number of advantages:', CF7SKINS_TEXTDOMAIN ); ?></h4>
|
16 |
<ul>
|
25 |
</li>
|
26 |
</ul>
|
27 |
|
28 |
+
<p><em><?php _e( 'Our range of', CF7SKINS_TEXTDOMAIN ); ?> <a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _ex( 'Add-ons','Subject form. Add conjugations if needed.', CF7SKINS_TEXTDOMAIN ); ?></strong></a> <?php _e( 'brings the functionality available in other premium WordPress form plugins directly within Contact Form 7.', CF7SKINS_TEXTDOMAIN ); ?></em></p>
|
29 |
|
30 |
<h3><?php _ex('CF7 Skins Pro','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></h3>
|
31 |
|
32 |
+
<p><a href="http://cf7skins.com/add-ons/pro/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _ex( 'CF7 Skins Pro', 'Subject form. Add conjugations if needed.' , CF7SKINS_TEXTDOMAIN ); ?></strong></a> <?php _e( '- offers a wider range of Templates & Styles for commonly used forms', CF7SKINS_TEXTDOMAIN ); ?>.</p>
|
33 |
|
34 |
+
<p><a href="http://cf7skins.com/support/#premium-email-support?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><strong><?php _ex( 'Premium Email Support','Subject form. Add conjugations if needed.', CF7SKINS_TEXTDOMAIN ); ?></strong></a> <?php _e( 'is provided by paid staff to deal with Premium users questions and problems', CF7SKINS_TEXTDOMAIN ); ?>.</p>
|
35 |
|
36 |
+
<p><a class="cf7s-btn" target="_blank" href="http://cf7skins.com/add-ons/pro/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Pro','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></a></p>
|
37 |
|
38 |
<h3><?php _ex('CF7 Skins Ready','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></h3>
|
39 |
|
40 |
+
<a target="_blank" href="http://cf7skins.com/add-ons/ready/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><img title="CF7 Skins Ready" src="<?php echo CF7SKINS_URL; ?>images/cf7skins-ready-logo.png" alt="CF7 Skins Ready Logo" width="400" height="150" class="alignright" /></a>
|
41 |
|
42 |
+
<p><a target="_blank" href="http://cf7skins.com/add-ons/ready/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Ready','Subject form. Add conjugations if needed.',CF7SKINS_TEXTDOMAIN); ?></a> <?php _e( '- provides a range of useful pre-defined styles that can be used in all Contact Form 7 forms:', CF7SKINS_TEXTDOMAIN ); ?></p>
|
43 |
|
44 |
<ul>
|
45 |
<li>
|
59 |
</li>
|
60 |
</ul>
|
61 |
|
62 |
+
<p><a class="cf7s-btn" target="_blank" href="http://cf7skins.com/add-ons/ready/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Ready','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></a></p>
|
63 |
|
64 |
<h3><?php _ex('CF7 Skins Multi','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></h3>
|
65 |
|
66 |
+
<a target="_blank" href="http://cf7skins.com/add-ons/multi/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><img title="CF7 Skins Multi" src="<?php echo CF7SKINS_URL; ?>images/cf7skins-multi-logo.png" alt="CF7 Skins Multi Logo" width="400" height="150" class="alignright" /></a>
|
67 |
|
68 |
+
<p><a target="_blank" href="http://cf7skins.com/add-ons/multi/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Multi','Subject form. Add conjugations if needed.',CF7SKINS_TEXTDOMAIN); ?></a> <?php _e( '- includes the features you need to make user friendly multi-part Contact Form 7 forms:', CF7SKINS_TEXTDOMAIN ); ?></p>
|
69 |
|
70 |
<ul>
|
71 |
<li>
|
91 |
</li>
|
92 |
</ul>
|
93 |
|
94 |
+
<p><a class="cf7s-btn" target="_blank" href="http://cf7skins.com/add-ons/multi/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Multi','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></a></p>
|
95 |
|
96 |
<h3><?php _ex('CF7 Skins Logic','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></h3>
|
97 |
|
98 |
+
<a target="_blank" href="http://cf7skins.com/add-ons/logic/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><img title="CF7 Skins Logic" src="<?php echo CF7SKINS_URL; ?>images/cf7skins-logic-logo.png" alt="CF7 Skins Logic Logo" width="400" height="150" class="alignright" /></a>
|
99 |
|
100 |
+
<p><a target="_blank" href="http://cf7skins.com/add-ons/logic/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Logic','Subject form. Add conjugations if needed.',CF7SKINS_TEXTDOMAIN); ?></a> <?php _e( '- provides Conditional Logic for Contact Form 7 forms:', CF7SKINS_TEXTDOMAIN ); ?></p>
|
101 |
|
102 |
<ul>
|
103 |
<li>
|
120 |
</li>
|
121 |
</ul>
|
122 |
|
123 |
+
<p><a class="cf7s-btn" target="_blank" href="http://cf7skins.com/add-ons/logic/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started"><?php _ex('CF7 Skins Logic','Stand-alone form. No conjugations needed.',CF7SKINS_TEXTDOMAIN); ?></a></p>
|
124 |
|
125 |
</div>
|
126 |
|
129 |
<p><?php _e( 'You can help fellow WordPress users in the following simple ways', CF7SKINS_TEXTDOMAIN ); ?></p>
|
130 |
<ul>
|
131 |
<li>
|
132 |
+
<strong><a href="https://wordpress.org/support/plugin/contact-form-7-skins/reviews/#new-post" target="_blank"><?php _e( 'Review', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'leave a plugin review on WordPress.org', CF7SKINS_TEXTDOMAIN ); ?>
|
133 |
</li>
|
134 |
<li>
|
135 |
+
<strong><a href="http://cf7skins.com/testimonials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Testimonial', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'add your Testimonial to those listed', CF7SKINS_TEXTDOMAIN ); ?>
|
136 |
</li>
|
137 |
<li>
|
138 |
+
<strong><a href="http://cf7skins.com/support/#feedback?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Feedback', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'help us to improve CF7 Skins by offering feedback', CF7SKINS_TEXTDOMAIN ); ?>
|
139 |
</li>
|
140 |
</ul>
|
141 |
|
143 |
<p><?php _e( 'Our in-depth documentation is a great place to find detailed answers', CF7SKINS_TEXTDOMAIN ); ?></p>
|
144 |
<ul>
|
145 |
<li>
|
146 |
+
<strong><a href="http://kb.cf7skins.com/faq/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'FAQ', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'browse over some commonly asked questions.', CF7SKINS_TEXTDOMAIN ); ?>
|
147 |
</li>
|
148 |
<li>
|
149 |
+
<strong><a href="http://kb.cf7skins.com/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Documentation', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'search by Categories & Tags or Keywords.', CF7SKINS_TEXTDOMAIN ); ?>
|
150 |
</li>
|
151 |
<li>
|
152 |
+
<strong><a href="http://kb.cf7skins.com/category/tutorials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Tutorials', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'to help you get started quickly with CF7 Skins.', CF7SKINS_TEXTDOMAIN ); ?>
|
153 |
</li>
|
154 |
</ul>
|
155 |
|
165 |
<li><strong><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></strong></li>
|
166 |
<ul>
|
167 |
<li>
|
168 |
+
<strong><a href="http://cf7skins.com/support/#premium-email-support?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Premium Email Support', CF7SKINS_TEXTDOMAIN ); ?></a></strong> - <?php _e( 'available (for current paid licenses) to deal with users questions and problems.', CF7SKINS_TEXTDOMAIN ); ?>
|
169 |
</li>
|
170 |
</ul>
|
171 |
</ul>
|
172 |
+
<p><a href="http://cf7skins.com?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Website', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/faq/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'FAQ', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Documentation', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://kb.cf7skins.com/category/tutorials/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Tutorials', CF7SKINS_TEXTDOMAIN ); ?></a> | <a href="http://cf7skins.com/add-ons/?utm_source=plugin&utm_medium=link&utm_campaign=getting-started" target="_blank"><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></a></p>
|
173 |
|
174 |
</div>
|
includes/tab.php
CHANGED
@@ -267,41 +267,43 @@ class CF7_Skins_Admin_Tab extends CF7_Skins_Admin {
|
|
267 |
}
|
268 |
|
269 |
?>
|
270 |
-
<
|
271 |
-
<?php
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
<
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
<a class="nav-tab nav-tab-add-ons" href="#tab-add-ons"><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></a>
|
284 |
-
<a class="nav-tab nav-tab-getting-started" href="#tab-getting-started"><?php _e( 'Getting Started', CF7SKINS_TEXTDOMAIN ); ?></a>
|
285 |
-
|
286 |
-
<span class="ext-link">
|
287 |
-
<?php //$this->links1(); ?>
|
288 |
-
<?php //$this->links2(); ?>
|
289 |
-
<?php //$this->links3(); ?>
|
290 |
-
</span>
|
291 |
-
</h2>
|
292 |
-
|
293 |
-
<div class="nav-tab-content <?php echo $color_scheme; ?>">
|
294 |
-
<?php foreach( $this->tabs as $key => $value ) : ?>
|
295 |
-
<div id="tab-<?php echo $key; ?>" class="tab-content clearfix">
|
296 |
-
<?php do_action( 'cf7skins_tab_content', $key ); ?>
|
297 |
</div>
|
298 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
299 |
|
300 |
-
<div
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
305 |
</div>
|
306 |
</div>
|
307 |
<?php
|
267 |
}
|
268 |
|
269 |
?>
|
270 |
+
<div class="cf7s">
|
271 |
+
<h2 class="nav-tab-wrapper <?php echo $color_scheme; ?>">
|
272 |
+
<?php foreach( $this->tabs as $key => $value ) : ?>
|
273 |
+
<a class="nav-tab nav-tab-<?php echo $key; ?>" href="#tab-<?php echo $key; ?>">
|
274 |
+
<?php echo $value['label']; ?>
|
275 |
+
<span class="help balloon-hover balloon" title="<?php echo $value['note']; ?>"><?php _e( '!', CF7SKINS_TEXTDOMAIN ); ?></span>
|
276 |
+
<span class="help balloon-hover balloon" title="<?php echo $value['help']; ?>"><?php _e( '?', CF7SKINS_TEXTDOMAIN ); ?></span>
|
277 |
+
</a>
|
278 |
+
<?php endforeach; ?>
|
279 |
+
<div class="selected-skin">
|
280 |
+
<span class="selected-template"><?php _e( 'Template', CF7SKINS_TEXTDOMAIN ); ?>: [<span><?php echo $template_name; ?></span>]</span>
|
281 |
+
<span class="selected-style"><?php _e( 'Style', CF7SKINS_TEXTDOMAIN ); ?>: [<span><?php echo $style_name; ?></span>]</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
282 |
</div>
|
283 |
+
|
284 |
+
<a class="nav-tab nav-tab-add-ons" href="#tab-add-ons"><?php _e( 'Add-ons', CF7SKINS_TEXTDOMAIN ); ?></a>
|
285 |
+
<a class="nav-tab nav-tab-getting-started" href="#tab-getting-started"><?php _e( 'Getting Started', CF7SKINS_TEXTDOMAIN ); ?></a>
|
286 |
+
|
287 |
+
<span class="ext-link">
|
288 |
+
<?php //$this->links1(); ?>
|
289 |
+
<?php //$this->links2(); ?>
|
290 |
+
<?php //$this->links3(); ?>
|
291 |
+
</span>
|
292 |
+
</h2>
|
293 |
|
294 |
+
<div class="nav-tab-content <?php echo $color_scheme; ?>">
|
295 |
+
<?php foreach( $this->tabs as $key => $value ) : ?>
|
296 |
+
<div id="tab-<?php echo $key; ?>" class="tab-content clearfix">
|
297 |
+
<?php do_action( 'cf7skins_tab_content', $key ); ?>
|
298 |
+
</div>
|
299 |
+
<?php endforeach; ?>
|
300 |
+
|
301 |
+
<div id="tab-getting-started" class="tab-content info-tab clearfix">
|
302 |
+
<div class="info-wrapper"><?php require_once( CF7SKINS_PATH . 'includes/getting-started.php' ); ?></div>
|
303 |
+
</div>
|
304 |
+
<div id="tab-add-ons" class="tab-content info-tab clearfix">
|
305 |
+
<div class="info-wrapper"><?php require_once( CF7SKINS_PATH . 'includes/pro-version.php' ); ?></div>
|
306 |
+
</div>
|
307 |
</div>
|
308 |
</div>
|
309 |
<?php
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Contact Form 7 Skins
|
4 |
* Plugin URI: http://cf7skins.com
|
5 |
* Description: Adds drag & drop Visual Editor with Templates & Styles to Contact Form 7. Requires Contact Form 7.
|
6 |
-
* Version: 2.0.
|
7 |
* Author: Neil Murray
|
8 |
* Author URI: http://cf7skins.com
|
9 |
* License: GPL-2.0+
|
@@ -30,7 +30,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
30 |
*
|
31 |
* @since 0.1.0
|
32 |
*/
|
33 |
-
define( 'CF7SKINS_VERSION', '2.0.
|
34 |
define( 'CF7SKINS_OPTIONS', 'cf7skins' ); // Database option names
|
35 |
define( 'CF7SKINS_TEXTDOMAIN', 'contact-form-7-skins' );
|
36 |
define( 'CF7SKINS_FEATURE_FILTER', false ); // @since 0.4.0
|
3 |
* Plugin Name: Contact Form 7 Skins
|
4 |
* Plugin URI: http://cf7skins.com
|
5 |
* Description: Adds drag & drop Visual Editor with Templates & Styles to Contact Form 7. Requires Contact Form 7.
|
6 |
+
* Version: 2.0.2
|
7 |
* Author: Neil Murray
|
8 |
* Author URI: http://cf7skins.com
|
9 |
* License: GPL-2.0+
|
30 |
*
|
31 |
* @since 0.1.0
|
32 |
*/
|
33 |
+
define( 'CF7SKINS_VERSION', '2.0.2' );
|
34 |
define( 'CF7SKINS_OPTIONS', 'cf7skins' ); // Database option names
|
35 |
define( 'CF7SKINS_TEXTDOMAIN', 'contact-form-7-skins' );
|
36 |
define( 'CF7SKINS_FEATURE_FILTER', false ); // @since 0.4.0
|
readme.txt
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
=== Contact Form 7 Skins ===
|
2 |
Contributors: buzztone
|
3 |
-
Tags: contact form 7,
|
4 |
Requires at least: 4.3
|
5 |
-
Tested up to:
|
6 |
-
|
7 |
-
|
|
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -12,45 +13,47 @@ Makes creating Contact Form 7 forms much easier – includes drag & drop Visual
|
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
[CF7 Skins](
|
16 |
|
17 |
-
Includes a
|
18 |
|
19 |
-
Select from a list of compatible
|
20 |
|
21 |
Each **Template** acts as an easy to follow guide, which can be adapted to your requirements. Every **Style** covers the full range of Contact Form 7 form elements.
|
22 |
|
23 |
CF7 Skins is highly customizable and easy to learn, even for beginners.
|
24 |
|
25 |
-
> CF7 Skins now includes a **drag & drop Visual Editor** to help make building your Contact Form 7 forms much easier.
|
26 |
|
27 |
= CF7 Skins Features =
|
28 |
|
29 |
-
* Use a **drag & drop Visual Editor** to create your forms
|
30 |
-
* Select from a list of ready to use **Templates**
|
31 |
-
* Choose from a range of compatible form **Styles**
|
32 |
-
* Easily create complex forms using Contact Form 7 - without HTML and CSS knowledge
|
33 |
|
34 |
-
> Our
|
35 |
|
36 |
-
[Read more about CF7 Skins](
|
37 |
|
38 |
-
[Website](
|
|
|
|
|
39 |
|
40 |
= Range of Add-ons available =
|
41 |
-
Our [CF7 Skins Add-ons](
|
42 |
|
43 |
-
[CF7 Skins Pro](
|
44 |
|
45 |
-
[CF7 Skins Ready](
|
46 |
|
47 |
-
[CF7 Skins Multi](
|
48 |
|
49 |
-
[CF7 Skins Logic](
|
50 |
|
51 |
-
> All Add-ons include access to [premium email support](
|
52 |
|
53 |
-
[Website](
|
54 |
|
55 |
== Installation ==
|
56 |
|
@@ -68,92 +71,44 @@ Our [CF7 Skins Add-ons](http://cf7skins.com/add-ons/) bring the functionality av
|
|
68 |
|
69 |
Having trouble? Learn more about how to install plugins on [WordPress Codex](http://codex.wordpress.org/Managing_Plugins).
|
70 |
|
71 |
-
[Website](
|
72 |
|
73 |
== Frequently Asked Questions ==
|
74 |
|
75 |
= What does CF7 Skins do? =
|
76 |
|
77 |
-
CF7 Skins is an add-on plugin for Contact Form 7. It extends the functionality of Contact Form 7 by adding a **drag & drop Visual Editor** together with range of compatible **Templates** and **Styles**. You can learn more by visiting [cf7skins.com](
|
78 |
|
79 |
= Is there Documentation available? =
|
80 |
|
81 |
-
Yes, our in-depth [Documentation](
|
82 |
|
83 |
-
Many questions have been answered on the [CF7 Skins FAQ](
|
84 |
|
85 |
-
[Website](
|
86 |
|
87 |
= How do I get started? =
|
88 |
|
89 |
-
There is a range of [Tutorials](
|
90 |
|
91 |
= Where can I get support? =
|
92 |
|
93 |
-
**Add-ons** - if you have a current license you can post your questions to our [Premium Email Support](
|
94 |
|
95 |
**Free Version** - you can use the [WordPress Support forum](https://wordpress.org/support/plugin/contact-form-7-skins). This is community based support offered by other CF7 Skin users (we visit the forum intermittently to assist with plugin bugs only).
|
96 |
|
97 |
= What users have to say =
|
98 |
-
Read [testimonials](
|
99 |
|
100 |
= Do I need to have coding skills to use CF7 Skins? =
|
101 |
|
102 |
Absolutely not. You can create and manage Contact Form 7 forms without any coding knowledge (100% drag & drop form builder).
|
103 |
|
104 |
-
= What Add-ons are available? =
|
105 |
-
|
106 |
-
Our [CF7 Skins Add-ons](http://cf7skins.com/add-ons/) bring the functionality available in other premium WordPress Form plugins directly within Contact Form 7.
|
107 |
-
|
108 |
-
Using our CF7 Skins Add-ons offers a number of advantages:
|
109 |
-
|
110 |
-
* All CF7 Skins Add-ons operate directly within the Contact Form 7 interface – making them easy to use
|
111 |
-
* Your existing familiarity with using Contact Form 7 – you don’t need to learn another WordPress form plugin
|
112 |
-
* You can still use the many plugins available that extend Contact Form 7 – both free & premium
|
113 |
-
* Purchase only the CF7 Skins Add-ons your require – mix and match to suit your needs
|
114 |
-
* Use of Contact Form 7 in your native language – none of the premium WordPress form plugins have such a wide range of translations available
|
115 |
-
* Continued access to ongoing development of Contact Form 7 – the most widely used WordPress plugin
|
116 |
-
|
117 |
-
> All Add-ons include access to [premium email support](http://cf7skins.com/support/#premium-email-support) by paid support staff.
|
118 |
-
|
119 |
-
[CF7 Skins Pro](http://cf7skins.com/add-ons/pro/) - offers a range of additional Templates and Styles to use with your forms.
|
120 |
-
|
121 |
-
[CF7 Skins Ready](http://cf7skins.com/add-ons/ready/) - provides a range of useful pre-defined styles that can be used in all Contact Form 7 forms:
|
122 |
-
|
123 |
-
* **singleline** – displays elements on a single line
|
124 |
-
* **column** – displays enclosed elements in a vertical column
|
125 |
-
* **grid** – implements a CSS form grid
|
126 |
-
* **box** – displays enclosed elements in a surrounding box
|
127 |
-
* **horizontal** – displays checkbox & radio button elements in horizontal line
|
128 |
-
|
129 |
-
[CF7 Skins Multi](http://cf7skins.com/add-ons/multi/) - includes the features you need to make user friendly multi-part Contact Form 7 forms:
|
130 |
-
|
131 |
-
* **Tab Titles** – with click Navigation
|
132 |
-
* **Progress Bar** – indicates to users where they are
|
133 |
-
* **Navigation Buttons** – Previous & Next on each Tab
|
134 |
-
* **Pagination** – current page / total no.
|
135 |
-
* **Start & End Tabs** – additional Navigation Buttons
|
136 |
-
* **Thank You Tab** – extra page displayed only after completed form submission
|
137 |
-
* **Design matches CF7 Skins Style** – styling of multi-form elements matches selected CF7 Skins Style
|
138 |
-
|
139 |
-
[CF7 Skins Logic](http://cf7skins.com/add-ons/logic/) - allows you to add Conditional Logic for Contact Form 7 forms:
|
140 |
-
|
141 |
-
* **Show or Hide** – fields
|
142 |
-
* **Criteria** – field, user and post info
|
143 |
-
* **Value** – equals, not equals, contains or changed
|
144 |
-
* **Compare** – numeric or text values
|
145 |
-
* **Multiple logic statements** – if all & if any
|
146 |
-
* **Multiple fields** with varying logic
|
147 |
-
|
148 |
-
> **Conditional Logic** allows you to apply rules to your Contact Form 7 form based on the user’s input and behavior – you can control what information your user is asked to provide and tailor the form specifically to their needs.
|
149 |
-
|
150 |
-
[Website](http://cf7skins.com/) | [Documentation](http://kb.cf7skins.com/) | [FAQ](http://kb.cf7skins.com/faq/) | [Add-ons](http://cf7skins.com/add-ons/)
|
151 |
-
|
152 |
= Translations =
|
153 |
|
154 |
* Indonesian (Bahasa Indonesia; id_ID) - Sastra Manurung
|
155 |
|
156 |
-
[Website](
|
157 |
|
158 |
== Screenshots ==
|
159 |
|
@@ -167,6 +122,11 @@ Using our CF7 Skins Add-ons offers a number of advantages:
|
|
167 |
|
168 |
== Changelog ==
|
169 |
|
|
|
|
|
|
|
|
|
|
|
170 |
= 2.0.1 - 2018-08-13 =
|
171 |
|
172 |
* FIX: Prevent JavaScript conflict with Yoast SEO
|
1 |
=== Contact Form 7 Skins ===
|
2 |
Contributors: buzztone
|
3 |
+
Tags: contact form 7, drag & drop form editor, contact form 7 template, contact form 7 style, contact form 7 theme
|
4 |
Requires at least: 4.3
|
5 |
+
Tested up to: 5.1
|
6 |
+
Requires PHP: 5.6
|
7 |
+
Stable tag: 2.0.2
|
8 |
+
Author URI: https://cf7skins.com
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
13 |
|
14 |
== Description ==
|
15 |
|
16 |
+
[CF7 Skins](https://cf7skins.com/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) works right within the normal Contact Form 7 interface, making it easier for regular WordPress users to create Contact Form 7 forms - even if you don't have HTML + CSS skills.
|
17 |
|
18 |
+
Includes a [drag & drop Visual Editor](https://cf7skins.com/visual-editor/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) together with range of compatible **Templates** and **Styles**.
|
19 |
|
20 |
+
Select from a list of compatible [Templates](https://cf7skins.com/templates/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) that cover many common forms and then choose from a range of professional and beautiful [Styles](https://cf7skins.com/styles/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description).
|
21 |
|
22 |
Each **Template** acts as an easy to follow guide, which can be adapted to your requirements. Every **Style** covers the full range of Contact Form 7 form elements.
|
23 |
|
24 |
CF7 Skins is highly customizable and easy to learn, even for beginners.
|
25 |
|
26 |
+
> CF7 Skins now includes a **[drag & drop Visual Editor](https://cf7skins.com/visual-editor/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description)** to help make building your Contact Form 7 forms much easier.
|
27 |
|
28 |
= CF7 Skins Features =
|
29 |
|
30 |
+
* Use a **[drag & drop Visual Editor](https://cf7skins.com/visual-editor/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description)** to create your forms
|
31 |
+
* Select from a list of ready to use **[Templates](https://cf7skins.com/templates/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description)**
|
32 |
+
* Choose from a range of compatible form **[Styles](https://cf7skins.com/styles/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description)**
|
33 |
+
* Easily create complex forms using Contact Form 7 - **without HTML and CSS knowledge**
|
34 |
|
35 |
+
> Our [drag & drop Visual Editor](https://cf7skins.com/visual-editor/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) includes support for all Contact Form 7 tags & options.
|
36 |
|
37 |
+
[Read more about CF7 Skins](https://cf7skins.com/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description)
|
38 |
|
39 |
+
[Website](https://cf7skins.com/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) | [Documentation](https://kb.cf7skins.com/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) | [FAQ](https://kb.cf7skins.com/faq/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) | [Add-ons](https://cf7skins.com/add-ons/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description)
|
40 |
+
|
41 |
+
> Requires [Contact Form 7](https://wordpress.org/plugins/contact-form-7/) Version: 5.0 or later.
|
42 |
|
43 |
= Range of Add-ons available =
|
44 |
+
> Our [CF7 Skins Add-ons](https://cf7skins.com/add-ons/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) bring the functionality available in other premium WordPress form plugins directly within Contact Form 7.
|
45 |
|
46 |
+
[CF7 Skins Pro](https://cf7skins.com/add-ons/pro/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) - extra **templates & styles**
|
47 |
|
48 |
+
[CF7 Skins Ready](https://cf7skins.com/add-ons/ready/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) - extra **useful styling options**
|
49 |
|
50 |
+
[CF7 Skins Multi](https://cf7skins.com/add-ons/multi/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) - build **multi-part forms**
|
51 |
|
52 |
+
[CF7 Skins Logic](https://cf7skins.com/add-ons/logic/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) - add **conditional logic** to form fields
|
53 |
|
54 |
+
> All Add-ons include access to [premium email support](https://cf7skins.com/support/email-support/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description).
|
55 |
|
56 |
+
[Website](https://cf7skins.com/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) | [Documentation](https://kb.cf7skins.com/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) | [FAQ](https://kb.cf7skins.com/faq/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) | [Add-ons](https://cf7skins.com/add-ons/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description)
|
57 |
|
58 |
== Installation ==
|
59 |
|
71 |
|
72 |
Having trouble? Learn more about how to install plugins on [WordPress Codex](http://codex.wordpress.org/Managing_Plugins).
|
73 |
|
74 |
+
[Website](https://cf7skins.com/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) | [Documentation](https://kb.cf7skins.com/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) | [FAQ](https://kb.cf7skins.com/faq/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) | [Add-ons](https://cf7skins.com/add-ons/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description)
|
75 |
|
76 |
== Frequently Asked Questions ==
|
77 |
|
78 |
= What does CF7 Skins do? =
|
79 |
|
80 |
+
CF7 Skins is an add-on plugin for Contact Form 7. It extends the functionality of Contact Form 7 by adding a **drag & drop Visual Editor** together with range of compatible **Templates** and **Styles**. You can learn more by visiting [cf7skins.com](https://cf7skins.com/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description)
|
81 |
|
82 |
= Is there Documentation available? =
|
83 |
|
84 |
+
Yes, our in-depth [Documentation](https://kb.cf7skins.com/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) is a great place to find detailed answers. It covers how to get started, how to customize your forms with CF7 Skins and everything else in between.
|
85 |
|
86 |
+
Many questions have been answered on the [CF7 Skins FAQ](https://kb.cf7skins.com/faq/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description).
|
87 |
|
88 |
+
[Website](https://cf7skins.com/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) | [Documentation](https://kb.cf7skins.com/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) | [FAQ](https://kb.cf7skins.com/faq/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) | [Add-ons](https://cf7skins.com/add-ons/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description)
|
89 |
|
90 |
= How do I get started? =
|
91 |
|
92 |
+
There is a range of [Tutorials](https://kb.cf7skins.com/category/tutorials/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) available to help you get started using CF7 Skins.
|
93 |
|
94 |
= Where can I get support? =
|
95 |
|
96 |
+
**Add-ons** - if you have a current license you can post your questions to our [Premium Email Support](https://cf7skins.com/support/email-support/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description).
|
97 |
|
98 |
**Free Version** - you can use the [WordPress Support forum](https://wordpress.org/support/plugin/contact-form-7-skins). This is community based support offered by other CF7 Skin users (we visit the forum intermittently to assist with plugin bugs only).
|
99 |
|
100 |
= What users have to say =
|
101 |
+
Read [testimonials](https://cf7skins.com/testimonials/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) from CF7 Skins users.
|
102 |
|
103 |
= Do I need to have coding skills to use CF7 Skins? =
|
104 |
|
105 |
Absolutely not. You can create and manage Contact Form 7 forms without any coding knowledge (100% drag & drop form builder).
|
106 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
= Translations =
|
108 |
|
109 |
* Indonesian (Bahasa Indonesia; id_ID) - Sastra Manurung
|
110 |
|
111 |
+
[Website](https://cf7skins.com/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) | [Documentation](https://kb.cf7skins.com/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) | [FAQ](https://kb.cf7skins.com/faq/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description) | [Add-ons](https://cf7skins.com/add-ons/?utm_source=wporg&utm_medium=link&utm_campaign=freeversion&utm_content=description)
|
112 |
|
113 |
== Screenshots ==
|
114 |
|
122 |
|
123 |
== Changelog ==
|
124 |
|
125 |
+
= 2.0.2 - 2019-02-08 =
|
126 |
+
|
127 |
+
* FIX: Ensure Visual editor shown when add new form if have CF7 configuration error in CF7 5.1+
|
128 |
+
* TWEAK: Add minimum required PHP & CF7 versions
|
129 |
+
|
130 |
= 2.0.1 - 2018-08-13 =
|
131 |
|
132 |
* FIX: Prevent JavaScript conflict with Yoast SEO
|