Tabs - Version 1.7.7

Version Description

  • Update some comments for developer help
  • Compatible with wordpress version 4.8.2
Download this release

Release Info

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

Code changes from version 1.7.6 to 1.7.7

Files changed (2) hide show
  1. readme.txt +6 -2
  2. tabs-responsive.php +5 -10
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: 3.3
6
- Tested up to: 4.8.1
7
- Stable tag: 1.7.6
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -148,6 +148,10 @@ Please use WordPress support forum to ask any query regarding any issue.
148
149
== Changelog ==
150
151
= 1.7.6 =
152
* update backend screenshot
153
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: 3.3
6
+ Tested up to: 4.8.2
7
+ Stable tag: 1.7.7
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
148
149
== Changelog ==
150
151
+ = 1.7.7 =
152
+ * Update some comments for developer help
153
+ * Compatible with wordpress version 4.8.2
154
+
155
= 1.7.6 =
156
* update backend screenshot
157
tabs-responsive.php CHANGED
@@ -1,7 +1,7 @@
1
<?php
2
/**
3
* Plugin Name: Tabs Responsive
4
- * Version: 1.7.6
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
@@ -19,7 +19,6 @@ define("wpshopmart_tabs_r_text_domain", "wpsm_tabs_r");
19
*/
20
require_once("ink/install/installation.php");
21
22
-
23
function wpsm_tabs_r_default_data() {
24
$Settings_Array = serialize( array(
25
"tabs_sec_title" => "yes",
@@ -43,7 +42,6 @@ function wpsm_tabs_r_default_data() {
43
"tabs_margin" =>"no",
44
"tabs_content_margin" =>"no",
45
) );
46
-
47
add_option('Tabs_R_default_Settings', $Settings_Array);
48
}
49
register_activation_hook( __FILE__, 'wpsm_tabs_r_default_data' );
@@ -51,18 +49,16 @@ register_activation_hook( __FILE__, 'wpsm_tabs_r_default_data' );
51
/**
52
* CPT CLASS
53
*/
54
-
55
require_once("ink/admin/menu.php");
56
57
/**
58
* SHORTCODE
59
*/
60
-
61
require_once("template/shortcode.php");
62
63
/**
64
- WIDGET
65
- */
66
require_once("ink/widget/widget.php");
67
68
// darken color code
@@ -77,8 +73,7 @@ WIDGET
77
$c = ($c < 0) ? 0 : dechex($c);
78
$rgb .= (strlen($c) < 2) ? '0'.$c : $c;
79
}
80
-
81
- return '#'.$rgb;
82
}
83
84
// Add settings link on plugin page
@@ -94,7 +89,7 @@ add_action('admin_menu' , 'wpsm_tabs_r_recom_menu');
94
function wpsm_tabs_r_recom_menu() {
95
$submenu = add_submenu_page('edit.php?post_type=tabs_responsive', __('More_Free_Plugins', wpshopmart_tabs_r_text_domain), __('More Free Plugins', wpshopmart_tabs_r_text_domain), 'administrator', 'wpsm_tabs_r_recom_page', 'wpsm_tabs_rrecom_page_funct');
96
97
- //add hook to add styles and scripts for Responsive Accordion plugin admin page
98
add_action( 'admin_print_styles-' . $submenu, 'wpsm_tabs_r_recom_js_css' );
99
}
100
function wpsm_tabs_r_recom_js_css(){
1
<?php
2
/**
3
* Plugin Name: Tabs Responsive
4
+ * Version: 1.7.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: http://www.wpshopmart.com
19
*/
20
require_once("ink/install/installation.php");
21
22
function wpsm_tabs_r_default_data() {
23
$Settings_Array = serialize( array(
24
"tabs_sec_title" => "yes",
42
"tabs_margin" =>"no",
43
"tabs_content_margin" =>"no",
44
) );
45
add_option('Tabs_R_default_Settings', $Settings_Array);
46
}
47
register_activation_hook( __FILE__, 'wpsm_tabs_r_default_data' );
49
/**
50
* CPT CLASS
51
*/
52
require_once("ink/admin/menu.php");
53
54
/**
55
* SHORTCODE
56
*/
57
require_once("template/shortcode.php");
58
59
/**
60
+ * WIDGET
61
+ */
62
require_once("ink/widget/widget.php");
63
64
// darken color code
73
$c = ($c < 0) ? 0 : dechex($c);
74
$rgb .= (strlen($c) < 2) ? '0'.$c : $c;
75
}
76
+ return '#'.$rgb;
77
}
78
79
// Add settings link on plugin page
89
function wpsm_tabs_r_recom_menu() {
90
$submenu = add_submenu_page('edit.php?post_type=tabs_responsive', __('More_Free_Plugins', wpshopmart_tabs_r_text_domain), __('More Free Plugins', wpshopmart_tabs_r_text_domain), 'administrator', 'wpsm_tabs_r_recom_page', 'wpsm_tabs_rrecom_page_funct');
91
92
+ //add hook to add styles and scripts for Tabs Plugin admin page
93
add_action( 'admin_print_styles-' . $submenu, 'wpsm_tabs_r_recom_js_css' );
94
}
95
function wpsm_tabs_r_recom_js_css(){