WP Tab Widget - Version 1.2.4

Version Description

  • Replaced "comm" CSS class with "comments-number" on comment count in Recent tab
  • Added "Show Some Love" option
Download this release

Release Info

Developer MyThemeShop
Plugin Icon 128x128 WP Tab Widget
Version 1.2.4
Comparing to
See all releases

Code changes from version 1.2.3 to 1.2.4

css/wp-tab-widget.css CHANGED
@@ -235,4 +235,11 @@ Author URI: http://mythemeshop.com/
235
  -webkit-transform: rotate(360deg);
236
  transform: rotate(360deg);
237
  }
 
 
 
 
 
 
 
238
  }
235
  -webkit-transform: rotate(360deg);
236
  transform: rotate(360deg);
237
  }
238
+ }
239
+
240
+ .wpt_show_love {
241
+ font-size: 12px;
242
+ font-style: italic;
243
+ padding: 5px;
244
+ margin: 0 10px;
245
  }
img/wp-tab-widget-pro.jpg DELETED
Binary file
js/wp-tab-widget.js CHANGED
@@ -1,11 +1,10 @@
1
  /*
2
  Plugin Name: WP Tab Widget
3
- Plugin URI: http://mythemeshop.com/plugins/wp-tab-widget/
4
- Description: WP Tab Widget is the AJAXified plugin which loads content by demand, and thus it makes the plugin incredibly lightweight.
5
  Author: MyThemeShop
6
- Author URI: http://mythemeshop.com/
7
  */
8
- function wpt_loadTabContent(tab_name, page_num, container, args_obj, widget_number) {
 
9
 
10
  var container = jQuery(container);
11
  var tab_content = container.find('#'+tab_name+'-tab-content');
@@ -21,7 +20,6 @@ function wpt_loadTabContent(tab_name, page_num, container, args_obj, widget_numb
21
  action: 'wpt_widget_content',
22
  tab: tab_name,
23
  page: page_num,
24
- widget_number: widget_number,
25
  args: args_obj
26
  }, function() {
27
  container.removeClass('wpt-loading');
@@ -39,14 +37,13 @@ jQuery(document).ready(function() {
39
  var $this = jQuery(this);
40
  var widget_id = this.id;
41
  var args = $this.data('args');
42
- var widget_number = $this.data('widget-number');
43
 
44
  // load tab content on click
45
  $this.find('.wpt-tabs a').click(function(e) {
46
  e.preventDefault();
47
  jQuery(this).parent().addClass('selected').siblings().removeClass('selected');
48
  var tab_name = this.id.slice(0, -4); // -tab
49
- wpt_loadTabContent(tab_name, 1, $this, args, widget_number);
50
  });
51
 
52
  // pagination
@@ -57,10 +54,10 @@ jQuery(document).ready(function() {
57
  var page_num = parseInt($this_a.closest('.tab-content').children('.page_num').val());
58
 
59
  if ($this_a.hasClass('next')) {
60
- wpt_loadTabContent(tab_name, page_num + 1, $this, args, widget_number);
61
  } else {
62
  $this.find('#'+tab_name+'-tab-content').data('loaded', 0);
63
- wpt_loadTabContent(tab_name, page_num - 1, $this, args, widget_number);
64
  }
65
 
66
  });
1
  /*
2
  Plugin Name: WP Tab Widget
 
 
3
  Author: MyThemeShop
4
+ Author URI: mythemeshop.com
5
  */
6
+
7
+ function wpt_loadTabContent(tab_name, page_num, container, args_obj) {
8
 
9
  var container = jQuery(container);
10
  var tab_content = container.find('#'+tab_name+'-tab-content');
20
  action: 'wpt_widget_content',
21
  tab: tab_name,
22
  page: page_num,
 
23
  args: args_obj
24
  }, function() {
25
  container.removeClass('wpt-loading');
37
  var $this = jQuery(this);
38
  var widget_id = this.id;
39
  var args = $this.data('args');
 
40
 
41
  // load tab content on click
42
  $this.find('.wpt-tabs a').click(function(e) {
43
  e.preventDefault();
44
  jQuery(this).parent().addClass('selected').siblings().removeClass('selected');
45
  var tab_name = this.id.slice(0, -4); // -tab
46
+ wpt_loadTabContent(tab_name, 1, $this, args);
47
  });
48
 
49
  // pagination
54
  var page_num = parseInt($this_a.closest('.tab-content').children('.page_num').val());
55
 
56
  if ($this_a.hasClass('next')) {
57
+ wpt_loadTabContent(tab_name, page_num + 1, $this, args);
58
  } else {
59
  $this.find('#'+tab_name+'-tab-content').data('loaded', 0);
60
+ wpt_loadTabContent(tab_name, page_num - 1, $this, args);
61
  }
62
 
63
  });
js/wpt-admin.js CHANGED
@@ -1,10 +1,10 @@
1
  /*
2
  Plugin Name: WP Tab Widget
3
- Plugin URI: http://mythemeshop.com/plugins/wp-tab-widget/
4
- Description: WP Tab Widget is the AJAXified plugin which loads content by demand, and thus it makes the plugin incredibly lightweight.
5
  Author: MyThemeShop
6
- Author URI: http://mythemeshop.com/
 
7
  */
 
8
  jQuery(document).on('click', function(e) {
9
  var $this = jQuery(e.target);
10
  var $form = $this.closest('.wpt_options_form');
1
  /*
2
  Plugin Name: WP Tab Widget
 
 
3
  Author: MyThemeShop
4
+ Author URI: mythemeshop.com
5
+ Version: 1.0
6
  */
7
+
8
  jQuery(document).on('click', function(e) {
9
  var $this = jQuery(e.target);
10
  var $form = $this.closest('.wpt_options_form');
languages/default.mo CHANGED
Binary file
languages/default.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Tab Widget by MyThemeShop\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-22 01:58+0530\n"
6
- "PO-Revision-Date: 2015-09-22 01:58+0530\n"
7
  "Last-Translator: MyThemeShop <support-team@mythemeshop.com>\n"
8
  "Language-Team: MyThemeShop <support-team@mythemeshop.com>\n"
9
  "Language: en_US\n"
@@ -12,135 +12,154 @@ msgstr ""
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
- "X-Generator: Poedit 1.6.2\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
  #: ../wp-tab-widget.php:25
19
- msgid ""
20
- "Display popular posts, recent posts, comments, and tags in tabbed format."
21
  msgstr ""
22
 
23
  #: ../wp-tab-widget.php:27
24
  msgid "WP Tab Widget by MyThemeShop"
25
  msgstr ""
26
 
27
- #: ../wp-tab-widget.php:74
28
  msgid "Select Tabs"
29
  msgstr ""
30
 
31
- #: ../wp-tab-widget.php:79
32
  msgid "Popular Tab"
33
  msgstr ""
34
 
35
- #: ../wp-tab-widget.php:83
36
  msgid "Recent Tab"
37
  msgstr ""
38
 
39
- #: ../wp-tab-widget.php:87
40
  msgid "Comments Tab"
41
  msgstr ""
42
 
43
- #: ../wp-tab-widget.php:91
44
  msgid "Tags Tab"
45
  msgstr ""
46
 
47
- #: ../wp-tab-widget.php:96
48
  msgid "Tab Order"
49
  msgstr ""
50
 
51
- #: ../wp-tab-widget.php:102 ../wp-tab-widget.php:244
52
  msgid "Popular"
53
  msgstr ""
54
 
55
- #: ../wp-tab-widget.php:106 ../wp-tab-widget.php:245
56
  msgid "Recent"
57
  msgstr ""
58
 
59
- #: ../wp-tab-widget.php:110 ../wp-tab-widget.php:246 ../wp-tab-widget.php:371
60
- #: ../wp-tab-widget.php:424
61
  msgid "Comments"
62
  msgstr ""
63
 
64
- #: ../wp-tab-widget.php:114 ../wp-tab-widget.php:247
65
  msgid "Tags"
66
  msgstr ""
67
 
68
- #: ../wp-tab-widget.php:119
69
  msgid "Advanced Options"
70
  msgstr ""
71
 
72
- #: ../wp-tab-widget.php:125
73
  msgid "Allow pagination"
74
  msgstr ""
75
 
76
- #: ../wp-tab-widget.php:132
77
  msgid "Number of posts to show:"
78
  msgstr ""
79
 
80
- #: ../wp-tab-widget.php:139
81
  msgid "Title length (words):"
82
  msgstr ""
83
 
84
- #: ../wp-tab-widget.php:148
85
  msgid "Show post thumbnails"
86
  msgstr ""
87
 
88
- #: ../wp-tab-widget.php:153
89
  msgid "Thumbnail size:"
90
  msgstr ""
91
 
92
- #: ../wp-tab-widget.php:155
93
  msgid "Small"
94
  msgstr ""
95
 
96
- #: ../wp-tab-widget.php:156
97
  msgid "Large"
98
  msgstr ""
99
 
100
- #: ../wp-tab-widget.php:163
101
  msgid "Show post date"
102
  msgstr ""
103
 
104
- #: ../wp-tab-widget.php:170
105
  msgid "Show number of comments"
106
  msgstr ""
107
 
108
- #: ../wp-tab-widget.php:177
109
  msgid "Show post excerpt"
110
  msgstr ""
111
 
112
- #: ../wp-tab-widget.php:183
113
  msgid "Excerpt length (words):"
114
  msgstr ""
115
 
116
- #: ../wp-tab-widget.php:196
117
  msgid "Number of comments on Comments Tab:"
118
  msgstr ""
119
 
120
- #: ../wp-tab-widget.php:205
121
  msgid "Show avatars on Comments Tab"
122
  msgstr ""
123
 
124
- #: ../wp-tab-widget.php:371 ../wp-tab-widget.php:424
 
 
 
 
 
 
 
 
 
 
 
 
125
  msgid "No Comment"
126
  msgstr ""
127
 
128
- #: ../wp-tab-widget.php:371 ../wp-tab-widget.php:424
129
  msgid "One Comment"
130
  msgstr ""
131
 
132
- #: ../wp-tab-widget.php:481
133
  msgid "No comments yet."
134
  msgstr ""
135
 
136
- #: ../wp-tab-widget.php:504
137
  msgid "No tags created."
138
  msgstr ""
139
 
140
- #: ../wp-tab-widget.php:517
141
  msgid "&laquo; Previous"
142
  msgstr ""
143
 
144
- #: ../wp-tab-widget.php:520
145
  msgid "Next &raquo;"
146
  msgstr ""
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: WP Tab Widget by MyThemeShop\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2016-03-27 16:20+0100\n"
6
+ "PO-Revision-Date: 2016-03-27 16:20+0100\n"
7
  "Last-Translator: MyThemeShop <support-team@mythemeshop.com>\n"
8
  "Language-Team: MyThemeShop <support-team@mythemeshop.com>\n"
9
  "Language: en_US\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
+ "X-Generator: Poedit 1.8.1\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
  #: ../wp-tab-widget.php:25
19
+ msgid "Display popular posts, recent posts, comments, and tags in tabbed format."
 
20
  msgstr ""
21
 
22
  #: ../wp-tab-widget.php:27
23
  msgid "WP Tab Widget by MyThemeShop"
24
  msgstr ""
25
 
26
+ #: ../wp-tab-widget.php:75
27
  msgid "Select Tabs"
28
  msgstr ""
29
 
30
+ #: ../wp-tab-widget.php:80
31
  msgid "Popular Tab"
32
  msgstr ""
33
 
34
+ #: ../wp-tab-widget.php:84
35
  msgid "Recent Tab"
36
  msgstr ""
37
 
38
+ #: ../wp-tab-widget.php:88
39
  msgid "Comments Tab"
40
  msgstr ""
41
 
42
+ #: ../wp-tab-widget.php:92
43
  msgid "Tags Tab"
44
  msgstr ""
45
 
46
+ #: ../wp-tab-widget.php:97
47
  msgid "Tab Order"
48
  msgstr ""
49
 
50
+ #: ../wp-tab-widget.php:103 ../wp-tab-widget.php:253
51
  msgid "Popular"
52
  msgstr ""
53
 
54
+ #: ../wp-tab-widget.php:107 ../wp-tab-widget.php:254
55
  msgid "Recent"
56
  msgstr ""
57
 
58
+ #: ../wp-tab-widget.php:111 ../wp-tab-widget.php:255 ../wp-tab-widget.php:395
59
+ #: ../wp-tab-widget.php:448
60
  msgid "Comments"
61
  msgstr ""
62
 
63
+ #: ../wp-tab-widget.php:115 ../wp-tab-widget.php:256
64
  msgid "Tags"
65
  msgstr ""
66
 
67
+ #: ../wp-tab-widget.php:120
68
  msgid "Advanced Options"
69
  msgstr ""
70
 
71
+ #: ../wp-tab-widget.php:126
72
  msgid "Allow pagination"
73
  msgstr ""
74
 
75
+ #: ../wp-tab-widget.php:133
76
  msgid "Number of posts to show:"
77
  msgstr ""
78
 
79
+ #: ../wp-tab-widget.php:140
80
  msgid "Title length (words):"
81
  msgstr ""
82
 
83
+ #: ../wp-tab-widget.php:149
84
  msgid "Show post thumbnails"
85
  msgstr ""
86
 
87
+ #: ../wp-tab-widget.php:154
88
  msgid "Thumbnail size:"
89
  msgstr ""
90
 
91
+ #: ../wp-tab-widget.php:156
92
  msgid "Small"
93
  msgstr ""
94
 
95
+ #: ../wp-tab-widget.php:157
96
  msgid "Large"
97
  msgstr ""
98
 
99
+ #: ../wp-tab-widget.php:164
100
  msgid "Show post date"
101
  msgstr ""
102
 
103
+ #: ../wp-tab-widget.php:171
104
  msgid "Show number of comments"
105
  msgstr ""
106
 
107
+ #: ../wp-tab-widget.php:178
108
  msgid "Show post excerpt"
109
  msgstr ""
110
 
111
+ #: ../wp-tab-widget.php:184
112
  msgid "Excerpt length (words):"
113
  msgstr ""
114
 
115
+ #: ../wp-tab-widget.php:197
116
  msgid "Number of comments on Comments Tab:"
117
  msgstr ""
118
 
119
+ #: ../wp-tab-widget.php:206
120
  msgid "Show avatars on Comments Tab"
121
  msgstr ""
122
 
123
+ #: ../wp-tab-widget.php:214
124
+ msgid "Show Some Love (Powered by Tab Widget Pro)"
125
+ msgstr ""
126
+
127
+ #: ../wp-tab-widget.php:296
128
+ msgid "Powered by WP Tab Widget"
129
+ msgstr ""
130
+
131
+ #: ../wp-tab-widget.php:331
132
+ msgid "Unable to load tab content"
133
+ msgstr ""
134
+
135
+ #: ../wp-tab-widget.php:395 ../wp-tab-widget.php:448
136
  msgid "No Comment"
137
  msgstr ""
138
 
139
+ #: ../wp-tab-widget.php:395 ../wp-tab-widget.php:448
140
  msgid "One Comment"
141
  msgstr ""
142
 
143
+ #: ../wp-tab-widget.php:512
144
  msgid "No comments yet."
145
  msgstr ""
146
 
147
+ #: ../wp-tab-widget.php:535
148
  msgid "No tags created."
149
  msgstr ""
150
 
151
+ #: ../wp-tab-widget.php:548
152
  msgid "&laquo; Previous"
153
  msgstr ""
154
 
155
+ #: ../wp-tab-widget.php:551
156
  msgid "Next &raquo;"
157
  msgstr ""
158
+
159
+ #: ../wp-tab-widget.php:690
160
+ msgid "Like WP Tab Widget? You will <strong>LOVE WP Tab Widget Pro</strong>!"
161
+ msgstr ""
162
+
163
+ #: ../wp-tab-widget.php:690
164
+ msgid "Click here for all the exciting features."
165
+ msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Creator's website link: http://mythemeshop.com/
4
  Tags: tabs, tab widget, recent posts tab, tabs widget, ajax tabs, ajax widget.
5
  Requires at least: 3.0.1
6
  Tested up to: 4.4
7
- Stable tag: 1.2.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -87,6 +87,10 @@ Please disable all plugins and check if shortcode plugin is working properly. Th
87
 
88
  == Changelog ==
89
 
 
 
 
 
90
  = 1.2.3 =
91
  * Fixed issue where tab content couldn't be loaded on servers with non UTF8 character encoding
92
  * List only comments from default comment type in Comments tab
4
  Tags: tabs, tab widget, recent posts tab, tabs widget, ajax tabs, ajax widget.
5
  Requires at least: 3.0.1
6
  Tested up to: 4.4
7
+ Stable tag: 1.2.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
87
 
88
  == Changelog ==
89
 
90
+ = 1.2.4 =
91
+ * Replaced "comm" CSS class with "comments-number" on comment count in Recent tab
92
+ * Added "Show Some Love" option
93
+
94
  = 1.2.3 =
95
  * Fixed issue where tab content couldn't be loaded on servers with non UTF8 character encoding
96
  * List only comments from default comment type in Comments tab
wp-tab-widget.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Tab Widget
4
  Plugin URI: http://mythemeshop.com/plugins/wp-tab-widget/
5
  Description: WP Tab Widget is the AJAXified plugin which loads content by demand, and thus it makes the plugin incredibly lightweight.
6
  Author: MyThemeShop
7
- Version: 1.2.3
8
  Author URI: http://mythemeshop.com/
9
  */
10
  if ( !class_exists('wpt_widget') ) {
@@ -63,7 +63,8 @@ if ( !class_exists('wpt_widget') ) {
63
  'excerpt_length' => apply_filters( 'wpt_excerpt_length_default', '15' ),
64
  'show_comment_num' => 0,
65
  'show_avatar' => 1,
66
- 'title_length' => apply_filters( 'wpt_title_length_default', '15' )
 
67
  ) );
68
 
69
  extract($instance);
@@ -205,8 +206,14 @@ if ( !class_exists('wpt_widget') ) {
205
  <?php _e( 'Show avatars on Comments Tab', 'wp-tab-widget'); ?>
206
  </label>
207
  </p>
208
- </div><!-- .wpt_comment_options -->
209
- </div><!-- .wpt_advanced_options -->
 
 
 
 
 
 
210
  <a href="https://mythemeshop.com/plugins/wp-tab-widget-pro/?utm_source=WP+Tab+Widget+Free&utm_medium=Banner+CPC&utm_content=WP+Tab+Widget+Pro+LP&utm_campaign=WordPressOrg&wpmts" target="_blank"><img src="<?php echo plugin_dir_url( __FILE__ ); ?>/img/wp-tab-widget-pro.jpg" style="width:100%; max-width: 100%; margin-bottom: 10px;"></a>
211
  </div><!-- .wpt_options_form -->
212
  <?php
@@ -227,6 +234,7 @@ if ( !class_exists('wpt_widget') ) {
227
  $instance['excerpt_length'] = $new_instance['excerpt_length'];
228
  $instance['show_comment_num'] = $new_instance['show_comment_num'];
229
  $instance['show_avatar'] = $new_instance['show_avatar'];
 
230
  return $instance;
231
  }
232
  function widget( $args, $instance ) {
@@ -249,6 +257,7 @@ if ( !class_exists('wpt_widget') ) {
249
 
250
  array_multisort($tab_order, $available_tabs);
251
 
 
252
  ?>
253
  <?php echo $before_widget; ?>
254
  <div class="wpt_widget_content" id="<?php echo $widget_id; ?>_content" data-widget-number="<?php echo esc_attr( $this->number ); ?>">
@@ -280,11 +289,14 @@ if ( !class_exists('wpt_widget') ) {
280
  <ul>
281
  </ul>
282
  </div> <!--end #tags-tab-content-->
283
- <?php endif; ?>
284
- <div class="clear"></div>
285
- </div> <!--end .inside -->
 
 
 
286
  <div class="clear"></div>
287
- </div><!--end #tabber -->
288
  <?php
289
  // inline script
290
  // to support multiple instances per page with different settings
@@ -433,7 +445,7 @@ if ( !class_exists('wpt_widget') ) {
433
  &bull;
434
  <?php endif; ?>
435
  <?php if ( $show_comment_num == 1 ) : ?>
436
- <?php echo comments_number(__('No Comment','wp-tab-widget'), __('One Comment','wp-tab-widget'), '<span class="comm">%</span> '.__('Comments','wp-tab-widget'));?>
437
  <?php endif; ?>
438
  </div> <!--end .entry-meta-->
439
  <?php endif; ?>
4
  Plugin URI: http://mythemeshop.com/plugins/wp-tab-widget/
5
  Description: WP Tab Widget is the AJAXified plugin which loads content by demand, and thus it makes the plugin incredibly lightweight.
6
  Author: MyThemeShop
7
+ Version: 1.2.4
8
  Author URI: http://mythemeshop.com/
9
  */
10
  if ( !class_exists('wpt_widget') ) {
63
  'excerpt_length' => apply_filters( 'wpt_excerpt_length_default', '15' ),
64
  'show_comment_num' => 0,
65
  'show_avatar' => 1,
66
+ 'title_length' => apply_filters( 'wpt_title_length_default', '15' ) ,
67
+ 'show_love' => 0,
68
  ) );
69
 
70
  extract($instance);
206
  <?php _e( 'Show avatars on Comments Tab', 'wp-tab-widget'); ?>
207
  </label>
208
  </p>
209
+ </div><!-- .wpt_comment_options -->
210
+ </div><!-- .wpt_advanced_options -->
211
+ <p>
212
+ <label for="<?php echo $this->get_field_id("show_love"); ?>">
213
+ <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id("show_love"); ?>" name="<?php echo $this->get_field_name("show_love"); ?>" value="1" <?php if (isset($show_love)) { checked( 1, $show_love, true ); } ?> />
214
+ <?php _e( 'Show Some Love (Powered by Tab Widget Pro)', 'wp-tab-widget'); ?>
215
+ </label>
216
+ </p>
217
  <a href="https://mythemeshop.com/plugins/wp-tab-widget-pro/?utm_source=WP+Tab+Widget+Free&utm_medium=Banner+CPC&utm_content=WP+Tab+Widget+Pro+LP&utm_campaign=WordPressOrg&wpmts" target="_blank"><img src="<?php echo plugin_dir_url( __FILE__ ); ?>/img/wp-tab-widget-pro.jpg" style="width:100%; max-width: 100%; margin-bottom: 10px;"></a>
218
  </div><!-- .wpt_options_form -->
219
  <?php
234
  $instance['excerpt_length'] = $new_instance['excerpt_length'];
235
  $instance['show_comment_num'] = $new_instance['show_comment_num'];
236
  $instance['show_avatar'] = $new_instance['show_avatar'];
237
+ $instance['show_love'] = $new_instance['show_love'];
238
  return $instance;
239
  }
240
  function widget( $args, $instance ) {
257
 
258
  array_multisort($tab_order, $available_tabs);
259
 
260
+ $show_love = !empty($instance['show_love']);
261
  ?>
262
  <?php echo $before_widget; ?>
263
  <div class="wpt_widget_content" id="<?php echo $widget_id; ?>_content" data-widget-number="<?php echo esc_attr( $this->number ); ?>">
289
  <ul>
290
  </ul>
291
  </div> <!--end #tags-tab-content-->
292
+ <?php endif; ?>
293
+ <div class="clear"></div>
294
+ </div> <!--end .inside -->
295
+ <?php if ( $show_love ) { ?>
296
+ <a href="https://mythemeshop.com/plugins/wp-review-pro/?utm_source=WP+Tab+Widget&amp;utm_medium=Link+CPC&amp;utm_content=WP+Tab+Widget+Pro+LP&amp;utm_campaign=WordPressOrg" class="wpt_show_love"><?php _e('Powered by WP Tab Widget', 'wp-tab-widget'); ?></a>
297
+ <?php } ?>
298
  <div class="clear"></div>
299
+ </div><!--end #tabber -->
300
  <?php
301
  // inline script
302
  // to support multiple instances per page with different settings
445
  &bull;
446
  <?php endif; ?>
447
  <?php if ( $show_comment_num == 1 ) : ?>
448
+ <?php echo comments_number(__('No Comment','wp-tab-widget'), __('One Comment','wp-tab-widget'), '<span class="comments-number">%</span> '.__('Comments','wp-tab-widget'));?>
449
  <?php endif; ?>
450
  </div> <!--end .entry-meta-->
451
  <?php endif; ?>