Version Description
- Minor issue resolved
Download this release
Release Info
Developer | wpshopmart |
Plugin | Tabs |
Version | 2.2.7 |
Comparing to | |
See all releases |
Code changes from version 2.2.6 to 2.2.7
- readme.txt +5 -2
- tabs-responsive.php +1 -1
- template/content.php +23 -27
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: wpshopmart
|
|
3 |
Donate link: https://wpshopmart.com/plugins/tabs-pro-plugin/
|
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: 5.0
|
6 |
-
Tested up to: 5.9.
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -160,6 +160,9 @@ Please use WordPress support forum to ask any query regarding any issue.
|
|
160 |
|
161 |
== Changelog ==
|
162 |
|
|
|
|
|
|
|
163 |
= 2.2.6 =
|
164 |
* Compatible with wordpress version 5.9.1
|
165 |
|
3 |
Donate link: https://wpshopmart.com/plugins/tabs-pro-plugin/
|
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: 5.0
|
6 |
+
Tested up to: 5.9.3
|
7 |
+
Stable tag: 2.2.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
160 |
|
161 |
== Changelog ==
|
162 |
|
163 |
+
= 2.2.7 =
|
164 |
+
* Minor issue resolved
|
165 |
+
|
166 |
= 2.2.6 =
|
167 |
* Compatible with wordpress version 5.9.1
|
168 |
|
tabs-responsive.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Tabs Responsive
|
4 |
-
* Version: 2.2.
|
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: https://www.wpshopmart.com
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Tabs Responsive
|
4 |
+
* Version: 2.2.7
|
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: https://www.wpshopmart.com
|
template/content.php
CHANGED
@@ -4,8 +4,6 @@
|
|
4 |
$AllTabs = array( 'p' => $WPSM_Tabs_ID, 'post_type' => $post_type, 'orderby' => 'ASC');
|
5 |
$loop = new WP_Query( $AllTabs );
|
6 |
|
7 |
-
|
8 |
-
|
9 |
while ( $loop->have_posts() ) : $loop->the_post();
|
10 |
//get the post id
|
11 |
$post_id = get_the_ID();
|
@@ -38,12 +36,12 @@
|
|
38 |
"tabs_display_mode_mob" =>"2",
|
39 |
);
|
40 |
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
}
|
48 |
|
49 |
$tab_border_color = ColorDarken($tabs_title_bg_clr,19);
|
@@ -81,25 +79,23 @@
|
|
81 |
<li role="presentation" <?php if($i==1){ ?> class="active" <?php } ?> onclick="do_resize()">
|
82 |
<a href="#tabs_desc_<?php echo esc_attr($post_id); ?>_<?php echo esc_attr($i); ?>" aria-controls="tabs_desc_<?php echo esc_attr($post_id); ?>_<?php echo esc_attr($i); ?>" role="tab" data-toggle="tab">
|
83 |
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
<?php if($show_tabs_icon_align=="right"){ ?>
|
97 |
-
<?php if($show_tabs_title_icon=="1" || $show_tabs_title_icon=="3") { ?>
|
98 |
-
<?php if($enable_single_icon=="yes") { ?> <i class="fa <?php echo esc_attr($tabs_title_icon); ?>"></i> <?php }?>
|
99 |
-
<?php }
|
100 |
-
} ?>
|
101 |
|
102 |
-
|
|
|
|
|
|
|
|
|
103 |
|
104 |
</a>
|
105 |
</li>
|
@@ -166,6 +162,6 @@
|
|
166 |
<?php
|
167 |
}
|
168 |
else{
|
169 |
-
echo "<h3> No
|
170 |
}
|
171 |
endwhile; ?>
|
4 |
$AllTabs = array( 'p' => $WPSM_Tabs_ID, 'post_type' => $post_type, 'orderby' => 'ASC');
|
5 |
$loop = new WP_Query( $AllTabs );
|
6 |
|
|
|
|
|
7 |
while ( $loop->have_posts() ) : $loop->the_post();
|
8 |
//get the post id
|
9 |
$post_id = get_the_ID();
|
36 |
"tabs_display_mode_mob" =>"2",
|
37 |
);
|
38 |
|
39 |
+
foreach($option_names as $option_name => $default_value) {
|
40 |
+
if(isset($Tabs_Settings[$option_name]))
|
41 |
+
${"" . $option_name} = $Tabs_Settings[$option_name];
|
42 |
+
else
|
43 |
+
${"" . $option_name} = $default_value;
|
44 |
+
}
|
45 |
}
|
46 |
|
47 |
$tab_border_color = ColorDarken($tabs_title_bg_clr,19);
|
79 |
<li role="presentation" <?php if($i==1){ ?> class="active" <?php } ?> onclick="do_resize()">
|
80 |
<a href="#tabs_desc_<?php echo esc_attr($post_id); ?>_<?php echo esc_attr($i); ?>" aria-controls="tabs_desc_<?php echo esc_attr($post_id); ?>_<?php echo esc_attr($i); ?>" role="tab" data-toggle="tab">
|
81 |
|
82 |
+
<?php if($show_tabs_icon_align=="left"){ ?>
|
83 |
+
<?php if($show_tabs_title_icon=="1" || $show_tabs_title_icon=="3") { ?>
|
84 |
+
<?php if($enable_single_icon=="yes") { ?> <i class="fa <?php echo esc_attr($tabs_title_icon); ?>"></i> <?php }?>
|
85 |
+
<?php }
|
86 |
+
} ?>
|
87 |
+
|
88 |
+
<?php if($show_tabs_title_icon=="1" || $show_tabs_title_icon=="2") { ?>
|
89 |
+
|
90 |
+
<span><?php echo esc_html($tabs_title); ?></span>
|
91 |
+
|
92 |
+
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
|
94 |
+
<?php if($show_tabs_icon_align=="right"){ ?>
|
95 |
+
<?php if($show_tabs_title_icon=="1" || $show_tabs_title_icon=="3") { ?>
|
96 |
+
<?php if($enable_single_icon=="yes") { ?> <i class="fa <?php echo esc_attr($tabs_title_icon); ?>"></i> <?php }?>
|
97 |
+
<?php }
|
98 |
+
} ?>
|
99 |
|
100 |
</a>
|
101 |
</li>
|
162 |
<?php
|
163 |
}
|
164 |
else{
|
165 |
+
echo "<h3> No Tabs Found </h3>";
|
166 |
}
|
167 |
endwhile; ?>
|