Version Description
- BugFix: Fixed issue with CSS. Other small bug fixes and stability improvements.
Download this release
Release Info
Developer | wpDataTables |
Plugin | wpDataTables Lite |
Version | 2.1.36 |
Comparing to | |
See all releases |
Code changes from version 2.1.35 to 2.1.36
- assets/css/admin/dashboard.css +1 -1
- assets/img/logo-promo.png +0 -0
- assets/js/wpdatatables/admin/wdtRating.js +18 -0
- config/config.inc.php +1 -1
- controllers/wdt_admin.php +23 -7
- controllers/wdt_functions.php +19 -0
- readme.txt +7 -3
- templates/admin/common/promo.inc.php +204 -0
- wpdatatables.php +1 -1
assets/css/admin/dashboard.css
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
font-style: normal;
|
4 |
}
|
5 |
|
6 |
-
.wdt-datatables-admin-wrap .wdt-dashbord .card:not(
|
7 |
border-radius: 3px;
|
8 |
margin-bottom: 24px;
|
9 |
}
|
3 |
font-style: normal;
|
4 |
}
|
5 |
|
6 |
+
.wdt-datatables-admin-wrap .wdt-dashbord .card:not(.plugin-dashboard) {
|
7 |
border-radius: 3px;
|
8 |
margin-bottom: 24px;
|
9 |
}
|
assets/img/logo-promo.png
ADDED
Binary file
|
assets/js/wpdatatables/admin/wdtRating.js
CHANGED
@@ -59,5 +59,23 @@
|
|
59 |
});
|
60 |
})
|
61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
});
|
63 |
})(jQuery);
|
59 |
});
|
60 |
})
|
61 |
|
62 |
+
$('.wpdt-promo-notice .wpdt-icon-times-thin.wpdt-notice-dismiss').on('click', function (e) {
|
63 |
+
e.preventDefault();
|
64 |
+
$.ajax({
|
65 |
+
url: ajaxurl,
|
66 |
+
method: "POST",
|
67 |
+
data: {
|
68 |
+
'action': 'wdt_remove_promo_notice'
|
69 |
+
},
|
70 |
+
dataType: "json",
|
71 |
+
async: !0,
|
72 |
+
success: function (e) {
|
73 |
+
if (e == "success") {
|
74 |
+
$('.wpdt-promo-notice').slideUp('fast');
|
75 |
+
}
|
76 |
+
}
|
77 |
+
});
|
78 |
+
})
|
79 |
+
|
80 |
});
|
81 |
})(jQuery);
|
config/config.inc.php
CHANGED
@@ -9,7 +9,7 @@ defined('ABSPATH') or die("Cannot access pages directly.");
|
|
9 |
|
10 |
// Current version
|
11 |
|
12 |
-
define('WDT_CURRENT_VERSION', '2.1.
|
13 |
|
14 |
// Number of active plugin installs for wpDataTables
|
15 |
define('WDT_NUMBER_OF_ACTIVE_INSTALLS', '66,000+');
|
9 |
|
10 |
// Current version
|
11 |
|
12 |
+
define('WDT_CURRENT_VERSION', '2.1.36');
|
13 |
|
14 |
// Number of active plugin installs for wpDataTables
|
15 |
define('WDT_NUMBER_OF_ACTIVE_INSTALLS', '66,000+');
|
controllers/wdt_admin.php
CHANGED
@@ -111,12 +111,19 @@ function wdtAdminMenu()
|
|
111 |
'wpdatatables-welcome-page',
|
112 |
'wdtWelcomePAge'
|
113 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
add_submenu_page(
|
115 |
'wpdatatables-dashboard',
|
116 |
__('Go Premium', 'wpdatatables'),
|
117 |
'<span class="dashicons dashicons-star-filled" style="color: #ff8c00"></span><span id="wpdatatables-lite-go-premium-link" style="color: #ff8c00;font-weight: 500;display: inline-block;margin-left: 5px;margin-top: 2px;">' . __('Go Premium', 'wpdatatables') . '</span>',
|
118 |
'manage_options',
|
119 |
-
'
|
120 |
);
|
121 |
|
122 |
}
|
@@ -179,12 +186,6 @@ function wdtAdminEnqueue($hook) {
|
|
179 |
wp_register_script('wdt-doc-js', WDT_JS_PATH . 'wpdatatables/admin/doc.js', array('jquery', 'wdt-common'), false, true);
|
180 |
|
181 |
wp_enqueue_style('wdt-admin', WDT_CSS_PATH . 'admin/admin.css');
|
182 |
-
wp_enqueue_style('tms-store-checkout', WDT_STORE_URL . '/static/css/checkout/checkout.css');
|
183 |
-
wp_enqueue_style('tms-store-wpdatatables', WDT_STORE_URL . '/static/css/checkout/wpdatatables.css');
|
184 |
-
|
185 |
-
wp_enqueue_script('tms-store-checkout-config', WDT_STORE_URL . '/static/js/checkout/config.js', array('jquery'), 1.12, true);
|
186 |
-
wp_enqueue_script('tms-store-checkout', WDT_STORE_URL . '/static/js/checkout/checkout.js', array('jquery'), 1.12, true);
|
187 |
-
wp_enqueue_script('tms-store-checkout-wpdatatables', WDT_STORE_URL . '/static/js/checkout/wpdatatables.js', array('jquery'), 1.12, true);
|
188 |
|
189 |
wp_enqueue_script('wdt-rating', WDT_JS_PATH . 'wpdatatables/admin/wdtRating.js', array('jquery'), 1.12, true);
|
190 |
|
@@ -456,6 +457,7 @@ function wdtSettingsEnqueue() {
|
|
456 |
*/
|
457 |
function wdtDashboardEnqueue()
|
458 |
{
|
|
|
459 |
WDTTools::wdtUIKitEnqueue();
|
460 |
wp_enqueue_style('wdt-dashboard-css', WDT_CSS_PATH . 'admin/dashboard.css', array(), WDT_CURRENT_VERSION);
|
461 |
wp_enqueue_script('wdt-common');
|
@@ -516,6 +518,7 @@ function wdtSystemInfoEnqueue()
|
|
516 |
*/
|
517 |
function wdtLiteVSPremiumEnqueue()
|
518 |
{
|
|
|
519 |
WDTTools::wdtUIKitEnqueue();
|
520 |
wp_enqueue_style('wdt-lite-vs-premium-css', WDT_CSS_PATH . 'admin/lite-vs-premium.css', array(), WDT_CURRENT_VERSION);
|
521 |
wp_enqueue_script('wdt-common');
|
@@ -535,6 +538,19 @@ function wdtAddOnsEnqueue() {
|
|
535 |
|
536 |
}
|
537 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
538 |
/**
|
539 |
* Renders Browse Tables (wpDataTables) Page and handle wpDataTable delete
|
540 |
*/
|
111 |
'wpdatatables-welcome-page',
|
112 |
'wdtWelcomePAge'
|
113 |
);
|
114 |
+
// add_submenu_page(
|
115 |
+
// 'wpdatatables-dashboard',
|
116 |
+
// __('Go Premium', 'wpdatatables'),
|
117 |
+
// '<span class="dashicons dashicons-star-filled" style="color: #ff8c00"></span><span id="wpdatatables-lite-go-premium-link" style="color: #ff8c00;font-weight: 500;display: inline-block;margin-left: 5px;margin-top: 2px;">' . __('Go Premium', 'wpdatatables') . '</span>',
|
118 |
+
// 'manage_options',
|
119 |
+
// 'https://wpdatatables.com/pricing/?utm_source=lite&utm_medium=plugin&utm_campaign=wpdtlite'
|
120 |
+
// );
|
121 |
add_submenu_page(
|
122 |
'wpdatatables-dashboard',
|
123 |
__('Go Premium', 'wpdatatables'),
|
124 |
'<span class="dashicons dashicons-star-filled" style="color: #ff8c00"></span><span id="wpdatatables-lite-go-premium-link" style="color: #ff8c00;font-weight: 500;display: inline-block;margin-left: 5px;margin-top: 2px;">' . __('Go Premium', 'wpdatatables') . '</span>',
|
125 |
'manage_options',
|
126 |
+
'wpdatatables-lite-vs-premium'
|
127 |
);
|
128 |
|
129 |
}
|
186 |
wp_register_script('wdt-doc-js', WDT_JS_PATH . 'wpdatatables/admin/doc.js', array('jquery', 'wdt-common'), false, true);
|
187 |
|
188 |
wp_enqueue_style('wdt-admin', WDT_CSS_PATH . 'admin/admin.css');
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
|
190 |
wp_enqueue_script('wdt-rating', WDT_JS_PATH . 'wpdatatables/admin/wdtRating.js', array('jquery'), 1.12, true);
|
191 |
|
457 |
*/
|
458 |
function wdtDashboardEnqueue()
|
459 |
{
|
460 |
+
wdtStoreEnqueue();
|
461 |
WDTTools::wdtUIKitEnqueue();
|
462 |
wp_enqueue_style('wdt-dashboard-css', WDT_CSS_PATH . 'admin/dashboard.css', array(), WDT_CURRENT_VERSION);
|
463 |
wp_enqueue_script('wdt-common');
|
518 |
*/
|
519 |
function wdtLiteVSPremiumEnqueue()
|
520 |
{
|
521 |
+
wdtStoreEnqueue();
|
522 |
WDTTools::wdtUIKitEnqueue();
|
523 |
wp_enqueue_style('wdt-lite-vs-premium-css', WDT_CSS_PATH . 'admin/lite-vs-premium.css', array(), WDT_CURRENT_VERSION);
|
524 |
wp_enqueue_script('wdt-common');
|
538 |
|
539 |
}
|
540 |
|
541 |
+
/**
|
542 |
+
* Enqueue JS and CSS from store
|
543 |
+
*/
|
544 |
+
function wdtStoreEnqueue() {
|
545 |
+
//Enqueue JS and CSS from store for promo
|
546 |
+
wp_enqueue_style('tms-store-checkout', WDT_STORE_URL . '/static/css/checkout/checkout.css');
|
547 |
+
wp_enqueue_style('tms-store-wpdatatables', WDT_STORE_URL . '/static/css/checkout/wpdatatables-promo.css');
|
548 |
+
|
549 |
+
wp_enqueue_script('tms-store-checkout-config', WDT_STORE_URL . '/static/js/checkout/config.js', array('jquery'), 1.12, true);
|
550 |
+
wp_enqueue_script('tms-store-checkout', WDT_STORE_URL . '/static/js/checkout/checkout-wpdatatables-promo.js', array('jquery'), 1.12, true);
|
551 |
+
wp_enqueue_script('tms-store-checkout-wpdatatables', WDT_STORE_URL . '/static/js/checkout/wpdatatables.js', array('jquery'), 1.12, true);
|
552 |
+
}
|
553 |
+
|
554 |
/**
|
555 |
* Renders Browse Tables (wpDataTables) Page and handle wpDataTable delete
|
556 |
*/
|
controllers/wdt_functions.php
CHANGED
@@ -223,6 +223,9 @@ function wdtActivationCreateTables() {
|
|
223 |
if (get_option('wdtShowForminatorNotice') === false) {
|
224 |
update_option('wdtShowForminatorNotice', 'yes' );
|
225 |
}
|
|
|
|
|
|
|
226 |
if (get_option('wdtSimpleTableAlert') === false) {
|
227 |
update_option('wdtSimpleTableAlert', true );
|
228 |
}
|
@@ -260,6 +263,11 @@ function wdtAdminRatingMessages() {
|
|
260 |
<p class="wpdt-forminator-news"><strong style="color: #ff8c00">NEWS!</strong> wpDataTables just launched a new <strong style="color: #ff8c00">FREE</strong> addon - <strong style="color: #ff8c00">Forminator Forms integration for wpDataTables</strong>. You can download it and read more about it on wp.org on this <a class="wdt-forminator-link" href="https://wordpress.org/plugins/wpdatatables-forminator/" style="color: #ff8c00" target="_blank">link</a>.</p>
|
261 |
</div>';
|
262 |
}
|
|
|
|
|
|
|
|
|
|
|
263 |
}
|
264 |
|
265 |
add_action( 'admin_notices', 'wdtAdminRatingMessages' );
|
@@ -285,6 +293,16 @@ function wdtRemoveForminatorNotice() {
|
|
285 |
}
|
286 |
|
287 |
add_action( 'wp_ajax_wdt_remove_forminator_notice', 'wdtRemoveForminatorNotice' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
|
289 |
/**
|
290 |
* Remove Simple Table alert message
|
@@ -360,6 +378,7 @@ function wdtUninstallDelete() {
|
|
360 |
delete_option('wdtInstallDate');
|
361 |
delete_option('wdtRatingDiv');
|
362 |
delete_option('wdtShowForminatorNotice');
|
|
|
363 |
delete_option('wdtSimpleTableAlert');
|
364 |
delete_option('wdtTempFutureDate');
|
365 |
delete_option('wdtVersion');
|
223 |
if (get_option('wdtShowForminatorNotice') === false) {
|
224 |
update_option('wdtShowForminatorNotice', 'yes' );
|
225 |
}
|
226 |
+
if (get_option('wdtShowPromoNotice') === false) {
|
227 |
+
update_option('wdtShowPromoNotice', 'yes' );
|
228 |
+
}
|
229 |
if (get_option('wdtSimpleTableAlert') === false) {
|
230 |
update_option('wdtSimpleTableAlert', true );
|
231 |
}
|
263 |
<p class="wpdt-forminator-news"><strong style="color: #ff8c00">NEWS!</strong> wpDataTables just launched a new <strong style="color: #ff8c00">FREE</strong> addon - <strong style="color: #ff8c00">Forminator Forms integration for wpDataTables</strong>. You can download it and read more about it on wp.org on this <a class="wdt-forminator-link" href="https://wordpress.org/plugins/wpdatatables-forminator/" style="color: #ff8c00" target="_blank">link</a>.</p>
|
264 |
</div>';
|
265 |
}
|
266 |
+
|
267 |
+
if( is_admin() && (strpos($wpdtPage,'wpdatatables-dashboard') !== false || strpos($wpdtPage,'wpdatatables-lite-vs-premium') !== false) &&
|
268 |
+
get_option( 'wdtShowPromoNotice' ) == "yes" ) {
|
269 |
+
include WDT_TEMPLATE_PATH . 'admin/common/promo.inc.php';
|
270 |
+
}
|
271 |
}
|
272 |
|
273 |
add_action( 'admin_notices', 'wdtAdminRatingMessages' );
|
293 |
}
|
294 |
|
295 |
add_action( 'wp_ajax_wdt_remove_forminator_notice', 'wdtRemoveForminatorNotice' );
|
296 |
+
/**
|
297 |
+
* Remove Promo notice message
|
298 |
+
*/
|
299 |
+
function wdtRemovePromoNotice() {
|
300 |
+
update_option( 'wdtShowPromoNotice', 'no' );
|
301 |
+
echo json_encode( array("success") );
|
302 |
+
exit;
|
303 |
+
}
|
304 |
+
|
305 |
+
add_action( 'wp_ajax_wdt_remove_promo_notice', 'wdtRemovePromoNotice' );
|
306 |
|
307 |
/**
|
308 |
* Remove Simple Table alert message
|
378 |
delete_option('wdtInstallDate');
|
379 |
delete_option('wdtRatingDiv');
|
380 |
delete_option('wdtShowForminatorNotice');
|
381 |
+
delete_option('wdtShowPromoNotice');
|
382 |
delete_option('wdtSimpleTableAlert');
|
383 |
delete_option('wdtTempFutureDate');
|
384 |
delete_option('wdtVersion');
|
readme.txt
CHANGED
@@ -2,11 +2,11 @@
|
|
2 |
Contributors: wpDataTables
|
3 |
Author URI: https://tms-outsource.com
|
4 |
Plugin URI: https://wpdatatables.com/
|
5 |
-
Tags: table, table builder, data tables, tables, charts, datatables, simple table, tables from csv, tables from excel, dynamic tables, responsive tables, csv, chart, pie charts, mysql tables, table plugin, wp table, wordpress table plugin, wordpress tables, google charts, chartjs, excel, json, xml, php array, line chart, donut, bar chart, histogram, area chart, bubble chart, gauge chart, scatter chart, candlestick, waterfall, polar, radar
|
6 |
Requires at least: 4.0
|
7 |
-
Tested up to: 6.0
|
8 |
Requires PHP: 5.6
|
9 |
-
Stable tag: 2.1.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -348,6 +348,10 @@ This can be changed from the “Number format” drop-down menu in the wpDataTab
|
|
348 |
|
349 |
== Changelog ==
|
350 |
|
|
|
|
|
|
|
|
|
351 |
= 2.1.35 =
|
352 |
* Feature: Responsive datatables – now each datatable can be responsive where you can choose which columns do you want to be visible or hidden on tablets and/or mobiles.
|
353 |
* Feature: Added options for responsive actions in datatables – icon, row or cell.
|
2 |
Contributors: wpDataTables
|
3 |
Author URI: https://tms-outsource.com
|
4 |
Plugin URI: https://wpdatatables.com/
|
5 |
+
Tags: table, table builder, data tables, tables, charts, datatables, simple table, tables from csv, tables from excel, dynamic tables, merge cells, pricing tables, responsive tables, responsive charts, grouping data, pricing table, row grouping, csv, chart, pie charts, mysql tables, table plugin, wp table, wordpress table plugin, wordpress tables, editing charts, google charts, chartjs, excel, json, xml, php array, line chart, donut, bar chart, histogram, area chart, bubble chart, gauge chart, scatter chart, candlestick, waterfall, polar, radar
|
6 |
Requires at least: 4.0
|
7 |
+
Tested up to: 6.0.1
|
8 |
Requires PHP: 5.6
|
9 |
+
Stable tag: 2.1.36
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
348 |
|
349 |
== Changelog ==
|
350 |
|
351 |
+
= 2.1.36 =
|
352 |
+
* BugFix: Fixed issue with CSS.
|
353 |
+
Other small bug fixes and stability improvements.
|
354 |
+
|
355 |
= 2.1.35 =
|
356 |
* Feature: Responsive datatables – now each datatable can be responsive where you can choose which columns do you want to be visible or hidden on tablets and/or mobiles.
|
357 |
* Feature: Added options for responsive actions in datatables – icon, row or cell.
|
templates/admin/common/promo.inc.php
ADDED
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
?>
|
3 |
+
<div class="notice notice-info is-dismissible wpdt-promo-notice">
|
4 |
+
<div id="wpdt-promo-section">
|
5 |
+
<div id="wpdt-first-section">
|
6 |
+
<img class="wpdt-promo-logo" src="<?php echo WDT_ROOT_URL ?>assets/img/logo-promo.png" alt="">
|
7 |
+
</div>
|
8 |
+
<div id="wpdt-second-section">
|
9 |
+
<div class="wpdt-promo-upgrade-text">
|
10 |
+
<p>Upgrade to Premium today and <span style="color: #FFFFFF; font-weight: 700;"> get 30% off on all prices!</span> </p>
|
11 |
+
</div>
|
12 |
+
<div class="wpdt-promo-upgrade-btn">
|
13 |
+
<span class="wpdt-promo-dismiss-text">Don't show again</span>
|
14 |
+
<i class="wpdt-icon-times-thin wpdt-notice-dismiss"></i>
|
15 |
+
<button id="wpdt-grab-it" class="tms-store-checkout-wpdatatables">Grab yours!</button>
|
16 |
+
</div>
|
17 |
+
</div>
|
18 |
+
</div>
|
19 |
+
</div>
|
20 |
+
<style>
|
21 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;700&family=Kaushan+Script&display=swap');
|
22 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;500;700&display=swap');
|
23 |
+
.wpdt-promo-notice {
|
24 |
+
border: none !important;
|
25 |
+
padding: 0 !important;
|
26 |
+
}
|
27 |
+
#wpdt-first-section:after {
|
28 |
+
content: '';
|
29 |
+
display: inline-block;
|
30 |
+
position: absolute;
|
31 |
+
width: 30px;
|
32 |
+
height: 141px;
|
33 |
+
right: -15px;
|
34 |
+
top: 0;
|
35 |
+
border-radius: 50%;
|
36 |
+
border: none;
|
37 |
+
background-color: #FFFFFF;
|
38 |
+
}
|
39 |
+
#wpdt-promo-section,
|
40 |
+
#wpdt-first-section,
|
41 |
+
#wpdt-second-section {
|
42 |
+
height: 141px;
|
43 |
+
}
|
44 |
+
|
45 |
+
#wpdt-first-section {
|
46 |
+
width: 40%;
|
47 |
+
float: left;
|
48 |
+
position: relative;
|
49 |
+
background: #FFFFFF;
|
50 |
+
}
|
51 |
+
#wpdt-second-section {
|
52 |
+
width: 60%;
|
53 |
+
display: flex;
|
54 |
+
padding-top: 15px;
|
55 |
+
padding-right: 20%;
|
56 |
+
float: right;
|
57 |
+
background: #6ED1FD;
|
58 |
+
}
|
59 |
+
|
60 |
+
.wpdt-promo-logo {
|
61 |
+
margin: 6% 0 0 45%;
|
62 |
+
width: 350px;
|
63 |
+
}
|
64 |
+
.wpdt-promo-upgrade-text {
|
65 |
+
width: 90%;
|
66 |
+
padding-top: 0;
|
67 |
+
padding-right: 10px;
|
68 |
+
margin-right: 30px;
|
69 |
+
padding-left: 50px;
|
70 |
+
}
|
71 |
+
.wpdt-promo-upgrade-text p{
|
72 |
+
font-family: 'Inter';
|
73 |
+
font-style: normal;
|
74 |
+
font-weight: 500;
|
75 |
+
padding: 0;
|
76 |
+
margin: 0;
|
77 |
+
font-size: 33px;
|
78 |
+
line-height: 37px;
|
79 |
+
color: #181059;
|
80 |
+
}
|
81 |
+
|
82 |
+
.wpdt-promo-upgrade-btn {
|
83 |
+
width: 50%;
|
84 |
+
}
|
85 |
+
.wpdt-promo-upgrade-btn button#wpdt-grab-it {
|
86 |
+
padding: 12px 20px;
|
87 |
+
background: #140964;
|
88 |
+
border-radius: 10px;
|
89 |
+
border: none;
|
90 |
+
font-family: 'Inter';
|
91 |
+
font-style: normal;
|
92 |
+
font-weight: 700;
|
93 |
+
font-size: 20px;
|
94 |
+
line-height: 24px;
|
95 |
+
margin: 38px 0 15px 0;
|
96 |
+
text-align: center;
|
97 |
+
color: #FFFFFF;
|
98 |
+
width: 200px;
|
99 |
+
}
|
100 |
+
.wpdt-promo-dismiss-text {
|
101 |
+
font-family: 'Inter';
|
102 |
+
font-style: normal;
|
103 |
+
font-weight: 400;
|
104 |
+
font-size: 14px;
|
105 |
+
margin-left: 65px;
|
106 |
+
line-height: 19px;
|
107 |
+
text-align: center;;
|
108 |
+
opacity: 0.8;
|
109 |
+
color: #FFFFFF;
|
110 |
+
}
|
111 |
+
.wpdt-icon-times-thin{
|
112 |
+
margin-left: 10px;
|
113 |
+
opacity: 0.8;
|
114 |
+
cursor: pointer;
|
115 |
+
color: #FFFFFF;
|
116 |
+
}
|
117 |
+
.wpdt-promo-notice .notice-dismiss {
|
118 |
+
display: none !important;
|
119 |
+
}
|
120 |
+
@media(max-width: 1441px) {
|
121 |
+
.wpdt-promo-logo {
|
122 |
+
margin: 8% 0 0 15%;
|
123 |
+
}
|
124 |
+
#wpdt-second-section {
|
125 |
+
padding-right: 5%;
|
126 |
+
}
|
127 |
+
}
|
128 |
+
@media(max-width: 1025px) {
|
129 |
+
#wpdt-promo-section {
|
130 |
+
position: relative;
|
131 |
+
}
|
132 |
+
#wpdt-promo-section,
|
133 |
+
#wpdt-first-section,
|
134 |
+
#wpdt-second-section {
|
135 |
+
height: auto;
|
136 |
+
}
|
137 |
+
#wpdt-first-section {
|
138 |
+
width: 100%;
|
139 |
+
float: none;
|
140 |
+
margin: 0 auto;
|
141 |
+
padding: 34px 0;
|
142 |
+
position: relative;
|
143 |
+
text-align: center;
|
144 |
+
background: #FFFFFF;
|
145 |
+
}
|
146 |
+
#wpdt-second-section {
|
147 |
+
width: 100%;
|
148 |
+
display: flex;
|
149 |
+
padding: 15px 20px;
|
150 |
+
float: none;
|
151 |
+
background: #6ED1FD;
|
152 |
+
}
|
153 |
+
#wpdt-first-section:after{
|
154 |
+
display: none;
|
155 |
+
}
|
156 |
+
.wpdt-promo-logo {
|
157 |
+
width: 50%;
|
158 |
+
margin: 0;
|
159 |
+
padding: 0 10px;
|
160 |
+
}
|
161 |
+
.wpdt-promo-upgrade-btn {
|
162 |
+
width: auto;
|
163 |
+
text-align: right;
|
164 |
+
}
|
165 |
+
.wpdt-promo-upgrade-btn button#wpdt-grab-it {
|
166 |
+
margin: 15px 0;
|
167 |
+
}
|
168 |
+
.wpdt-promo-upgrade-text {
|
169 |
+
width: 100%;
|
170 |
+
padding: 10px 0 0 0;
|
171 |
+
margin-right: 0;
|
172 |
+
}
|
173 |
+
.wpdt-icon-times-thin {
|
174 |
+
top: 5px;
|
175 |
+
right: 10px;
|
176 |
+
position: absolute;
|
177 |
+
color: #140964;
|
178 |
+
}
|
179 |
+
.wpdt-promo-dismiss-text {
|
180 |
+
position: absolute;
|
181 |
+
top: 2px;
|
182 |
+
right: 25px;
|
183 |
+
color: #140964;
|
184 |
+
font-size: 12px;
|
185 |
+
}
|
186 |
+
}
|
187 |
+
@media(max-width: 625px) {
|
188 |
+
.wpdt-promo-logo {
|
189 |
+
width: 70%;
|
190 |
+
}
|
191 |
+
#wpdt-second-section {
|
192 |
+
flex-direction: column;
|
193 |
+
}
|
194 |
+
.wpdt-promo-upgrade-btn {
|
195 |
+
text-align: center;
|
196 |
+
}
|
197 |
+
.wpdt-promo-upgrade-btn button#wpdt-grab-it {
|
198 |
+
margin: 25px 0 15px 0;
|
199 |
+
}
|
200 |
+
#wpdt-first-section {
|
201 |
+
padding: 40px 0;
|
202 |
+
}
|
203 |
+
}
|
204 |
+
</style>
|
wpdatatables.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: wpDataTables - Tables & Table Charts
|
4 |
Plugin URI: https://wpdatatables.com
|
5 |
Description: Create responsive, sortable tables & charts from Excel, CSV or PHP. Add tables & charts to any post in minutes with DataTables.
|
6 |
-
Version: 2.1.
|
7 |
Author: TMS-Plugins
|
8 |
Author URI: https://tms-outsource.com
|
9 |
Text Domain: wpdatatables
|
3 |
Plugin Name: wpDataTables - Tables & Table Charts
|
4 |
Plugin URI: https://wpdatatables.com
|
5 |
Description: Create responsive, sortable tables & charts from Excel, CSV or PHP. Add tables & charts to any post in minutes with DataTables.
|
6 |
+
Version: 2.1.36
|
7 |
Author: TMS-Plugins
|
8 |
Author URI: https://tms-outsource.com
|
9 |
Text Domain: wpdatatables
|