Tabs - Version 1.9.1

Version Description

  • Compatible with wordpress version 5.1.1
Download this release

Release Info

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

Code changes from version 1.9.0 to 1.9.1

ink/admin/menu.php CHANGED
@@ -56,6 +56,7 @@ class wpsm_tabs_r {
56
wp_enqueue_style('wpsm_tabs_r_remodal-css', wpshopmart_tabs_r_directory_url .'assets/modal/remodal.css');
57
wp_enqueue_style('wpsm_tabs_r_remodal-default-theme-css', wpshopmart_tabs_r_directory_url .'assets/modal/remodal-default-theme.css');
58
wp_enqueue_script('wpsm_tabs_r_min-js',wpshopmart_tabs_r_directory_url.'assets/modal/remodal.min.js',array('jquery'), false, true);
59
60
}
61
}
@@ -91,7 +92,11 @@ class wpsm_tabs_r {
91
public function wpsm_tabs_r_meta_boxes_group(){
92
add_meta_box('tabs_r_add', __('Add Tabs Panel', wpshopmart_tabs_r_text_domain), array(&$this, 'wpsm_add_tabs_r_meta_box_function'), 'tabs_responsive', 'normal', 'low' );
93
add_meta_box ('tabs_r_shortcode', __('Tabs Shortcode', wpshopmart_tabs_r_text_domain), array(&$this, 'wpsm_pic_tabs_r_shortcode'), 'tabs_responsive', 'normal', 'low');
94
add_meta_box ('tabs_r_more_pro', __('More Pro Plugin From Wpshopmart', wpshopmart_tabs_r_text_domain), array(&$this, 'wpsm_tabs_r_pic_more_pro'), 'tabs_responsive', 'normal', 'low');
95
96
//add_meta_box('tabs_r_donate', __('Donate Us', wpshopmart_tabs_r_text_domain), array(&$this, 'wpsm_tabs_r_donate_meta_box_function'), 'tabs_responsive', 'side', 'low');
97
add_meta_box('tabs_r_rateus', __('Rate Us If You Like This Plugin', wpshopmart_tabs_r_text_domain), array(&$this, 'wpsm_tabs_r_rateus_meta_box_function'), 'tabs_responsive', 'side', 'low');
@@ -255,10 +260,17 @@ class wpsm_tabs_r {
255
require('data-post/tabs-settings-save-data.php');
256
}
257
258
public function wpsm_tabs_r_pic_more_pro(){
259
require_once('more-pro.php');
260
}
261
262
}
263
global $wpsm_tabs_r;
264
$wpsm_tabs_r = wpsm_tabs_r::forge();
56
wp_enqueue_style('wpsm_tabs_r_remodal-css', wpshopmart_tabs_r_directory_url .'assets/modal/remodal.css');
57
wp_enqueue_style('wpsm_tabs_r_remodal-default-theme-css', wpshopmart_tabs_r_directory_url .'assets/modal/remodal-default-theme.css');
58
wp_enqueue_script('wpsm_tabs_r_min-js',wpshopmart_tabs_r_directory_url.'assets/modal/remodal.min.js',array('jquery'), false, true);
59
+ wp_enqueue_style('wpsm_tabs_ac_help_css', wpshopmart_tabs_r_directory_url.'assets/css/help.css');
60
61
}
62
}
92
public function wpsm_tabs_r_meta_boxes_group(){
93
add_meta_box('tabs_r_add', __('Add Tabs Panel', wpshopmart_tabs_r_text_domain), array(&$this, 'wpsm_add_tabs_r_meta_box_function'), 'tabs_responsive', 'normal', 'low' );
94
add_meta_box ('tabs_r_shortcode', __('Tabs Shortcode', wpshopmart_tabs_r_text_domain), array(&$this, 'wpsm_pic_tabs_r_shortcode'), 'tabs_responsive', 'normal', 'low');
95
+ add_meta_box ('tabs_r_more_free_themes', __('More Free Themes From Wpshopmart', wpshopmart_tabs_r_text_domain), array(&$this, 'wpsm_tabs_r_pic_more_free_themes'), 'tabs_responsive', 'normal', 'low');
96
+ add_meta_box ('tabs_r_more_free_plugins', __('More Free Plugins From Wpshopmart', wpshopmart_tabs_r_text_domain), array(&$this, 'wpsm_tabs_r_pic_more_free_plugins'), 'tabs_responsive', 'normal', 'low');
97
+
98
add_meta_box ('tabs_r_more_pro', __('More Pro Plugin From Wpshopmart', wpshopmart_tabs_r_text_domain), array(&$this, 'wpsm_tabs_r_pic_more_pro'), 'tabs_responsive', 'normal', 'low');
99
+ //add_meta_box ('tabs_r_more_pro_themes', __('More Pro Themes From Wpshopmart', wpshopmart_tabs_r_text_domain), array(&$this, 'wpsm_tabs_r_pic_more_pro_themes'), 'tabs_responsive', 'normal', 'low');
100
101
//add_meta_box('tabs_r_donate', __('Donate Us', wpshopmart_tabs_r_text_domain), array(&$this, 'wpsm_tabs_r_donate_meta_box_function'), 'tabs_responsive', 'side', 'low');
102
add_meta_box('tabs_r_rateus', __('Rate Us If You Like This Plugin', wpshopmart_tabs_r_text_domain), array(&$this, 'wpsm_tabs_r_rateus_meta_box_function'), 'tabs_responsive', 'side', 'low');
260
require('data-post/tabs-settings-save-data.php');
261
}
262
263
+ public function wpsm_tabs_r_pic_more_free_themes(){
264
+ require_once('more-free-themes.php');
265
+ }
266
+ public function wpsm_tabs_r_pic_more_free_plugins(){
267
+ require_once('more-free-plugins.php');
268
+ }
269
public function wpsm_tabs_r_pic_more_pro(){
270
require_once('more-pro.php');
271
}
272
273
+
274
}
275
global $wpsm_tabs_r;
276
$wpsm_tabs_r = wpsm_tabs_r::forge();
ink/admin/{free.php → more-free-plugins.php} RENAMED
@@ -1,26 +1,123 @@
1
<style>
2
- #wpcontent{
3
- padding-left:0px !important;
4
-
5
- }
6
- .panel-primary{
7
-
8
- border:0px !important;
9
- }
10
- .panel-default{
11
- background:#f1f1f1 !important;
12
-
13
- }
14
- .postbox{
15
-
16
- border: 0px solid #e5e5e5 !important;
17
- background: #f1f1f1 !important;
18
- }
19
-
20
- </style>
21
- <div class="row">
22
23
- <div class="panel panel-primary panel-default content-panel">
24
<div class="panel-body">
25
<table class="form-table2">
26
@@ -90,9 +187,8 @@
90
<div id="post-body" class="metabox-holder">
91
<div id="postbox-container-2" class="postbox-container">
92
<div id="advanced" class="meta-box-sortables">
93
- <div id="gallery_bank_get_started" class="postbox" >
94
- <div class="handlediv" data-target="ux_recommendation" title="Click to toggle" data-toggle="collapse"><br></div>
95
- <h2 class="hndle" style="text-align:center;font-size:30px;"><span>More Free Plugins Recommendation From Wpshopmart</span></h3>
96
<div class="inside">
97
<div id="ux_recommendation" class="gallery_bank_layout">
98
@@ -322,7 +418,6 @@
322
</div>
323
</div>
324
325
-
326
-
327
- </div>
328
- <!-- /row -->
1
<style>
2
+ #tabs_r_more_free_plugins{
3
+ background:transparent #fff;
4
5
+ margin-top:40px;
6
+ }
7
+ #tabs_r_more_free_plugins .hndle , #tabs_r_more_free_plugins .handlediv{
8
+ display:none;
9
+ }
10
+ #tabs_r_more_free_plugins p{
11
+ color:#000;
12
+ font-size:15px;
13
+ }
14
+ .wpsm-theme-container {
15
+ background: #fff;
16
+ padding-left: 0px;
17
+ padding-right: 0px;
18
+ box-shadow: 0 0 20px rgba(0,0,0,.2);
19
+ margin-bottom: 20px;
20
+ }
21
+ .wpsm_site-img-responsive {
22
+ display: block;
23
+ width: 100%;
24
+ height: auto;
25
+ }
26
+ .wpsm_product_wrapper {
27
+ padding: 20px;
28
+ overflow: hidden;
29
+ }
30
+ .wpsm_product_wrapper h3 {
31
+ float: left;
32
+ margin-bottom: 0px;
33
+ color: #000 !important;
34
+ letter-spacing: 0px;
35
+ text-transform: uppercase;
36
+ font-size: 18px;
37
+ font-weight: 700;
38
+ text-align: left;
39
+ margin:0px;
40
+ }
41
+ .wpsm_product_wrapper h3 span {
42
+ display: block;
43
+ float: left;
44
+ width: 100%;
45
+ overflow: hidden;
46
+ font-size: 14px;
47
+ color: #919499;
48
+ margin-top: 6px;
49
+ }
50
+ .wpsm_product_wrapper .price {
51
+ float: right;
52
+ font-size: 24px;
53
+ color: #000;
54
+ font-family: sans-serif;
55
+ font-weight: 500;
56
+ }
57
+ .wpsm-btn-block {
58
+ overflow: hidden;
59
+ float: left;
60
+ width: 100%;
61
+ margin-top: 20px;
62
+ display: block;
63
+ }
64
+ .portfolio_read_more_btn {
65
+ border: 1px solid #1e73be;
66
+ border-radius: 0px;
67
+ margin-bottom: 10px;
68
+ text-transform: uppercase;
69
+ font-weight: 700;
70
+ font-size: 15px;
71
+ padding: 12px 12px;
72
+ display: block;
73
+ text-align:center;
74
+ width:100%;
75
+ border-radius: 2px;
76
+ cursor: pointer;
77
+ letter-spacing: 1px;
78
+ outline: none;
79
+ position: relative;
80
+ text-decoration: none !important;
81
+ color: #fff !important;
82
+ -webkit-transition: all ease 0.5s;
83
+ -moz-transition: all ease 0.5s;
84
+ transition: all ease 0.5s;
85
+ background: #1e73be;
86
+ padding-left: 22px;
87
+ padding-right: 22px;
88
+ }
89
+ .portfolio_demo_btn {
90
+ border: 1px solid #919499;
91
+ border-radius: 0px;
92
+ margin-bottom: 10px;
93
+ text-transform: uppercase;
94
+ font-weight: 700;
95
+ font-size: 15px;
96
+ padding: 12px 12px;
97
+ display: block;
98
+ text-align:center;
99
+ width:100%;
100
+ border-radius: 2px;
101
+ cursor: pointer;
102
+ letter-spacing: 1px;
103
+ outline: none;
104
+ position: relative;
105
+ text-decoration: none !important;
106
+ background-color: #242629;
107
+ border-color: #242629;
108
+ color: #fff !important;
109
+ -webkit-transition: all ease 0.5s;
110
+ -moz-transition: all ease 0.5s;
111
+ transition: all ease 0.5s;
112
+ padding-left: 22px;
113
+ padding-right: 22px;
114
+ }
115
+ </style>
116
+ <h1>Recommended Free WordPress Plugins From Wpshopmart</h1>
117
+ <div style="overflow:hidden;display:block;width:100%;padding-top:20px;padding-bottom:20px;height: 450px; overflow: auto;">
118
+ <div class="col-md-12">
119
+
120
+ <div class="panel content-panel">
121
<div class="panel-body">
122
<table class="form-table2">
123
187
<div id="post-body" class="metabox-holder">
188
<div id="postbox-container-2" class="postbox-container">
189
<div id="advanced" class="meta-box-sortables">
190
+ <div id="gallery_bank_get_started" >
191
+
192
<div class="inside">
193
<div id="ux_recommendation" class="gallery_bank_layout">
194
418
</div>
419
</div>
420
421
+
422
+ </div>
423
+ </div>
ink/admin/more-free-themes.php ADDED
@@ -0,0 +1,206 @@
1
+ <style>
2
+ #tabs_r_more_free_themes{
3
+ background:transparent #fff;
4
+
5
+ margin-top:40px;
6
+ }
7
+ #tabs_r_more_free_themes .hndle , #tabs_r_more_free_themes .handlediv{
8
+ display:none;
9
+ }
10
+ #tabs_r_more_free_themes p{
11
+ color:#000;
12
+ font-size:15px;
13
+ }
14
+ .wpsm-theme-container {
15
+ background: #fff;
16
+ padding-left: 0px;
17
+ padding-right: 0px;
18
+ box-shadow: 0 0 20px rgba(0,0,0,.2);
19
+ margin-bottom: 20px;
20
+ }
21
+ .wpsm_site-img-responsive {
22
+ display: block;
23
+ width: 100%;
24
+ height: auto;
25
+ }
26
+ .wpsm_product_wrapper {
27
+ padding: 20px;
28
+ overflow: hidden;
29
+ }
30
+ .wpsm_product_wrapper h3 {
31
+ float: left;
32
+ margin-bottom: 0px;
33
+ color: #000 !important;
34
+ letter-spacing: 0px;
35
+ text-transform: uppercase;
36
+ font-size: 18px;
37
+ font-weight: 700;
38
+ text-align: left;
39
+ margin:0px;
40
+ }
41
+ .wpsm_product_wrapper h3 span {
42
+ display: block;
43
+ float: left;
44
+ width: 100%;
45
+ overflow: hidden;
46
+ font-size: 14px;
47
+ color: #919499;
48
+ margin-top: 6px;
49
+ }
50
+ .wpsm_product_wrapper .price {
51
+ float: right;
52
+ font-size: 24px;
53
+ color: #000;
54
+ font-family: sans-serif;
55
+ font-weight: 500;
56
+ }
57
+ .wpsm-btn-block {
58
+ overflow: hidden;
59
+ float: left;
60
+ width: 100%;
61
+ margin-top: 20px;
62
+ display: block;
63
+ }
64
+ .portfolio_read_more_btn {
65
+ border: 1px solid #1e73be;
66
+ border-radius: 0px;
67
+ margin-bottom: 10px;
68
+ text-transform: uppercase;
69
+ font-weight: 700;
70
+ font-size: 15px;
71
+ padding: 12px 12px;
72
+ display: block;
73
+ text-align:center;
74
+ width:100%;
75
+ border-radius: 2px;
76
+ cursor: pointer;
77
+ letter-spacing: 1px;
78
+ outline: none;
79
+ position: relative;
80
+ text-decoration: none !important;
81
+ color: #fff !important;
82
+ -webkit-transition: all ease 0.5s;
83
+ -moz-transition: all ease 0.5s;
84
+ transition: all ease 0.5s;
85
+ background: #1e73be;
86
+ padding-left: 22px;
87
+ padding-right: 22px;
88
+ }
89
+ .portfolio_demo_btn {
90
+ border: 1px solid #919499;
91
+ border-radius: 0px;
92
+ margin-bottom: 10px;
93
+ text-transform: uppercase;
94
+ font-weight: 700;
95
+ font-size: 15px;
96
+ padding: 12px 12px;
97
+ display: block;
98
+ text-align:center;
99
+ width:100%;
100
+ border-radius: 2px;
101
+ cursor: pointer;
102
+ letter-spacing: 1px;
103
+ outline: none;
104
+ position: relative;
105
+ text-decoration: none !important;
106
+ background-color: #242629;
107
+ border-color: #242629;
108
+ color: #fff !important;
109
+ -webkit-transition: all ease 0.5s;
110
+ -moz-transition: all ease 0.5s;
111
+ transition: all ease 0.5s;
112
+ padding-left: 22px;
113
+ padding-right: 22px;
114
+ }
115
+ #tabs_r_more_free_themes .theme-id-container {
116
+ position: relative;
117
+ height: 49px;
118
+ }
119
+ #tabs_r_more_free_themes .theme-browser .theme .theme-name{
120
+ height: auto;
121
+ }#tabs_r_more_free_themes .theme-browser .theme .theme-actions{
122
+ opacity: 1;
123
+ }
124
+ </style>
125
+ <h1>Recommended Free Wordpress Themes From Wpshopmart</h1>
126
+ <div style="overflow:hidden;display:block;width:100%;padding-top:20px;padding-bottom:20px;height: 330px; overflow: auto;">
127
+ <div class="col-md-12">
128
+
129
+ <?php
130
+ /**
131
+ * @access protected
132
+ *
133
+ * @return bool
134
+ */
135
+ /**
136
+ * Ajax handler for getting themes from themes_api().
137
+ *
138
+ * @since 3.9.0
139
+ *
140
+ * @global array $themes_allowedtags
141
+ * @global array $theme_field_defaults
142
+ */
143
+ function wp_ajax_query_themes()
144
+ {
145
+ global $themes_allowedtags, $theme_field_defaults;
146
+ if (!current_user_can('install_themes')) {
147
+ wp_send_json_error();
148
+ }
149
+ $args = array('per_page' => 20, 'fields' => $theme_field_defaults,'author'=>'wpshopmart');
150
+ if (isset($args['browse']) && 'favorites' === $args['browse'] && !isset($args['user'])) {
151
+ $user = 'wpshopmart';
152
+ if ($user) {
153
+ $args['user'] = $user;
154
+ }
155
+ }
156
+ $old_filter = isset($args['browse']) ? $args['browse'] : 'search';
157
+ /** This filter is documented in wp-admin/includes/class-wp-theme-install-list-table.php */
158
+ $args = apply_filters('install_themes_table_api_args_' . $old_filter, $args);
159
+ $api = themes_api('query_themes', $args);
160
+ if (is_wp_error($api)) {
161
+ wp_send_json_error();
162
+ }
163
+ $update_php = network_admin_url('update.php?action=install-theme');
164
+
165
+ ?>
166
+ <div class="theme-browser rendered">
167
+ <div class="themes">
168
+ <?php
169
+ foreach ($api->themes as &$theme) {
170
+ //print_r($theme);
171
+ $theme->install_url = add_query_arg(array('theme' => $theme->slug, '_wpnonce' => wp_create_nonce('install-theme_' . $theme->slug)), $update_php);
172
+
173
+ ?>
174
+ <div class="theme">
175
+ <div class="theme-screenshot">
176
+ <img src="<?php echo $theme->screenshot_url ?>" alt="">
177
+ </div>
178
+ <div class="theme-id-container">
179
+
180
+ <h2 class="theme-name" id="<?php echo $theme->name ?>-name"><?php echo $theme->name ?></h2>
181
+
182
+
183
+ <div class="theme-actions">
184
+
185
+ <a class="button button-primary" href="<?php echo $theme->install_url ?>" aria-label="Activate bizlite">Install/Activate</a>
186
+
187
+ </div>
188
+ </div>
189
+
190
+ </div>
191
+ <?php
192
+
193
+ }
194
+ //wp_send_json_success($api);
195
+ ?>
196
+ </div>
197
+ </div>
198
+ <?php
199
+ }
200
+ wp_ajax_query_themes();
201
+
202
+ ?>
203
+
204
+
205
+ </div>
206
+ </div>
ink/admin/more-pro.php CHANGED
@@ -1,6 +1,6 @@
1
<style>
2
#tabs_r_more_pro{
3
- background:transparent !important;
4
5
margin-top:40px;
6
}
@@ -114,7 +114,7 @@
114
}
115
</style>
116
<h1>Recommended Premium Plugins From Wpshopmart</h1>
117
- <div style="overflow:hidden;display:block;width:100%;padding-top:20px;padding-bottom:20px">
118
<div class="col-md-12">
119
120
<div class="col-md-4">
1
<style>
2
#tabs_r_more_pro{
3
+ background:transparent #fff;
4
5
margin-top:40px;
6
}
114
}
115
</style>
116
<h1>Recommended Premium Plugins From Wpshopmart</h1>
117
+ <div style="overflow:hidden;display:block;width:100%;padding-top:20px;padding-bottom:20px;height: 450px; overflow: auto;">
118
<div class="col-md-12">
119
120
<div class="col-md-4">
ink/install/installation.php CHANGED
@@ -122,6 +122,12 @@ function wpsm_tabs_r_review() {
122
<a style="color: #fff;background: #ef4238;padding: 5px 7px 4px 6px;border-radius: 4px;" href="https://wordpress.org/support/plugin/tabs-responsive/reviews/?filter=5#new-post" class="wpsm-tabs-b-dismiss-review-notice wpsm-tabs-b-review-out" target="_blank" rel="noopener">Rate the plugin</a>&nbsp; &nbsp;
123
<a style="color: #fff;background: #27d63c;padding: 5px 7px 4px 6px;border-radius: 4px;" href="#" class="wpsm-tabs-b-dismiss-review-notice wpsm-rate-later" target="_self" rel="noopener"><?php _e( 'Nope, maybe later', '' ); ?></a>&nbsp; &nbsp;
124
<a style="color: #fff;background: #31a3dd;padding: 5px 7px 4px 6px;border-radius: 4px;" href="#" class="wpsm-tabs-b-dismiss-review-notice wpsm-rated" target="_self" rel="noopener"><?php _e( 'I already did', '' ); ?></a>
125
</p>
126
</div>
127
<script type="text/javascript">
122
<a style="color: #fff;background: #ef4238;padding: 5px 7px 4px 6px;border-radius: 4px;" href="https://wordpress.org/support/plugin/tabs-responsive/reviews/?filter=5#new-post" class="wpsm-tabs-b-dismiss-review-notice wpsm-tabs-b-review-out" target="_blank" rel="noopener">Rate the plugin</a>&nbsp; &nbsp;
123
<a style="color: #fff;background: #27d63c;padding: 5px 7px 4px 6px;border-radius: 4px;" href="#" class="wpsm-tabs-b-dismiss-review-notice wpsm-rate-later" target="_self" rel="noopener"><?php _e( 'Nope, maybe later', '' ); ?></a>&nbsp; &nbsp;
124
<a style="color: #fff;background: #31a3dd;padding: 5px 7px 4px 6px;border-radius: 4px;" href="#" class="wpsm-tabs-b-dismiss-review-notice wpsm-rated" target="_self" rel="noopener"><?php _e( 'I already did', '' ); ?></a>
125
+ <a style=" color: #fff;
126
+ background: #5c60d0;
127
+ padding: 5px 7px 4px 6px;
128
+ border-radius: 4px;
129
+ margin-left: 10px;
130
+ text-decoration: none;" href="https://wpshopmart.com/plugins/tabs-pro-plugin/" class="btn btn-primary" target="_blank" rel="noopener"><?php _e( 'Upgarde To Tabs Pro Plugin', '' ); ?></a>
131
</p>
132
</div>
133
<script type="text/javascript">
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: 4.0
6
- Tested up to: 5.0.3
7
- Stable tag: 1.9.0
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
= 1.9.0 =
164
* Compatible with wordpress version 5.0.3
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: 4.0
6
+ Tested up to: 5.1.1
7
+ Stable tag: 1.9.1
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
160
161
== Changelog ==
162
163
+ = 1.9.1 =
164
+ * Compatible with wordpress version 5.1.1
165
+
166
= 1.9.0 =
167
* Compatible with wordpress version 5.0.3
168
tabs-responsive.php CHANGED
@@ -1,7 +1,7 @@
1
<?php
2
/**
3
* Plugin Name: Tabs Responsive
4
- * Version: 1.9.0
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
@@ -90,20 +90,14 @@ $plugin = plugin_basename(__FILE__);
90
add_filter("plugin_action_links_$plugin", 'wpsm_tabs_r_settings_link' );
91
add_action('admin_menu' , 'wpsm_tabs_r_recom_menu');
92
function wpsm_tabs_r_recom_menu() {
93
- $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');
94
$submenu2 = add_submenu_page('edit.php?post_type=tabs_responsive', __('Free Vs Pro', wpshopmart_tabs_r_text_domain), __('Free Vs Pro', wpshopmart_tabs_r_text_domain), 'administrator', 'wpsm_tabs_r_fvp_page', 'wpsm_tabs_r_fvp_page_funct');
95
96
//add hook to add styles and scripts for Tabs Plugin admin page
97
- add_action( 'admin_print_styles-' . $submenu, 'wpsm_tabs_r_recom_js_css' );
98
add_action( 'admin_print_styles-' . $submenu2, 'wpsm_tabs_r_fvp_js_css' );
99
}
100
- function wpsm_tabs_r_recom_js_css(){
101
- wp_enqueue_style('wpsm_tabs_r_bootstrap_css_recom', wpshopmart_tabs_r_directory_url.'assets/css/bootstrap.css');
102
- wp_enqueue_style('wpsm_tabs_ac_help_css', wpshopmart_tabs_r_directory_url.'assets/css/help.css');
103
- }
104
- function wpsm_tabs_rrecom_page_funct(){
105
- require_once('ink/admin/free.php');
106
- }
107
108
function wpsm_tabs_r_fvp_js_css(){
109
wp_enqueue_style('wpsm_tabs_r_settings_fvp', wpshopmart_tabs_r_directory_url.'assets/css/settings.css');
1
<?php
2
/**
3
* Plugin Name: Tabs Responsive
4
+ * Version: 1.9.1
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
90
add_filter("plugin_action_links_$plugin", 'wpsm_tabs_r_settings_link' );
91
add_action('admin_menu' , 'wpsm_tabs_r_recom_menu');
92
function wpsm_tabs_r_recom_menu() {
93
$submenu2 = add_submenu_page('edit.php?post_type=tabs_responsive', __('Free Vs Pro', wpshopmart_tabs_r_text_domain), __('Free Vs Pro', wpshopmart_tabs_r_text_domain), 'administrator', 'wpsm_tabs_r_fvp_page', 'wpsm_tabs_r_fvp_page_funct');
94
95
//add hook to add styles and scripts for Tabs Plugin admin page
96
+
97
add_action( 'admin_print_styles-' . $submenu2, 'wpsm_tabs_r_fvp_js_css' );
98
}
99
+
100
+
101
102
function wpsm_tabs_r_fvp_js_css(){
103
wp_enqueue_style('wpsm_tabs_r_settings_fvp', wpshopmart_tabs_r_directory_url.'assets/css/settings.css');