Tabs - Version 1.4

Version Description

09-Mar-16 = * Support link update.

Download this release

Release Info

Developer wpshopmart
Plugin Icon 128x128 Tabs
Version 1.4
Comparing to
See all releases

Code changes from version 1.3 to 1.4

assets/tooltip/img/as-a-button.png ADDED
Binary file
ink/admin/add-tabs.php CHANGED
@@ -93,6 +93,6 @@
93
</div>
94
<h1>Get Support Help Here</h1>
95
<h3>If You have any issue then please ask us any time</h3>
96
- <a href="https://wordpress.org/support/plugin/colorbox-panels" target="_blank" class="button button-primary button-hero ">Get Support</a>
97
<br> <br>
98
<?php require('add-tabs-js-footer.php'); ?>
93
</div>
94
<h1>Get Support Help Here</h1>
95
<h3>If You have any issue then please ask us any time</h3>
96
+ <a href="https://wordpress.org/support/plugin/tabs-responsive" target="_blank" class="button button-primary button-hero ">Get Support</a>
97
<br> <br>
98
<?php require('add-tabs-js-footer.php'); ?>
ink/admin/data-post/tabs-settings-save-data.php CHANGED
@@ -21,6 +21,7 @@ if(isset($PostID) && isset($_POST['tabs_setting_save_action'])) {
21
$tabs_animation = sanitize_text_field($_POST['tabs_animation']);
22
$custom_css = stripslashes(sanitize_text_field($_POST['custom_css']));
23
$tabs_display_on_mob = sanitize_option('tabs_display_on_mob', $_POST['tabs_display_on_mob']);
24
25
26
$Settings_Array = serialize( array(
@@ -45,6 +46,7 @@ if(isset($PostID) && isset($_POST['tabs_setting_save_action'])) {
45
'tabs_animation' => $tabs_animation,
46
'custom_css' => $custom_css,
47
'tabs_display_on_mob' => $tabs_display_on_mob,
48
) );
49
50
update_post_meta($PostID, 'Tabs_R_Settings', $Settings_Array);
21
$tabs_animation = sanitize_text_field($_POST['tabs_animation']);
22
$custom_css = stripslashes(sanitize_text_field($_POST['custom_css']));
23
$tabs_display_on_mob = sanitize_option('tabs_display_on_mob', $_POST['tabs_display_on_mob']);
24
+ $tabs_display_mode_mob = sanitize_option('tabs_display_mode_mob', $_POST['tabs_display_mode_mob']);
25
26
27
$Settings_Array = serialize( array(
46
'tabs_animation' => $tabs_animation,
47
'custom_css' => $custom_css,
48
'tabs_display_on_mob' => $tabs_display_on_mob,
49
+ 'tabs_display_mode_mob' => $tabs_display_mode_mob,
50
) );
51
52
update_post_meta($PostID, 'Tabs_R_Settings', $Settings_Array);
ink/admin/settings.php CHANGED
@@ -25,6 +25,8 @@
25
"tabs_margin" =>$De_Settings['tabs_margin'],
26
"tabs_content_margin" =>$De_Settings['tabs_content_margin'],
27
"tabs_display_on_mob" =>"1",
28
);
29
30
foreach($option_names as $option_name => $default_value) {
@@ -510,6 +512,24 @@ if(isset($_POST['action123']) == "default_settins_action")
510
</div>
511
</td>
512
</tr>
513
<script>
514
515
jQuery('.ac_tooltip').darkTooltip({
25
"tabs_margin" =>$De_Settings['tabs_margin'],
26
"tabs_content_margin" =>$De_Settings['tabs_content_margin'],
27
"tabs_display_on_mob" =>"1",
28
+ "tabs_display_mode_mob" =>"2",
29
+
30
);
31
32
foreach($option_names as $option_name => $default_value) {
512
</div>
513
</td>
514
</tr>
515
+
516
+ <tr>
517
+ <th scope="row"><label><?php _e('Title Display Mode In Mobile',wpshopmart_tabs_r_text_domain); ?></label></th>
518
+ <td>
519
+ <span style="display:block;margin-bottom:10px"><input type="radio" name="tabs_display_mode_mob" id="tabs_display_mode_mob" value="1" <?php if($tabs_display_mode_mob == '1' ) { echo "checked"; } ?> /> Display As a tabs </span>
520
+ <span style="display:block;margin-bottom:10px"><input type="radio" name="tabs_display_mode_mob" id="tabs_display_mode_mob" value="2" <?php if($tabs_display_mode_mob == '2' ) { echo "checked"; } ?> /> Display As A vertical Button </span>
521
+ <!-- Tooltip -->
522
+ <a class="ac_tooltip" href="#help" data-tooltip="#tabs_display_mode_mob_tp">help</a>
523
+ <div id="tabs_display_mode_mob_tp" style="display:none;">
524
+ <div style="color:#fff !important;padding:10px;">
525
+ <h2 style="color:#fff !important;"><?php _e('Display Your Title as Vrtical Button or as tabs in Mobile',wpshopmart_tabs_r_text_domain); ?></h2>
526
+ <img src="<?php echo wpshopmart_tabs_r_directory_url.'assets/tooltip/img/noise.png'; ?>">
527
+
528
+ <img src="<?php echo wpshopmart_tabs_r_directory_url.'assets/tooltip/img/as-a-button.png'; ?>">
529
+ </div>
530
+ </div>
531
+ </td>
532
+ </tr>
533
<script>
534
535
jQuery('.ac_tooltip').darkTooltip({
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.wpshopmart.com
4
Tags: tab, tabs, responsive tabs, animation, animated tab, css3 tabs, bootstrap tabs, tabs content, responsive, shortcode, widget, wordpress tabs, wp tabs, accordion, collapse, toggle, bootstrap tab, jquery, tab widget, tab shortcode, jquery tabs, sidebar, plugin, html, html5, html5 tabs
5
Requires at least: 3.3
6
Tested up to: 4.4.2
7
- Stable tag: 1.3
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -106,6 +106,9 @@ Please use WordPress support forum to ask any query regarding any issue.
106
107
== Changelog ==
108
109
= 1.3 09-Mar-16 =
110
* New: Hide/Show icon and tabs title on mobile.
111
4
Tags: tab, tabs, responsive tabs, animation, animated tab, css3 tabs, bootstrap tabs, tabs content, responsive, shortcode, widget, wordpress tabs, wp tabs, accordion, collapse, toggle, bootstrap tab, jquery, tab widget, tab shortcode, jquery tabs, sidebar, plugin, html, html5, html5 tabs
5
Requires at least: 3.3
6
Tested up to: 4.4.2
7
+ Stable tag: 1.4
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
106
107
== Changelog ==
108
109
+ = 1.4 09-Mar-16 =
110
+ * Support link update.
111
+
112
= 1.3 09-Mar-16 =
113
* New: Hide/Show icon and tabs title on mobile.
114
tabs-responsive.php CHANGED
@@ -1,7 +1,7 @@
1
<?php
2
/**
3
* Plugin Name: Tabs Responsive
4
- * Version: 1.3
5
* Description: Tabs Responsive is the most easiest drag & drop Tabs builder for WordPress. You can add unlimited Tabs with unlimited color Scheme.
6
* Author: wpshopmart
7
* Author URI: http://www.wpshopmart.com
1
<?php
2
/**
3
* Plugin Name: Tabs Responsive
4
+ * Version: 1.4
5
* Description: Tabs Responsive is the most easiest drag & drop Tabs builder for WordPress. You can add unlimited Tabs with unlimited color Scheme.
6
* Author: wpshopmart
7
* Author URI: http://www.wpshopmart.com
template/content.php CHANGED
@@ -35,6 +35,7 @@
35
"tabs_margin" =>"no",
36
"tabs_content_margin" =>"no",
37
"tabs_display_on_mob" =>"1",
38
);
39
40
foreach($option_names as $option_name => $default_value) {
@@ -89,7 +90,7 @@
89
90
<?php if($show_tabs_title_icon=="1" || $show_tabs_title_icon=="2") { ?>
91
92
- <?php echo $tabs_title; ?>
93
94
<?php } ?>
95
35
"tabs_margin" =>"no",
36
"tabs_content_margin" =>"no",
37
"tabs_display_on_mob" =>"1",
38
+ "tabs_display_mode_mob" =>"2",
39
);
40
41
foreach($option_names as $option_name => $default_value) {
90
91
<?php if($show_tabs_title_icon=="1" || $show_tabs_title_icon=="2") { ?>
92
93
+ <span><?php echo $tabs_title; ?></span>
94
95
<?php } ?>
96
template/style.php CHANGED
@@ -20,9 +20,7 @@
20
<?php
21
} else { ?>
22
border: 0px solid <?php echo $tab_content_border_color; ?> !important;
23
- <?php if($tabs_alignment=="vertical") { ?>
24
- padding-left:0px;
25
- <?php } ?>
26
<?php } ?>
27
}
28
#tab_container_<?php echo $post_id; ?> .wpsm_nav-tabs {
@@ -113,11 +111,7 @@ margin-left:5px !important;
113
margin-right:0px !important;
114
}
115
116
- @media (max-width: 768px) {
117
- #tab_container_<?php echo $post_id; ?> .wpsm_nav-tabs > li{
118
- float:none !important;
119
- }
120
- }
121
#tab_container_<?php echo $post_id; ?> .tab-content{
122
overflow:hidden !important;
123
}
@@ -243,4 +237,35 @@ display:none !important;
243
margin-right:0px !important;
244
245
}
246
}
20
<?php
21
} else { ?>
22
border: 0px solid <?php echo $tab_content_border_color; ?> !important;
23
+
24
<?php } ?>
25
}
26
#tab_container_<?php echo $post_id; ?> .wpsm_nav-tabs {
111
margin-right:0px !important;
112
}
113
114
+
115
#tab_container_<?php echo $post_id; ?> .tab-content{
116
overflow:hidden !important;
117
}
237
margin-right:0px !important;
238
239
}
240
+ <?php if($tabs_display_mode_mob == "2") { ?>
241
+ #tab_container_<?php echo $post_id; ?> .wpsm_nav-tabs > li{
242
+ float:none !important;
243
+ }
244
+ <?php } else { ?>
245
+
246
+ #tab_container_<?php echo $post_id; ?> .wpsm_nav-tabs > li {
247
+ <?php if($tabs_margin=="yes"){ ?>
248
+ <?php if($tabs_position=="left"){ ?>
249
+ margin-right: 8px !important;
250
+ <?php } ?>
251
+ <?php if($tabs_position=="right"){ ?>
252
+ margin-left: 8px !important;
253
+ <?php } ?>
254
+ <?php } ?>
255
+
256
+ }
257
+
258
+ <?php if($tabs_alignment=="vertical") { ?>
259
+ #tab_container_<?php echo $post_id; ?> .wpsm_nav-tabs > li{
260
+ float:none !important;
261
+ }
262
+ #tab_container_<?php echo $post_id; ?> .wpsm_nav-tabs{
263
+ float:<?php echo $tabs_position; ?> !important;
264
+ margin:0px !important;
265
+ }
266
+ <?php } ?>
267
+
268
+ <?php } ?>
269
+
270
+
271
}