WordPress Popular Posts - Version 2.3.7

Version Description

  • Fixed category excluding/including bug.
Download this release

Release Info

Developer hcabrera
Plugin Icon 128x128 WordPress Popular Posts
Version 2.3.7
Comparing to
See all releases

Version 2.3.7

admin.php ADDED
@@ -0,0 +1,993 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (basename($_SERVER['SCRIPT_NAME']) == basename(__FILE__)) exit('Please do not load this page directly');
3
+
4
+ /**
5
+ * Merges two associative arrays recursively
6
+ * array_merge_recursive_distinct(array('key' => 'org value'), array('key' => 'new value'));
7
+ * => array('key' => array('new value'));
8
+ * Source: http://www.php.net/manual/en/function.array-merge-recursive.php#92195
9
+ * Since 2.3.4
10
+ */
11
+ function array_merge_recursive_distinct( array &$array1, array &$array2 ) {
12
+ $merged = $array1;
13
+
14
+ foreach ( $array2 as $key => &$value ) {
15
+ if ( is_array( $value ) && isset ( $merged[$key] ) && is_array( $merged[$key] ) ) {
16
+ $merged[$key] = array_merge_recursive_distinct ( $merged[$key], $value );
17
+ } else {
18
+ $merged[$key] = $value;
19
+ }
20
+ }
21
+
22
+ return $merged;
23
+ }
24
+
25
+ $wpp_settings_def = array(
26
+ 'stats' => array(
27
+ 'order_by' => 'views',
28
+ 'limit' => 10,
29
+ 'post_type' => 'post,page'
30
+ ),
31
+ 'tools' => array(
32
+ 'ajax' => false,
33
+ 'css' => true,
34
+ 'stylesheet' => true,
35
+ 'link' => array(
36
+ 'target' => '_self'
37
+ ),
38
+ 'thumbnail' => array(
39
+ 'source' => 'featured',
40
+ 'field' => '_wpp_thumbnail',
41
+ 'resize' => false,
42
+ 'default' => ''
43
+ ),
44
+ 'log_loggedin' => false,
45
+ 'cache' => array(
46
+ 'active' => false,
47
+ 'interval' => array(
48
+ 'time' => 'hour',
49
+ 'value' => 1
50
+ )
51
+ )
52
+ )
53
+ );
54
+
55
+ $ops = get_option('wpp_settings_config');
56
+ if ( !$ops ) {
57
+ add_option('wpp_settings_config', $wpp_settings_def);
58
+ $ops = $wpp_settings_def;
59
+ } else {
60
+ $ops = array_merge_recursive_distinct( $wpp_settings_def, $ops );
61
+ }
62
+
63
+ if ( isset($_POST['section']) ) {
64
+ if ($_POST['section'] == "stats") {
65
+ $ops['stats']['order_by'] = $_POST['stats_order'];
66
+ $ops['stats']['limit'] = (is_numeric($_POST['stats_limit']) && $_POST['stats_limit'] > 0) ? $_POST['stats_limit'] : 10;
67
+ $ops['stats']['post_type'] = empty($_POST['stats_type']) ? "post,page" : $_POST['stats_type'];
68
+
69
+ update_option('wpp_settings_config', $ops);
70
+ echo "<div class=\"updated\"><p><strong>" . __('Settings saved.', 'wordpress-popular-posts' ) . "</strong></p></div>";
71
+
72
+ } else if ($_POST['section'] == "linking") {
73
+
74
+ $ops['tools']['link']['target'] = $_POST['link_target'];
75
+ update_option('wpp_settings_config', $ops);
76
+ echo "<div class=\"updated\"><p><strong>" . __('Settings saved.', 'wordpress-popular-posts' ) . "</strong></p></div>";
77
+
78
+ }else if ($_POST['section'] == "logging") {
79
+
80
+ $ops['tools']['log_loggedin'] = $_POST['log_option'];
81
+ update_option('wpp_settings_config', $ops);
82
+ echo "<div class=\"updated\"><p><strong>" . __('Settings saved.', 'wordpress-popular-posts' ) . "</strong></p></div>";
83
+
84
+ } else if ($_POST['section'] == "tools") {
85
+
86
+ if ($_POST['thumb_source'] == "custom_field" && (!isset($_POST['thumb_field']) || empty($_POST['thumb_field']))) {
87
+ echo '<div id="wpp-message" class="error fade"><p>'.__('Please provide the name of your custom field.', 'wordpress-popular-posts').'</p></div>';
88
+ } else {
89
+ $ops['tools']['thumbnail']['source'] = $_POST['thumb_source'];
90
+ $ops['tools']['thumbnail']['field'] = ( !empty( $_POST['thumb_field']) ) ? $_POST['thumb_field'] : "_wpp_thumbnail";
91
+ $ops['tools']['thumbnail']['default'] = ( !empty( $_POST['upload_thumb_src']) ) ? $_POST['upload_thumb_src'] : "";
92
+ $ops['tools']['thumbnail']['resize'] = $_POST['thumb_field_resize'];
93
+
94
+ update_option('wpp_settings_config', $ops);
95
+ echo "<div class=\"updated\"><p><strong>" . __('Settings saved.', 'wordpress-popular-posts' ) . "</strong></p></div>";
96
+ }
97
+ } else if ($_POST['section'] == "ajax") {
98
+
99
+ $ops['tools']['ajax'] = $_POST['ajax'];
100
+
101
+ $ops['tools']['cache']['active'] = $_POST['cache'];
102
+ $ops['tools']['cache']['interval']['time'] = $_POST['cache_interval_time'];
103
+ $ops['tools']['cache']['interval']['value'] = $_POST['cache_interval_value'];
104
+
105
+ update_option('wpp_settings_config', $ops);
106
+ echo "<div class=\"updated\"><p><strong>" . __('Settings saved.', 'wordpress-popular-posts' ) . "</strong></p></div>";
107
+
108
+ } else if ($_POST['section'] == "css") {
109
+ $ops['tools']['css'] = $_POST['css'];
110
+
111
+ //print_r($ops);
112
+
113
+ update_option('wpp_settings_config', $ops);
114
+ echo "<div class=\"updated\"><p><strong>" . __('Settings saved.', 'wordpress-popular-posts' ) . "</strong></p></div>";
115
+ }
116
+ }
117
+
118
+ $rand = md5(uniqid(rand(), true));
119
+ $wpp_rand = get_option("wpp_rand");
120
+ if (empty($wpp_rand)) {
121
+ add_option("wpp_rand", $rand);
122
+ } else {
123
+ update_option("wpp_rand", $rand);
124
+ }
125
+
126
+ ?>
127
+
128
+
129
+ <style>
130
+ #wmpp-title {
131
+ color:#666;
132
+ font-family:Georgia, "Times New Roman", Times, serif;
133
+ font-weight:100;
134
+ font-size:24px;
135
+ font-style:italic;
136
+ }
137
+
138
+ .wmpp-subtitle {
139
+ margin:8px 0 15px 0;
140
+ color:#666;
141
+ font-family:Georgia, "Times New Roman", Times, serif;
142
+ font-size:16px;
143
+ font-weight:100;
144
+ }
145
+
146
+ .wpp_boxes {
147
+ display:none;
148
+ overflow:hidden;
149
+ width:100%;
150
+ }
151
+
152
+ #wpp-options {
153
+ width:100%;
154
+ }
155
+
156
+ #wpp-options fieldset {
157
+ margin:0 0 15px 0;
158
+ width:99%;
159
+ }
160
+
161
+ #wpp-options fieldset legend { font-weight:bold; }
162
+
163
+ #wpp-options fieldset .lbl_wpp_stats {
164
+ display:block;
165
+ margin:0 0 8px 0;
166
+ }
167
+
168
+ #wpp-stats-tabs {
169
+ padding:2px 0;
170
+ }
171
+
172
+ #wpp-stats-canvas {
173
+ overflow:hidden;
174
+ padding:2px 0;
175
+ width:100%;
176
+ }
177
+
178
+ .wpp-stats {
179
+ display:none;
180
+ width:96%px;
181
+ padding:1% 0;
182
+ font-size:8px;
183
+ background:#fff;
184
+ border:#999 3px solid;
185
+ }
186
+
187
+ .wpp-stats-active {
188
+ display:block;
189
+ }
190
+
191
+ .wpp-stats ol {
192
+ margin:0;
193
+ padding:0;
194
+ }
195
+
196
+ .wpp-stats ol li {
197
+ overflow:hidden;
198
+ margin:0 8px 10px 8px!important;
199
+ padding:0 0 2px 0!important;
200
+ font-size:12px;
201
+ line-height:12px;
202
+ color:#999;
203
+ border-bottom:#eee 1px solid;
204
+ }
205
+
206
+ .wpp-post-title {
207
+ /*display:block;*/
208
+ display:inline;
209
+ float:left;
210
+ font-weight:bold;
211
+ }
212
+
213
+ .post-stats {
214
+ display:inline;
215
+ float:right;
216
+ font-size:0.9em!important;
217
+ text-align:right;
218
+ color:#999;
219
+ }
220
+
221
+ .wpp-stats-unique-item, .wpp-stats-last-item {
222
+ margin:0!important;
223
+ padding:0!important;
224
+ border:none!important;
225
+ }
226
+ /**/
227
+ .wpp-stats p {
228
+ margin:0;
229
+ padding:0 8px;
230
+ font-size:12px;
231
+ }
232
+
233
+ .wp-list-table h4 {
234
+ margin:0 0 0 0;
235
+ }
236
+
237
+ .wpp-ans {
238
+ display:none;
239
+ width:100%;
240
+ }
241
+
242
+ .wpp-ans p {
243
+ margin:0 0 0 0;
244
+ padding:0;
245
+ }
246
+
247
+ </style>
248
+
249
+ <script type="text/javascript">
250
+ jQuery(document).ready(function(){
251
+
252
+ // TABS
253
+ jQuery(".subsubsub li a").click(function(e){
254
+ var tab = jQuery(this);
255
+ tab.addClass("current").parent().siblings().children("a").removeClass("current");
256
+
257
+ jQuery(".wpp_boxes:visible").hide();
258
+ jQuery("#" + tab.attr("rel")).fadeIn();
259
+
260
+ e.preventDefault();
261
+ });
262
+
263
+ // STATISTICS TABS
264
+ jQuery("#wpp-stats-tabs a").click(function(e){
265
+ var activeTab = jQuery(this).attr("rel");
266
+ jQuery(this).removeClass("button-secondary").addClass("button-primary").siblings().removeClass("button-primary").addClass("button-secondary");
267
+ jQuery(".wpp-stats:visible").fadeOut("fast", function(){
268
+ jQuery("#"+activeTab).slideDown("fast");
269
+ });
270
+
271
+ e.preventDefault();
272
+ });
273
+
274
+ jQuery(".wpp-stats").each(function(){
275
+ if (jQuery("li", this).length == 1) {
276
+ jQuery("li", this).addClass("wpp-stats-last-item");
277
+ } else {
278
+ jQuery("li:last", this).addClass("wpp-stats-last-item");
279
+ }
280
+ });
281
+
282
+ // FAQ
283
+ jQuery(".wp-list-table a").click(function(e){
284
+ var ans = jQuery(this).attr("rel");
285
+
286
+ jQuery(".wpp-ans:visible").hide();
287
+ //jQuery("#"+ans).slideToggle();
288
+ jQuery("#"+ans).show();
289
+
290
+ e.preventDefault();
291
+ });
292
+
293
+ // TOOLS
294
+ // thumb source selection
295
+ jQuery("#thumb_source").change(function() {
296
+ if (jQuery(this).val() == "custom_field") {
297
+ jQuery("#lbl_field, #thumb_field, #row_custom_field, #row_custom_field_resize").show();
298
+ } else {
299
+ jQuery("#lbl_field, #thumb_field, #row_custom_field, #row_custom_field_resize").hide();
300
+ }
301
+ });
302
+ // cache interval
303
+ jQuery("#cache").change(function() {
304
+ if (jQuery(this).val() == 1) {
305
+ jQuery("#cache_refresh_interval").show();
306
+ } else {
307
+ jQuery("#cache_refresh_interval, #cache_too_long").hide();
308
+ }
309
+ });
310
+ // interval
311
+ jQuery("#cache_interval_time").change(function() {
312
+ var value = parseInt( jQuery("#cache_interval_value").val() );
313
+ var time = jQuery(this).val();
314
+
315
+ console.log(time + " " + value);
316
+
317
+ if ( time == "hour" && value > 72 ) {
318
+ jQuery("#cache_too_long").show();
319
+ } else if ( time == "day" && value > 3 ) {
320
+ jQuery("#cache_too_long").show();
321
+ } else if ( time == "week" && value > 1 ) {
322
+ jQuery("#cache_too_long").show();
323
+ } else if ( time == "month" && value >= 1 ) {
324
+ jQuery("#cache_too_long").show();
325
+ } else if ( time == "year" && value >= 1 ) {
326
+ jQuery("#cache_too_long").show();
327
+ } else {
328
+ jQuery("#cache_too_long").hide();
329
+ }
330
+ });
331
+
332
+ jQuery("#cache_interval_value").change(function() {
333
+ var value = parseInt( jQuery(this).val() );
334
+ var time = jQuery("#cache_interval_time").val();
335
+
336
+ if ( time == "hour" && value > 72 ) {
337
+ jQuery("#cache_too_long").show();
338
+ } else if ( time == "day" && value > 3 ) {
339
+ jQuery("#cache_too_long").show();
340
+ } else if ( time == "week" && value > 1 ) {
341
+ jQuery("#cache_too_long").show();
342
+ } else if ( time == "month" && value >= 1 ) {
343
+ jQuery("#cache_too_long").show();
344
+ } else if ( time == "year" && value >= 1 ) {
345
+ jQuery("#cache_too_long").show();
346
+ } else {
347
+ jQuery("#cache_too_long").hide();
348
+ }
349
+ });
350
+
351
+ });
352
+
353
+ // TOOLS
354
+ function confirm_reset_cache() {
355
+ if (confirm("<?php _e("This operation will delete all entries from Wordpress Popular Posts' cache table and cannot be undone.", "wordpress-popular-posts"); ?> \n" + "<?php _e("Do you want to continue?", "wordpress-popular-posts"); ?>")) {
356
+ jQuery.post(ajaxurl, {action: 'wpp_clear_cache', token: '<?php echo get_option("wpp_rand"); ?>', clear: 'cache'}, function(data){
357
+ alert(data);
358
+ });
359
+ }
360
+ }
361
+
362
+ function confirm_reset_all() {
363
+ if (confirm("<?php _e("This operation will delete all stored info from Wordpress Popular Posts' data tables and cannot be undone.", "wordpress-popular-posts"); ?> \n" + "<?php _e("Do you want to continue?", "wordpress-popular-posts"); ?>")) {
364
+ jQuery.post(ajaxurl, {action: 'wpp_clear_all', token: '<?php echo get_option("wpp_rand"); ?>', clear: 'all'}, function(data){
365
+ alert(data);
366
+ });
367
+ }
368
+ }
369
+
370
+ </script>
371
+
372
+ <div class="wrap">
373
+ <div id="icon-options-general" class="icon32"><br /></div>
374
+ <h2 id="wmpp-title">Wordpress Popular Posts</h2>
375
+
376
+ <ul class="subsubsub">
377
+ <li id="btn_stats"><a href="#" <?php if (!isset($_POST['section']) || (isset($_POST['section']) && $_POST['section'] == "stats") ) {?>class="current"<?php } ?> rel="wpp_stats"><?php _e("Stats", "wordpress-popular-posts"); ?></a> |</li>
378
+ <li id="btn_faq"><a href="#" rel="wpp_faq"><?php _e("FAQ", "wordpress-popular-posts"); ?></a> |</li>
379
+ <li id="btn_tools"><a href="#" rel="wpp_tools"<?php if (isset($_POST['section']) && ($_POST['section'] == "logging" || $_POST['section'] == "tools" || $_POST['section'] == "ajax" || $_POST['section'] == "css") ) {?> class="current"<?php } ?>><?php _e("Tools", "wordpress-popular-posts"); ?></a></li>
380
+ </ul>
381
+ <!-- Start stats -->
382
+ <div id="wpp_stats" class="wpp_boxes"<?php if (!isset($_POST['section']) || (isset($_POST['section']) && $_POST['section'] == "stats") ) {?> style="display:block;"<?php } ?>>
383
+ <p><?php _e("Click on each tab to see what are the most popular entries on your blog in the last 24 hours, this week, last 30 days or all time since Wordpress Popular Posts was installed.", "wordpress-popular-posts"); ?></p>
384
+
385
+ <div class="tablenav top">
386
+ <div class="alignleft actions">
387
+ <form action="" method="post" id="wpp_stats_options" name="wpp_stats_options">
388
+ <select name="stats_order">
389
+ <option <?php if ($ops['stats']['order_by'] == "comments") {?>selected="selected"<?php } ?> value="comments"><?php _e("Order by comments", "wordpress-popular-posts"); ?></option>
390
+ <option <?php if ($ops['stats']['order_by'] == "views") {?>selected="selected"<?php } ?> value="views"><?php _e("Order by views", "wordpress-popular-posts"); ?></option>
391
+ <option <?php if ($ops['stats']['order_by'] == "avg") {?>selected="selected"<?php } ?> value="avg"><?php _e("Order by avg. daily views", "wordpress-popular-posts"); ?></option>
392
+ </select>
393
+ <label for="stats_type"><?php _e("Post type", "wordpress-popular-posts"); ?>:</label> <input type="text" name="stats_type" value="<?php echo $ops['stats']['post_type']; ?>" size="15" />
394
+ <label for="stats_limits"><?php _e("Limit", "wordpress-popular-posts"); ?>:</label> <input type="text" name="stats_limit" value="<?php echo $ops['stats']['limit']; ?>" size="5" />
395
+ <input type="hidden" name="section" value="stats" />
396
+ <input type="submit" class="button-secondary action" value="<?php _e("Apply", "wordpress-popular-posts"); ?>" name="" />
397
+ </form>
398
+ </div>
399
+ </div>
400
+ <br />
401
+ <div id="wpp-stats-tabs">
402
+ <a href="#" class="button-primary" rel="wpp-daily"><?php _e("Last 24 hours", "wordpress-popular-posts"); ?></a>
403
+ <a href="#" class="button-secondary" rel="wpp-weekly"><?php _e("Last 7 days", "wordpress-popular-posts"); ?></a>
404
+ <a href="#" class="button-secondary" rel="wpp-monthly"><?php _e("Last 30 days", "wordpress-popular-posts"); ?></a>
405
+ <a href="#" class="button-secondary" rel="wpp-all"><?php _e("All-time", "wordpress-popular-posts"); ?></a>
406
+ </div>
407
+ <div id="wpp-stats-canvas">
408
+ <div class="wpp-stats wpp-stats-active" id="wpp-daily">
409
+ <?php echo do_shortcode("[wpp range='daily' post_type='".$ops['stats']['post_type']."' stats_comments=1 stats_views=1 order_by='".$ops['stats']['order_by']."' wpp_start='<ol>' wpp_end='</ol>' post_html='<li>{title} <span class=\"post-stats\">{stats}</span></li>' limit=".$ops['stats']['limit']."]"); ?>
410
+ </div>
411
+ <div class="wpp-stats" id="wpp-weekly">
412
+ <?php echo do_shortcode("[wpp range='weekly' post_type='".$ops['stats']['post_type']."' stats_comments=1 stats_views=1 order_by='".$ops['stats']['order_by']."' wpp_start='<ol>' wpp_end='</ol>' post_html='<li>{title} <span class=\"post-stats\">{stats}</span></li>' limit=".$ops['stats']['limit']."]"); ?>
413
+ </div>
414
+ <div class="wpp-stats" id="wpp-monthly">
415
+ <?php echo do_shortcode("[wpp range='monthly' post_type='".$ops['stats']['post_type']."' stats_comments=1 stats_views=1 order_by='".$ops['stats']['order_by']."' wpp_start='<ol>' wpp_end='</ol>' post_html='<li>{title} <span class=\"post-stats\">{stats}</span></li>' limit=".$ops['stats']['limit']."]"); ?>
416
+ </div>
417
+ <div class="wpp-stats" id="wpp-all">
418
+ <?php echo do_shortcode("[wpp range='all' post_type='".$ops['stats']['post_type']."' stats_views=1 order_by='".$ops['stats']['order_by']."' wpp_start='<ol>' wpp_end='</ol>' post_html='<li>{title} <span class=\"post-stats\">{stats}</span></li>' limit=".$ops['stats']['limit']."]"); ?>
419
+ </div>
420
+ </div>
421
+ </div>
422
+ <!-- End stats -->
423
+
424
+ <!-- Start faq -->
425
+ <div id="wpp_faq" class="wpp_boxes">
426
+ <h3 class="wmpp-subtitle"><?php _e("Frequently Asked Questions", "wordpress-popular-posts"); ?></h3>
427
+ <table cellspacing="0" class="wp-list-table widefat fixed posts">
428
+ <tr>
429
+ <td valign="top"><!-- help area -->
430
+ <h4>&raquo; <a href="#" rel="q-1"><?php _e('What does "Title" do?', 'wordpress-popular-posts'); ?></a></h4>
431
+ <div class="wpp-ans" id="q-1">
432
+ <p><?php _e('It allows you to show a heading for your most popular posts listing. If left empty, no heading will be displayed at all.', 'wordpress-popular-posts'); ?></p>
433
+ </div>
434
+
435
+ <h4>&raquo; <a href="#" rel="q-2"><?php _e('What is Time Range for?', 'wordpress-popular-posts'); ?></a></h4>
436
+ <div class="wpp-ans" id="q-2">
437
+ <p><?php _e('It will tell Wordpress Popular Posts to retrieve all posts with most views / comments within the selected time range.', 'wordpress-popular-posts'); ?></p>
438
+ </div>
439
+
440
+ <h4>&raquo; <a href="#" rel="q-3"><?php _e('What is "Sort post by" for?', 'wordpress-popular-posts'); ?></a></h4>
441
+ <div class="wpp-ans" id="q-3">
442
+ <p><?php _e('It allows you to decide whether to order your popular posts listing by total views, comments, or average views per day.', 'wordpress-popular-posts'); ?></p>
443
+ </div>
444
+
445
+ <h4>&raquo; <a href="#" rel="q-4"><?php _e('What does "Display post rating" do?', 'wordpress-popular-posts'); ?></a></h4>
446
+ <div class="wpp-ans" id="q-4">
447
+ <p><?php _e('If checked, Wordpress Popular Posts will show how your readers are rating your most popular posts. This feature requires having WP-PostRatings plugin installed and enabled on your blog for it to work.', 'wordpress-popular-posts'); ?></p>
448
+ </div>
449
+
450
+ <h4>&raquo; <a href="#" rel="q-5"><?php _e('What does "Shorten title" do?', 'wordpress-popular-posts'); ?></a></h4>
451
+ <div class="wpp-ans" id="q-5">
452
+ <p><?php _e('If checked, all posts titles will be shortened to "n" characters/words. A new "Shorten title to" option will appear so you can set it to whatever you like.', 'wordpress-popular-posts'); ?></p>
453
+ </div>
454
+
455
+ <h4>&raquo; <a href="#" rel="q-6"><?php _e('What does "Display post excerpt" do?', 'wordpress-popular-posts'); ?></a></h4>
456
+ <div class="wpp-ans" id="q-6">
457
+ <p><?php _e('If checked, Wordpress Popular Posts will also include a small extract of your posts in the list. Similarly to the previous option, you will be able to decide how long the post excerpt should be.', 'wordpress-popular-posts'); ?></p>
458
+ </div>
459
+
460
+ <h4>&raquo; <a href="#" rel="q-7"><?php _e('What does "Keep text format and links" do?', 'wordpress-popular-posts'); ?></a></h4>
461
+ <div class="wpp-ans" id="q-7">
462
+ <p><?php _e('If checked, and if the Post Excerpt feature is enabled, Wordpress Popular Posts will keep the styling tags (eg. bold, italic, etc) that were found in the excerpt. Hyperlinks will remain intact, too.', 'wordpress-popular-posts'); ?></p>
463
+ </div>
464
+
465
+ <h4>&raquo; <a href="#" rel="q-8"><?php _e('What is "Post type" for?', 'wordpress-popular-posts'); ?></a></h4>
466
+ <div class="wpp-ans" id="q-8">
467
+ <p><?php _e('This filter allows you to decide which post types to show on the listing. By default, it will retrieve only posts and pages (which should be fine for most cases).', 'wordpress-popular-posts'); ?></p>
468
+ </div>
469
+
470
+ <h4>&raquo; <a href="#" rel="q-9"><?php _e('What is "Category(ies) ID(s)" for?', 'wordpress-popular-posts'); ?></a></h4>
471
+ <div class="wpp-ans" id="q-9">
472
+ <p><?php _e('This filter allows you to select which categories should be included or excluded from the listing. A negative sign in front of the category ID number will exclude posts belonging to it from the list, for example. You can specify more than one ID with a comma separated list.', 'wordpress-popular-posts'); ?></p>
473
+ </div>
474
+
475
+ <h4>&raquo; <a href="#" rel="q-10"><?php _e('What is "Author(s) ID(s)" for?', 'wordpress-popular-posts'); ?></a></h4>
476
+ <div class="wpp-ans" id="q-10">
477
+ <p><?php _e('Just like the Category filter, this one lets you filter posts by author ID. You can specify more than one ID with a comma separated list.', 'wordpress-popular-posts'); ?></p>
478
+ </div>
479
+
480
+ <h4>&raquo; <a href="#" rel="q-11"><?php _e('What does "Display post thumbnail" do?', 'wordpress-popular-posts'); ?></a></h4>
481
+ <div class="wpp-ans" id="q-11">
482
+ <p><?php _e('If checked, Wordpress Popular Posts will attempt to retrieve the thumbnail of each post. You can set up the source of the thumbnail via Settings - Wordpress Popular Posts - Tools.', 'wordpress-popular-posts'); ?></p>
483
+ </div>
484
+
485
+ <h4>&raquo; <a href="#" rel="q-12"><?php _e('What does "Display comment count" do?', 'wordpress-popular-posts'); ?></a></h4>
486
+ <div class="wpp-ans" id="q-12">
487
+ <p><?php _e('If checked, Wordpress Popular Posts will display how many comments each popular post has got in the selected Time Range.', 'wordpress-popular-posts'); ?></p>
488
+ </div>
489
+
490
+ <h4>&raquo; <a href="#" rel="q-13"><?php _e('What does "Display views" do?', 'wordpress-popular-posts'); ?></a></h4>
491
+ <div class="wpp-ans" id="q-13">
492
+ <p><?php _e('If checked, Wordpress Popular Posts will show how many pageviews a single post has gotten in the selected Time Range.', 'wordpress-popular-posts'); ?></p>
493
+ </div>
494
+
495
+ <h4>&raquo; <a href="#" rel="q-14"><?php _e('What does "Display author" do?', 'wordpress-popular-posts'); ?></a></h4>
496
+ <div class="wpp-ans" id="q-14">
497
+ <p><?php _e('If checked, Wordpress Popular Posts will display the name of the author of each entry listed.', 'wordpress-popular-posts'); ?></p>
498
+ </div>
499
+
500
+ <h4>&raquo; <a href="#" rel="q-15"><?php _e('What does "Display date" do?', 'wordpress-popular-posts'); ?></a></h4>
501
+ <div class="wpp-ans" id="q-15">
502
+ <p><?php _e('If checked, Wordpress Popular Posts will display the date when each popular posts was published.', 'wordpress-popular-posts'); ?></p>
503
+ </div>
504
+
505
+ <h4>&raquo; <a href="#" rel="q-16"><?php _e('What does "Use custom HTML Markup" do?', 'wordpress-popular-posts'); ?></a></h4>
506
+ <div class="wpp-ans" id="q-16">
507
+ <p><?php _e('If checked, you will be able to customize the HTML markup of your popular posts listing. For example, you can decide whether to wrap your posts in an unordered list, an ordered list, a div, etc. If you know xHTML/CSS, this is for you!', 'wordpress-popular-posts'); ?></p>
508
+ </div>
509
+
510
+ <h4>&raquo; <a href="#" rel="q-17"><?php _e('What are "Content Tags"?', 'wordpress-popular-posts'); ?></a></h4>
511
+ <div class="wpp-ans" id="q-17">
512
+ <p><?php _e('Content Tags are codes to display a variety of items on your popular posts custom HTML structure. For example, setting it to "{title}: {summary}" (without the quotes) would display "Post title: excerpt of the post here". For more Content Tags, see "List of parameters accepted by wpp_get_mostpopular() and the [wpp] shortcode".', 'wordpress-popular-posts'); ?></p>
513
+ </div>
514
+
515
+ <h4>&raquo; <a href="#" rel="q-18"><?php _e('What are "Template Tags"?', 'wordpress-popular-posts'); ?></a></h4>
516
+ <div class="wpp-ans" id="q-18">
517
+ <p><?php _e('Template Tags are simply php functions that allow you to perform certain actions. For example, Wordpress Popular Posts currently supports two different template tags: wpp_get_mostpopular() and wpp_get_views().', 'wordpress-popular-posts'); ?></p>
518
+ </div>
519
+
520
+ <h4>&raquo; <a href="#" rel="q-19"><?php _e('What are the template tags that Wordpress Popular Posts supports?', 'wordpress-popular-posts'); ?></a></h4>
521
+ <div class="wpp-ans" id="q-19">
522
+ <p><?php _e('The following are the template tags supported by Wordpress Popular Posts', 'wordpress-popular-posts'); ?>:</p>
523
+ <table cellspacing="0" class="wp-list-table widefat fixed posts">
524
+ <thead>
525
+ <tr>
526
+ <th class="manage-column column-title"><?php _e('Template tag', 'wordpress-popular-posts'); ?></th>
527
+ <th class="manage-column column-title"><?php _e('What it does ', 'wordpress-popular-posts'); ?></th>
528
+ <th class="manage-column column-title"><?php _e('Parameters', 'wordpress-popular-posts'); ?></th>
529
+ <th class="manage-column column-title"><?php _e('Example', 'wordpress-popular-posts'); ?></th>
530
+ </tr>
531
+ </thead>
532
+ <tbody>
533
+ <tr>
534
+ <td class="post type-post status-draft format-standard hentry category-js alternate iedit"><strong>wpp_get_mostpopular()</strong></td>
535
+ <td class="post type-post status-draft format-standard hentry category-js iedit"><?php _e('Similar to the widget functionality, this tag retrieves the most popular posts on your blog. This function also accepts parameters so you can customize your popular listing, but these are not required.', 'wordpress-popular-posts'); ?></td>
536
+ <td class="post type-post status-draft format-standard hentry category-js alternate iedit"><?php _e('Please refer to "List of parameters accepted by wpp_get_mostpopular() and the [wpp] shortcode".', 'wordpress-popular-posts'); ?></td>
537
+ <td class="post type-post status-draft format-standard hentry category-js iedit">&lt;?php wpp_get_mostpopular(); ?&gt;<br />&lt;?php wpp_get_mostpopular("range=weekly&amp;limit=7"); ?&gt;</td>
538
+ </tr>
539
+ <tr>
540
+ <td><strong>wpp_get_views()</strong></td>
541
+ <td><?php _e('Displays the number of views of a single post. Post ID is required or it will return false.', 'wordpress-popular-posts'); ?></td>
542
+ <td><?php _e('Post ID', 'wordpress-popular-posts'); ?>, range ("daily", "weekly", "monthly", "all")</td>
543
+ <td>&lt;?php echo wpp_get_views($post->ID); ?&gt;<br />&lt;?php echo wpp_get_views(15, 'weekly'); ?&gt;</td>
544
+ </tr>
545
+ </tbody>
546
+ </table>
547
+ </div>
548
+
549
+ <h4>&raquo; <a href="#" rel="q-20"><?php _e('What are "shortcodes"?', 'wordpress-popular-posts'); ?></a></h4>
550
+ <div class="wpp-ans" id="q-20">
551
+ <p><?php _e('Shortcodes are similar to BB Codes, these allow us to call a php function by simply typing something like [shortcode]. With Wordpress Popular Posts, the shortcode [wpp] will let you insert a list of the most popular posts in posts content and pages too! For more information about shortcodes, please visit', 'wordpress-popular-posts', 'wordpress-popular-posts'); ?> <a href="http://codex.wordpress.org/Shortcode_API" target="_blank">Wordpress Shortcode API</a>.</p>
552
+ </div>
553
+ <h4>&raquo; <a href="#" rel="q-21"><?php _e('List of parameters accepted by wpp_get_mostpopular() and the [wpp] shortcode', 'wordpress-popular-posts'); ?></a></h4>
554
+ <div class="wpp-ans" id="q-21" style="display:block;">
555
+ <p><?php _e('These parameters can be used by both the template tag wpp_get_most_popular() and the shortcode [wpp].', 'wordpress-popular-posts'); ?>:</p>
556
+ <table cellspacing="0" class="wp-list-table widefat fixed posts">
557
+ <thead>
558
+ <tr>
559
+ <th class="manage-column column-title"><?php _e('Parameter', 'wordpress-popular-posts'); ?></th>
560
+ <th class="manage-column column-title"><?php _e('What it does ', 'wordpress-popular-posts'); ?></th>
561
+ <th class="manage-column column-title"><?php _e('Possible values', 'wordpress-popular-posts'); ?></th>
562
+ <th class="manage-column column-title"><?php _e('Defaults to', 'wordpress-popular-posts'); ?></th>
563
+ <th class="manage-column column-title"><?php _e('Example', 'wordpress-popular-posts'); ?></th>
564
+ </tr>
565
+ </thead>
566
+ <tbody>
567
+ <tr>
568
+ <td><strong>header</strong></td>
569
+ <td><?php _e('Sets a heading for the list', 'wordpress-popular-posts'); ?></td>
570
+ <td><?php _e('Text string', 'wordpress-popular-posts'); ?></td>
571
+ <td><?php _e('Popular Posts', 'wordpress-popular-posts'); ?></td>
572
+ <td>header="Popular Posts"</td>
573
+ </tr>
574
+ <tr class="alternate">
575
+ <td><strong>header_start</strong></td>
576
+ <td><?php _e('Set the opening tag for the heading of the list', 'wordpress-popular-posts'); ?></td>
577
+ <td><?php _e('Text string', 'wordpress-popular-posts'); ?></td>
578
+ <td>&lt;h2&gt;</td>
579
+ <td>header_start="&lt;h2&gt;"</td>
580
+ </tr>
581
+ <tr>
582
+ <td><strong>header_end</strong></td>
583
+ <td><?php _e('Set the closing tag for the heading of the list', 'wordpress-popular-posts'); ?></td>
584
+ <td><?php _e('Text string', 'wordpress-popular-posts'); ?></td>
585
+ <td>&lt;/h2&gt;</td>
586
+ <td>header_end="&lt;/h2&gt;"</td>
587
+ </tr>
588
+ <tr class="alternate">
589
+ <td><strong>limit</strong></td>
590
+ <td><?php _e('Sets the maximum number of popular posts to be shown on the listing', 'wordpress-popular-posts'); ?></td>
591
+ <td><?php _e('Positive integer', 'wordpress-popular-posts'); ?></td>
592
+ <td>10</td>
593
+ <td>limit=10</td>
594
+ </tr>
595
+ <tr>
596
+ <td><strong>range</strong></td>
597
+ <td><?php _e('Tells Wordpress Popular Posts to retrieve the most popular entries within the time range specified by you', 'wordpress-popular-posts'); ?></td>
598
+ <td>"daily", "weekly", "monthly", "all"</td>
599
+ <td>daily</td>
600
+ <td>range="daily"</td>
601
+ </tr>
602
+ <tr class="alternate">
603
+ <td><strong>order_by</strong></td>
604
+ <td><?php _e('Sets the sorting option of the popular posts', 'wordpress-popular-posts'); ?></td>
605
+ <td>"comments", "views", "avg" <?php _e('(for average views per day)', 'wordpress-popular-posts'); ?></td>
606
+ <td>views</td>
607
+ <td>order_by="comments"</td>
608
+ </tr>
609
+ <tr>
610
+ <td><strong>post_type</strong></td>
611
+ <td><?php _e('Defines the type of posts to show on the listing', 'wordpress-popular-posts'); ?></td>
612
+ <td><?php _e('Text string', 'wordpress-popular-posts'); ?></td>
613
+ <td>post,page</td>
614
+ <td>post_type=post,page,your-custom-post-type</td>
615
+ </tr>
616
+ <tr class="alternate">
617
+ <td><strong>pid</strong></td>
618
+ <td><?php _e('If set, Wordpress Popular Posts will exclude the specified post(s) ID(s) form the listing.', 'wordpress-popular-posts'); ?></td>
619
+ <td><?php _e('Text string', 'wordpress-popular-posts'); ?></td>
620
+ <td><?php _e('None', 'wordpress-popular-posts'); ?></td>
621
+ <td>pid="60,25,31"</td>
622
+ </tr>
623
+ <tr>
624
+ <td><strong>cat</strong></td>
625
+ <td><?php _e('If set, Wordpress Popular Posts will retrieve all entries that belong to the specified category(ies) ID(s). If a minus sign is used, the category(ies) will be excluded instead.', 'wordpress-popular-posts'); ?></td>
626
+ <td><?php _e('Text string', 'wordpress-popular-posts'); ?></td>
627
+ <td><?php _e('None', 'wordpress-popular-posts'); ?></td>
628
+ <td>cat="1,55,-74"</td>
629
+ </tr>
630
+ <tr class="alternate">
631
+ <td><strong>author</strong></td>
632
+ <td><?php _e('If set, Wordpress Popular Posts will retrieve all entries created by specified author(s) ID(s).', 'wordpress-popular-posts'); ?></td>
633
+ <td><?php _e('Text string', 'wordpress-popular-posts'); ?></td>
634
+ <td><?php _e('None', 'wordpress-popular-posts'); ?></td>
635
+ <td>author="75,8,120"</td>
636
+ </tr>
637
+ <tr>
638
+ <td><strong>title_length</strong></td>
639
+ <td><?php _e('If set, Wordpress Popular Posts will shorten each post title to "n" characters whenever possible', 'wordpress-popular-posts'); ?></td>
640
+ <td><?php _e('Positive integer', 'wordpress-popular-posts'); ?></td>
641
+ <td>25</td>
642
+ <td>title_length=25</td>
643
+ </tr>
644
+ <tr>
645
+ <td><strong>title_by_words</strong></td>
646
+ <td><?php _e('If set to 1, Wordpress Popular Posts will shorten each post title to "n" words instead of characters', 'wordpress-popular-posts'); ?></td>
647
+ <td>1 (true), (0) false</td>
648
+ <td>0</td>
649
+ <td>title_by_words=1</td>
650
+ </tr>
651
+ <tr class="alternate">
652
+ <td><strong>excerpt_length</strong></td>
653
+ <td><?php _e('If set, Wordpress Popular Posts will build and include an excerpt of "n" characters long from the content of each post listed as popular', 'wordpress-popular-posts'); ?></td>
654
+ <td><?php _e('Positive integer', 'wordpress-popular-posts'); ?></td>
655
+ <td>0</td>
656
+ <td>excerpt_length=55</td>
657
+ </tr>
658
+ <tr>
659
+ <td><strong>excerpt_format</strong></td>
660
+ <td><?php _e('If set, Wordpress Popular Posts will maintaing all styling tags (strong, italic, etc) and hyperlinks found in the excerpt', 'wordpress-popular-posts'); ?></td>
661
+ <td>1 (true), (0) false</td>
662
+ <td>0</td>
663
+ <td>excerpt_format=1</td>
664
+ </tr>
665
+ <tr>
666
+ <td><strong>excerpt_by_words</strong></td>
667
+ <td><?php _e('If set to 1, Wordpress Popular Posts will shorten the excerpt to "n" words instead of characters', 'wordpress-popular-posts'); ?></td>
668
+ <td>1 (true), (0) false</td>
669
+ <td>0</td>
670
+ <td>excerpt_by_words=1</td>
671
+ </tr>
672
+ <tr class="alternate">
673
+ <td><strong>thumbnail_width</strong></td>
674
+ <td><?php _e('If set, and if your current server configuration allows it, you will be able to display thumbnails of your posts. This attribute sets the width for thumbnails', 'wordpress-popular-posts'); ?></td>
675
+ <td><?php _e('Positive integer', 'wordpress-popular-posts'); ?></td>
676
+ <td>15</td>
677
+ <td>thumbnail_width=30</td>
678
+ </tr>
679
+ <tr>
680
+ <td><strong>thumbnail_height</strong></td>
681
+ <td><?php _e('If set, and if your current server configuration allows it, you will be able to display thumbnails of your posts. This attribute sets the height for thumbnails', 'wordpress-popular-posts'); ?></td>
682
+ <td><?php _e('Positive integer', 'wordpress-popular-posts'); ?></td>
683
+ <td>15</td>
684
+ <td>thumbnail_height=30</td>
685
+ </tr>
686
+ <tr class="alternate">
687
+ <td><strong>rating</strong></td>
688
+ <td><?php _e('If set, and if the WP-PostRatings plugin is installed and enabled on your blog, Wordpress Popular Posts will show how your visitors are rating your entries', 'wordpress-popular-posts'); ?></td>
689
+ <td>1 (true), (0) false</td>
690
+ <td>0</td>
691
+ <td>rating=1</td>
692
+ </tr>
693
+ <tr>
694
+ <td><strong>stats_comments</strong></td>
695
+ <td><?php _e('If set, Wordpress Popular Posts will show how many comments each popular post has got until now', 'wordpress-popular-posts'); ?></td>
696
+ <td>1 (true), 0 (false)</td>
697
+ <td>1</td>
698
+ <td>stats_comments=1</td>
699
+ </tr>
700
+ <tr class="alternate">
701
+ <td><strong>stats_views</strong></td>
702
+ <td><?php _e('If set, Wordpress Popular Posts will show how many views each popular post has got since it was installed', 'wordpress-popular-posts'); ?></td>
703
+ <td>1 (true), (0) false</td>
704
+ <td>0</td>
705
+ <td>stats_views=1</td>
706
+ </tr>
707
+ <tr>
708
+ <td><strong>stats_author</strong></td>
709
+ <td><?php _e('If set, Wordpress Popular Posts will show who published each popular post on the list', 'wordpress-popular-posts'); ?></td>
710
+ <td>1 (true), (0) false</td>
711
+ <td>0</td>
712
+ <td>stats_author=1</td>
713
+ </tr>
714
+ <tr class="alternate">
715
+ <td><strong>stats_date</strong></td>
716
+ <td><?php _e('If set, Wordpress Popular Posts will display the date when each popular post on the list was published', 'wordpress-popular-posts'); ?></td>
717
+ <td>1 (true), (0) false</td>
718
+ <td>0</td>
719
+ <td>stats_date=1</td>
720
+ </tr>
721
+ <tr>
722
+ <td><strong>stats_date_format</strong></td>
723
+ <td><?php _e('Sets the date format', 'wordpress-popular-posts'); ?></td>
724
+ <td><?php _e('Text string', 'wordpress-popular-posts'); ?></td>
725
+ <td>0</td>
726
+ <td>stats_date_format='F j, Y'</td>
727
+ </tr>
728
+ <tr class="alternate">
729
+ <td><strong>stats_category</strong></td>
730
+ <td><?php _e('If set, Wordpress Popular Posts will display the category', 'wordpress-popular-posts'); ?></td>
731
+ <td>1 (true), (0) false</td>
732
+ <td>0</td>
733
+ <td>stats_category=1</td>
734
+ </tr>
735
+ <tr>
736
+ <td><strong>wpp_start</strong></td>
737
+ <td><?php _e('Sets the opening tag for the listing', 'wordpress-popular-posts'); ?></td>
738
+ <td><?php _e('Text string', 'wordpress-popular-posts'); ?></td>
739
+ <td>&lt;ul&gt;</td>
740
+ <td>wpp_start="&lt;ul&gt;"</td>
741
+ </tr>
742
+ <tr class="alternate">
743
+ <td><strong>wpp_end</strong></td>
744
+ <td><?php _e('Sets the closing tag for the listing', 'wordpress-popular-posts'); ?></td>
745
+ <td><?php _e('Text string', 'wordpress-popular-posts'); ?></td>
746
+ <td>&lt;/ul&gt;</td>
747
+ <td>wpp_end="&lt;/ul&gt;"</td>
748
+ </tr>
749
+ <tr>
750
+ <td><strong>post_html</strong></td>
751
+ <td><?php _e('Sets the HTML structure of each post', 'wordpress-popular-posts'); ?></td>
752
+ <td><?php _e('Text string, custom HTML', 'wordpress-popular-posts'); ?>.<br /><br /><strong><?php _e('Available Content Tags', 'wordpress-popular-posts'); ?>:</strong> <br /><em>{thumb}</em> (<?php _e('displays thumbnail linked to post/page', 'wordpress-popular-posts'); ?>)<br /> <em>{title}</em> (<?php _e('displays linked post/page title', 'wordpress-popular-posts'); ?>)<br /> <em>{summary}</em> (<?php _e('displays post/page excerpt, and requires excerpt_length to be greater than 0', 'wordpress-popular-posts'); ?>)<br /> <em>{stats}</em> (<?php _e('displays the default stats tags', 'wordpress-popular-posts'); ?>)<br /> <em>{rating}</em> (<?php _e('displays post/page current rating, requires WP-PostRatings installed and enabled', 'wordpress-popular-posts'); ?>)<br /> <em>{score}</em> (<?php _e('displays post/page current rating as an integer, requires WP-PostRatings installed and enabled', 'wordpress-popular-posts'); ?>)<br /> <em>{url}</em> (<?php _e('outputs the URL of the post/page', 'wordpress-popular-posts'); ?>)<br /> <em>{text_title}</em> (<?php _e('displays post/page title, no link', 'wordpress-popular-posts'); ?>)<br /> <em>{author}</em> (<?php _e('displays linked author name, requires stats_author=1', 'wordpress-popular-posts'); ?>)<br /> <em>{category}</em> (<?php _e('displays linked category name, requires stats_category=1', 'wordpress-popular-posts'); ?>)<br /> <em>{views}</em> (<?php _e('displays views count only, no text', 'wordpress-popular-posts'); ?>)<br /> <em>{comments}</em> (<?php _e('displays comments count only, no text, requires stats_comments=1', 'wordpress-popular-posts'); ?>)</td>
753
+ <td>&lt;li&gt;{thumb} {title} {stats}&lt;/li&gt;</td>
754
+ <td>post_html="&lt;li&gt;{thumb} &lt;a href='{url}'&gt;{text_title}&lt;/a&gt; &lt;/li&gt;"</td>
755
+ </tr>
756
+ <!--<tr class="alternate">
757
+ <td><strong>post_start</strong></td>
758
+ <td><?php _e('Sets the opening tag for each item on the list', 'wordpress-popular-posts'); ?></td>
759
+ <td><?php _e('Text string', 'wordpress-popular-posts'); ?></td>
760
+ <td>&lt;li&gt;</td>
761
+ <td>post_start="&lt;li&gt;"</td>
762
+ </tr>
763
+ <tr>
764
+ <td><strong>post_end</strong></td>
765
+ <td><?php _e('Sets the closing tag for each item on the list', 'wordpress-popular-posts'); ?></td>
766
+ <td><?php _e('Text string', 'wordpress-popular-posts'); ?></td>
767
+ <td>&lt;/li&gt;</td>
768
+ <td>post_end="&lt;/li&gt;"</td>
769
+ </tr>
770
+ <tr class="alternate">
771
+ <td><strong>do_pattern</strong></td>
772
+ <td><?php _e('If set, this option will allow you to decide the order of the contents within each item on the list.', 'wordpress-popular-posts'); ?></td>
773
+ <td>1 (true), (0) false</td>
774
+ <td>0</td>
775
+ <td>do_pattern=1</td>
776
+ </tr>
777
+ <tr>
778
+ <td><strong>pattern_form</strong></td>
779
+ <td><?php _e('If set, you can decide the order of each content inside a single item on the list. For example, setting it to "{title}: {summary}" would output something like "Your Post Title: summary here". This attribute requires do_pattern to be true.', 'wordpress-popular-posts'); ?></td>
780
+ <td><?php _e('Available tags', 'wordpress-popular-posts'); ?>: {thumb}, {title}, {summary}, {stats}, {rating}, {url}, {text_title}, {author}, {category}, {views}, {comments}</td>
781
+ <td>{image} {thumb}: {summary} {stats}</td>
782
+ <td>pattern_form="{thumb} {title}: {summary} {stats}"</td>
783
+ </tr>-->
784
+ </tbody>
785
+ </table>
786
+ </div>
787
+ </td>
788
+ </tr>
789
+ </table>
790
+ </div>
791
+ <!-- End faq -->
792
+
793
+ <!-- Start tools -->
794
+ <div id="wpp_tools" class="wpp_boxes"<?php if (isset($_POST['section']) && ($_POST['section'] == "linking" || $_POST['section'] == "logging" || $_POST['section'] == "tools" || $_POST['section'] == "ajax" || $_POST['section'] == "css") ) {?> style="display:block;"<?php } ?>>
795
+ <p><?php _e("Here you will find a handy group of options to tweak Wordpress Popular Posts.", "wordpress-popular-posts"); ?></p><br />
796
+
797
+ <h3 class="wmpp-subtitle"><?php _e("Popular Posts links behavior", "wordpress-popular-posts"); ?></h3>
798
+
799
+ <form action="" method="post" id="wpp_link_options" name="wpp_link_options">
800
+ <table class="form-table">
801
+ <tbody>
802
+ <tr valign="top">
803
+ <th scope="row"><label for="link_target"><?php _e("Open links in", "wordpress-popular-posts"); ?>:</label></th>
804
+ <td>
805
+ <select name="link_target" id="link_target">
806
+ <option <?php if (!isset($ops['tools']['link']['target']) || $ops['tools']['link']['target'] == '_self') {?>selected="selected"<?php } ?> value="_self"><?php _e("Current window", "wordpress-popular-posts"); ?></option>
807
+ <option <?php if (isset($ops['tools']['link']['target']) && $ops['tools']['link']['target'] == '_blank') {?>selected="selected"<?php } ?> value="_blank"><?php _e("New tab/window", "wordpress-popular-posts"); ?></option>
808
+ </select>
809
+ <br />
810
+ </td>
811
+ </tr>
812
+ <tr valign="top">
813
+ <td colspan="2">
814
+ <input type="hidden" name="section" value="linking" />
815
+ <input type="submit" class="button-secondary action" id="btn_link_ops" value="<?php _e("Apply", "wordpress-popular-posts"); ?>" name="" />
816
+ </td>
817
+ </tr>
818
+ </tbody>
819
+ </table>
820
+ </form>
821
+ <br />
822
+ <p style="display:block; float:none; clear:both">&nbsp;</p>
823
+
824
+ <h3 class="wmpp-subtitle"><?php _e("Views logging behavior", "wordpress-popular-posts"); ?></h3>
825
+
826
+ <form action="" method="post" id="wpp_log_options" name="wpp_log_options">
827
+ <table class="form-table">
828
+ <tbody>
829
+ <tr valign="top">
830
+ <th scope="row"><label for="log_option"><?php _e("Log views from", "wordpress-popular-posts"); ?>:</label></th>
831
+ <td>
832
+ <select name="log_option" id="log_option">
833
+ <option <?php if (!isset($ops['tools']['log_loggedin']) || $ops['tools']['log_loggedin'] == 0) {?>selected="selected"<?php } ?> value="0"><?php _e("Visitors only", "wordpress-popular-posts"); ?></option>
834
+ <option <?php if (isset($ops['tools']['log_loggedin']) && $ops['tools']['log_loggedin'] == 1) {?>selected="selected"<?php } ?> value="1"><?php _e("Everyone", "wordpress-popular-posts"); ?></option>
835
+ </select>
836
+ <br />
837
+ </td>
838
+ </tr>
839
+ <tr valign="top">
840
+ <td colspan="2">
841
+ <input type="hidden" name="section" value="logging" />
842
+ <input type="submit" class="button-secondary action" id="btn_log_ops" value="<?php _e("Apply", "wordpress-popular-posts"); ?>" name="" />
843
+ </td>
844
+ </tr>
845
+ </tbody>
846
+ </table>
847
+ </form>
848
+ <br />
849
+ <p style="display:block; float:none; clear:both">&nbsp;</p>
850
+
851
+ <h3 class="wmpp-subtitle"><?php _e("Thumbnail source", "wordpress-popular-posts"); ?></h3>
852
+
853
+ <form action="" method="post" id="wpp_thumbnail_options" name="wpp_thumbnail_options">
854
+ <table class="form-table">
855
+ <tbody>
856
+ <tr valign="top">
857
+ <th scope="row"><label for="thumb_default"><?php _e("Default thumbnail", "wordpress-popular-posts"); ?>:</label></th>
858
+ <td>
859
+ <input id="upload_thumb_button" type="button" class="button" value="<?php _e( "Upload thumbnail", "wordpress-popular-posts" ); ?>" />
860
+ <input type="hidden" id="upload_thumb_src" name="upload_thumb_src" value="" />
861
+ <br />
862
+ <p class="description"><?php _e("How-to: upload (or select) an image, set Size to Full and click on Upload. After it's done, hit on Apply to save changes", "wordpress-popular-posts"); ?></p>
863
+ <div style="display:<?php if ( !empty($ops['tools']['thumbnail']['default']) ) : ?>block<?php else: ?>none<?php endif; ?>;">
864
+ <label><?php _e("Preview", "wordpress-popular-posts"); ?>:</label>
865
+ <div id="thumb-review">
866
+ <img src="<?php echo $ops['tools']['thumbnail']['default']; ?>" alt="" border="0" />
867
+ </div>
868
+ </div>
869
+ </td>
870
+ </tr>
871
+ <tr valign="top">
872
+ <th scope="row"><label for="thumb_source"><?php _e("Pick image from", "wordpress-popular-posts"); ?>:</label></th>
873
+ <td>
874
+ <select name="thumb_source" id="thumb_source">
875
+ <option <?php if ($ops['tools']['thumbnail']['source'] == "featured") {?>selected="selected"<?php } ?> value="featured"><?php _e("Featured image", "wordpress-popular-posts"); ?></option>
876
+ <option <?php if ($ops['tools']['thumbnail']['source'] == "first_image") {?>selected="selected"<?php } ?> value="first_image"><?php _e("First image on post", "wordpress-popular-posts"); ?></option>
877
+ <option <?php if ($ops['tools']['thumbnail']['source'] == "custom_field") {?>selected="selected"<?php } ?> value="custom_field"><?php _e("Custom field", "wordpress-popular-posts"); ?></option>
878
+ </select>
879
+ <br />
880
+ <p class="description"><?php _e("Tell Wordpress Popular Posts where it should get thumbnails from", "wordpress-popular-posts"); ?></p>
881
+ </td>
882
+ </tr>
883
+ <tr valign="top" <?php if ($ops['tools']['thumbnail']['source'] != "custom_field") {?>style="display:none;"<?php } ?> id="row_custom_field">
884
+ <th scope="row"><label for="thumb_field"><?php _e("Custom field name", "wordpress-popular-posts"); ?>:</label></th>
885
+ <td>
886
+ <input type="text" id="thumb_field" name="thumb_field" value="<?php echo $ops['tools']['thumbnail']['field']; ?>" size="10" <?php if ($ops['tools']['thumbnail']['source'] != "custom_field") {?>style="display:none;"<?php } ?> />
887
+ </td>
888
+ </tr>
889
+ <tr valign="top" <?php if ($ops['tools']['thumbnail']['source'] != "custom_field") {?>style="display:none;"<?php } ?> id="row_custom_field_resize">
890
+ <th scope="row"><label for="thumb_field_resize"><?php _e("Resize image from Custom field?", "wordpress-popular-posts"); ?>:</label></th>
891
+ <td>
892
+ <select name="thumb_field_resize" id="thumb_field_resize">
893
+ <option <?php if ( !isset($ops['tools']['thumbnail']['resize']) || !$ops['tools']['thumbnail']['resize'] ) {?>selected="selected"<?php } ?> value="0"><?php _e("No, I will upload my own thumbnail", "wordpress-popular-posts"); ?></option>
894
+ <option <?php if ( isset($ops['tools']['thumbnail']['resize'] ) && $ops['tools']['thumbnail']['resize'] == 1 ) {?>selected="selected"<?php } ?> value="1"><?php _e("Yes", "wordpress-popular-posts"); ?></option>
895
+ </select>
896
+ </td>
897
+ </tr>
898
+ <tr valign="top">
899
+ <td colspan="2">
900
+ <input type="hidden" name="section" value="tools" />
901
+ <input type="submit" class="button-secondary action" id="btn_th_ops" value="<?php _e("Apply", "wordpress-popular-posts"); ?>" name="" />
902
+ </td>
903
+ </tr>
904
+ </tbody>
905
+ </table>
906
+ </form>
907
+
908
+ <br />
909
+ <p style="display:block; float:none; clear:both">&nbsp;</p>
910
+
911
+ <h3 class="wmpp-subtitle"><?php _e("Wordpress Popular Posts Stylesheet", "wordpress-popular-posts"); ?></h3>
912
+ <p><?php _e("By default, the plugin includes a stylesheet called wpp.css which you can use to style your popular posts listing. If you wish to use your own stylesheet or do not want it to have it included in the header section of your site, use this.", "wordpress-popular-posts"); ?></p>
913
+ <div class="tablenav top">
914
+ <div class="alignleft actions">
915
+ <form action="" method="post" id="wpp_css_options" name="wpp_css_options">
916
+ <select name="css" id="css">
917
+ <option <?php if ($ops['tools']['css']) {?>selected="selected"<?php } ?> value="1"><?php _e("Enabled", "wordpress-popular-posts"); ?></option>
918
+ <option <?php if (!$ops['tools']['css']) {?>selected="selected"<?php } ?> value="0"><?php _e("Disabled", "wordpress-popular-posts"); ?></option>
919
+ </select>
920
+ <input type="hidden" name="section" value="css" />
921
+ <input type="submit" class="button-secondary action" id="btn_css_ops" value="<?php _e("Apply", "wordpress-popular-posts"); ?>" name="" />
922
+ </form>
923
+ </div>
924
+ </div>
925
+ <br /><br />
926
+
927
+ <h3 class="wmpp-subtitle"><?php _e("Data tools", "wordpress-popular-posts"); ?></h3>
928
+ <form action="" method="post" id="wpp_ajax_options" name="wpp_ajax_options">
929
+ <table class="form-table">
930
+ <tbody>
931
+ <tr valign="top">
932
+ <th scope="row"><label for="thumb_source"><?php _e("Ajaxify widget", "wordpress-popular-posts"); ?>:</label></th>
933
+ <td>
934
+ <select name="ajax" id="ajax">
935
+ <option <?php if (!$ops['tools']['ajax']) {?>selected="selected"<?php } ?> value="0"><?php _e("Disabled", "wordpress-popular-posts"); ?></option>
936
+ <option <?php if ($ops['tools']['ajax']) {?>selected="selected"<?php } ?> value="1"><?php _e("Enabled", "wordpress-popular-posts"); ?></option>
937
+ </select>
938
+
939
+ <br />
940
+ <p class="description"><?php _e("If you are using a caching plugin such as WP Super Cache, enabling this feature will keep the popular list from being cached by it", "wordpress-popular-posts"); ?></p>
941
+ </td>
942
+ </tr>
943
+ <tr valign="top" style="display:none;">
944
+ <th scope="row"><label for="thumb_source"><?php _e("Popular posts listing refresh interval", "wordpress-popular-posts"); ?>:</label></th>
945
+ <td>
946
+ <select name="cache" id="cache">
947
+ <option <?php if ( !isset($ops['tools']['cache']['active']) || !$ops['tools']['cache']['active'] ) { ?>selected="selected"<?php } ?> value="0"><?php _e("Live", "wordpress-popular-posts"); ?></option>
948
+ <option <?php if ( isset($ops['tools']['cache']['active']) && $ops['tools']['cache']['active'] ) { ?>selected="selected"<?php } ?> value="1"><?php _e("Custom interval", "wordpress-popular-posts"); ?></option>
949
+ </select>
950
+
951
+ <br />
952
+ <p class="description"><?php _e("Sets how often the listing should be updated. For most sites the Live option should be fine, however if you are experiencing slowdowns or your blog gets a lot of visitors then you might want to change the refresh rate", "wordpress-popular-posts"); ?></p>
953
+ </td>
954
+ </tr>
955
+ <tr valign="top" <?php if ( !isset($ops['tools']['cache']['active']) || !$ops['tools']['cache']['active'] ) { ?>style="display:none;"<?php } ?> id="cache_refresh_interval">
956
+ <th scope="row"><label for="thumb_field_resize"><?php _e("Refresh interval", "wordpress-popular-posts"); ?>:</label></th>
957
+ <td>
958
+ <input name="cache_interval_value" type="text" id="cache_interval_value" value="<?php echo ( isset($ops['tools']['cache']['interval']['value']) ) ? (int) $ops['tools']['cache']['interval']['value'] : 1; ?>" class="small-text">
959
+ <select name="cache_interval_time" id="cache_interval_time">
960
+ <option <?php if ($ops['tools']['cache']['interval']['time'] == "hour") {?>selected="selected"<?php } ?> value="hour"><?php _e("Hour(s)", "wordpress-popular-posts"); ?></option>
961
+ <option <?php if ($ops['tools']['cache']['interval']['time'] == "day") {?>selected="selected"<?php } ?> value="day"><?php _e("Day(s)", "wordpress-popular-posts"); ?></option>
962
+ <option <?php if ($ops['tools']['cache']['interval']['time'] == "week") {?>selected="selected"<?php } ?> value="week"><?php _e("Week(s)", "wordpress-popular-posts"); ?></option>
963
+ <option <?php if ($ops['tools']['cache']['interval']['time'] == "month") {?>selected="selected"<?php } ?> value="month"><?php _e("Month(s)", "wordpress-popular-posts"); ?></option>
964
+ <option <?php if ($ops['tools']['cache']['interval']['time'] == "year") {?>selected="selected"<?php } ?> value="month"><?php _e("Year(s)", "wordpress-popular-posts"); ?></option>
965
+ </select>
966
+ <br />
967
+ <p class="description" style="display:none;" id="cache_too_long"><?php _e("Really? That long?", "wordpress-popular-posts"); ?></p>
968
+ </td>
969
+ </tr>
970
+ <tr valign="top">
971
+ <td colspan="2">
972
+ <input type="hidden" name="section" value="ajax" />
973
+ <input type="submit" class="button-secondary action" id="btn_ajax_ops" value="<?php _e("Apply", "wordpress-popular-posts"); ?>" name="" />
974
+ </td>
975
+ </tr>
976
+ </tbody>
977
+ </table>
978
+ </form>
979
+
980
+ <br /><br />
981
+
982
+ <p><?php _e('Wordpress Popular Posts maintains data in two separate tables: one for storing the most popular entries in the past 30 days (from now on, "cache"), and another one to keep the All-time data (from now on, "historical data" or just "data"). If for some reason you need to clear the cache table, or even both historical and cache tables, please use the buttons below to do so.', 'wordpress-popular-posts') ?></p>
983
+ <p><input type="button" name="wpp-reset-cache" id="wpp-reset-cache" class="button-secondary" value="<?php _e("Empty cache", "wordpress-popular-posts"); ?>" onclick="confirm_reset_cache()" /> <label for="wpp-reset-cache"><small><?php _e('Use this button to manually clear entries from WPP cache only', 'wordpress-popular-posts'); ?></small></label></p>
984
+ <p><input type="button" name="wpp-reset-all" id="wpp-reset-all" class="button-secondary" value="<?php _e("Clear all data", "wordpress-popular-posts"); ?>" onclick="confirm_reset_all()" /> <label for="wpp-reset-all"><small><?php _e('Use this button to manually clear entries from all WPP data tables', 'wordpress-popular-posts'); ?></small></label></p>
985
+ </div>
986
+ <!-- End tools -->
987
+
988
+ <br />
989
+ <hr />
990
+ <p><?php _e('Do you like this plugin?', 'wordpress-popular-posts'); ?> <a title="<?php _e('Rate Wordpress Popular Posts!', 'wordpress-popular-posts'); ?>" href="http://wordpress.org/extend/plugins/wordpress-popular-posts/#rate-response" target="_blank"><strong><?php _e('Rate it', 'wordpress-popular-posts'); ?></strong></a> <?php _e('on the official Plugin Directory!', 'wordpress-popular-posts'); ?></p>
991
+ <p><?php _e('Do you love this plugin?', 'wordpress-popular-posts'); ?> <a title="<?php _e('Buy me a beer!', 'wordpress-popular-posts'); ?>" href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=dadslayer%40gmail%2ecom&lc=GB&item_name=Wordpress%20Popular%20Posts%20Plugin&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG_global%2egif%3aNonHosted" target="_blank"><strong><?php _e('Buy me a beer!', 'wordpress-popular-posts'); ?></strong></a>. <?php _e('Each donation motivates me to keep releasing free stuff for the Wordpress community!', 'wordpress-popular-posts'); ?></p>
992
+ <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=dadslayer%40gmail%2ecom&lc=GB&item_name=Wordpress%20Popular%20Posts%20Plugin&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG_global%2egif%3aNonHosted" target="_blank" rel="external nofollow"><img src="<?php echo get_bloginfo('url') . "/" . PLUGINDIR; ?>/wordpress-popular-posts/btn_donateCC_LG_global.gif" width="122" height="47" alt="<?php _e('Buy me a beer!', 'wordpress-popular-posts'); ?>" border="0" /></a>
993
+ </div>
btn_donateCC_LG_global.gif ADDED
Binary file
index.php ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <?php
2
+ // Silence is golden.
3
+ ?>
js/wpp-upload.js ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function($) {
2
+
3
+ $('#upload_thumb_button').click(function(e) {
4
+
5
+ tb_show('Upload a thumbnail', 'media-upload.php?referer=wpp_admin&type=image&TB_iframe=true&post_id=0', false);
6
+ e.preventDefault();
7
+
8
+ });
9
+
10
+ window.send_to_editor = function(html) {
11
+
12
+ var image_url = $('img',html).attr('src');
13
+ $('#upload_thumb_src').val(image_url);
14
+
15
+ var img = new Image();
16
+ img.src = image_url;
17
+
18
+ $("#thumb-review").html( img );
19
+ $("#thumb-review").parent().show();
20
+
21
+ tb_remove();
22
+
23
+ };
24
+
25
+ });
lang/wordpress-popular-posts-de_DE.mo ADDED
Binary file
lang/wordpress-popular-posts-de_DE.po ADDED
@@ -0,0 +1,1230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Wordpress Popular Posts\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-05-31 19:43+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Martin Stehle <m.stehle@gmx.de>\n"
8
+ "Language-Team: Héctor Cabrera <admin@rauru.com>\n"
9
+ "Language: en_VE\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-SourceCharset: iso-8859-1\n"
14
+ "X-Poedit-KeywordsList: __;_e\n"
15
+ "X-Poedit-Basepath: .\n"
16
+ "X-Generator: Poedit 1.5.5\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: admin.php:43 admin.php:49 admin.php:60 admin.php:71 admin.php:79
20
+ msgid "Settings saved."
21
+ msgstr "Einstellungen gespeichert"
22
+
23
+ #: admin.php:54
24
+ msgid "Please provide the name of your custom field."
25
+ msgstr "Gebe einen Namen für das benutzerdefinierte Feld an."
26
+
27
+ #: admin.php:320
28
+ msgid ""
29
+ "This operation will delete all entries from Wordpress Popular Posts' cache "
30
+ "table and cannot be undone."
31
+ msgstr ""
32
+ "Alle Einträge im Cache werden gelöscht und können nicht mehr wieder "
33
+ "hergestellt werden."
34
+
35
+ #: admin.php:320 admin.php:328
36
+ msgid "Do you want to continue?"
37
+ msgstr "Möchtest du fortsetzen?"
38
+
39
+ #: admin.php:328
40
+ msgid ""
41
+ "This operation will delete all stored info from Wordpress Popular Posts' "
42
+ "data tables and cannot be undone."
43
+ msgstr ""
44
+ "Alle gespeicherten Daten von Wordpress Popular Posts werden gelöscht und "
45
+ "können nicht wieder hergestellt werden."
46
+
47
+ #: admin.php:342
48
+ msgid "Stats"
49
+ msgstr "Statistik"
50
+
51
+ #: admin.php:343
52
+ msgid "FAQ"
53
+ msgstr "Häufige Fragen und Antworten"
54
+
55
+ #: admin.php:344
56
+ msgid "Tools"
57
+ msgstr "Werkzeuge"
58
+
59
+ #: admin.php:348
60
+ msgid ""
61
+ "Click on each tab to see what are the most popular entries on your blog in "
62
+ "the last 24 hours, this week, last 30 days or all time since Wordpress "
63
+ "Popular Posts was installed."
64
+ msgstr ""
65
+ "Klicke auf jeden Reiter, um die beliebtesten Beiträge deines Blogs von den "
66
+ "letzten 24 Stunden, dieser Woche, den letzten 30 Tagen oder allzeit seit der "
67
+ "Installation von Wordpress Popular Posts zu sehen."
68
+
69
+ #: admin.php:354
70
+ msgid "Order by comments"
71
+ msgstr "Sortiert nach Kommentaren"
72
+
73
+ #: admin.php:355
74
+ msgid "Order by views"
75
+ msgstr "Sortiert nach Seitenaufrufen"
76
+
77
+ #: admin.php:356
78
+ msgid "Order by avg. daily views"
79
+ msgstr "Sortierte nach durchschn. Tagesaufrufen"
80
+
81
+ #: admin.php:358
82
+ msgid "Limit"
83
+ msgstr "Max. aufzulistende Einträge:"
84
+
85
+ #: admin.php:360 admin.php:765 admin.php:809 admin.php:829 admin.php:881
86
+ msgid "Apply"
87
+ msgstr "Anwenden"
88
+
89
+ #: admin.php:366 wordpress-popular-posts.php:376
90
+ msgid "Last 24 hours"
91
+ msgstr "Letzte 24 Stunden"
92
+
93
+ #: admin.php:367 wordpress-popular-posts.php:377
94
+ msgid "Last 7 days"
95
+ msgstr "Letzte 7 Tage"
96
+
97
+ #: admin.php:368 wordpress-popular-posts.php:378
98
+ msgid "Last 30 days"
99
+ msgstr "Letzte 30 Tage"
100
+
101
+ #: admin.php:369 wordpress-popular-posts.php:379
102
+ msgid "All-time"
103
+ msgstr "Allzeithoch"
104
+
105
+ #: admin.php:390
106
+ msgid "Frequently Asked Questions"
107
+ msgstr "Häufig gestellte Fragen"
108
+
109
+ #: admin.php:394
110
+ msgid "What does \"Title\" do?"
111
+ msgstr "Was macht \"Titel\"?"
112
+
113
+ #: admin.php:396
114
+ msgid ""
115
+ "It allows you to show a heading for your most popular posts listing. If left "
116
+ "empty, no heading will be displayed at all."
117
+ msgstr ""
118
+ "Ermöglicht dir, eine Überschrift für die Auflistung anzugeben. Falls leer "
119
+ "belassen wird keine Überschrift angezeigt."
120
+
121
+ #: admin.php:399
122
+ msgid "What is Time Range for?"
123
+ msgstr "Für was steht die Zeitspanne?"
124
+
125
+ #: admin.php:401
126
+ msgid ""
127
+ "It will tell Wordpress Popular Posts to retrieve all posts with most views / "
128
+ "comments within the selected time range."
129
+ msgstr ""
130
+ "Weist Wordpress Popular Posts an, alle Beiträge mit den meisten Aufrufen "
131
+ "bzw. Kommentaren innerhalb der eingestellten Zeitspanne anzuzeigen."
132
+
133
+ #: admin.php:404
134
+ msgid "What is \"Sort post by\" for?"
135
+ msgstr "Für was steht \"Sortiere Beiträge nach\"?"
136
+
137
+ #: admin.php:406
138
+ msgid ""
139
+ "It allows you to decide whether to order your popular posts listing by total "
140
+ "views, comments, or average views per day."
141
+ msgstr ""
142
+ "Ermöglicht dir zu entscheiden, ob die Listeneinträge nach absoluter Anzahl "
143
+ "der Aufrufe, Kommentare oder durchschnittlichen Aufrufen pro Tag geordnet "
144
+ "werden."
145
+
146
+ #: admin.php:409
147
+ msgid "What does \"Display post rating\" do?"
148
+ msgstr "Was macht \"Zeige Bewertung\"?"
149
+
150
+ #: admin.php:411
151
+ msgid ""
152
+ "If checked, Wordpress Popular Posts will show how your readers are rating "
153
+ "your most popular posts. This feature requires having WP-PostRatings plugin "
154
+ "installed and enabled on your blog for it to work."
155
+ msgstr ""
156
+ "Falls aktiviert, zeigt Wordpress Popular Posts an, wie deine Leser deine "
157
+ "beliebtesten Beiträge bewertet haben. Diese Funktion erfordert die "
158
+ "Installation und Aktivierung des Plugins WP-PostRatings."
159
+
160
+ #: admin.php:414
161
+ msgid "What does \"Shorten title\" do?"
162
+ msgstr "Was macht \"Kürze den Titel\"?"
163
+
164
+ #: admin.php:416
165
+ msgid ""
166
+ "If checked, all posts titles will be shortened to \"n\" characters. A new "
167
+ "\"Shorten title to\" option will appear so you can set it to whatever you "
168
+ "like."
169
+ msgstr ""
170
+ "Falls aktiviert, werden alle Titel auf \"n\" Zeichen gekürzt. Eine neue "
171
+ "Auswahl \"Kürze den Titel\" wird erscheinen, mit der du die Titellänge "
172
+ "setzen kannst."
173
+
174
+ #: admin.php:419
175
+ msgid "What does \"Display post excerpt\" do?"
176
+ msgstr "Was macht \"Zeige Auszug\"?"
177
+
178
+ #: admin.php:421
179
+ msgid ""
180
+ "If checked, Wordpress Popular Posts will also include a small extract of "
181
+ "your posts in the list. Similarly to the previous option, you will be able "
182
+ "to decide how long the post excerpt should be."
183
+ msgstr ""
184
+ "Falls aktiviert, zeigt Wordpress Popular Posts zusätzlich einen kurzen "
185
+ "Auszug Deines Beitrags in der Liste an. Wie bei der vorhergehenden Auswahl "
186
+ "ist es dir möglich, die Länge des Auszugs einzustellen."
187
+
188
+ #: admin.php:424
189
+ msgid "What does \"Keep text format and links\" do?"
190
+ msgstr "Was macht \"Behalte Textformat und Links bei\"?"
191
+
192
+ #: admin.php:426
193
+ msgid ""
194
+ "If checked, and if the Post Excerpt feature is enabled, Wordpress Popular "
195
+ "Posts will keep the styling tags (eg. bold, italic, etc) that were found in "
196
+ "the excerpt. Hyperlinks will remain intact, too."
197
+ msgstr ""
198
+ "Falls aktiviert und wenn die Darstellung von Auszügen aktiviert ist, behält "
199
+ "Wordpress Popular Posts die formatierenden Tags (z. B. fett, kursiv usw.) im "
200
+ "Auszug. Auch Links bleiben unverändert."
201
+
202
+ #: admin.php:429
203
+ msgid "What is \"Post type\" for?"
204
+ msgstr "Für was steht \"Post-Type\"?"
205
+
206
+ #: admin.php:431
207
+ msgid ""
208
+ "This filter allows you to decide which post types to show on the listing. By "
209
+ "default, it will retrieve only posts and pages (which should be fine for "
210
+ "most cases)."
211
+ msgstr ""
212
+ "Dieser Filter erlaubt dir zu entscheiden, welche Post-Types aufgelistet "
213
+ "werden. Per Voreinstellung werden nur Seiten und Beiträge angezeigt (was in "
214
+ "den meisten Fällen ausreicht)."
215
+
216
+ #: admin.php:434
217
+ msgid "What is \"Category(ies) ID(s)\" for?"
218
+ msgstr "Für was steht \"Kategorie(n)-ID(s)\"?"
219
+
220
+ #: admin.php:436
221
+ msgid ""
222
+ "This filter allows you to select which categories should be included or "
223
+ "excluded from the listing. A negative sign in front of the category ID "
224
+ "number will exclude posts belonging to it from the list, for example. You "
225
+ "can specify more than one ID with a comma separated list."
226
+ msgstr ""
227
+ "Dieser Filter erlaubt dir auszuwählen, welche Kategorien in der Auflistung "
228
+ "eingeschlossen oder ausgeschlossen werden sollten. Ein Minus-Zeichen vor "
229
+ "einer Kategorien-ID schließt Beiträge, die die ID zugewiesen bekamen, von "
230
+ "der Liste aus. du kannst mehr als eine ID, mit Kommas getrennt, angeben."
231
+
232
+ #: admin.php:439
233
+ msgid "What is \"Author(s) ID(s)\" for?"
234
+ msgstr "Für was steht \"Autor(en)-ID(s)\"?"
235
+
236
+ #: admin.php:441
237
+ msgid ""
238
+ "Just like the Category filter, this one lets you filter posts by author ID. "
239
+ "You can specify more than one ID with a comma separated list."
240
+ msgstr ""
241
+ "Wie beim Kategorienfilter kannst du auch Beiträge nach Autoren filtern. Du "
242
+ "kannst mehr als eine Autoren-ID, getrennt durch Kommas, angeben."
243
+
244
+ #: admin.php:444
245
+ msgid "What does \"Display post thumbnail\" do?"
246
+ msgstr "Was macht \"Zeige Vorschaubild\"?"
247
+
248
+ #: admin.php:446
249
+ msgid ""
250
+ "If checked, Wordpress Popular Posts will attempt to retrieve the thumbnail "
251
+ "of each post. You can set up the source of the thumbnail via Settings - "
252
+ "Wordpress Popular Posts - Tools."
253
+ msgstr ""
254
+ "Falls aktiviert, versucht Wordpress Popular Posts, das Vorschaubild von "
255
+ "jedem Beitrag darzustellen. Du kannst die Quelle des Vorschaubildes unter "
256
+ "\"Werkzeuge\" einstellen."
257
+
258
+ #: admin.php:449
259
+ msgid "What does \"Display comment count\" do?"
260
+ msgstr "Was macht \"Zeige Anzahl Kommentare\"?"
261
+
262
+ #: admin.php:451
263
+ msgid ""
264
+ "If checked, Wordpress Popular Posts will display how many comments each "
265
+ "popular post has got in the selected Time Range."
266
+ msgstr ""
267
+ "Falls aktiviert, zeigt Wordpress Popular Posts an, wie viele Kommentare "
268
+ "jeder beliebte Beitrag in der eingestellten Zeitspanne erhielt."
269
+
270
+ #: admin.php:454
271
+ msgid "What does \"Display views\" do?"
272
+ msgstr "Was macht \"Zeige Aufrufe\"?"
273
+
274
+ #: admin.php:456
275
+ msgid ""
276
+ "If checked, Wordpress Popular Posts will show how many pageviews a single "
277
+ "post has gotten in the selected Time Range."
278
+ msgstr ""
279
+ "Falls aktiviert, zeigt Wordpress Popular Posts an, wie viele Seitenaufrufe "
280
+ "jeder einzelne Beitrag in der eingestellten Zeitspanne erhielt."
281
+
282
+ #: admin.php:459
283
+ msgid "What does \"Display author\" do?"
284
+ msgstr "Was macht \"Zeige Autor\"?"
285
+
286
+ #: admin.php:461
287
+ msgid ""
288
+ "If checked, Wordpress Popular Posts will display the name of the author of "
289
+ "each entry listed."
290
+ msgstr ""
291
+ "Falls aktiviert, zeigt Wordpress Popular Posts den Autorennamen in jedem "
292
+ "Listeneintrag an."
293
+
294
+ #: admin.php:464
295
+ msgid "What does \"Display date\" do?"
296
+ msgstr "Was macht \"Zeige Datum\"?"
297
+
298
+ #: admin.php:466
299
+ msgid ""
300
+ "If checked, Wordpress Popular Posts will display the date when each popular "
301
+ "posts was published."
302
+ msgstr ""
303
+ "Falls aktiviert, zeigt Wordpress Popular Posts das Veröffentlichungsdatum "
304
+ "jeden Beitrags an."
305
+
306
+ #: admin.php:469
307
+ msgid "What does \"Use custom HTML Markup\" do?"
308
+ msgstr "Was macht \"Verwende nutzerdefinierten HTML-Code\"?"
309
+
310
+ #: admin.php:471
311
+ msgid ""
312
+ "If checked, you will be able to customize the HTML markup of your popular "
313
+ "posts listing. For example, you can decide whether to wrap your posts in an "
314
+ "unordered list, an ordered list, a div, etc. If you know xHTML/CSS, this is "
315
+ "for you!"
316
+ msgstr ""
317
+ "Falls aktiviert, ist es dir möglich, eigenen HTML-Code in der Auflistung "
318
+ "einzusetzen. Du kannst z. B. bestimmen, ob die Einträge in einer "
319
+ "ungeordneten Liste, geordneten Liste, einem DIV oder was auch immer gesetzt "
320
+ "werden. Wenn du HTML und CSS kannst, ist diese Auswahl dein Freund."
321
+
322
+ #: admin.php:474
323
+ msgid "What are \"Content Tags\"?"
324
+ msgstr "Was sind \"Content-Tags\"?"
325
+
326
+ #: admin.php:476
327
+ msgid ""
328
+ "Content Tags are codes to display a variety of items on your popular posts "
329
+ "custom HTML structure. For example, setting it to \"{title}: "
330
+ "{summary}\" (without the quotes) would display \"Post title: excerpt of the "
331
+ "post here\". For more Content Tags, see \"List of parameters accepted by "
332
+ "wpp_get_mostpopular() and the [wpp] shortcode\"."
333
+ msgstr ""
334
+ "Content-Tags sind Code-Schnipsel, um verschiedene Angaben über die "
335
+ "beliebtesten Beiträge in deiner selbst definierten HTML-Struktur anzuzeigen. "
336
+ "Zum Beispiel zeigt \"{title}: {summary}\" (ohne die Anführungszeichen) "
337
+ "\"Überschrift: Auszug des Beitrags\" an. Für weitere Content-Tags siehe "
338
+ "\"Liste der gültigen Parameter von wpp_gewt-mostpopular() und des [wpp]-"
339
+ "Shortcodes\"."
340
+
341
+ #: admin.php:479
342
+ msgid "What are \"Template Tags\"?"
343
+ msgstr "Was sind \"Template-Tags\"?"
344
+
345
+ #: admin.php:481
346
+ msgid ""
347
+ "Template Tags are simply php functions that allow you to perform certain "
348
+ "actions. For example, Wordpress Popular Posts currently supports two "
349
+ "different template tags: wpp_get_mostpopular() and wpp_get_views()."
350
+ msgstr ""
351
+ "Template-Tags sind schlicht und einfach PHP-Funktionen, die bestimmten "
352
+ "Aktionen ausführen. Zum Beispiel unterstützt Wordpress Popular Posts zwei "
353
+ "verschiedene Template-Tags: wpp_get_mostpopular() und wpp_get_views()."
354
+
355
+ #: admin.php:484
356
+ msgid "What are the template tags that Wordpress Popular Posts supports?"
357
+ msgstr "Welche Template-Tags unterstützt Wordpress Popular Posts?"
358
+
359
+ #: admin.php:486
360
+ msgid ""
361
+ "The following are the template tags supported by Wordpress Popular Posts"
362
+ msgstr "Die folgenden Template-Tags unterstützt Wordpress Popular Posts"
363
+
364
+ #: admin.php:490
365
+ msgid "Template tag"
366
+ msgstr "Template-Tag"
367
+
368
+ #: admin.php:491 admin.php:524
369
+ msgid "What it does "
370
+ msgstr "Was es macht"
371
+
372
+ #: admin.php:492
373
+ msgid "Parameters"
374
+ msgstr "Parameter"
375
+
376
+ #: admin.php:493 admin.php:527
377
+ msgid "Example"
378
+ msgstr "Beispiel"
379
+
380
+ #: admin.php:499
381
+ msgid ""
382
+ "Similar to the widget functionality, this tag retrieves the most popular "
383
+ "posts on your blog. This function also accepts parameters so you can "
384
+ "customize your popular listing, but these are not required."
385
+ msgstr ""
386
+ "Ähnlich wie das Widget zeigt dieser Tag die beliebtesten Beiträge Deines "
387
+ "Blogs an. Diese Funktion akzeptiert auch Parameter, so dass du die "
388
+ "Auflistung nach deinen Vorstellungen setzen kannst, aber sie sind sind "
389
+ "erforderlich."
390
+
391
+ #: admin.php:500
392
+ msgid ""
393
+ "Please refer to \"List of parameters accepted by wpp_get_mostpopular() and "
394
+ "the [wpp] shortcode\"."
395
+ msgstr ""
396
+ "Bitte schlage nach bei \"Liste der gültigen Parameter von wpp_gewt-"
397
+ "mostpopular() und des [wpp]-Shortcodes\"."
398
+
399
+ #: admin.php:505
400
+ msgid ""
401
+ "Displays the number of views of a single post. Post ID is required or it "
402
+ "will return false."
403
+ msgstr ""
404
+ "Zeigt die Anzahl der Aufrufe eines einzelnen Beitrags an. Die Post-ID ist "
405
+ "erforderlich, andersfalls wird false zurückgegeben."
406
+
407
+ #: admin.php:506
408
+ msgid "Post ID"
409
+ msgstr "Post-ID"
410
+
411
+ #: admin.php:513
412
+ msgid "What are \"shortcodes\"?"
413
+ msgstr "Was sind \"Shortcodes\"?"
414
+
415
+ #: admin.php:515
416
+ msgid ""
417
+ "Shortcodes are similar to BB Codes, these allow us to call a php function by "
418
+ "simply typing something like [shortcode]. With Wordpress Popular Posts, the "
419
+ "shortcode [wpp] will let you insert a list of the most popular posts in "
420
+ "posts content and pages too! For more information about shortcodes, please "
421
+ "visit"
422
+ msgstr ""
423
+ "Shortcodes sind vergleichbar mit BB-Codes. Sie erlauben uns, eine PHP-"
424
+ "Funktion aufzurufen durch einen einfachen Text wie [shortcode]. Der "
425
+ "Shortcode [wpp] fügt die Liste der beliebtesten Beiträge in den Text sowohl "
426
+ "von Beiträgen als auch Seiten ein. Für mehr Informationen über Shortcodes "
427
+ "besuche"
428
+
429
+ #: admin.php:517
430
+ msgid ""
431
+ "List of parameters accepted by wpp_get_mostpopular() and the [wpp] shortcode"
432
+ msgstr ""
433
+ "Liste der gültigen Parameter von wpp_gewt-mostpopular() und des [wpp]-"
434
+ "Shortcodes"
435
+
436
+ #: admin.php:519
437
+ msgid ""
438
+ "These parameters can be used by both the template tag wpp_get_most_popular() "
439
+ "and the shortcode [wpp]."
440
+ msgstr ""
441
+ "Diese Parameter können sowohl im Template-Tag wpp_get_most_popular() als "
442
+ "auch im Shortcode [wpp] eingesetzt werden."
443
+
444
+ #: admin.php:523
445
+ msgid "Parameter"
446
+ msgstr "Parameter"
447
+
448
+ #: admin.php:525
449
+ msgid "Possible values"
450
+ msgstr "Erlaubte Werte"
451
+
452
+ #: admin.php:526
453
+ msgid "Defaults to"
454
+ msgstr "Voreinstellung"
455
+
456
+ #: admin.php:533
457
+ msgid "Sets a heading for the list"
458
+ msgstr "Bestimmt die Überschrift der Liste"
459
+
460
+ #: admin.php:534 admin.php:541 admin.php:548 admin.php:576 admin.php:583
461
+ #: admin.php:590 admin.php:597 admin.php:674 admin.php:688 admin.php:695
462
+ #: admin.php:709 admin.php:716
463
+ msgid "Text string"
464
+ msgstr "Zeichenkette"
465
+
466
+ #: admin.php:535 wordpress-popular-posts.php:123
467
+ msgid "Popular Posts"
468
+ msgstr "Beliebteste Beiträge"
469
+
470
+ #: admin.php:540
471
+ msgid "Set the opening tag for the heading of the list"
472
+ msgstr "Bestimmt den öffnenden Tag der Listenüberschrift"
473
+
474
+ #: admin.php:547
475
+ msgid "Set the closing tag for the heading of the list"
476
+ msgstr "Bestimmt den schließenden Tag der Listenüberschrift"
477
+
478
+ #: admin.php:554
479
+ msgid "Sets the maximum number of popular posts to be shown on the listing"
480
+ msgstr "Bestimmt die maximale Anzahl der beliebten Beiträge in der Auflistung"
481
+
482
+ #: admin.php:555 admin.php:604 admin.php:611 admin.php:625 admin.php:632
483
+ msgid "Positive integer"
484
+ msgstr "Positive Ganzzahl"
485
+
486
+ #: admin.php:561
487
+ msgid ""
488
+ "Tells Wordpress Popular Posts to retrieve the most popular entries within "
489
+ "the time range specified by you"
490
+ msgstr ""
491
+ "Weist Wordpress Popular Posts an, die beliebtesten Beiträge innerhalt der "
492
+ "eingestellten Zeitspanne anzuzeigen."
493
+
494
+ #: admin.php:568
495
+ msgid "Sets the sorting option of the popular posts"
496
+ msgstr "Bestimmt die Auswahl der Reihenfolge der beliebten Beiträge"
497
+
498
+ #: admin.php:569
499
+ msgid "(for average views per day)"
500
+ msgstr "(für durchschn. Aufrufe pro Tag)"
501
+
502
+ #: admin.php:575
503
+ msgid "Defines the type of posts to show on the listing"
504
+ msgstr "Bestimmt die Art der Dokumente, die aufgelistet werden"
505
+
506
+ #: admin.php:582
507
+ msgid ""
508
+ "If set, Wordpress Popular Posts will exclude the specified post(s) ID(s) "
509
+ "form the listing."
510
+ msgstr ""
511
+ "Falls gesetzt, zeigt Wordpress Popular Posts die Beiträge und Seiten anhand "
512
+ "ihrer angegebener ID(s) in der Liste nicht an."
513
+
514
+ #: admin.php:584 admin.php:591 admin.php:598
515
+ msgid "None"
516
+ msgstr "nichts"
517
+
518
+ #: admin.php:589
519
+ msgid ""
520
+ "If set, Wordpress Popular Posts will retrieve all entries that belong to the "
521
+ "specified category(ies) ID(s). If a minus sign is used, the category(ies) "
522
+ "will be excluded instead."
523
+ msgstr ""
524
+ "Falls gesetzt, zeigt Wordpress Popular Posts alle Einträge, die den "
525
+ "angegebenen Kategorie-IDs zugeordnet sind, an. Ein Minus-Zeichen vor der ID "
526
+ "schließt die Beiträge dieser Kategorie aus."
527
+
528
+ #: admin.php:596
529
+ msgid ""
530
+ "If set, Wordpress Popular Posts will retrieve all entries created by "
531
+ "specified author(s) ID(s)."
532
+ msgstr ""
533
+ "Falls gesetzt, wird Wordpress Popular Posts alle Einträge anhand angegebener "
534
+ "Autor(en)-ID(s) ausgeben."
535
+
536
+ #: admin.php:603
537
+ msgid ""
538
+ "If set, Wordpress Popular Posts will shorten each post title to \"n\" "
539
+ "characters whenever possible"
540
+ msgstr ""
541
+ "Falls gesetzt, kürzt Wordpress Popular Posts jeden Titel, wenn möglich, auf "
542
+ "\"n\" Zeichen."
543
+
544
+ #: admin.php:610
545
+ msgid ""
546
+ "If set, Wordpress Popular Posts will build and include an excerpt of \"n\" "
547
+ "characters long from the content of each post listed as popular"
548
+ msgstr ""
549
+ "Falls gesetzt, zeigt Wordpress Popular Posts einen Auszug von \"n\" "
550
+ "Buchstaben Länge bei jedem Beitrag an."
551
+
552
+ #: admin.php:617
553
+ msgid ""
554
+ "If set, Wordpress Popular Posts will maintaing all styling tags (strong, "
555
+ "italic, etc) and hyperlinks found in the excerpt"
556
+ msgstr ""
557
+ "Falls gesetzt, behält Wordpress Popular Posts die formatierenden Tags (fett, "
558
+ "kursiv usw.) und die Links im Auszug bei."
559
+
560
+ #: admin.php:624
561
+ msgid ""
562
+ "If set, and if your current server configuration allows it, you will be able "
563
+ "to display thumbnails of your posts. This attribute sets the width for "
564
+ "thumbnails"
565
+ msgstr ""
566
+ "Falls gesetzt und es die aktuelle Server-Konfiguration erlaubt, ist dir die "
567
+ "Anzeige von Vorschaubildern deiner Beiträge möglich. Dieses Attribut "
568
+ "bestimmt die Breite der Vorschaubilder."
569
+
570
+ #: admin.php:631
571
+ msgid ""
572
+ "If set, and if your current server configuration allows it, you will be able "
573
+ "to display thumbnails of your posts. This attribute sets the height for "
574
+ "thumbnails"
575
+ msgstr ""
576
+ "Falls gesetzt und es die aktuelle Server-Konfiguration erlaubt, ist dir die "
577
+ "Anzeige von Vorschaubildern deiner Beiträge möglich. Dieses Attribut "
578
+ "bestimmt die Höhe der Vorschaubilder."
579
+
580
+ #: admin.php:638
581
+ msgid ""
582
+ "If set, and if the WP-PostRatings plugin is installed and enabled on your "
583
+ "blog, Wordpress Popular Posts will show how your visitors are rating your "
584
+ "entries"
585
+ msgstr ""
586
+ "Falls gesetzt und wenn das Plugin WP-PostRatings in Deinem Blog läuft, zeigt "
587
+ "Wordpress Popular Posts die Bewertungen der Nutzer an."
588
+
589
+ #: admin.php:645
590
+ msgid ""
591
+ "If set, Wordpress Popular Posts will show how many comments each popular "
592
+ "post has got until now"
593
+ msgstr ""
594
+ "Falls gesetzt, zeigt Wordpress Popular Posts an, wie viele Kommentare jeder "
595
+ "Beitrag bis jetzt erhielt."
596
+
597
+ #: admin.php:652
598
+ msgid ""
599
+ "If set, Wordpress Popular Posts will show how many views each popular post "
600
+ "has got since it was installed"
601
+ msgstr ""
602
+ "Falls gesetzt, zeigt Wordpress Popular Posts an, wie viele Aufrufe jeder "
603
+ "Beitrag seit der Installation erhielt."
604
+
605
+ #: admin.php:659
606
+ msgid ""
607
+ "If set, Wordpress Popular Posts will show who published each popular post on "
608
+ "the list"
609
+ msgstr ""
610
+ "Falls gesetzt, zeigt Wordpress Popular Posts an, wer welchen Beitrag "
611
+ "veröffentlicht hat."
612
+
613
+ #: admin.php:666
614
+ msgid ""
615
+ "If set, Wordpress Popular Posts will display the date when each popular post "
616
+ "on the list was published"
617
+ msgstr ""
618
+ "Falls gesetzt, zeigt Wordpress Popular Posts das Veröffentlichungsdatum "
619
+ "jeden Beitrags in der Liste an."
620
+
621
+ #: admin.php:673
622
+ msgid "Sets the date format"
623
+ msgstr "Bestimmt das Datumsformat"
624
+
625
+ #: admin.php:680
626
+ msgid "If set, Wordpress Popular Posts will display the category"
627
+ msgstr "Falls gesetzt, zeigt Wordpress Popular Posts die Kategorie an"
628
+
629
+ #: admin.php:687
630
+ msgid "Sets the opening tag for the listing"
631
+ msgstr "Bestimmt den öffnenden Tag der Auflistung"
632
+
633
+ #: admin.php:694
634
+ msgid "Sets the closing tag for the listing"
635
+ msgstr "Bestimmt den schließenden Tag der Auflistung"
636
+
637
+ #: admin.php:701
638
+ msgid "Sets the HTML structure of each post"
639
+ msgstr "Setzt die HTML-Struktur jeden Beitrags"
640
+
641
+ #: admin.php:702
642
+ msgid "Text string, custom HTML"
643
+ msgstr "Zeichenkette, benutzerdefiniertes HTML"
644
+
645
+ #: admin.php:702
646
+ msgid "Available Content Tags"
647
+ msgstr "Verfügbare Content-Tags"
648
+
649
+ #: admin.php:702
650
+ msgid "displays thumbnail linked to post/page"
651
+ msgstr "zeigt verlinktes Vorschaubild des Beitrags/der Seite an"
652
+
653
+ #: admin.php:702
654
+ msgid "displays linked post/page title"
655
+ msgstr "zeigt den verlinkten Titel des Beitrags/der Seiten an"
656
+
657
+ #: admin.php:702
658
+ msgid ""
659
+ "displays post/page excerpt, and requires excerpt_length to be greater than 0"
660
+ msgstr ""
661
+ "zeigt den Auszug (excerpt) des Beitrags/der Seite an, erfordert "
662
+ "excerpt_length größer als 0"
663
+
664
+ #: admin.php:702
665
+ msgid "displays the default stats tags"
666
+ msgstr "zeigt die standard&shy;mäßigen Statistik-Tags an"
667
+
668
+ #: admin.php:702
669
+ msgid ""
670
+ "displays post/page current rating, requires WP-PostRatings installed and "
671
+ "enabled"
672
+ msgstr ""
673
+ "zeigt die aktuelle Bewertung des Beitrags/der Seite an, erfordert das "
674
+ "installierte und aktivierte Plugin WP-PostRatings"
675
+
676
+ #: admin.php:702
677
+ msgid "outputs the URL of the post/page"
678
+ msgstr "gibt die URL des Beitrags/der Seite aus"
679
+
680
+ #: admin.php:702
681
+ msgid "displays post/page title, no link"
682
+ msgstr "zeigt den Titel des Beitrags/der Seite an, ohne Link"
683
+
684
+ #: admin.php:702
685
+ msgid "displays linked author name, requires stats_author=1"
686
+ msgstr "zeigt den verlinkten Autoren&shy;namen an, erfordert stats_author=1"
687
+
688
+ #: admin.php:702
689
+ msgid "displays linked category name, requires stats_category=1"
690
+ msgstr ""
691
+ "zeigt den verlinkten Kategorien&shy;namen an, erfordert stats_category=1"
692
+
693
+ #: admin.php:702
694
+ msgid "displays views count only, no text"
695
+ msgstr "zeigt nur die Anzahl an, ohne Text"
696
+
697
+ #: admin.php:702
698
+ msgid "displays comments count only, no text, requires stats_comments=1"
699
+ msgstr ""
700
+ "zeigt nur die Anzahl der Kom&shy;men&shy;tare an, ohne Text, erfordert "
701
+ "stats_comment=1"
702
+
703
+ #: admin.php:708
704
+ msgid "Sets the opening tag for each item on the list"
705
+ msgstr "Bestimmt den öffnenden Tag für jeden Listeneintrag"
706
+
707
+ #: admin.php:715
708
+ msgid "Sets the closing tag for each item on the list"
709
+ msgstr "Bestimmt den schließenden Tag für jeden Listeneintrag"
710
+
711
+ #: admin.php:722
712
+ msgid ""
713
+ "If set, this option will allow you to decide the order of the contents "
714
+ "within each item on the list."
715
+ msgstr ""
716
+ "Falls gesetzt, kannst du die Reihenfolge der Einträge in der Liste bestimmen."
717
+
718
+ #: admin.php:729
719
+ msgid ""
720
+ "If set, you can decide the order of each content inside a single item on the "
721
+ "list. For example, setting it to \"{title}: {summary}\" would output "
722
+ "something like \"Your Post Title: summary here\". This attribute requires "
723
+ "do_pattern to be true."
724
+ msgstr ""
725
+ "Falls gesetzt, kannst du die Reihenfolge des Inhalts innerhalbs eines "
726
+ "einzelnen Listeneintrags einstellen. Zum Beispiel zeigt \"{title}: "
727
+ "{summary}\" (ohne Anführungszeichen) sowas wie \"Überschrift: Text des "
728
+ "Auszugs\" an. Dieses Attribut erfordert, dass do_pattern auf 1 (true) "
729
+ "gesetzt ist."
730
+
731
+ #: admin.php:730
732
+ msgid "Available tags"
733
+ msgstr "Verfügbare Tags"
734
+
735
+ #: admin.php:745
736
+ msgid ""
737
+ "Here you will find a handy group of options to tweak Wordpress Popular Posts."
738
+ msgstr ""
739
+ "Hier findest du einen überschaubaren Bereich an Einstellungen, um Wordpress "
740
+ "Popular Posts zu optimieren."
741
+
742
+ #: admin.php:747
743
+ msgid "Views logging behavior"
744
+ msgstr "Zählverhalten"
745
+
746
+ #: admin.php:753
747
+ msgid "Log views from"
748
+ msgstr "Erfasse Aufrufe von"
749
+
750
+ #: admin.php:756
751
+ msgid "Visitors only"
752
+ msgstr "jedem außer eingeloggten Benutzern"
753
+
754
+ #: admin.php:757
755
+ msgid "Everyone"
756
+ msgstr "jedem"
757
+
758
+ #: admin.php:774
759
+ msgid "Thumbnail source"
760
+ msgstr "Quelle der Vorschaubilder"
761
+
762
+ #: admin.php:780
763
+ msgid "Pick image from"
764
+ msgstr "Wähle Bildquelle"
765
+
766
+ #: admin.php:783
767
+ msgid "Featured image"
768
+ msgstr "Beitragsbild"
769
+
770
+ #: admin.php:784
771
+ msgid "First image on post"
772
+ msgstr "Erstes Bild im Beitrag"
773
+
774
+ #: admin.php:785
775
+ msgid "Custom field"
776
+ msgstr "Benutzerdefiniertes Feld"
777
+
778
+ #: admin.php:788
779
+ msgid "Tell Wordpress Popular Posts where it should get thumbnails from"
780
+ msgstr "Woher kommen die Vorschaubilder?"
781
+
782
+ #: admin.php:792
783
+ msgid "Custom field name"
784
+ msgstr "Name des benutzerdefiniertes Feldes"
785
+
786
+ #: admin.php:798
787
+ msgid "Resize image from Custom field?"
788
+ msgstr "Bild aus benutzerdefiniertem Feld skalieren?"
789
+
790
+ #: admin.php:801
791
+ msgid "No, I will upload my own thumbnail"
792
+ msgstr "Nein, ich lade mein eigenes Vorschaubild hoch"
793
+
794
+ #: admin.php:802
795
+ msgid "Yes"
796
+ msgstr "Ja"
797
+
798
+ #: admin.php:819
799
+ msgid "Wordpress Popular Posts Stylesheet"
800
+ msgstr "Wordpress Popular Posts Stylesheet"
801
+
802
+ #: admin.php:820
803
+ msgid ""
804
+ "By default, the plugin includes a stylesheet called wpp.css which you can "
805
+ "use to style your popular posts listing. If you wish to use your own "
806
+ "stylesheet or do not want it to have it included in the header section of "
807
+ "your site, use this."
808
+ msgstr ""
809
+ "Als Voreinstellung schließt dieses Plugin eine Stylesheet-Datei wpp.css ein. "
810
+ "Du kannst mit ihr die Auflistung beliebter Beiträge gestalten. Falls du dein "
811
+ "eigenes Stylesheet verwenden oder die wpp.css nicht im HEAD-Abschnitt "
812
+ "einbinden willst, deaktiviere die Einbindung."
813
+
814
+ #: admin.php:825 admin.php:844
815
+ msgid "Enabled"
816
+ msgstr "Aktiviert"
817
+
818
+ #: admin.php:826 admin.php:843
819
+ msgid "Disabled"
820
+ msgstr "Deaktiviert"
821
+
822
+ #: admin.php:835
823
+ msgid "Data tools"
824
+ msgstr "Datenwerkzeuge"
825
+
826
+ #: admin.php:840
827
+ msgid "Ajaxify widget"
828
+ msgstr "Widget via Ajax"
829
+
830
+ #: admin.php:848
831
+ msgid ""
832
+ "If you are using a caching plugin such as WP Super Cache, enabling this "
833
+ "feature will keep the popular list from being cached by it"
834
+ msgstr ""
835
+ "Falls du ein Cache-Plugin wie z. B. WP Super Cache verwendest, verhindert "
836
+ "das Aktivieren, dass die Liste nicht gecachet wird und stets aktuell ist."
837
+
838
+ #: admin.php:852
839
+ msgid "Popular posts listing refresh interval"
840
+ msgstr "Aktualisierungsintervall der Liste"
841
+
842
+ #: admin.php:855
843
+ msgid "Live"
844
+ msgstr "Echtzeit"
845
+
846
+ #: admin.php:856
847
+ msgid "Custom interval"
848
+ msgstr "Benutzerdefiniertes Intervall"
849
+
850
+ #: admin.php:860
851
+ msgid ""
852
+ "Sets how often the listing should be updated. For most sites the Live option "
853
+ "should be fine, however if you are experiencing slowdowns or your blog gets "
854
+ "a lot of visitors then you might want to change the refresh rate"
855
+ msgstr ""
856
+ "Stellt ein, wie oft die Liste aktualisiert wird. Für die meisten Websites "
857
+ "erreicht die Echtzeit-Einstellung gute Werte. Solltest du jedoch "
858
+ "Verlangsamungen feststellen oder deine Website erreicht viele Besucher, "
859
+ "solltest du die Aktualisierungsrate ändern."
860
+
861
+ #: admin.php:864
862
+ msgid "Refresh interval"
863
+ msgstr "Benutzerdefiniertes Intervall"
864
+
865
+ #: admin.php:868
866
+ msgid "Hour(s)"
867
+ msgstr "Stunde(n)"
868
+
869
+ #: admin.php:869
870
+ msgid "Day(s)"
871
+ msgstr "Tag(e)"
872
+
873
+ #: admin.php:870
874
+ msgid "Week(s)"
875
+ msgstr "Woche(n)"
876
+
877
+ #: admin.php:871
878
+ msgid "Month(s)"
879
+ msgstr "Monat(e)"
880
+
881
+ #: admin.php:872
882
+ msgid "Year(s)"
883
+ msgstr "Jahr(e)"
884
+
885
+ #: admin.php:875
886
+ msgid "Really? That long?"
887
+ msgstr "Wirklich? So lang?"
888
+
889
+ #: admin.php:890
890
+ msgid ""
891
+ "Wordpress Popular Posts maintains data in two separate tables: one for "
892
+ "storing the most popular entries in the past 30 days (from now on, \"cache"
893
+ "\"), and another one to keep the All-time data (from now on, \"historical "
894
+ "data\" or just \"data\"). If for some reason you need to clear the cache "
895
+ "table, or even both historical and cache tables, please use the buttons "
896
+ "below to do so."
897
+ msgstr ""
898
+ "Wordpress Popular Posts speichert Daten in zwei getrennten Tabellen: eine "
899
+ "für die beliebtesten Beiträge der letzten 30 Tage (auch: \"Cache-Tabelle\"), "
900
+ "und die andere für die Allzeit-Daten (auch \"historische Daten\" oder "
901
+ "einfach \"Datentabelle\"). Solltest du aus verschiedenen Gründen die Cache-"
902
+ "Tabelle leeren wollen oder sowohl die Datentabelle als auch die Cache-"
903
+ "Tabelle, nutze die folgenden Schaltflächen."
904
+
905
+ #: admin.php:891
906
+ msgid "Empty cache"
907
+ msgstr "Cache leeren"
908
+
909
+ #: admin.php:891
910
+ msgid "Use this button to manually clear entries from WPP cache only"
911
+ msgstr ""
912
+ "Nutze diese Schaltfläche, um die Cache-Tabelle von Wordpress Popular Posts "
913
+ "zu leeren."
914
+
915
+ #: admin.php:892
916
+ msgid "Clear all data"
917
+ msgstr "Alle Daten löschen"
918
+
919
+ #: admin.php:892
920
+ msgid "Use this button to manually clear entries from all WPP data tables"
921
+ msgstr ""
922
+ "Nutze diese Schaltfläche, um alle Einträge in der Datentabelle von Wordpress "
923
+ "Popular Posts zu löschen."
924
+
925
+ #: admin.php:898
926
+ msgid "Do you like this plugin?"
927
+ msgstr "Gefällt dir dieses Plugin?"
928
+
929
+ #: admin.php:898
930
+ msgid "Rate Wordpress Popular Posts!"
931
+ msgstr "Bewerte Wordpress Popular Posts!"
932
+
933
+ #: admin.php:898
934
+ msgid "Rate it"
935
+ msgstr "Bewerte es"
936
+
937
+ #: admin.php:898
938
+ msgid "on the official Plugin Directory!"
939
+ msgstr "im offiziellen Plugin-Verzeichnis!"
940
+
941
+ #: admin.php:899
942
+ msgid "Do you love this plugin?"
943
+ msgstr "Magst du dieses Plugin?"
944
+
945
+ #: admin.php:899 admin.php:900
946
+ msgid "Buy me a beer!"
947
+ msgstr "Spende mir ein Bier!"
948
+
949
+ #: admin.php:899
950
+ msgid ""
951
+ "Each donation motivates me to keep releasing free stuff for the Wordpress "
952
+ "community!"
953
+ msgstr ""
954
+ "Jede Spende motiviert mich, der Wordpress-Gemeinschaft nützliches Zeugs "
955
+ "weiterhin kostenlos zur Verfügung zu stellen!"
956
+
957
+ #: wordpress-popular-posts.php:126
958
+ msgid "The most Popular Posts on your blog."
959
+ msgstr "Die beliebtesten Beiträge deines Blogs."
960
+
961
+ #: wordpress-popular-posts.php:370
962
+ msgid "Title:"
963
+ msgstr "Titel:"
964
+
965
+ #: wordpress-popular-posts.php:370 wordpress-popular-posts.php:372
966
+ #: wordpress-popular-posts.php:374 wordpress-popular-posts.php:382
967
+ #: wordpress-popular-posts.php:393 wordpress-popular-posts.php:395
968
+ #: wordpress-popular-posts.php:399 wordpress-popular-posts.php:403
969
+ #: wordpress-popular-posts.php:412 wordpress-popular-posts.php:426
970
+ #: wordpress-popular-posts.php:438 wordpress-popular-posts.php:439
971
+ #: wordpress-popular-posts.php:440 wordpress-popular-posts.php:441
972
+ #: wordpress-popular-posts.php:451 wordpress-popular-posts.php:457
973
+ msgid "What is this?"
974
+ msgstr "Was ist das?"
975
+
976
+ #: wordpress-popular-posts.php:372
977
+ msgid "Show up to:"
978
+ msgstr "Zeige bis zu:"
979
+
980
+ #: wordpress-popular-posts.php:373
981
+ msgid "posts"
982
+ msgstr "Beiträge"
983
+
984
+ #: wordpress-popular-posts.php:374
985
+ msgid "Time Range:"
986
+ msgstr "Zeitspanne"
987
+
988
+ #: wordpress-popular-posts.php:382
989
+ msgid "Sort posts by:"
990
+ msgstr "Sortiere Beiträge nach:"
991
+
992
+ #: wordpress-popular-posts.php:384
993
+ msgid "Comments"
994
+ msgstr "Kommentaren"
995
+
996
+ #: wordpress-popular-posts.php:385
997
+ msgid "Total views"
998
+ msgstr "Zahl der Aufrufe"
999
+
1000
+ #: wordpress-popular-posts.php:386
1001
+ msgid "Avg. daily views"
1002
+ msgstr "Durchschn. tägl. Aufrufe"
1003
+
1004
+ #: wordpress-popular-posts.php:391
1005
+ msgid "Posts settings"
1006
+ msgstr "Einstellungen für Beiträge"
1007
+
1008
+ #: wordpress-popular-posts.php:393
1009
+ msgid "Display post rating"
1010
+ msgstr "Zeige Bewertung"
1011
+
1012
+ #: wordpress-popular-posts.php:395
1013
+ msgid "Shorten title"
1014
+ msgstr "Kürze den Titel"
1015
+
1016
+ #: wordpress-popular-posts.php:397
1017
+ msgid "Shorten title to"
1018
+ msgstr "Kürze den Titel auf"
1019
+
1020
+ #: wordpress-popular-posts.php:397 wordpress-popular-posts.php:404
1021
+ msgid "characters"
1022
+ msgstr "Buchstaben"
1023
+
1024
+ #: wordpress-popular-posts.php:399
1025
+ msgid "Display post excerpt"
1026
+ msgstr "Zeige Auszug"
1027
+
1028
+ #: wordpress-popular-posts.php:402
1029
+ msgid "Excerpt Properties"
1030
+ msgstr "Eigenschaften des Auszugs"
1031
+
1032
+ #: wordpress-popular-posts.php:403
1033
+ msgid "Keep text format and links"
1034
+ msgstr "Behalte Textformat und Links bei"
1035
+
1036
+ #: wordpress-popular-posts.php:404
1037
+ msgid "Excerpt length:"
1038
+ msgstr "Länge des Auszugs:"
1039
+
1040
+ #: wordpress-popular-posts.php:412
1041
+ msgid "Filters:"
1042
+ msgstr "Filter:"
1043
+
1044
+ #: wordpress-popular-posts.php:413
1045
+ msgid "Post type(s):"
1046
+ msgstr "Post-Type(s)"
1047
+
1048
+ #: wordpress-popular-posts.php:415
1049
+ msgid "Post(s) ID(s) to exclude:"
1050
+ msgstr "Post-IDs, die ausgeschlossen werden:"
1051
+
1052
+ #: wordpress-popular-posts.php:417
1053
+ msgid "Category(ies) ID(s):"
1054
+ msgstr "Kategorie(n)-ID(s):"
1055
+
1056
+ #: wordpress-popular-posts.php:419
1057
+ msgid "Author(s) ID(s):"
1058
+ msgstr "Autor(en)-ID(s):"
1059
+
1060
+ #: wordpress-popular-posts.php:425
1061
+ msgid "Thumbnail settings"
1062
+ msgstr "Einstellungen für die Vorschaubilder"
1063
+
1064
+ #: wordpress-popular-posts.php:426
1065
+ msgid "Display post thumbnail"
1066
+ msgstr "Zeige Vorschaubild"
1067
+
1068
+ #: wordpress-popular-posts.php:428
1069
+ msgid "Width:"
1070
+ msgstr "Breite:"
1071
+
1072
+ #: wordpress-popular-posts.php:429 wordpress-popular-posts.php:431
1073
+ msgid "px"
1074
+ msgstr "px"
1075
+
1076
+ #: wordpress-popular-posts.php:430
1077
+ msgid "Height:"
1078
+ msgstr "Höhe:"
1079
+
1080
+ #: wordpress-popular-posts.php:437
1081
+ msgid "Stats Tag settings"
1082
+ msgstr "Einstellungen des Statistik-Tags"
1083
+
1084
+ #: wordpress-popular-posts.php:438
1085
+ msgid "Display comment count"
1086
+ msgstr "Zeige Anzahl Kommentare"
1087
+
1088
+ #: wordpress-popular-posts.php:439
1089
+ msgid "Display views"
1090
+ msgstr "Zeige Aufrufe"
1091
+
1092
+ #: wordpress-popular-posts.php:440
1093
+ msgid "Display author"
1094
+ msgstr "Zeige Autor"
1095
+
1096
+ #: wordpress-popular-posts.php:441
1097
+ msgid "Display date"
1098
+ msgstr "Zeige Datum"
1099
+
1100
+ #: wordpress-popular-posts.php:444
1101
+ msgid "Date Format"
1102
+ msgstr "Datumsformat"
1103
+
1104
+ #: wordpress-popular-posts.php:451
1105
+ msgid "Display category"
1106
+ msgstr "Zeige Kategorie"
1107
+
1108
+ #: wordpress-popular-posts.php:456
1109
+ msgid "HTML Markup settings"
1110
+ msgstr "Einstellungen des HTML-Codes"
1111
+
1112
+ #: wordpress-popular-posts.php:457
1113
+ msgid "Use custom HTML Markup"
1114
+ msgstr "Verwende nutzerdefinierten HTML-Code"
1115
+
1116
+ #: wordpress-popular-posts.php:460
1117
+ msgid "Before / after title:"
1118
+ msgstr "Vor / nach dem Titel"
1119
+
1120
+ #: wordpress-popular-posts.php:462
1121
+ msgid "Before / after Popular Posts:"
1122
+ msgstr "Vor / nach Beliebte Beiträge"
1123
+
1124
+ #: wordpress-popular-posts.php:465
1125
+ msgid "Post HTML Markup:"
1126
+ msgstr "Zeige HTML-Code"
1127
+
1128
+ #: wordpress-popular-posts.php:652
1129
+ msgid "Success! The cache table has been cleared!"
1130
+ msgstr "Erfolg: Die Cache-Tabelle wurde geleert!"
1131
+
1132
+ #: wordpress-popular-posts.php:654
1133
+ msgid "Error: cache table does not exist."
1134
+ msgstr "Fehler: Cache-Tabelle ist nicht vorhanden."
1135
+
1136
+ #: wordpress-popular-posts.php:660
1137
+ msgid "Success! All data have been cleared!"
1138
+ msgstr "Erfolg: Alle Daten wurden gelöscht!"
1139
+
1140
+ #: wordpress-popular-posts.php:662
1141
+ msgid "Error: one or both data tables are missing."
1142
+ msgstr "Fehler: Eine oder beide Tabellen fehlen."
1143
+
1144
+ #: wordpress-popular-posts.php:665
1145
+ msgid "Invalid action."
1146
+ msgstr "Ungültige Aktion."
1147
+
1148
+ #: wordpress-popular-posts.php:668
1149
+ msgid ""
1150
+ "Sorry, you do not have enough permissions to do this. Please contact the "
1151
+ "site administrator for support."
1152
+ msgstr ""
1153
+ "Du hast nicht die erforderlichen Rechte um das zu tun. Bitte wende dich an "
1154
+ "den Administrator für weitere Hilfe."
1155
+
1156
+ #: wordpress-popular-posts.php:1102
1157
+ msgid "Sorry. No data so far."
1158
+ msgstr "Noch keine Daten vorhanden."
1159
+
1160
+ #: wordpress-popular-posts.php:1158
1161
+ msgid "comment"
1162
+ msgstr "Komentar"
1163
+
1164
+ #: wordpress-popular-posts.php:1158
1165
+ msgid "comments"
1166
+ msgstr "Komentare"
1167
+
1168
+ #: wordpress-popular-posts.php:1166
1169
+ msgid "view per day"
1170
+ msgstr "Aufruf pro Tag"
1171
+
1172
+ #: wordpress-popular-posts.php:1166
1173
+ msgid "views per day"
1174
+ msgstr "Aufrufe pro Tag"
1175
+
1176
+ #: wordpress-popular-posts.php:1170
1177
+ msgid "view"
1178
+ msgstr "Aufruf"
1179
+
1180
+ #: wordpress-popular-posts.php:1170
1181
+ msgid "views"
1182
+ msgstr "Aufrufe"
1183
+
1184
+ #: wordpress-popular-posts.php:1179
1185
+ msgid "by"
1186
+ msgstr "von"
1187
+
1188
+ #: wordpress-popular-posts.php:1183
1189
+ msgid "posted on"
1190
+ msgstr "veröffentlicht am"
1191
+
1192
+ #: wordpress-popular-posts.php:1191
1193
+ msgid "under"
1194
+ msgstr "in"
1195
+
1196
+ #: wordpress-popular-posts.php:1700
1197
+ msgid ""
1198
+ "Your Wordpress version is too old. Wordpress Popular Posts Plugin requires "
1199
+ "at least version 2.8 to function correctly. Please update your blog via "
1200
+ "Tools &gt; Upgrade."
1201
+ msgstr ""
1202
+ "Deine Wordpress-Version ist zu alt. Das Plugin\"Wordpress Popular Posts\" "
1203
+ "benötigt mindestens Version 2.8. Bitte aktualisiere Wordpress via Dashboard "
1204
+ "&gt; Aktualisieren."
1205
+
1206
+ #: wordpress-popular-posts.php:1709
1207
+ msgid ""
1208
+ "Your PHP installation is too old. Wordpress Popular Posts Plugin requires at "
1209
+ "least PHP v5.2.0 to function correctly. Please contact your hosting provider "
1210
+ "and ask them to upgrade PHP to 5.2.x or higher."
1211
+ msgstr ""
1212
+ "Deine PHP-Version ist zu alt. Das Plugin\"Wordpress Popular Posts\" benötigt "
1213
+ "mindestens PHP-Version 5.2.0 für die einwandfreie Funktion. Bitte nehme "
1214
+ "Kontakt mit deinem Hosting-Provider auf und bitte ihn, PHP auf v5.2.x oder "
1215
+ "höher zu aktualisieren."
1216
+
1217
+ #~ msgid "What does \"Use content formatting tags\" do?"
1218
+ #~ msgstr "Was macht \"Verwende textformatierende Tags\"?"
1219
+
1220
+ #~ msgid "Before / after each post:"
1221
+ #~ msgstr "Vor / nach jedem Beitrag:"
1222
+
1223
+ #~ msgid "Use content formatting tags"
1224
+ #~ msgstr "Verwende textformatierende Tags"
1225
+
1226
+ #~ msgid "Content format:"
1227
+ #~ msgstr "Inhaltsformat:"
1228
+
1229
+ #~ msgid "Wordpress Popular Posts Stats"
1230
+ #~ msgstr "Wordpress Popular Posts Statistik"
lang/wordpress-popular-posts-es_ES.mo ADDED
Binary file
lang/wordpress-popular-posts-es_ES.po ADDED
@@ -0,0 +1,1297 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Wordpress Popular Posts\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-06-02 11:54-0430\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Hector Cabrera <hcabrerab@gmail.com>\n"
8
+ "Language-Team: Héctor Cabrera <admin@rauru.com>\n"
9
+ "Language: en_VE\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-SourceCharset: iso-8859-1\n"
14
+ "X-Poedit-KeywordsList: __;_e\n"
15
+ "X-Poedit-Basepath: .\n"
16
+ "X-Generator: Poedit 1.5.5\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: admin.php:67 admin.php:73 admin.php:85 admin.php:96 admin.php:104
20
+ msgid "Settings saved."
21
+ msgstr "Configuraci&oacute;n guardada."
22
+
23
+ #: admin.php:78
24
+ msgid "Please provide the name of your custom field."
25
+ msgstr "Por favor indica el nombre de tu custom field."
26
+
27
+ #: admin.php:345
28
+ msgid ""
29
+ "This operation will delete all entries from Wordpress Popular Posts' cache "
30
+ "table and cannot be undone."
31
+ msgstr ""
32
+ "Esta operaci\\363n borrar\\341 todas las entradas en el cach\\351 de "
33
+ "Wordpress Popular Posts y no puede ser reversado."
34
+
35
+ #: admin.php:345 admin.php:353
36
+ msgid "Do you want to continue?"
37
+ msgstr "Deseas continuar?"
38
+
39
+ #: admin.php:353
40
+ msgid ""
41
+ "This operation will delete all stored info from Wordpress Popular Posts' "
42
+ "data tables and cannot be undone."
43
+ msgstr ""
44
+ "Esta operaci\\363n borrar\\341 toda la informaci\\363n guardada en las "
45
+ "tablas de Wordpress Popular Posts y no puede ser reversado."
46
+
47
+ #: admin.php:367
48
+ msgid "Stats"
49
+ msgstr "Estad&iacute;sticas"
50
+
51
+ #: admin.php:368
52
+ msgid "FAQ"
53
+ msgstr "FAQ"
54
+
55
+ #: admin.php:369
56
+ msgid "Tools"
57
+ msgstr "Herramientas"
58
+
59
+ #: admin.php:373
60
+ msgid ""
61
+ "Click on each tab to see what are the most popular entries on your blog in "
62
+ "the last 24 hours, this week, last 30 days or all time since Wordpress "
63
+ "Popular Posts was installed."
64
+ msgstr ""
65
+ "Haz clic en cada pesta&ntilde;a para ver las entradas m&aacute;s populares "
66
+ "de tu blog en las &uacute;ltimas 24 horas, esta semana, los &uacute;ltimos "
67
+ "30 d&iacute;as o de todos los tiempos."
68
+
69
+ #: admin.php:379
70
+ msgid "Order by comments"
71
+ msgstr "Ordenar por comentarios"
72
+
73
+ #: admin.php:380
74
+ msgid "Order by views"
75
+ msgstr "Ordenar por vistas"
76
+
77
+ #: admin.php:381
78
+ msgid "Order by avg. daily views"
79
+ msgstr "Ordenar por average de vistas diarias"
80
+
81
+ #: admin.php:383
82
+ msgid "Post type"
83
+ msgstr "Post type"
84
+
85
+ #: admin.php:384
86
+ msgid "Limit"
87
+ msgstr "L&iacute;mite"
88
+
89
+ #: admin.php:386 admin.php:805 admin.php:864 admin.php:884 admin.php:936
90
+ msgid "Apply"
91
+ msgstr "Aplicar"
92
+
93
+ #: admin.php:392 wordpress-popular-posts.php:382
94
+ msgid "Last 24 hours"
95
+ msgstr "&Uacute;ltimas 24 horas"
96
+
97
+ #: admin.php:393 wordpress-popular-posts.php:383
98
+ msgid "Last 7 days"
99
+ msgstr "&Uacute;ltimos 7 d&iacute;as"
100
+
101
+ #: admin.php:394 wordpress-popular-posts.php:384
102
+ msgid "Last 30 days"
103
+ msgstr "&Uacute;ltimos 30 d&iacute;as"
104
+
105
+ #: admin.php:395 wordpress-popular-posts.php:385
106
+ msgid "All-time"
107
+ msgstr "Todos los tiempos"
108
+
109
+ #: admin.php:416
110
+ msgid "Frequently Asked Questions"
111
+ msgstr "Preguntas Frecuentes (FAQ)"
112
+
113
+ #: admin.php:420
114
+ msgid "What does \"Title\" do?"
115
+ msgstr "&iquest;Para qu&eacute; es \"T&iacute;tulo\"?"
116
+
117
+ #: admin.php:422
118
+ msgid ""
119
+ "It allows you to show a heading for your most popular posts listing. If left "
120
+ "empty, no heading will be displayed at all."
121
+ msgstr ""
122
+ "Te permite mostrar un encabezado para tu lista de entradas populares. Si se "
123
+ "deja vac&iacute;o, no se mostrar&aacute; el encabezado."
124
+
125
+ #: admin.php:425
126
+ msgid "What is Time Range for?"
127
+ msgstr "&iquest;Para qu&eacute; es \"Rango de Tiempo\"?"
128
+
129
+ #: admin.php:427
130
+ msgid ""
131
+ "It will tell Wordpress Popular Posts to retrieve all posts with most views / "
132
+ "comments within the selected time range."
133
+ msgstr ""
134
+ "Le indica a Wordpress Popular Posts que muestre las entradas m&aacute;s "
135
+ "vistas / comentadas en el rango de tiempo seleccionado."
136
+
137
+ #: admin.php:430
138
+ msgid "What is \"Sort post by\" for?"
139
+ msgstr "&iquest;Para qu&eacute; es \"Ordenar entradas por\"?"
140
+
141
+ #: admin.php:432
142
+ msgid ""
143
+ "It allows you to decide whether to order your popular posts listing by total "
144
+ "views, comments, or average views per day."
145
+ msgstr ""
146
+ "Te permite decidir si ordenar tus entradas populares por la cantidad total "
147
+ "de vistas, comentarios, o por el porcentaje diario de vistas."
148
+
149
+ #: admin.php:435
150
+ msgid "What does \"Display post rating\" do?"
151
+ msgstr "&iquest;Qu&eacute; hace \"Mostrar rating de la entrada\"?"
152
+
153
+ #: admin.php:437
154
+ msgid ""
155
+ "If checked, Wordpress Popular Posts will show how your readers are rating "
156
+ "your most popular posts. This feature requires having WP-PostRatings plugin "
157
+ "installed and enabled on your blog for it to work."
158
+ msgstr ""
159
+ "Si se tilda, Wordpress Popular Posts mostrar&aacute; c&oacute;mo tus "
160
+ "lectores est&aacute;n calificando tus entradas populares. Esta "
161
+ "caracter&iacute;stica requiere que el plugin WP-PostRatings est&eacute; "
162
+ "instalado y habilitado en tu blog para que funcione."
163
+
164
+ #: admin.php:440
165
+ msgid "What does \"Shorten title\" do?"
166
+ msgstr "&iquest;Qu&eacute; hace \"Acortar t&iacute;tulo\"?"
167
+
168
+ #: admin.php:442
169
+ msgid ""
170
+ "If checked, all posts titles will be shortened to \"n\" characters/words. A "
171
+ "new \"Shorten title to\" option will appear so you can set it to whatever "
172
+ "you like."
173
+ msgstr ""
174
+ "Si se tilda, todos los t&iacute;tulos de las entradas se acortar&aacute;n \"n"
175
+ "\" caracteres/palabras. Una nueva opci&oacute;n \"Acortar t&iacute;tulo en\" "
176
+ "se mostrar&aacute; para que puedas configurarlo como quieras."
177
+
178
+ #: admin.php:445
179
+ msgid "What does \"Display post excerpt\" do?"
180
+ msgstr "&iquest;Qu&eacute; hace \"Mostrar resumen de la entrada\"?"
181
+
182
+ #: admin.php:447
183
+ msgid ""
184
+ "If checked, Wordpress Popular Posts will also include a small extract of "
185
+ "your posts in the list. Similarly to the previous option, you will be able "
186
+ "to decide how long the post excerpt should be."
187
+ msgstr ""
188
+ "Si se tilda, Wordpress Popular Posts incluir&aacute; un peque&ntilde;o "
189
+ "extracto de tus entradas en la lista. Similar a la opci&oacute;n anterior, "
190
+ "podr&aacute;s decidir qu&eacute; tan largo debe ser el extracto."
191
+
192
+ #: admin.php:450
193
+ msgid "What does \"Keep text format and links\" do?"
194
+ msgstr "&iquest;Qu&eacute; hace \"Mantener el formato de texto y links\"?"
195
+
196
+ #: admin.php:452
197
+ msgid ""
198
+ "If checked, and if the Post Excerpt feature is enabled, Wordpress Popular "
199
+ "Posts will keep the styling tags (eg. bold, italic, etc) that were found in "
200
+ "the excerpt. Hyperlinks will remain intact, too."
201
+ msgstr ""
202
+ "Si se tilda, y si la opci&oacute;n Mostrar Resumen est&aacute; habilitada, "
203
+ "Wordpress Popular Posts mantendr&aacute; las etiquetas de estilos que se "
204
+ "encontraron en el extracto. Los hiperv&iacute;nculos tambi&eacute;n se "
205
+ "mantendr&aacute;n."
206
+
207
+ #: admin.php:455
208
+ msgid "What is \"Post type\" for?"
209
+ msgstr "&iquest;Para qu&eacute; es el \"Post type\"?"
210
+
211
+ #: admin.php:457
212
+ msgid ""
213
+ "This filter allows you to decide which post types to show on the listing. By "
214
+ "default, it will retrieve only posts and pages (which should be fine for "
215
+ "most cases)."
216
+ msgstr ""
217
+ "Este filtro te permite decidir que tipo de entradas deseas mostrar en el "
218
+ "listado. Por defecto, trater&aacute; s&oacute;lo entradas y p&aacute;ginas "
219
+ "(que es lo que se quiere, en la mayor&iacute;a de los casos)."
220
+
221
+ #: admin.php:460
222
+ msgid "What is \"Category(ies) ID(s)\" for?"
223
+ msgstr "&iquest;Para qu&eacute; es el \"ID(s) de Categor&iacute;a(s)\"?"
224
+
225
+ #: admin.php:462
226
+ msgid ""
227
+ "This filter allows you to select which categories should be included or "
228
+ "excluded from the listing. A negative sign in front of the category ID "
229
+ "number will exclude posts belonging to it from the list, for example. You "
230
+ "can specify more than one ID with a comma separated list."
231
+ msgstr ""
232
+ "Este filtro te permite seleccionar qu&eacute; categor&iacute;as deber&iacute;"
233
+ "an ser inclu&iacute;das o exclu&iacute;das del listado. Un signo negativo "
234
+ "enfrente del ID de la categor&iacute;a la excluir&aacute; de la lista, por "
235
+ "ejemplo. Puedes especificar m&aacute;s de un ID separ&aacute;ndolos con "
236
+ "comas."
237
+
238
+ #: admin.php:465
239
+ msgid "What is \"Author(s) ID(s)\" for?"
240
+ msgstr "&iquest;Para qu&eacute; es el \"ID de Autor(es)\"?"
241
+
242
+ #: admin.php:467
243
+ msgid ""
244
+ "Just like the Category filter, this one lets you filter posts by author ID. "
245
+ "You can specify more than one ID with a comma separated list."
246
+ msgstr ""
247
+ "Justo como el filtro de Categor&iacute;a, &eacute;ste te permite filtrar "
248
+ "entradas por ID del autor. Puedes especificar m&aacute;s de un ID "
249
+ "separ&aacute;ndolos con comas."
250
+
251
+ #: admin.php:470
252
+ msgid "What does \"Display post thumbnail\" do?"
253
+ msgstr "&iquest;Qu&eacute; hace \"Mostrar miniatura de la entrada\"?"
254
+
255
+ #: admin.php:472
256
+ msgid ""
257
+ "If checked, Wordpress Popular Posts will attempt to retrieve the thumbnail "
258
+ "of each post. You can set up the source of the thumbnail via Settings - "
259
+ "Wordpress Popular Posts - Tools."
260
+ msgstr ""
261
+ "Si se tilda, Wordpress Popular Posts intentar&aacute; obtener la imagen "
262
+ "miniatura de cada entrada. Puedes configurar la fuente de la miniatura via "
263
+ "Configuraci&oacute;n - Wordpress Popular Posts - Herramientas."
264
+
265
+ #: admin.php:475
266
+ msgid "What does \"Display comment count\" do?"
267
+ msgstr "&iquest;Qu&eacute; hace \"Mostrar cantidad de comentarios\"?"
268
+
269
+ #: admin.php:477
270
+ msgid ""
271
+ "If checked, Wordpress Popular Posts will display how many comments each "
272
+ "popular post has got in the selected Time Range."
273
+ msgstr ""
274
+ "Si se tilda, Wordpress Popular Posts mostrar&aacute; cu&aacute;ntos "
275
+ "comentarios ha obtenido cada entrada popular dentro del Rango de Tiempo "
276
+ "seleccionado."
277
+
278
+ #: admin.php:480
279
+ msgid "What does \"Display views\" do?"
280
+ msgstr "&iquest;Qu&eacute; hace \"Mostrar vistas\"?"
281
+
282
+ #: admin.php:482
283
+ msgid ""
284
+ "If checked, Wordpress Popular Posts will show how many pageviews a single "
285
+ "post has gotten in the selected Time Range."
286
+ msgstr ""
287
+ "Si se tilda, Wordpress Popular Posts mostrar&aacute; cu&aacute;ntas vistas "
288
+ "ha obtenido cada entrada en el Rango de Tiempo seleccionado."
289
+
290
+ #: admin.php:485
291
+ msgid "What does \"Display author\" do?"
292
+ msgstr "&iquest;Qu&eacute; hace \"Mostrar autor\"?"
293
+
294
+ #: admin.php:487
295
+ msgid ""
296
+ "If checked, Wordpress Popular Posts will display the name of the author of "
297
+ "each entry listed."
298
+ msgstr ""
299
+ "Si se tilda, Wordpress Popular Posts mostrar&aacute; el nombre del autor de "
300
+ "cada entrada listada."
301
+
302
+ #: admin.php:490
303
+ msgid "What does \"Display date\" do?"
304
+ msgstr "&iquest;Qu&eacute; hace \"Mostrar fecha\"?"
305
+
306
+ #: admin.php:492
307
+ msgid ""
308
+ "If checked, Wordpress Popular Posts will display the date when each popular "
309
+ "posts was published."
310
+ msgstr ""
311
+ "Si se tilda, Wordpress Popular Posts mostrar&aacute; la fecha en la que fue "
312
+ "publicada cada entrada popular."
313
+
314
+ #: admin.php:495
315
+ msgid "What does \"Use custom HTML Markup\" do?"
316
+ msgstr "&iquest;Qu&eacute; hace \"Utilizar Markup HTML personalizado\"?"
317
+
318
+ #: admin.php:497
319
+ msgid ""
320
+ "If checked, you will be able to customize the HTML markup of your popular "
321
+ "posts listing. For example, you can decide whether to wrap your posts in an "
322
+ "unordered list, an ordered list, a div, etc. If you know xHTML/CSS, this is "
323
+ "for you!"
324
+ msgstr ""
325
+ "Si se tilda, podr&aacute;s personalizad el markup HTML de tu listado de "
326
+ "entradas populares. Por ejemplo, podr&aacute;s decidir si colocar tu listado "
327
+ "en una lista desordenada, una ordenada, dentro de un div, etc. Si sabes "
328
+ "xHTML/CSS, &iexcl;esto es para ti!"
329
+
330
+ #: admin.php:500
331
+ msgid "What are \"Content Tags\"?"
332
+ msgstr "&iquest;Qu&eacute; son los \"Content Tags\"?"
333
+
334
+ #: admin.php:502
335
+ msgid ""
336
+ "Content Tags are codes to display a variety of items on your popular posts "
337
+ "custom HTML structure. For example, setting it to \"{title}: "
338
+ "{summary}\" (without the quotes) would display \"Post title: excerpt of the "
339
+ "post here\". For more Content Tags, see \"List of parameters accepted by "
340
+ "wpp_get_mostpopular() and the [wpp] shortcode\"."
341
+ msgstr ""
342
+ "Los Content Tags son etiquetas que sirven para mostrar una variedad de items "
343
+ "en la estructura HTML de tu lista. Por ejemplo, configurarlo como \"{title}: "
344
+ "{summary}\" (sin las comillas) mostrar&iacute;a \"T&iacute;tulo de la "
345
+ "entrada: extracto de la entrada aqu&iacute;\". Para ver otras Content Tags, "
346
+ "ver \"Listado de par&aacute;metros aceptados por wpp_get_mostpopular() y el "
347
+ "shortcode [wpp]\"."
348
+
349
+ #: admin.php:505
350
+ msgid "What are \"Template Tags\"?"
351
+ msgstr "&iquest;Qu&eacute; son los \"Template Tags\"?"
352
+
353
+ #: admin.php:507
354
+ msgid ""
355
+ "Template Tags are simply php functions that allow you to perform certain "
356
+ "actions. For example, Wordpress Popular Posts currently supports two "
357
+ "different template tags: wpp_get_mostpopular() and wpp_get_views()."
358
+ msgstr ""
359
+ "Los Template Tags son simplemente funciones php que nos permiten realizar "
360
+ "ciertas acciones. Por ejemplo, Wordpress Popular Posts actualmente soporta "
361
+ "dos template tags diferentes: wpp_get_mostpopular() y wpp_get_views()."
362
+
363
+ #: admin.php:510
364
+ msgid "What are the template tags that Wordpress Popular Posts supports?"
365
+ msgstr ""
366
+ "&iquest;Cu&aacute;les son los Template Tags soportados por Wordpress Popular "
367
+ "Posts?"
368
+
369
+ #: admin.php:512
370
+ msgid ""
371
+ "The following are the template tags supported by Wordpress Popular Posts"
372
+ msgstr ""
373
+ "Los siguientes son los template tags soportados por Wordpress Popular Posts"
374
+
375
+ #: admin.php:516
376
+ msgid "Template tag"
377
+ msgstr "Template tag"
378
+
379
+ #: admin.php:517 admin.php:550
380
+ msgid "What it does "
381
+ msgstr "Qu&eacute; hace"
382
+
383
+ #: admin.php:518
384
+ msgid "Parameters"
385
+ msgstr "Par&aacute;metros"
386
+
387
+ #: admin.php:519 admin.php:553
388
+ msgid "Example"
389
+ msgstr "Ejemplo"
390
+
391
+ #: admin.php:525
392
+ msgid ""
393
+ "Similar to the widget functionality, this tag retrieves the most popular "
394
+ "posts on your blog. This function also accepts parameters so you can "
395
+ "customize your popular listing, but these are not required."
396
+ msgstr ""
397
+ "Parecido a la funcionalidad del widget, esta etiqueta obtiene las entradas "
398
+ "m&aacute;s populares de tu blog. Esta funci&oacute;n tambi&eacute;n acepta "
399
+ "par&aacute;metros para que puedas personalizar el listado, pero no es "
400
+ "requerido."
401
+
402
+ #: admin.php:526
403
+ msgid ""
404
+ "Please refer to \"List of parameters accepted by wpp_get_mostpopular() and "
405
+ "the [wpp] shortcode\"."
406
+ msgstr ""
407
+ "Por favor revisa \"Listado de par&aacute;metros aceptados por "
408
+ "wpp_get_mostpopular() y el shortcode [wpp]\"."
409
+
410
+ #: admin.php:531
411
+ msgid ""
412
+ "Displays the number of views of a single post. Post ID is required or it "
413
+ "will return false."
414
+ msgstr ""
415
+ "Muestra la cantidad de vistas de una entrada. El ID de la entrada es "
416
+ "requerido, o la funci&oacute;n devolver&aacute; false."
417
+
418
+ #: admin.php:532
419
+ msgid "Post ID"
420
+ msgstr "ID de la entrada"
421
+
422
+ #: admin.php:539
423
+ msgid "What are \"shortcodes\"?"
424
+ msgstr "&iquest;Qu&eacute; son los \"shortcodes\"?"
425
+
426
+ #: admin.php:541
427
+ msgid ""
428
+ "Shortcodes are similar to BB Codes, these allow us to call a php function by "
429
+ "simply typing something like [shortcode]. With Wordpress Popular Posts, the "
430
+ "shortcode [wpp] will let you insert a list of the most popular posts in "
431
+ "posts content and pages too! For more information about shortcodes, please "
432
+ "visit"
433
+ msgstr ""
434
+ "Los Shortcodes son similares a los BB Codes, &eacute;stos nos permiten "
435
+ "llamar a una funci&oacute;n php simplemente escribiendo algo como "
436
+ "[shortcode]. Con Wordpress Popular Posts, el shortcode [wpp] te "
437
+ "permitir&aacute; insertar una lista de las entradas m&aacute;s populares en "
438
+ "el contenido de tus entradas y en p&aacute;ginas tambi&eacute;n. Para mayor "
439
+ "informaci&oacute;n sobre los shortcodes, por favor visita"
440
+
441
+ #: admin.php:543
442
+ msgid ""
443
+ "List of parameters accepted by wpp_get_mostpopular() and the [wpp] shortcode"
444
+ msgstr ""
445
+ "Lista de par&aacute;metros aceptados por wpp_get_mostpopular() y el "
446
+ "shortcode [wpp]"
447
+
448
+ #: admin.php:545
449
+ msgid ""
450
+ "These parameters can be used by both the template tag wpp_get_most_popular() "
451
+ "and the shortcode [wpp]."
452
+ msgstr ""
453
+ "Estos par&aacute;metros pueden ser utilizados tanto por el template tag "
454
+ "wpp_get_mostpopular() como por el shortcode [wpp]."
455
+
456
+ #: admin.php:549
457
+ msgid "Parameter"
458
+ msgstr "Par&aacute;metro"
459
+
460
+ #: admin.php:551
461
+ msgid "Possible values"
462
+ msgstr "Valores posibles"
463
+
464
+ #: admin.php:552
465
+ msgid "Defaults to"
466
+ msgstr "Por defecto"
467
+
468
+ #: admin.php:559
469
+ msgid "Sets a heading for the list"
470
+ msgstr "Configura el encabezado de la lista"
471
+
472
+ #: admin.php:560 admin.php:567 admin.php:574 admin.php:602 admin.php:609
473
+ #: admin.php:616 admin.php:623 admin.php:714 admin.php:728 admin.php:735
474
+ #: admin.php:749 admin.php:756
475
+ msgid "Text string"
476
+ msgstr "Texto"
477
+
478
+ #: admin.php:561 wordpress-popular-posts.php:126
479
+ msgid "Popular Posts"
480
+ msgstr "Entradas Populares"
481
+
482
+ #: admin.php:566
483
+ msgid "Set the opening tag for the heading of the list"
484
+ msgstr "Configura la etiqueta de apertura para el encabezado de la lista"
485
+
486
+ #: admin.php:573
487
+ msgid "Set the closing tag for the heading of the list"
488
+ msgstr "Configura la etiqueta de cierre para el encabezado de la lista"
489
+
490
+ #: admin.php:580
491
+ msgid "Sets the maximum number of popular posts to be shown on the listing"
492
+ msgstr ""
493
+ "Configura el m&aacute;ximo de entradas populares a ser mostradas en la lista"
494
+
495
+ #: admin.php:581 admin.php:630 admin.php:644 admin.php:665 admin.php:672
496
+ msgid "Positive integer"
497
+ msgstr "Entero positivo"
498
+
499
+ #: admin.php:587
500
+ msgid ""
501
+ "Tells Wordpress Popular Posts to retrieve the most popular entries within "
502
+ "the time range specified by you"
503
+ msgstr ""
504
+ "Le indica a Wordpress Popular Posts que debe listar aquellas entradas que "
505
+ "hayan sido populares dentro del rango de tiempo especificado por ti"
506
+
507
+ #: admin.php:594
508
+ msgid "Sets the sorting option of the popular posts"
509
+ msgstr "Configura el ordenado de las entradas populares"
510
+
511
+ #: admin.php:595
512
+ msgid "(for average views per day)"
513
+ msgstr "(para el porcentaje de vistas por d&iacute;a)"
514
+
515
+ #: admin.php:601
516
+ msgid "Defines the type of posts to show on the listing"
517
+ msgstr "Define el tipo de entrada a mostrar en el listado"
518
+
519
+ #: admin.php:608
520
+ msgid ""
521
+ "If set, Wordpress Popular Posts will exclude the specified post(s) ID(s) "
522
+ "form the listing."
523
+ msgstr ""
524
+ "Si se configura, Wordpress Popular Posts excluir&aacute; todos los IDs de "
525
+ "las entradas especificadas."
526
+
527
+ #: admin.php:610 admin.php:617 admin.php:624
528
+ msgid "None"
529
+ msgstr "Ninguno"
530
+
531
+ #: admin.php:615
532
+ msgid ""
533
+ "If set, Wordpress Popular Posts will retrieve all entries that belong to the "
534
+ "specified category(ies) ID(s). If a minus sign is used, the category(ies) "
535
+ "will be excluded instead."
536
+ msgstr ""
537
+ "Si se configura, Wordpress Popular Posts mostrar&aacute; todas las entradas "
538
+ "que pertenecen a la(s) categor&iacute;a(s) especificada(s). Si se usa un "
539
+ "signo negativo, la(s) categor&iacute;a(s) ser&aacute;(n) exclu&iacute;da(s)."
540
+
541
+ #: admin.php:622
542
+ msgid ""
543
+ "If set, Wordpress Popular Posts will retrieve all entries created by "
544
+ "specified author(s) ID(s)."
545
+ msgstr ""
546
+ "Si se configura, Wordpress Popular Posts traer&aacute; todas las entradas "
547
+ "creadas por el (los) ID(s) de autor(es) especificado(s)."
548
+
549
+ #: admin.php:629
550
+ msgid ""
551
+ "If set, Wordpress Popular Posts will shorten each post title to \"n\" "
552
+ "characters whenever possible"
553
+ msgstr ""
554
+ "Si se configura, Wordpress Popular Posts acortar&aacute; cada titulo en \"n"
555
+ "\" caracteres cuando sea posible"
556
+
557
+ #: admin.php:636
558
+ msgid ""
559
+ "If set to 1, Wordpress Popular Posts will shorten each post title to \"n\" "
560
+ "words instead of characters"
561
+ msgstr ""
562
+ "Si se pasa el valor 1, Wordpress Popular Posts acortar&aacute; cada titulo "
563
+ "en \"n\" palabras en vez de "
564
+
565
+ #: admin.php:643
566
+ msgid ""
567
+ "If set, Wordpress Popular Posts will build and include an excerpt of \"n\" "
568
+ "characters long from the content of each post listed as popular"
569
+ msgstr ""
570
+ "Si se configura, Wordpress Popular Posts construir&aacute; e incluir&aacute; "
571
+ "un extracto de \"n\" caracteres del contenido de cada entrada listada como "
572
+ "popular"
573
+
574
+ #: admin.php:650
575
+ msgid ""
576
+ "If set, Wordpress Popular Posts will maintaing all styling tags (strong, "
577
+ "italic, etc) and hyperlinks found in the excerpt"
578
+ msgstr ""
579
+ "Si se configura, Wordpress Popular Posts mantendr&aacute; todas las "
580
+ "etiquetas de estilo (strong, italic, etc) y los hiperv&iacute;nculos "
581
+ "encontrados en el extracto"
582
+
583
+ #: admin.php:657
584
+ msgid ""
585
+ "If set to 1, Wordpress Popular Posts will shorten the excerpt to \"n\" words "
586
+ "instead of characters"
587
+ msgstr ""
588
+ "Si se configura, Wordpress Popular Posts acortar&aacute; el resumen en \"n\" "
589
+ "palabras en vez de caracteres"
590
+
591
+ #: admin.php:664
592
+ msgid ""
593
+ "If set, and if your current server configuration allows it, you will be able "
594
+ "to display thumbnails of your posts. This attribute sets the width for "
595
+ "thumbnails"
596
+ msgstr ""
597
+ "Si se configura, y si la configuraci&oacute;n actual de tu servidor lo "
598
+ "permite, podr&aacute;s mostrar miniaturas de tus entradas. Este atributo "
599
+ "configura el ancho de tus miniaturas"
600
+
601
+ #: admin.php:671
602
+ msgid ""
603
+ "If set, and if your current server configuration allows it, you will be able "
604
+ "to display thumbnails of your posts. This attribute sets the height for "
605
+ "thumbnails"
606
+ msgstr ""
607
+ "Si se configura, y si la configuraci&oacute;n actual de tu servidor lo "
608
+ "permite, podr&aacute;s mostrar miniaturas de tus entradas. Este atributo "
609
+ "configura el alto de tus miniaturas"
610
+
611
+ #: admin.php:678
612
+ msgid ""
613
+ "If set, and if the WP-PostRatings plugin is installed and enabled on your "
614
+ "blog, Wordpress Popular Posts will show how your visitors are rating your "
615
+ "entries"
616
+ msgstr ""
617
+ "Si se configura, y si el plugin WP-PostRatings est&aacute; instalado y "
618
+ "habilitado en tu blog, Wordpress Popular Posts mostrar&aacute; como tus "
619
+ "visitantes han calificado a tus entradas"
620
+
621
+ #: admin.php:685
622
+ msgid ""
623
+ "If set, Wordpress Popular Posts will show how many comments each popular "
624
+ "post has got until now"
625
+ msgstr ""
626
+ "Si se configura, Wordpress Popular Posts mostrar&aacute; cu&aacute;ntos "
627
+ "comentarios ha obtenido cada entrada popular hasta ahora"
628
+
629
+ #: admin.php:692
630
+ msgid ""
631
+ "If set, Wordpress Popular Posts will show how many views each popular post "
632
+ "has got since it was installed"
633
+ msgstr ""
634
+ "Si se configura, Wordpress Popular Posts mostrar&aacute; cu&aacute;ntas "
635
+ "vistas ha obtenido cada entrada popular hasta ahora"
636
+
637
+ #: admin.php:699
638
+ msgid ""
639
+ "If set, Wordpress Popular Posts will show who published each popular post on "
640
+ "the list"
641
+ msgstr ""
642
+ "Si se configura, Wordpress Popular Posts mostrar&aacute; qui&eacute;n "
643
+ "public&oacute; cada entrada popular de la lista"
644
+
645
+ #: admin.php:706
646
+ msgid ""
647
+ "If set, Wordpress Popular Posts will display the date when each popular post "
648
+ "on the list was published"
649
+ msgstr ""
650
+ "Si se tilda, Wordpress Popular Posts mostrar&aacute; la fecha en la que fue "
651
+ "publicada cada entrada popular"
652
+
653
+ #: admin.php:713
654
+ msgid "Sets the date format"
655
+ msgstr "Configura el formato de la fecha"
656
+
657
+ #: admin.php:720
658
+ msgid "If set, Wordpress Popular Posts will display the category"
659
+ msgstr ""
660
+ "Si se tilda, Wordpress Popular Posts mostrar&aacute; la categor&iacute;a"
661
+
662
+ #: admin.php:727
663
+ msgid "Sets the opening tag for the listing"
664
+ msgstr "Configura la etiqueta de apertura del listado"
665
+
666
+ #: admin.php:734
667
+ msgid "Sets the closing tag for the listing"
668
+ msgstr "Configura la etiqueta de cierre del listado"
669
+
670
+ #: admin.php:741
671
+ msgid "Sets the HTML structure of each post"
672
+ msgstr "Configura la estructura HTML de cada entrada"
673
+
674
+ #: admin.php:742
675
+ msgid "Text string, custom HTML"
676
+ msgstr "Texto, HTML personalizado"
677
+
678
+ #: admin.php:742
679
+ msgid "Available Content Tags"
680
+ msgstr "Content Tags disponibles"
681
+
682
+ #: admin.php:742
683
+ msgid "displays thumbnail linked to post/page"
684
+ msgstr "muestra la miniatura vinculada a la entrada/p&aacute;gina"
685
+
686
+ #: admin.php:742
687
+ msgid "displays linked post/page title"
688
+ msgstr ""
689
+ "muestra el t&iacute;tulo de la entrada/p&aacute;gina con v&iacute;nculo"
690
+
691
+ #: admin.php:742
692
+ msgid ""
693
+ "displays post/page excerpt, and requires excerpt_length to be greater than 0"
694
+ msgstr ""
695
+ "muestra el resumen de la entrada/p&aacute;gina, requiere que excerpt_length "
696
+ "sea mayor a 0"
697
+
698
+ #: admin.php:742
699
+ msgid "displays the default stats tags"
700
+ msgstr "muestra el stats tag por defecto"
701
+
702
+ #: admin.php:742
703
+ msgid ""
704
+ "displays post/page current rating, requires WP-PostRatings installed and "
705
+ "enabled"
706
+ msgstr ""
707
+ "muestra el rating actual de la entrada/p&aacute;gina, requiere que WP-"
708
+ "PostRatings est&eacute; instalado y activo"
709
+
710
+ #: admin.php:742
711
+ msgid "outputs the URL of the post/page"
712
+ msgstr "muestra la URL de la entrada/p&aacute;gina"
713
+
714
+ #: admin.php:742
715
+ msgid "displays post/page title, no link"
716
+ msgstr ""
717
+ "muestra el t&iacute;tulo de la entrada/p&aacute;gina, sin v&iacute;nculo"
718
+
719
+ #: admin.php:742
720
+ msgid "displays linked author name, requires stats_author=1"
721
+ msgstr ""
722
+ "muestra el nombre del autor con v&iacute;nculo, requiere stats_author=1"
723
+
724
+ #: admin.php:742
725
+ msgid "displays linked category name, requires stats_category=1"
726
+ msgstr ""
727
+ "muestra el nombre de la categor&iacute;a vinculado, requiere stats_category=1"
728
+
729
+ #: admin.php:742
730
+ msgid "displays views count only, no text"
731
+ msgstr "muestra el n&uacute;mero de vistas, sin texto adicional"
732
+
733
+ #: admin.php:742
734
+ msgid "displays comments count only, no text, requires stats_comments=1"
735
+ msgstr ""
736
+ "muestra el n&uacute;mero de comentarios, sin texto adicional, requiere "
737
+ "stats_comments=1"
738
+
739
+ #: admin.php:748
740
+ msgid "Sets the opening tag for each item on the list"
741
+ msgstr "Configura la etiqueta de apertura de cada &iacute;tem del listado"
742
+
743
+ #: admin.php:755
744
+ msgid "Sets the closing tag for each item on the list"
745
+ msgstr "Configura la etiqueta de cierre de cada &iacute;tem del listado"
746
+
747
+ #: admin.php:762
748
+ msgid ""
749
+ "If set, this option will allow you to decide the order of the contents "
750
+ "within each item on the list."
751
+ msgstr ""
752
+ "Si se configura, esta opci&oacute;n te permitir&aacute; decidir el orden de "
753
+ "los contenidos dentro de cada item en la lista."
754
+
755
+ #: admin.php:769
756
+ msgid ""
757
+ "If set, you can decide the order of each content inside a single item on the "
758
+ "list. For example, setting it to \"{title}: {summary}\" would output "
759
+ "something like \"Your Post Title: summary here\". This attribute requires "
760
+ "do_pattern to be true."
761
+ msgstr ""
762
+ "Si se configura, puedes decidir el orden de cada contenido dentro de cada "
763
+ "item en la lista. Por ejemplo, configurarlo como \"{title}: {summary}\" "
764
+ "mostrar&iacute;a \"El t&iacute;tulo de tu entrada: resumen aqu&iacute;\". "
765
+ "Este atributo requiere que do_pattern sea true."
766
+
767
+ #: admin.php:770
768
+ msgid "Available tags"
769
+ msgstr "Etiquetas disponibles"
770
+
771
+ #: admin.php:785
772
+ msgid ""
773
+ "Here you will find a handy group of options to tweak Wordpress Popular Posts."
774
+ msgstr ""
775
+ "Aqu&iacute; encontrar&aacute;s un &uacute;til grupo de opciones para ajustar "
776
+ "a Wordpress Popular Posts."
777
+
778
+ #: admin.php:787
779
+ msgid "Views logging behavior"
780
+ msgstr "Comportamiento del registro de vistas"
781
+
782
+ #: admin.php:793
783
+ msgid "Log views from"
784
+ msgstr "Registrar vistas de"
785
+
786
+ #: admin.php:796
787
+ msgid "Visitors only"
788
+ msgstr "S&oacute;lo visitantes"
789
+
790
+ #: admin.php:797
791
+ msgid "Everyone"
792
+ msgstr "Todos"
793
+
794
+ #: admin.php:814
795
+ msgid "Thumbnail source"
796
+ msgstr "Fuente de la miniatura"
797
+
798
+ #: admin.php:820
799
+ msgid "Default thumbnail"
800
+ msgstr "Miniatura por defecto"
801
+
802
+ #: admin.php:822
803
+ msgid "Upload thumbnail"
804
+ msgstr "Subir miniatura"
805
+
806
+ #: admin.php:825
807
+ msgid ""
808
+ "How-to: upload (or select) an image, set Size to Full and click on Upload. "
809
+ "After it's done, hit on Apply to save changes"
810
+ msgstr ""
811
+ "Tutorial: sube (o selecciona) una imagen, selecciona Tama&ntilde;o Completo "
812
+ "y haz clic en Subir. Cuando termine, dale a Aplicar para guardar los cambios"
813
+
814
+ #: admin.php:827
815
+ msgid "Preview"
816
+ msgstr "Vista previa"
817
+
818
+ #: admin.php:835
819
+ msgid "Pick image from"
820
+ msgstr "Seleccionar imagen desde"
821
+
822
+ #: admin.php:838
823
+ msgid "Featured image"
824
+ msgstr "Imagen destacada"
825
+
826
+ #: admin.php:839
827
+ msgid "First image on post"
828
+ msgstr "Primera imagen de la entrada"
829
+
830
+ #: admin.php:840
831
+ msgid "Custom field"
832
+ msgstr "Custom field"
833
+
834
+ #: admin.php:843
835
+ msgid "Tell Wordpress Popular Posts where it should get thumbnails from"
836
+ msgstr ""
837
+ "Dile a Wordpress Popular Posts de d&oacute;nde debe obtener las miniaturas"
838
+
839
+ #: admin.php:847
840
+ msgid "Custom field name"
841
+ msgstr "Nombre del custom field"
842
+
843
+ #: admin.php:853
844
+ msgid "Resize image from Custom field?"
845
+ msgstr "&iexcl;Ajustar la imagen del Custom field?"
846
+
847
+ #: admin.php:856
848
+ msgid "No, I will upload my own thumbnail"
849
+ msgstr "No, subir&eacute; mi propia miniatura"
850
+
851
+ #: admin.php:857
852
+ msgid "Yes"
853
+ msgstr "S&iacute;"
854
+
855
+ #: admin.php:874
856
+ msgid "Wordpress Popular Posts Stylesheet"
857
+ msgstr "Hoja de estilos de Wordpress Popular Posts"
858
+
859
+ #: admin.php:875
860
+ msgid ""
861
+ "By default, the plugin includes a stylesheet called wpp.css which you can "
862
+ "use to style your popular posts listing. If you wish to use your own "
863
+ "stylesheet or do not want it to have it included in the header section of "
864
+ "your site, use this."
865
+ msgstr ""
866
+ "Por defecto, el plugin incluye una hoja de estilos llamada wpp.css que "
867
+ "puedes utilizar para darle estilos a tu listado de entradas populares. Si "
868
+ "deseas utilizar tu propia hoja de estilos, o no quieres que wpp.css se "
869
+ "incluya en el header de tu sitio web, utiliza esto."
870
+
871
+ #: admin.php:880 admin.php:899
872
+ msgid "Enabled"
873
+ msgstr "Habilitado"
874
+
875
+ #: admin.php:881 admin.php:898
876
+ msgid "Disabled"
877
+ msgstr "Deshabilitado"
878
+
879
+ #: admin.php:890
880
+ msgid "Data tools"
881
+ msgstr "Herramientas de datos"
882
+
883
+ #: admin.php:895
884
+ msgid "Ajaxify widget"
885
+ msgstr "Usar Ajax con el widget"
886
+
887
+ #: admin.php:903
888
+ msgid ""
889
+ "If you are using a caching plugin such as WP Super Cache, enabling this "
890
+ "feature will keep the popular list from being cached by it"
891
+ msgstr ""
892
+ "Si est&aacute;s utilizando un plugin de cacheo como WP Super Cache, "
893
+ "habilitar esta caracter&iacute;stica evitar&aacute; que la lista de entradas "
894
+ "populares sea guardada en cach&eacute;"
895
+
896
+ #: admin.php:907
897
+ msgid "Popular posts listing refresh interval"
898
+ msgstr "Intervalo de refrescamiento de las Entradas Populares"
899
+
900
+ #: admin.php:910
901
+ msgid "Live"
902
+ msgstr "En vivo"
903
+
904
+ #: admin.php:911
905
+ msgid "Custom interval"
906
+ msgstr "Intervalo personalizado"
907
+
908
+ #: admin.php:915
909
+ msgid ""
910
+ "Sets how often the listing should be updated. For most sites the Live option "
911
+ "should be fine, however if you are experiencing slowdowns or your blog gets "
912
+ "a lot of visitors then you might want to change the refresh rate"
913
+ msgstr ""
914
+ "Configura la frecuencia con la que se debe actualizar el listado. Para la "
915
+ "mayor&iacute;a de los sitios la opci&oacute;n En Vivo deber&iacute;a estar "
916
+ "bien, pero si est&aacute;s experimentando lentitud o tu blog recibe muchos "
917
+ "visitantes entonces quiz&aacute;s quieres cambiar la rata de refrescamiento"
918
+
919
+ #: admin.php:919
920
+ msgid "Refresh interval"
921
+ msgstr "Intervalo de refrescamiento"
922
+
923
+ #: admin.php:923
924
+ msgid "Hour(s)"
925
+ msgstr "Hora(s)"
926
+
927
+ #: admin.php:924
928
+ msgid "Day(s)"
929
+ msgstr "D&iacute;a(s)"
930
+
931
+ #: admin.php:925
932
+ msgid "Week(s)"
933
+ msgstr "Semana(s)"
934
+
935
+ #: admin.php:926
936
+ msgid "Month(s)"
937
+ msgstr "Mes(es)"
938
+
939
+ #: admin.php:927
940
+ msgid "Year(s)"
941
+ msgstr "A&ntilde;o(s)"
942
+
943
+ #: admin.php:930
944
+ msgid "Really? That long?"
945
+ msgstr "&iquest;En serio? &iquest;Tanto tiempo?"
946
+
947
+ #: admin.php:945
948
+ msgid ""
949
+ "Wordpress Popular Posts maintains data in two separate tables: one for "
950
+ "storing the most popular entries in the past 30 days (from now on, \"cache"
951
+ "\"), and another one to keep the All-time data (from now on, \"historical "
952
+ "data\" or just \"data\"). If for some reason you need to clear the cache "
953
+ "table, or even both historical and cache tables, please use the buttons "
954
+ "below to do so."
955
+ msgstr ""
956
+ "Wordpress Popular Posts mantiene la data en dos tablas separadas: una para "
957
+ "guardar las entradas m&aacute;s populares de los &uacute;ltimos 30 d&iacute;"
958
+ "as (\"cach&eacute;\", de aqu&iacute; en adelante), y otra tabla para "
959
+ "almacenar la data de Todos los tiempos (\"data hist&oacute;rica\" o "
960
+ "simplemente \"data\"). Si por alguna raz&oacute;n necesitas vaciar la tabla "
961
+ "cach&eacute;, o inclusive las dos tablas hist&oacute;ricas y de "
962
+ "cach&eacute;, por favor utiliza los botones de abajo."
963
+
964
+ #: admin.php:946
965
+ msgid "Empty cache"
966
+ msgstr "Vaciar el cach&eacute;"
967
+
968
+ #: admin.php:946
969
+ msgid "Use this button to manually clear entries from WPP cache only"
970
+ msgstr ""
971
+ "Utiliza este bot&oacute;n para vaciar manualmente s&oacute;lo las entradas "
972
+ "del cach&eacute; de WPP"
973
+
974
+ #: admin.php:947
975
+ msgid "Clear all data"
976
+ msgstr "Eliminar toda la data"
977
+
978
+ #: admin.php:947
979
+ msgid "Use this button to manually clear entries from all WPP data tables"
980
+ msgstr ""
981
+ "Utiliza este bot&oacute;n para limpiar manualmente las tablas de datos de WPP"
982
+
983
+ #: admin.php:953
984
+ msgid "Do you like this plugin?"
985
+ msgstr "&iquest;Te gusta este plugin?"
986
+
987
+ #: admin.php:953
988
+ msgid "Rate Wordpress Popular Posts!"
989
+ msgstr "&iexcl;Califica a Wordpress Popular Posts!"
990
+
991
+ #: admin.php:953
992
+ msgid "Rate it"
993
+ msgstr "&iexcl;Calif&iacute;calo"
994
+
995
+ #: admin.php:953
996
+ msgid "on the official Plugin Directory!"
997
+ msgstr "en el Directorio Oficial de Plugins!"
998
+
999
+ #: admin.php:954
1000
+ msgid "Do you love this plugin?"
1001
+ msgstr "&iquest;Adoras este plugin?"
1002
+
1003
+ #: admin.php:954 admin.php:955
1004
+ msgid "Buy me a beer!"
1005
+ msgstr "&iexcl;C&oacute;mprame una cerveza!"
1006
+
1007
+ #: admin.php:954
1008
+ msgid ""
1009
+ "Each donation motivates me to keep releasing free stuff for the Wordpress "
1010
+ "community!"
1011
+ msgstr ""
1012
+ "&iexcl;Cada donaci&oacute;n me motiva a seguir publicando cosas gratuitas "
1013
+ "para la comunidad de Wordpress!"
1014
+
1015
+ #: wordpress-popular-posts.php:129
1016
+ msgid "The most Popular Posts on your blog."
1017
+ msgstr "Las entradas m&aacute;s populares en tu blog."
1018
+
1019
+ #: wordpress-popular-posts.php:376
1020
+ msgid "Title:"
1021
+ msgstr "T&iacute;tulo:"
1022
+
1023
+ #: wordpress-popular-posts.php:376 wordpress-popular-posts.php:378
1024
+ #: wordpress-popular-posts.php:380 wordpress-popular-posts.php:388
1025
+ #: wordpress-popular-posts.php:399 wordpress-popular-posts.php:401
1026
+ #: wordpress-popular-posts.php:408 wordpress-popular-posts.php:412
1027
+ #: wordpress-popular-posts.php:425 wordpress-popular-posts.php:439
1028
+ #: wordpress-popular-posts.php:451 wordpress-popular-posts.php:452
1029
+ #: wordpress-popular-posts.php:453 wordpress-popular-posts.php:454
1030
+ #: wordpress-popular-posts.php:464 wordpress-popular-posts.php:470
1031
+ msgid "What is this?"
1032
+ msgstr "&iquest;Qu&eacute; es esto?"
1033
+
1034
+ #: wordpress-popular-posts.php:378
1035
+ msgid "Show up to:"
1036
+ msgstr "Mostrar hasta:"
1037
+
1038
+ #: wordpress-popular-posts.php:379
1039
+ msgid "posts"
1040
+ msgstr "entradas"
1041
+
1042
+ #: wordpress-popular-posts.php:380
1043
+ msgid "Time Range:"
1044
+ msgstr "Rango de Tiempo"
1045
+
1046
+ #: wordpress-popular-posts.php:388
1047
+ msgid "Sort posts by:"
1048
+ msgstr "Ordenar entradas por:"
1049
+
1050
+ #: wordpress-popular-posts.php:390
1051
+ msgid "Comments"
1052
+ msgstr "Comentarios"
1053
+
1054
+ #: wordpress-popular-posts.php:391
1055
+ msgid "Total views"
1056
+ msgstr "Total de vistas"
1057
+
1058
+ #: wordpress-popular-posts.php:392
1059
+ msgid "Avg. daily views"
1060
+ msgstr "Porcentaje de vistas diarias"
1061
+
1062
+ #: wordpress-popular-posts.php:397
1063
+ msgid "Posts settings"
1064
+ msgstr "Configuraci&oacute;n de las entradas"
1065
+
1066
+ #: wordpress-popular-posts.php:399
1067
+ msgid "Display post rating"
1068
+ msgstr "Mostrar rating de la entrada"
1069
+
1070
+ #: wordpress-popular-posts.php:401
1071
+ msgid "Shorten title"
1072
+ msgstr "Acortar t&iacute;tulo"
1073
+
1074
+ #: wordpress-popular-posts.php:404
1075
+ msgid "Shorten title to"
1076
+ msgstr "Acortar t&iacute;tulo en"
1077
+
1078
+ #: wordpress-popular-posts.php:405 wordpress-popular-posts.php:415
1079
+ msgid "characters"
1080
+ msgstr "caracteres"
1081
+
1082
+ #: wordpress-popular-posts.php:406 wordpress-popular-posts.php:416
1083
+ msgid "words"
1084
+ msgstr "palabras"
1085
+
1086
+ #: wordpress-popular-posts.php:408
1087
+ msgid "Display post excerpt"
1088
+ msgstr "Mostrar resumen de la entrada"
1089
+
1090
+ #: wordpress-popular-posts.php:411
1091
+ msgid "Excerpt Properties"
1092
+ msgstr "Propiedades del resumen"
1093
+
1094
+ #: wordpress-popular-posts.php:412
1095
+ msgid "Keep text format and links"
1096
+ msgstr "Mantener formato de texto y links"
1097
+
1098
+ #: wordpress-popular-posts.php:413
1099
+ msgid "Excerpt length:"
1100
+ msgstr "Largo del resumen:"
1101
+
1102
+ #: wordpress-popular-posts.php:425
1103
+ msgid "Filters:"
1104
+ msgstr "Filtros:"
1105
+
1106
+ #: wordpress-popular-posts.php:426
1107
+ msgid "Post type(s):"
1108
+ msgstr "Post type(s):"
1109
+
1110
+ #: wordpress-popular-posts.php:428
1111
+ msgid "Post(s) ID(s) to exclude:"
1112
+ msgstr "ID(s) de Entrada(s) a excluir:"
1113
+
1114
+ #: wordpress-popular-posts.php:430
1115
+ msgid "Category(ies) ID(s):"
1116
+ msgstr "ID(s) de Categor&iacute;a(s):"
1117
+
1118
+ #: wordpress-popular-posts.php:432
1119
+ msgid "Author(s) ID(s):"
1120
+ msgstr "ID(s) de Autor(es):"
1121
+
1122
+ #: wordpress-popular-posts.php:438
1123
+ msgid "Thumbnail settings"
1124
+ msgstr "Configuraci&oacute;n de miniatura"
1125
+
1126
+ #: wordpress-popular-posts.php:439
1127
+ msgid "Display post thumbnail"
1128
+ msgstr "Mostrar miniatura"
1129
+
1130
+ #: wordpress-popular-posts.php:441
1131
+ msgid "Width:"
1132
+ msgstr "Ancho:"
1133
+
1134
+ #: wordpress-popular-posts.php:442 wordpress-popular-posts.php:444
1135
+ msgid "px"
1136
+ msgstr "px"
1137
+
1138
+ #: wordpress-popular-posts.php:443
1139
+ msgid "Height:"
1140
+ msgstr "Alto:"
1141
+
1142
+ #: wordpress-popular-posts.php:450
1143
+ msgid "Stats Tag settings"
1144
+ msgstr "Configuraci&oacute;n del Stats Tag"
1145
+
1146
+ #: wordpress-popular-posts.php:451
1147
+ msgid "Display comment count"
1148
+ msgstr "Mostrar cantidad de comentarios"
1149
+
1150
+ #: wordpress-popular-posts.php:452
1151
+ msgid "Display views"
1152
+ msgstr "Mostrar vistas"
1153
+
1154
+ #: wordpress-popular-posts.php:453
1155
+ msgid "Display author"
1156
+ msgstr "Mostrar autor"
1157
+
1158
+ #: wordpress-popular-posts.php:454
1159
+ msgid "Display date"
1160
+ msgstr "Mostrar fecha"
1161
+
1162
+ #: wordpress-popular-posts.php:457
1163
+ msgid "Date Format"
1164
+ msgstr "Formato de la fecha"
1165
+
1166
+ #: wordpress-popular-posts.php:464
1167
+ msgid "Display category"
1168
+ msgstr "Mostrar categor&iacute;a"
1169
+
1170
+ #: wordpress-popular-posts.php:469
1171
+ msgid "HTML Markup settings"
1172
+ msgstr "Configuraci&oacute;n del Markup HTML"
1173
+
1174
+ #: wordpress-popular-posts.php:470
1175
+ msgid "Use custom HTML Markup"
1176
+ msgstr "Utilizar Markup HTML personalizado"
1177
+
1178
+ #: wordpress-popular-posts.php:473
1179
+ msgid "Before / after title:"
1180
+ msgstr "Antes / despu&eacute;s del t&iacute;tulo:"
1181
+
1182
+ #: wordpress-popular-posts.php:475
1183
+ msgid "Before / after Popular Posts:"
1184
+ msgstr "Antes / despu&eacute;s de las entradas populares"
1185
+
1186
+ #: wordpress-popular-posts.php:478
1187
+ msgid "Post HTML Markup:"
1188
+ msgstr "Markup HTML de la Entrada:"
1189
+
1190
+ #: wordpress-popular-posts.php:628
1191
+ msgid "Success! The cache table has been cleared!"
1192
+ msgstr "&iexcl;&Eacute;xito! &iexcl;La tabla cach&eacute; ha sido borrada!"
1193
+
1194
+ #: wordpress-popular-posts.php:630
1195
+ msgid "Error: cache table does not exist."
1196
+ msgstr "Error: la tabla cach&eacute; no existe."
1197
+
1198
+ #: wordpress-popular-posts.php:636
1199
+ msgid "Success! All data have been cleared!"
1200
+ msgstr "&iexcl;&Eacute;xito! &iexcl;Toda la data ha sido borrada!"
1201
+
1202
+ #: wordpress-popular-posts.php:638
1203
+ msgid "Error: one or both data tables are missing."
1204
+ msgstr "Error: una o ambas tablas de datos no existen."
1205
+
1206
+ #: wordpress-popular-posts.php:641
1207
+ msgid "Invalid action."
1208
+ msgstr "Acci&oacute;n inv&aacute;lida."
1209
+
1210
+ #: wordpress-popular-posts.php:644
1211
+ msgid ""
1212
+ "Sorry, you do not have enough permissions to do this. Please contact the "
1213
+ "site administrator for support."
1214
+ msgstr ""
1215
+ "Lo lamento, no tienes permisos suficientes para hacer esto. Por favor "
1216
+ "contacta al administrador del sitio."
1217
+
1218
+ #: wordpress-popular-posts.php:1068
1219
+ msgid "Sorry. No data so far."
1220
+ msgstr "Lo lamentamos. No hay nada que mostrar a&uacute;n."
1221
+
1222
+ #: wordpress-popular-posts.php:1150
1223
+ msgid "comment"
1224
+ msgstr "comentario"
1225
+
1226
+ #: wordpress-popular-posts.php:1150
1227
+ msgid "comments"
1228
+ msgstr "comentarios"
1229
+
1230
+ #: wordpress-popular-posts.php:1158
1231
+ msgid "view per day"
1232
+ msgstr "vista por d&iacute;a"
1233
+
1234
+ #: wordpress-popular-posts.php:1158
1235
+ msgid "views per day"
1236
+ msgstr "vistas por d&iacute;a"
1237
+
1238
+ #: wordpress-popular-posts.php:1162
1239
+ msgid "view"
1240
+ msgstr "vista"
1241
+
1242
+ #: wordpress-popular-posts.php:1162
1243
+ msgid "views"
1244
+ msgstr "vistas"
1245
+
1246
+ #: wordpress-popular-posts.php:1171
1247
+ msgid "by"
1248
+ msgstr "por"
1249
+
1250
+ #: wordpress-popular-posts.php:1175
1251
+ msgid "posted on"
1252
+ msgstr "publicado el"
1253
+
1254
+ #: wordpress-popular-posts.php:1183
1255
+ msgid "under"
1256
+ msgstr "bajo"
1257
+
1258
+ #: wordpress-popular-posts.php:1753
1259
+ msgid "Upload"
1260
+ msgstr "Subir"
1261
+
1262
+ #: wordpress-popular-posts.php:1765
1263
+ msgid ""
1264
+ "Your Wordpress version is too old. Wordpress Popular Posts Plugin requires "
1265
+ "at least version 2.8 to function correctly. Please update your blog via "
1266
+ "Tools &gt; Upgrade."
1267
+ msgstr ""
1268
+ "Tu versi&oacute;n de Wordpress es muy antigua. El plugin Wordpress Popular "
1269
+ "Posts requiere al menos la versi&oacute;n 2.8 para funcionar correctamente. "
1270
+ "Por favor actualiza tu blog via Herramientas &gt; Actualizaciones."
1271
+
1272
+ #: wordpress-popular-posts.php:1774
1273
+ msgid ""
1274
+ "Your PHP installation is too old. Wordpress Popular Posts Plugin requires at "
1275
+ "least PHP v5.2.0 to function correctly. Please contact your hosting provider "
1276
+ "and ask them to upgrade PHP to 5.2.x or higher."
1277
+ msgstr ""
1278
+ "Tu versi&oacute;n de PHP es muy antigua. El plugin Wordpress Popular Posts "
1279
+ "requiere al menos PHP v5.2.0 para funcionar correctamente. Por favor "
1280
+ "contacta a tu proveedor de hosting y solicita que se actualice PHP a 5.2.x o "
1281
+ "mejor."
1282
+
1283
+ #~ msgid "What does \"Use content formatting tags\" do?"
1284
+ #~ msgstr ""
1285
+ #~ "&iquest;Qu&eacute; hace \"Utilizar etiquetas de formato de contenido\"?"
1286
+
1287
+ #~ msgid "Before / after each post:"
1288
+ #~ msgstr "Antes / despu&eacute;s de cada entrada"
1289
+
1290
+ #~ msgid "Use content formatting tags"
1291
+ #~ msgstr "Utilizar etiquetas de formato de contenido"
1292
+
1293
+ #~ msgid "Content format:"
1294
+ #~ msgstr "Formato de contenido:"
1295
+
1296
+ #~ msgid "Wordpress Popular Posts Stats"
1297
+ #~ msgstr "Estad&iacute;sticas de Wordpress Popular Posts"
lang/wordpress-popular-posts-fa_IR.mo ADDED
Binary file
lang/wordpress-popular-posts-fa_IR.po ADDED
@@ -0,0 +1,1120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Wordpress Popular Posts\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-06-30 12:50+0330\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Hector Cabrera <me@cabrerahector.com>\n"
8
+ "Language-Team: Higgs <msz.zarei@gmail.com>\n"
9
+ "Language: fa_IR\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-SourceCharset: UTF-8\n"
14
+ "X-Poedit-KeywordsList: __;_e\n"
15
+ "X-Poedit-Basepath: .\n"
16
+ "X-Generator: Poedit 1.5.5\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPath-1: ..\n"
19
+
20
+ #: ../admin.php:67 ../admin.php:73 ../admin.php:85 ../admin.php:96
21
+ #: ../admin.php:104
22
+ msgid "Settings saved."
23
+ msgstr "ذخیره تنظیمات"
24
+
25
+ #: ../admin.php:78
26
+ msgid "Please provide the name of your custom field."
27
+ msgstr ""
28
+
29
+ #: ../admin.php:345
30
+ msgid ""
31
+ "This operation will delete all entries from Wordpress Popular Posts' cache "
32
+ "table and cannot be undone."
33
+ msgstr ""
34
+
35
+ #: ../admin.php:345 ../admin.php:353
36
+ msgid "Do you want to continue?"
37
+ msgstr "میخواهید ادامه دهید؟"
38
+
39
+ #: ../admin.php:353
40
+ msgid ""
41
+ "This operation will delete all stored info from Wordpress Popular Posts' "
42
+ "data tables and cannot be undone."
43
+ msgstr ""
44
+
45
+ #: ../admin.php:367
46
+ msgid "Stats"
47
+ msgstr "آمار"
48
+
49
+ #: ../admin.php:368
50
+ msgid "FAQ"
51
+ msgstr "راهنمایی"
52
+
53
+ #: ../admin.php:369
54
+ msgid "Tools"
55
+ msgstr "ابزار"
56
+
57
+ #: ../admin.php:373
58
+ msgid ""
59
+ "Click on each tab to see what are the most popular entries on your blog in "
60
+ "the last 24 hours, this week, last 30 days or all time since Wordpress "
61
+ "Popular Posts was installed."
62
+ msgstr ""
63
+
64
+ #: ../admin.php:379
65
+ msgid "Order by comments"
66
+ msgstr "مرتب سازی بر اساس دیدگاه"
67
+
68
+ #: ../admin.php:380
69
+ msgid "Order by views"
70
+ msgstr "مرتب سازی بر اساس بازدید"
71
+
72
+ #: ../admin.php:381
73
+ msgid "Order by avg. daily views"
74
+ msgstr "مرتب سازی بر اساس میانگین بازدید روزانه"
75
+
76
+ #: ../admin.php:383
77
+ msgid "Post type"
78
+ msgstr "نوع نوشته:"
79
+
80
+ #: ../admin.php:384
81
+ msgid "Limit"
82
+ msgstr "محدود"
83
+
84
+ #: ../admin.php:386 ../admin.php:805 ../admin.php:864 ../admin.php:884
85
+ #: ../admin.php:936
86
+ msgid "Apply"
87
+ msgstr "اعمال کردن"
88
+
89
+ #: ../admin.php:392 ../wordpress-popular-posts.php:382
90
+ msgid "Last 24 hours"
91
+ msgstr "24 ساعت گذشته"
92
+
93
+ #: ../admin.php:393 ../wordpress-popular-posts.php:383
94
+ msgid "Last 7 days"
95
+ msgstr "هفت روز گذشته"
96
+
97
+ #: ../admin.php:394 ../wordpress-popular-posts.php:384
98
+ msgid "Last 30 days"
99
+ msgstr "30 روز گذشته"
100
+
101
+ #: ../admin.php:395 ../wordpress-popular-posts.php:385
102
+ msgid "All-time"
103
+ msgstr "همه زمان ها"
104
+
105
+ #: ../admin.php:416
106
+ msgid "Frequently Asked Questions"
107
+ msgstr ""
108
+
109
+ #: ../admin.php:420
110
+ msgid "What does \"Title\" do?"
111
+ msgstr ""
112
+
113
+ #: ../admin.php:422
114
+ msgid ""
115
+ "It allows you to show a heading for your most popular posts listing. If left "
116
+ "empty, no heading will be displayed at all."
117
+ msgstr ""
118
+
119
+ #: ../admin.php:425
120
+ msgid "What is Time Range for?"
121
+ msgstr ""
122
+
123
+ #: ../admin.php:427
124
+ msgid ""
125
+ "It will tell Wordpress Popular Posts to retrieve all posts with most views / "
126
+ "comments within the selected time range."
127
+ msgstr ""
128
+
129
+ #: ../admin.php:430
130
+ msgid "What is \"Sort post by\" for?"
131
+ msgstr ""
132
+
133
+ #: ../admin.php:432
134
+ msgid ""
135
+ "It allows you to decide whether to order your popular posts listing by total "
136
+ "views, comments, or average views per day."
137
+ msgstr ""
138
+
139
+ #: ../admin.php:435
140
+ msgid "What does \"Display post rating\" do?"
141
+ msgstr ""
142
+
143
+ #: ../admin.php:437
144
+ msgid ""
145
+ "If checked, Wordpress Popular Posts will show how your readers are rating "
146
+ "your most popular posts. This feature requires having WP-PostRatings plugin "
147
+ "installed and enabled on your blog for it to work."
148
+ msgstr ""
149
+
150
+ #: ../admin.php:440
151
+ msgid "What does \"Shorten title\" do?"
152
+ msgstr ""
153
+
154
+ #: ../admin.php:442
155
+ msgid ""
156
+ "If checked, all posts titles will be shortened to \"n\" characters/words. A "
157
+ "new \"Shorten title to\" option will appear so you can set it to whatever "
158
+ "you like."
159
+ msgstr ""
160
+
161
+ #: ../admin.php:445
162
+ msgid "What does \"Display post excerpt\" do?"
163
+ msgstr ""
164
+
165
+ #: ../admin.php:447
166
+ msgid ""
167
+ "If checked, Wordpress Popular Posts will also include a small extract of "
168
+ "your posts in the list. Similarly to the previous option, you will be able "
169
+ "to decide how long the post excerpt should be."
170
+ msgstr ""
171
+
172
+ #: ../admin.php:450
173
+ msgid "What does \"Keep text format and links\" do?"
174
+ msgstr ""
175
+
176
+ #: ../admin.php:452
177
+ msgid ""
178
+ "If checked, and if the Post Excerpt feature is enabled, Wordpress Popular "
179
+ "Posts will keep the styling tags (eg. bold, italic, etc) that were found in "
180
+ "the excerpt. Hyperlinks will remain intact, too."
181
+ msgstr ""
182
+
183
+ #: ../admin.php:455
184
+ msgid "What is \"Post type\" for?"
185
+ msgstr ""
186
+
187
+ #: ../admin.php:457
188
+ msgid ""
189
+ "This filter allows you to decide which post types to show on the listing. By "
190
+ "default, it will retrieve only posts and pages (which should be fine for "
191
+ "most cases)."
192
+ msgstr ""
193
+
194
+ #: ../admin.php:460
195
+ msgid "What is \"Category(ies) ID(s)\" for?"
196
+ msgstr ""
197
+
198
+ #: ../admin.php:462
199
+ msgid ""
200
+ "This filter allows you to select which categories should be included or "
201
+ "excluded from the listing. A negative sign in front of the category ID "
202
+ "number will exclude posts belonging to it from the list, for example. You "
203
+ "can specify more than one ID with a comma separated list."
204
+ msgstr ""
205
+
206
+ #: ../admin.php:465
207
+ msgid "What is \"Author(s) ID(s)\" for?"
208
+ msgstr ""
209
+
210
+ #: ../admin.php:467
211
+ msgid ""
212
+ "Just like the Category filter, this one lets you filter posts by author ID. "
213
+ "You can specify more than one ID with a comma separated list."
214
+ msgstr ""
215
+
216
+ #: ../admin.php:470
217
+ msgid "What does \"Display post thumbnail\" do?"
218
+ msgstr ""
219
+
220
+ #: ../admin.php:472
221
+ msgid ""
222
+ "If checked, Wordpress Popular Posts will attempt to retrieve the thumbnail "
223
+ "of each post. You can set up the source of the thumbnail via Settings - "
224
+ "Wordpress Popular Posts - Tools."
225
+ msgstr ""
226
+
227
+ #: ../admin.php:475
228
+ msgid "What does \"Display comment count\" do?"
229
+ msgstr ""
230
+
231
+ #: ../admin.php:477
232
+ msgid ""
233
+ "If checked, Wordpress Popular Posts will display how many comments each "
234
+ "popular post has got in the selected Time Range."
235
+ msgstr ""
236
+
237
+ #: ../admin.php:480
238
+ msgid "What does \"Display views\" do?"
239
+ msgstr ""
240
+
241
+ #: ../admin.php:482
242
+ msgid ""
243
+ "If checked, Wordpress Popular Posts will show how many pageviews a single "
244
+ "post has gotten in the selected Time Range."
245
+ msgstr ""
246
+
247
+ #: ../admin.php:485
248
+ msgid "What does \"Display author\" do?"
249
+ msgstr ""
250
+
251
+ #: ../admin.php:487
252
+ msgid ""
253
+ "If checked, Wordpress Popular Posts will display the name of the author of "
254
+ "each entry listed."
255
+ msgstr ""
256
+
257
+ #: ../admin.php:490
258
+ msgid "What does \"Display date\" do?"
259
+ msgstr ""
260
+
261
+ #: ../admin.php:492
262
+ msgid ""
263
+ "If checked, Wordpress Popular Posts will display the date when each popular "
264
+ "posts was published."
265
+ msgstr ""
266
+
267
+ #: ../admin.php:495
268
+ msgid "What does \"Use custom HTML Markup\" do?"
269
+ msgstr ""
270
+
271
+ #: ../admin.php:497
272
+ msgid ""
273
+ "If checked, you will be able to customize the HTML markup of your popular "
274
+ "posts listing. For example, you can decide whether to wrap your posts in an "
275
+ "unordered list, an ordered list, a div, etc. If you know xHTML/CSS, this is "
276
+ "for you!"
277
+ msgstr ""
278
+
279
+ #: ../admin.php:500
280
+ msgid "What are \"Content Tags\"?"
281
+ msgstr "\"مطالب و محتوا برچسب ها\" چیست؟"
282
+
283
+ #: ../admin.php:502
284
+ msgid ""
285
+ "Content Tags are codes to display a variety of items on your popular posts "
286
+ "custom HTML structure. For example, setting it to \"{title}: "
287
+ "{summary}\" (without the quotes) would display \"Post title: excerpt of the "
288
+ "post here\". For more Content Tags, see \"List of parameters accepted by "
289
+ "wpp_get_mostpopular() and the [wpp] shortcode\"."
290
+ msgstr ""
291
+
292
+ #: ../admin.php:505
293
+ msgid "What are \"Template Tags\"?"
294
+ msgstr ""
295
+
296
+ #: ../admin.php:507
297
+ msgid ""
298
+ "Template Tags are simply php functions that allow you to perform certain "
299
+ "actions. For example, Wordpress Popular Posts currently supports two "
300
+ "different template tags: wpp_get_mostpopular() and wpp_get_views()."
301
+ msgstr ""
302
+
303
+ #: ../admin.php:510
304
+ msgid "What are the template tags that Wordpress Popular Posts supports?"
305
+ msgstr ""
306
+
307
+ #: ../admin.php:512
308
+ msgid ""
309
+ "The following are the template tags supported by Wordpress Popular Posts"
310
+ msgstr ""
311
+
312
+ #: ../admin.php:516
313
+ msgid "Template tag"
314
+ msgstr "قالب برچسب"
315
+
316
+ #: ../admin.php:517 ../admin.php:550
317
+ msgid "What it does "
318
+ msgstr ""
319
+
320
+ #: ../admin.php:518
321
+ msgid "Parameters"
322
+ msgstr "پارامتر ها"
323
+
324
+ #: ../admin.php:519 ../admin.php:553
325
+ msgid "Example"
326
+ msgstr "مثال"
327
+
328
+ #: ../admin.php:525
329
+ msgid ""
330
+ "Similar to the widget functionality, this tag retrieves the most popular "
331
+ "posts on your blog. This function also accepts parameters so you can "
332
+ "customize your popular listing, but these are not required."
333
+ msgstr ""
334
+
335
+ #: ../admin.php:526
336
+ msgid ""
337
+ "Please refer to \"List of parameters accepted by wpp_get_mostpopular() and "
338
+ "the [wpp] shortcode\"."
339
+ msgstr ""
340
+
341
+ #: ../admin.php:531
342
+ msgid ""
343
+ "Displays the number of views of a single post. Post ID is required or it "
344
+ "will return false."
345
+ msgstr ""
346
+
347
+ #: ../admin.php:532
348
+ msgid "Post ID"
349
+ msgstr "شناسه نوشته"
350
+
351
+ #: ../admin.php:539
352
+ msgid "What are \"shortcodes\"?"
353
+ msgstr "کد های کوتاه چه هستند؟"
354
+
355
+ #: ../admin.php:541
356
+ msgid ""
357
+ "Shortcodes are similar to BB Codes, these allow us to call a php function by "
358
+ "simply typing something like [shortcode]. With Wordpress Popular Posts, the "
359
+ "shortcode [wpp] will let you insert a list of the most popular posts in "
360
+ "posts content and pages too! For more information about shortcodes, please "
361
+ "visit"
362
+ msgstr ""
363
+
364
+ #: ../admin.php:543
365
+ msgid ""
366
+ "List of parameters accepted by wpp_get_mostpopular() and the [wpp] shortcode"
367
+ msgstr ""
368
+
369
+ #: ../admin.php:545
370
+ msgid ""
371
+ "These parameters can be used by both the template tag wpp_get_most_popular() "
372
+ "and the shortcode [wpp]."
373
+ msgstr ""
374
+
375
+ #: ../admin.php:549
376
+ msgid "Parameter"
377
+ msgstr "پارامتر ها"
378
+
379
+ #: ../admin.php:551
380
+ msgid "Possible values"
381
+ msgstr ""
382
+
383
+ #: ../admin.php:552
384
+ msgid "Defaults to"
385
+ msgstr ""
386
+
387
+ #: ../admin.php:559
388
+ msgid "Sets a heading for the list"
389
+ msgstr ""
390
+
391
+ #: ../admin.php:560 ../admin.php:567 ../admin.php:574 ../admin.php:602
392
+ #: ../admin.php:609 ../admin.php:616 ../admin.php:623 ../admin.php:714
393
+ #: ../admin.php:728 ../admin.php:735 ../admin.php:749 ../admin.php:756
394
+ msgid "Text string"
395
+ msgstr "رشته متن"
396
+
397
+ #: ../admin.php:561 ../wordpress-popular-posts.php:126
398
+ msgid "Popular Posts"
399
+ msgstr "محبوبترین نوشته ها"
400
+
401
+ #: ../admin.php:566
402
+ msgid "Set the opening tag for the heading of the list"
403
+ msgstr ""
404
+
405
+ #: ../admin.php:573
406
+ msgid "Set the closing tag for the heading of the list"
407
+ msgstr ""
408
+
409
+ #: ../admin.php:580
410
+ msgid "Sets the maximum number of popular posts to be shown on the listing"
411
+ msgstr ""
412
+
413
+ #: ../admin.php:581 ../admin.php:630 ../admin.php:644 ../admin.php:665
414
+ #: ../admin.php:672
415
+ msgid "Positive integer"
416
+ msgstr "مقدار صحیح مثبت"
417
+
418
+ #: ../admin.php:587
419
+ msgid ""
420
+ "Tells Wordpress Popular Posts to retrieve the most popular entries within "
421
+ "the time range specified by you"
422
+ msgstr ""
423
+
424
+ #: ../admin.php:594
425
+ msgid "Sets the sorting option of the popular posts"
426
+ msgstr ""
427
+
428
+ #: ../admin.php:595
429
+ msgid "(for average views per day)"
430
+ msgstr ""
431
+
432
+ #: ../admin.php:601
433
+ msgid "Defines the type of posts to show on the listing"
434
+ msgstr ""
435
+
436
+ #: ../admin.php:608
437
+ msgid ""
438
+ "If set, Wordpress Popular Posts will exclude the specified post(s) ID(s) "
439
+ "form the listing."
440
+ msgstr ""
441
+
442
+ #: ../admin.php:610 ../admin.php:617 ../admin.php:624
443
+ msgid "None"
444
+ msgstr "هیچ"
445
+
446
+ #: ../admin.php:615
447
+ msgid ""
448
+ "If set, Wordpress Popular Posts will retrieve all entries that belong to the "
449
+ "specified category(ies) ID(s). If a minus sign is used, the category(ies) "
450
+ "will be excluded instead."
451
+ msgstr ""
452
+
453
+ #: ../admin.php:622
454
+ msgid ""
455
+ "If set, Wordpress Popular Posts will retrieve all entries created by "
456
+ "specified author(s) ID(s)."
457
+ msgstr ""
458
+
459
+ #: ../admin.php:629
460
+ msgid ""
461
+ "If set, Wordpress Popular Posts will shorten each post title to \"n\" "
462
+ "characters whenever possible"
463
+ msgstr ""
464
+
465
+ #: ../admin.php:636
466
+ msgid ""
467
+ "If set to 1, Wordpress Popular Posts will shorten each post title to \"n\" "
468
+ "words instead of characters"
469
+ msgstr ""
470
+
471
+ #: ../admin.php:643
472
+ msgid ""
473
+ "If set, Wordpress Popular Posts will build and include an excerpt of \"n\" "
474
+ "characters long from the content of each post listed as popular"
475
+ msgstr ""
476
+
477
+ #: ../admin.php:650
478
+ msgid ""
479
+ "If set, Wordpress Popular Posts will maintaing all styling tags (strong, "
480
+ "italic, etc) and hyperlinks found in the excerpt"
481
+ msgstr ""
482
+
483
+ #: ../admin.php:657
484
+ msgid ""
485
+ "If set to 1, Wordpress Popular Posts will shorten the excerpt to \"n\" words "
486
+ "instead of characters"
487
+ msgstr ""
488
+
489
+ #: ../admin.php:664
490
+ msgid ""
491
+ "If set, and if your current server configuration allows it, you will be able "
492
+ "to display thumbnails of your posts. This attribute sets the width for "
493
+ "thumbnails"
494
+ msgstr ""
495
+
496
+ #: ../admin.php:671
497
+ msgid ""
498
+ "If set, and if your current server configuration allows it, you will be able "
499
+ "to display thumbnails of your posts. This attribute sets the height for "
500
+ "thumbnails"
501
+ msgstr ""
502
+
503
+ #: ../admin.php:678
504
+ msgid ""
505
+ "If set, and if the WP-PostRatings plugin is installed and enabled on your "
506
+ "blog, Wordpress Popular Posts will show how your visitors are rating your "
507
+ "entries"
508
+ msgstr ""
509
+
510
+ #: ../admin.php:685
511
+ msgid ""
512
+ "If set, Wordpress Popular Posts will show how many comments each popular "
513
+ "post has got until now"
514
+ msgstr ""
515
+
516
+ #: ../admin.php:692
517
+ msgid ""
518
+ "If set, Wordpress Popular Posts will show how many views each popular post "
519
+ "has got since it was installed"
520
+ msgstr ""
521
+
522
+ #: ../admin.php:699
523
+ msgid ""
524
+ "If set, Wordpress Popular Posts will show who published each popular post on "
525
+ "the list"
526
+ msgstr ""
527
+
528
+ #: ../admin.php:706
529
+ msgid ""
530
+ "If set, Wordpress Popular Posts will display the date when each popular post "
531
+ "on the list was published"
532
+ msgstr ""
533
+
534
+ #: ../admin.php:713
535
+ msgid "Sets the date format"
536
+ msgstr "ثبت فرمت تاریخ"
537
+
538
+ #: ../admin.php:720
539
+ msgid "If set, Wordpress Popular Posts will display the category"
540
+ msgstr "اگر ست شد،دسته محبوترین نوشته های وردپرس نمایش خواهد یافت"
541
+
542
+ #: ../admin.php:727
543
+ msgid "Sets the opening tag for the listing"
544
+ msgstr ""
545
+
546
+ #: ../admin.php:734
547
+ msgid "Sets the closing tag for the listing"
548
+ msgstr ""
549
+
550
+ #: ../admin.php:741
551
+ msgid "Sets the HTML structure of each post"
552
+ msgstr ""
553
+
554
+ #: ../admin.php:742
555
+ msgid "Text string, custom HTML"
556
+ msgstr "رشته متن، html دلخواه"
557
+
558
+ #: ../admin.php:742
559
+ msgid "Available Content Tags"
560
+ msgstr "برچسب های محتوای موجود"
561
+
562
+ #: ../admin.php:742
563
+ msgid "displays thumbnail linked to post/page"
564
+ msgstr ""
565
+
566
+ #: ../admin.php:742
567
+ msgid "displays linked post/page title"
568
+ msgstr ""
569
+
570
+ #: ../admin.php:742
571
+ msgid ""
572
+ "displays post/page excerpt, and requires excerpt_length to be greater than 0"
573
+ msgstr ""
574
+
575
+ #: ../admin.php:742
576
+ msgid "displays the default stats tags"
577
+ msgstr ""
578
+
579
+ #: ../admin.php:742
580
+ msgid ""
581
+ "displays post/page current rating, requires WP-PostRatings installed and "
582
+ "enabled"
583
+ msgstr ""
584
+
585
+ #: ../admin.php:742
586
+ msgid "outputs the URL of the post/page"
587
+ msgstr ""
588
+
589
+ #: ../admin.php:742
590
+ msgid "displays post/page title, no link"
591
+ msgstr ""
592
+
593
+ #: ../admin.php:742
594
+ msgid "displays linked author name, requires stats_author=1"
595
+ msgstr ""
596
+
597
+ #: ../admin.php:742
598
+ msgid "displays linked category name, requires stats_category=1"
599
+ msgstr ""
600
+
601
+ #: ../admin.php:742
602
+ msgid "displays views count only, no text"
603
+ msgstr ""
604
+
605
+ #: ../admin.php:742
606
+ msgid "displays comments count only, no text, requires stats_comments=1"
607
+ msgstr ""
608
+
609
+ #: ../admin.php:748
610
+ msgid "Sets the opening tag for each item on the list"
611
+ msgstr ""
612
+
613
+ #: ../admin.php:755
614
+ msgid "Sets the closing tag for each item on the list"
615
+ msgstr ""
616
+
617
+ #: ../admin.php:762
618
+ msgid ""
619
+ "If set, this option will allow you to decide the order of the contents "
620
+ "within each item on the list."
621
+ msgstr ""
622
+
623
+ #: ../admin.php:769
624
+ msgid ""
625
+ "If set, you can decide the order of each content inside a single item on the "
626
+ "list. For example, setting it to \"{title}: {summary}\" would output "
627
+ "something like \"Your Post Title: summary here\". This attribute requires "
628
+ "do_pattern to be true."
629
+ msgstr ""
630
+
631
+ #: ../admin.php:770
632
+ msgid "Available tags"
633
+ msgstr "برچسب های موجود"
634
+
635
+ #: ../admin.php:785
636
+ msgid ""
637
+ "Here you will find a handy group of options to tweak Wordpress Popular Posts."
638
+ msgstr ""
639
+
640
+ #: ../admin.php:787
641
+ msgid "Views logging behavior"
642
+ msgstr ""
643
+
644
+ #: ../admin.php:793
645
+ msgid "Log views from"
646
+ msgstr ""
647
+
648
+ #: ../admin.php:796
649
+ msgid "Visitors only"
650
+ msgstr "تنها بازدید کننده"
651
+
652
+ #: ../admin.php:797
653
+ msgid "Everyone"
654
+ msgstr "هر کسی"
655
+
656
+ #: ../admin.php:814
657
+ msgid "Thumbnail source"
658
+ msgstr "منبع بند انگشتی"
659
+
660
+ #: ../admin.php:820
661
+ msgid "Default thumbnail"
662
+ msgstr "بند انگشتی پیشفرض"
663
+
664
+ #: ../admin.php:822
665
+ msgid "Upload thumbnail"
666
+ msgstr "آپلود بند انگشتی"
667
+
668
+ #: ../admin.php:825
669
+ msgid ""
670
+ "How-to: upload (or select) an image, set Size to Full and click on Upload. "
671
+ "After it's done, hit on Apply to save changes"
672
+ msgstr ""
673
+
674
+ #: ../admin.php:827
675
+ msgid "Preview"
676
+ msgstr "پیش بازدید"
677
+
678
+ #: ../admin.php:835
679
+ msgid "Pick image from"
680
+ msgstr ""
681
+
682
+ #: ../admin.php:838
683
+ msgid "Featured image"
684
+ msgstr "تصویر شاخص"
685
+
686
+ #: ../admin.php:839
687
+ msgid "First image on post"
688
+ msgstr "اولین تصویر نوشته"
689
+
690
+ #: ../admin.php:840
691
+ msgid "Custom field"
692
+ msgstr "فیلد دلخواه"
693
+
694
+ #: ../admin.php:843
695
+ msgid "Tell Wordpress Popular Posts where it should get thumbnails from"
696
+ msgstr ""
697
+
698
+ #: ../admin.php:847
699
+ msgid "Custom field name"
700
+ msgstr "نام فیلد دلخواه"
701
+
702
+ #: ../admin.php:853
703
+ msgid "Resize image from Custom field?"
704
+ msgstr ""
705
+
706
+ #: ../admin.php:856
707
+ msgid "No, I will upload my own thumbnail"
708
+ msgstr "خیر، من تصویر شخصی بنداگشتی را آپلود می کنم"
709
+
710
+ #: ../admin.php:857
711
+ msgid "Yes"
712
+ msgstr "بله"
713
+
714
+ #: ../admin.php:874
715
+ msgid "Wordpress Popular Posts Stylesheet"
716
+ msgstr "استایل محبوبترین نوشته های وردپرس"
717
+
718
+ #: ../admin.php:875
719
+ msgid ""
720
+ "By default, the plugin includes a stylesheet called wpp.css which you can "
721
+ "use to style your popular posts listing. If you wish to use your own "
722
+ "stylesheet or do not want it to have it included in the header section of "
723
+ "your site, use this."
724
+ msgstr ""
725
+
726
+ #: ../admin.php:880 ../admin.php:899
727
+ msgid "Enabled"
728
+ msgstr "فعال"
729
+
730
+ #: ../admin.php:881 ../admin.php:898
731
+ msgid "Disabled"
732
+ msgstr "غیر فعال"
733
+
734
+ #: ../admin.php:890
735
+ msgid "Data tools"
736
+ msgstr "ابزار های اطلاعات"
737
+
738
+ #: ../admin.php:895
739
+ msgid "Ajaxify widget"
740
+ msgstr "ابزارک آجاکسی"
741
+
742
+ #: ../admin.php:903
743
+ msgid ""
744
+ "If you are using a caching plugin such as WP Super Cache, enabling this "
745
+ "feature will keep the popular list from being cached by it"
746
+ msgstr ""
747
+
748
+ #: ../admin.php:907
749
+ msgid "Popular posts listing refresh interval"
750
+ msgstr ""
751
+
752
+ #: ../admin.php:910
753
+ msgid "Live"
754
+ msgstr "زنده"
755
+
756
+ #: ../admin.php:911
757
+ msgid "Custom interval"
758
+ msgstr "فاصله سفارشی"
759
+
760
+ #: ../admin.php:915
761
+ msgid ""
762
+ "Sets how often the listing should be updated. For most sites the Live option "
763
+ "should be fine, however if you are experiencing slowdowns or your blog gets "
764
+ "a lot of visitors then you might want to change the refresh rate"
765
+ msgstr ""
766
+
767
+ #: ../admin.php:919
768
+ msgid "Refresh interval"
769
+ msgstr "فراخوانی فاصله"
770
+
771
+ #: ../admin.php:923
772
+ msgid "Hour(s)"
773
+ msgstr "ساعت"
774
+
775
+ #: ../admin.php:924
776
+ msgid "Day(s)"
777
+ msgstr "روز"
778
+
779
+ #: ../admin.php:925
780
+ msgid "Week(s)"
781
+ msgstr "هفته"
782
+
783
+ #: ../admin.php:926
784
+ msgid "Month(s)"
785
+ msgstr "ماه"
786
+
787
+ #: ../admin.php:927
788
+ msgid "Year(s)"
789
+ msgstr "سال"
790
+
791
+ #: ../admin.php:930
792
+ msgid "Really? That long?"
793
+ msgstr ""
794
+
795
+ #: ../admin.php:945
796
+ msgid ""
797
+ "Wordpress Popular Posts maintains data in two separate tables: one for "
798
+ "storing the most popular entries in the past 30 days (from now on, \"cache"
799
+ "\"), and another one to keep the All-time data (from now on, \"historical "
800
+ "data\" or just \"data\"). If for some reason you need to clear the cache "
801
+ "table, or even both historical and cache tables, please use the buttons "
802
+ "below to do so."
803
+ msgstr ""
804
+
805
+ #: ../admin.php:946
806
+ msgid "Empty cache"
807
+ msgstr "خالی کردن کش"
808
+
809
+ #: ../admin.php:946
810
+ msgid "Use this button to manually clear entries from WPP cache only"
811
+ msgstr ""
812
+
813
+ #: ../admin.php:947
814
+ msgid "Clear all data"
815
+ msgstr "حذف تمامی اطلاعات"
816
+
817
+ #: ../admin.php:947
818
+ msgid "Use this button to manually clear entries from all WPP data tables"
819
+ msgstr ""
820
+
821
+ #: ../admin.php:953
822
+ msgid "Do you like this plugin?"
823
+ msgstr "آیا شما این افزونه را دوست دارید؟"
824
+
825
+ #: ../admin.php:953
826
+ msgid "Rate Wordpress Popular Posts!"
827
+ msgstr "امتیاز محبوبترین نوشته های وردپرس"
828
+
829
+ #: ../admin.php:953
830
+ msgid "Rate it"
831
+ msgstr "امتیاز آن"
832
+
833
+ #: ../admin.php:953
834
+ msgid "on the official Plugin Directory!"
835
+ msgstr ""
836
+
837
+ #: ../admin.php:954
838
+ msgid "Do you love this plugin?"
839
+ msgstr ""
840
+
841
+ #: ../admin.php:954 ../admin.php:955
842
+ msgid "Buy me a beer!"
843
+ msgstr ""
844
+
845
+ #: ../admin.php:954
846
+ msgid ""
847
+ "Each donation motivates me to keep releasing free stuff for the Wordpress "
848
+ "community!"
849
+ msgstr ""
850
+
851
+ #: ../wordpress-popular-posts.php:129
852
+ msgid "The most Popular Posts on your blog."
853
+ msgstr ""
854
+
855
+ #: ../wordpress-popular-posts.php:376
856
+ msgid "Title:"
857
+ msgstr "عنوان:"
858
+
859
+ #: ../wordpress-popular-posts.php:376 ../wordpress-popular-posts.php:378
860
+ #: ../wordpress-popular-posts.php:380 ../wordpress-popular-posts.php:388
861
+ #: ../wordpress-popular-posts.php:399 ../wordpress-popular-posts.php:401
862
+ #: ../wordpress-popular-posts.php:408 ../wordpress-popular-posts.php:412
863
+ #: ../wordpress-popular-posts.php:425 ../wordpress-popular-posts.php:439
864
+ #: ../wordpress-popular-posts.php:451 ../wordpress-popular-posts.php:452
865
+ #: ../wordpress-popular-posts.php:453 ../wordpress-popular-posts.php:454
866
+ #: ../wordpress-popular-posts.php:464 ../wordpress-popular-posts.php:470
867
+ msgid "What is this?"
868
+ msgstr "این چه هست؟"
869
+
870
+ #: ../wordpress-popular-posts.php:378
871
+ msgid "Show up to:"
872
+ msgstr "نمایش تا:"
873
+
874
+ #: ../wordpress-popular-posts.php:379
875
+ msgid "posts"
876
+ msgstr "نوشته"
877
+
878
+ #: ../wordpress-popular-posts.php:380
879
+ msgid "Time Range:"
880
+ msgstr "محدوده زمانی:"
881
+
882
+ #: ../wordpress-popular-posts.php:388
883
+ msgid "Sort posts by:"
884
+ msgstr "مرتبط سازی بر اساس:"
885
+
886
+ #: ../wordpress-popular-posts.php:390
887
+ msgid "Comments"
888
+ msgstr "دیدگاه "
889
+
890
+ #: ../wordpress-popular-posts.php:391
891
+ msgid "Total views"
892
+ msgstr "بازدید "
893
+
894
+ #: ../wordpress-popular-posts.php:392
895
+ msgid "Avg. daily views"
896
+ msgstr "میانگین.بازدید روزانه"
897
+
898
+ #: ../wordpress-popular-posts.php:397
899
+ msgid "Posts settings"
900
+ msgstr "تنظیمات نوشته"
901
+
902
+ #: ../wordpress-popular-posts.php:399
903
+ msgid "Display post rating"
904
+ msgstr "نمایش امتیاز نوشته"
905
+
906
+ #: ../wordpress-popular-posts.php:401
907
+ msgid "Shorten title"
908
+ msgstr "عنوان کوتاه"
909
+
910
+ #: ../wordpress-popular-posts.php:404
911
+ msgid "Shorten title to"
912
+ msgstr "کوتاه شدن عنوان"
913
+
914
+ #: ../wordpress-popular-posts.php:405 ../wordpress-popular-posts.php:415
915
+ msgid "characters"
916
+ msgstr "کاراکتر ها"
917
+
918
+ #: ../wordpress-popular-posts.php:406 ../wordpress-popular-posts.php:416
919
+ msgid "words"
920
+ msgstr "کلمات "
921
+
922
+ #: ../wordpress-popular-posts.php:408
923
+ msgid "Display post excerpt"
924
+ msgstr "نمایش چکیده نوشته"
925
+
926
+ #: ../wordpress-popular-posts.php:411
927
+ msgid "Excerpt Properties"
928
+ msgstr "تنظیمات چکیده"
929
+
930
+ #: ../wordpress-popular-posts.php:412
931
+ msgid "Keep text format and links"
932
+ msgstr "فرمت متن و لینک ها را نگه دارید"
933
+
934
+ #: ../wordpress-popular-posts.php:413
935
+ msgid "Excerpt length:"
936
+ msgstr "طول چکیده:"
937
+
938
+ #: ../wordpress-popular-posts.php:425
939
+ msgid "Filters:"
940
+ msgstr "صافی ها:"
941
+
942
+ #: ../wordpress-popular-posts.php:426
943
+ msgid "Post type(s):"
944
+ msgstr "نوع(های) نوشته:"
945
+
946
+ #: ../wordpress-popular-posts.php:428
947
+ msgid "Post(s) ID(s) to exclude:"
948
+ msgstr "نادیده گرفتن نوشته (ها) با شناسه (های):"
949
+
950
+ #: ../wordpress-popular-posts.php:430
951
+ msgid "Category(ies) ID(s):"
952
+ msgstr "شناسه (های) دسته (ها):"
953
+
954
+ #: ../wordpress-popular-posts.php:432
955
+ msgid "Author(s) ID(s):"
956
+ msgstr "شناسه (های) نوشته (ها) :"
957
+
958
+ #: ../wordpress-popular-posts.php:438
959
+ msgid "Thumbnail settings"
960
+ msgstr "تنظیمات بند انگشتی"
961
+
962
+ #: ../wordpress-popular-posts.php:439
963
+ msgid "Display post thumbnail"
964
+ msgstr "نمایش بند انگشتی نوشته"
965
+
966
+ #: ../wordpress-popular-posts.php:441
967
+ msgid "Width:"
968
+ msgstr "پهنا:"
969
+
970
+ #: ../wordpress-popular-posts.php:442 ../wordpress-popular-posts.php:444
971
+ msgid "px"
972
+ msgstr "پیکسل"
973
+
974
+ #: ../wordpress-popular-posts.php:443
975
+ msgid "Height:"
976
+ msgstr "ارتفاع:"
977
+
978
+ #: ../wordpress-popular-posts.php:450
979
+ msgid "Stats Tag settings"
980
+ msgstr "تنظیمات آمار برچسب ها"
981
+
982
+ #: ../wordpress-popular-posts.php:451
983
+ msgid "Display comment count"
984
+ msgstr "نمایش تعداد دیدگاه"
985
+
986
+ #: ../wordpress-popular-posts.php:452
987
+ msgid "Display views"
988
+ msgstr "نمایش بازدید ها"
989
+
990
+ #: ../wordpress-popular-posts.php:453
991
+ msgid "Display author"
992
+ msgstr "نمایش نویسنده"
993
+
994
+ #: ../wordpress-popular-posts.php:454
995
+ msgid "Display date"
996
+ msgstr "نمایش روز"
997
+
998
+ #: ../wordpress-popular-posts.php:457
999
+ msgid "Date Format"
1000
+ msgstr "فرمت تاریخ"
1001
+
1002
+ #: ../wordpress-popular-posts.php:464
1003
+ msgid "Display category"
1004
+ msgstr "نمایش دسته"
1005
+
1006
+ #: ../wordpress-popular-posts.php:469
1007
+ msgid "HTML Markup settings"
1008
+ msgstr "تنظیمات نشانه گزاری HTML"
1009
+
1010
+ #: ../wordpress-popular-posts.php:470
1011
+ msgid "Use custom HTML Markup"
1012
+ msgstr "استفاده ار نشانه گزاری دلخواه HTML"
1013
+
1014
+ #: ../wordpress-popular-posts.php:473
1015
+ msgid "Before / after title:"
1016
+ msgstr "قبل / بعد عنوان:"
1017
+
1018
+ #: ../wordpress-popular-posts.php:475
1019
+ msgid "Before / after Popular Posts:"
1020
+ msgstr "قبل / بعد نوشته های محبوب:"
1021
+
1022
+ #: ../wordpress-popular-posts.php:478
1023
+ msgid "Post HTML Markup:"
1024
+ msgstr "نشانه گزاری html نوشته:"
1025
+
1026
+ #: ../wordpress-popular-posts.php:628
1027
+ msgid "Success! The cache table has been cleared!"
1028
+ msgstr "موفقیت آمیز! جداول کش شده حذف گردید!"
1029
+
1030
+ #: ../wordpress-popular-posts.php:630
1031
+ msgid "Error: cache table does not exist."
1032
+ msgstr "خطا: کش جداول وجود ندارد."
1033
+
1034
+ #: ../wordpress-popular-posts.php:636
1035
+ msgid "Success! All data have been cleared!"
1036
+ msgstr "مفقیت آمیز! همه داده ها پاک شدند."
1037
+
1038
+ #: ../wordpress-popular-posts.php:638
1039
+ msgid "Error: one or both data tables are missing."
1040
+ msgstr "خطا: یک یا دو جدول داده گم شده است."
1041
+
1042
+ #: ../wordpress-popular-posts.php:641
1043
+ msgid "Invalid action."
1044
+ msgstr "اقدام نامعتبر است."
1045
+
1046
+ #: ../wordpress-popular-posts.php:644
1047
+ msgid ""
1048
+ "Sorry, you do not have enough permissions to do this. Please contact the "
1049
+ "site administrator for support."
1050
+ msgstr ""
1051
+
1052
+ #: ../wordpress-popular-posts.php:1068
1053
+ msgid "Sorry. No data so far."
1054
+ msgstr "متاسفیم.تا کنون هیچ داده ای نیست."
1055
+
1056
+ #: ../wordpress-popular-posts.php:1150
1057
+ msgid "comment"
1058
+ msgstr "دیدگاه"
1059
+
1060
+ #: ../wordpress-popular-posts.php:1150
1061
+ msgid "comments"
1062
+ msgstr "دیدگاه"
1063
+
1064
+ #: ../wordpress-popular-posts.php:1158
1065
+ msgid "view per day"
1066
+ msgstr "بازدید در روز "
1067
+
1068
+ #: ../wordpress-popular-posts.php:1158
1069
+ msgid "views per day"
1070
+ msgstr "بازدید در روز "
1071
+
1072
+ #: ../wordpress-popular-posts.php:1162
1073
+ msgid "view"
1074
+ msgstr "بازدید "
1075
+
1076
+ #: ../wordpress-popular-posts.php:1162
1077
+ msgid "views"
1078
+ msgstr "بازدید "
1079
+
1080
+ #: ../wordpress-popular-posts.php:1171
1081
+ msgid "by"
1082
+ msgstr "توسط "
1083
+
1084
+ #: ../wordpress-popular-posts.php:1175
1085
+ msgid "posted on"
1086
+ msgstr "ارسال شده در "
1087
+
1088
+ #: ../wordpress-popular-posts.php:1183
1089
+ msgid "under"
1090
+ msgstr ""
1091
+
1092
+ #: ../wordpress-popular-posts.php:1753
1093
+ msgid "Upload"
1094
+ msgstr "آپلود"
1095
+
1096
+ #: ../wordpress-popular-posts.php:1765
1097
+ msgid ""
1098
+ "Your Wordpress version is too old. Wordpress Popular Posts Plugin requires "
1099
+ "at least version 3.3 to function correctly. Please update your blog via "
1100
+ "Tools &gt; Upgrade."
1101
+ msgstr ""
1102
+
1103
+ #: ../wordpress-popular-posts.php:1774
1104
+ msgid ""
1105
+ "Your PHP installation is too old. Wordpress Popular Posts Plugin requires at "
1106
+ "least PHP v5.2.0 to function correctly. Please contact your hosting provider "
1107
+ "and ask them to upgrade PHP to 5.2.x or higher."
1108
+ msgstr ""
1109
+
1110
+ #~ msgid "Before / after each post:"
1111
+ #~ msgstr "قبل / بعد هر نوشته:"
1112
+
1113
+ #~ msgid "Use content formatting tags"
1114
+ #~ msgstr "استفاده از تگ های قالب بندی محتوا"
1115
+
1116
+ #~ msgid "Content format:"
1117
+ #~ msgstr "قالب مطالب و محتوا:"
1118
+
1119
+ #~ msgid "Wordpress Popular Posts Stats"
1120
+ #~ msgstr "آمار محبوبترین نوشته های وردپرس"
lang/wordpress-popular-posts-fr_FR.mo ADDED
Binary file
lang/wordpress-popular-posts-fr_FR.po ADDED
@@ -0,0 +1,1043 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Wordpress Popular Posts\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-08-31 11:31-0430\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Le raconteur <leraconteur@maintenantunehistoire.fr>\n"
8
+ "Language-Team: Héctor Cabrera <admin@rauru.com>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Language: en_VE\n"
13
+ "X-Poedit-SourceCharset: iso-8859-1\n"
14
+ "X-Poedit-KeywordsList: __;_e\n"
15
+ "X-Poedit-Basepath: .\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: admin.php:33 admin.php:44 admin.php:50 admin.php:57
19
+ msgid "Settings saved."
20
+ msgstr "Param&egrave;tres sauvegard&eacute;s."
21
+
22
+ #: admin.php:38
23
+ msgid "Please provide the name of your custom field."
24
+ msgstr "Veuillez indiquer le nom de votre champ personnalis&eacute;."
25
+
26
+ #: admin.php:247
27
+ msgid ""
28
+ "This operation will delete all entries from Wordpress Popular Posts' cache "
29
+ "table and cannot be undone."
30
+ msgstr ""
31
+ "Cette op&eacute;ration va supprimer d&eacute;finitivement toutes les "
32
+ "donn&eacute;es de la table de cache de Wordpress Popular Posts."
33
+
34
+ #: admin.php:247 admin.php:255
35
+ msgid "Do you want to continue?"
36
+ msgstr "Voulez-vous continuer ?"
37
+
38
+ #: admin.php:255
39
+ msgid ""
40
+ "This operation will delete all stored info from Wordpress Popular Posts' "
41
+ "data tables and cannot be undone."
42
+ msgstr ""
43
+ "Cette op&eacute;ration va supprimer d&eacute;finitivement toutes les "
44
+ "donn&eacute;es des tables de Wordpress Popular Posts."
45
+
46
+ #: admin.php:269
47
+ msgid "Stats"
48
+ msgstr "Statistiques"
49
+
50
+ #: admin.php:270
51
+ msgid "FAQ"
52
+ msgstr "FAQ"
53
+
54
+ #: admin.php:271
55
+ msgid "Tools"
56
+ msgstr "Outils"
57
+
58
+ #: admin.php:275
59
+ msgid ""
60
+ "Click on each tab to see what are the most popular entries on your blog "
61
+ "today, this week, last 30 days or all time since Wordpress Popular Posts was "
62
+ "installed."
63
+ msgstr ""
64
+ "Cliquer sur chaque onglet pour voir quelles sont les entr&eacute;es les plus "
65
+ "populaires sur votre blog aujourd'hui, cette semaine, les 30 derniers jours "
66
+ "ou depuis que Wordpress Popular Posts a &eacute;t&eacute; install&eacute;."
67
+
68
+ #: admin.php:281
69
+ msgid "Order by comments"
70
+ msgstr "Trier par commentaires"
71
+
72
+ #: admin.php:282
73
+ msgid "Order by views"
74
+ msgstr "Trier par vues"
75
+
76
+ #: admin.php:283
77
+ msgid "Order by avg. daily views"
78
+ msgstr "Trier par vues moyenne par jour"
79
+
80
+ #: admin.php:285
81
+ msgid "Limit"
82
+ msgstr "Limite"
83
+
84
+ #: admin.php:287 admin.php:667 admin.php:683 admin.php:700
85
+ msgid "Apply"
86
+ msgstr "Appliquer"
87
+
88
+ #: admin.php:293 wordpress-popular-posts.php:307
89
+ msgid "Last 24 hours"
90
+ msgstr "Derni&egrave;res 24 heures"
91
+
92
+ #: admin.php:294 wordpress-popular-posts.php:308
93
+ msgid "Last 7 days"
94
+ msgstr "7 derniers jours "
95
+
96
+ #: admin.php:295 wordpress-popular-posts.php:309
97
+ msgid "Last 30 days"
98
+ msgstr "30 derniers jours "
99
+
100
+ #: admin.php:296 wordpress-popular-posts.php:310
101
+ msgid "All-time"
102
+ msgstr "Depuis le d&eacute;but"
103
+
104
+ #: admin.php:317
105
+ msgid "Frequently Asked Questions"
106
+ msgstr "Questions fr&eacute;quentes"
107
+
108
+ #: admin.php:321
109
+ msgid "What does \"Title\" do?"
110
+ msgstr "Que fait \"Titre\" ?"
111
+
112
+ #: admin.php:323
113
+ msgid ""
114
+ "It allows you to show a heading for your most popular posts listing. If left "
115
+ "empty, no heading will be displayed at all."
116
+ msgstr ""
117
+ "Il vous permet d'afficher un titre au-dessus de la liste des messages les "
118
+ "plus populaires. Si le champ est laiss&eacute; vide, aucun titre ne sera "
119
+ "affich&eacute;. "
120
+
121
+ #: admin.php:326
122
+ msgid "What is Time Range for?"
123
+ msgstr "Qu'est-ce que la Plage de temps ?"
124
+
125
+ #: admin.php:328
126
+ msgid ""
127
+ "It will tell Wordpress Popular Posts to retrieve all posts with most views / "
128
+ "comments within the selected time range."
129
+ msgstr ""
130
+ "Wordpress Popular Posts r&eacute;cup&egrave;re les posts les plus vus/"
131
+ "comment&eacute;s durant l'intervelle de temps s&eacute;lectionn&eacute;."
132
+
133
+ #: admin.php:331
134
+ msgid "What is \"Sort post by\" for?"
135
+ msgstr "Que fait \"Trier les posts par\" ?"
136
+
137
+ #: admin.php:333
138
+ msgid ""
139
+ "It allows you to decide whether to order your popular posts listing by total "
140
+ "views, comments, or average views per day."
141
+ msgstr ""
142
+ "Cela vous permet de d&eacute;cider si vous voulez ordonner votre liste de "
143
+ "posts populaires par nombre de vues total, par nombre de commentaires, ou "
144
+ "par nombre de vues moyennes par jour."
145
+
146
+ #: admin.php:336
147
+ msgid "What does \"Display post rating\" do?"
148
+ msgstr "Que fait \"Afficher la note du post\" ?"
149
+
150
+ #: admin.php:338
151
+ msgid ""
152
+ "If checked, Wordpress Popular Posts will show how your readers are rating "
153
+ "your most popular posts. This feature requires having WP-PostRatings plugin "
154
+ "installed and enabled on your blog for it to work."
155
+ msgstr ""
156
+ "Si c'est coch&eacute;e,Wordpress Popular Posts affichera la liste des posts "
157
+ "les mieux not&eacute;s par vos lecteurs. Cette fonction n&eacute;cessite "
158
+ "d'avoir le plugin WP-PostRatings install&eacute; et activ&eacute; sur votre "
159
+ "blog pour que cela fonctionne."
160
+
161
+ #: admin.php:341
162
+ msgid "What does \"Shorten title\" do?"
163
+ msgstr "Que fait \"Raccourcir le titre\" ?"
164
+
165
+ #: admin.php:343
166
+ msgid ""
167
+ "If checked, all posts titles will be shortened to \"n\" characters. A new "
168
+ "\"Shorten title to\" option will appear so you can set it to whatever you "
169
+ "like."
170
+ msgstr ""
171
+ "Si c'est coch&eacute;, les titres des posts sont raccourci &agrave; \"n\" "
172
+ "caract&egrave;res. Une option \"Raccourcir le titre de\" appara&icirc;tra "
173
+ "afin que vous puissiez le r&eacute;gler le nombre \"n\" de caract&egrave;res "
174
+ "que vous voulez garder."
175
+
176
+ #: admin.php:346
177
+ msgid "What does \"Display post excerpt\" do?"
178
+ msgstr "Que fait \"Afficher un extrait du post\" ?"
179
+
180
+ #: admin.php:348
181
+ msgid ""
182
+ "If checked, Wordpress Popular Posts will also include a small extract of "
183
+ "your posts in the list. Similarly to the previous option, you will be able "
184
+ "to decide how long the post excerpt should be."
185
+ msgstr ""
186
+ "Si c'est coch&eacute;, Wordpress Popular Post permet d'inclure un petit "
187
+ "extrait de vos posts dans la liste. Comme la pr&eacute;c&eacute;dente "
188
+ "option, une option appara&icirc;tra pour que vous choisissiez la longueur de "
189
+ "l'extrait &agrave; afficher."
190
+
191
+ #: admin.php:351
192
+ msgid "What does \"Keep text format and links\" do?"
193
+ msgstr "Que fait \"Garder le formatage du texte et les liens\" ?"
194
+
195
+ #: admin.php:353
196
+ msgid ""
197
+ "If checked, and if the Post Excerpt feature is enabled, Wordpress Popular "
198
+ "Posts will keep the styling tags (eg. bold, italic, etc) that were found in "
199
+ "the excerpt. Hyperlinks will remain intact, too."
200
+ msgstr ""
201
+ "Si c'est coch&eacute; et que la fonction \"extrait du post\" est "
202
+ "activ&eacute;, Wordpress Popular Posts garde les balises de formatage (ex : "
203
+ "gras, italique, etc.) qui se trouvent dans l'extrait. Les liens hypertexte "
204
+ "sont aussi affich&eacute;s &agrave; l'identique."
205
+
206
+ #: admin.php:356
207
+ msgid "What is \"Post type\" for?"
208
+ msgstr "Que fait \"Type de posts\" ?"
209
+
210
+ #: admin.php:358
211
+ msgid ""
212
+ "This filter allows you to decide which post types to show on the listing. By "
213
+ "default, it will retrieve only posts and pages (which should be fine for "
214
+ "most cases)."
215
+ msgstr ""
216
+ "Ce filtre vous permet de choisir quels types de posts doivent &ecirc;tre "
217
+ "afficher ; par d&eacute;faut, il permet de r&eacute;cup&eacute;rer les "
218
+ "articles et les pages (ce qui est suffisant dans la plupart des cas)"
219
+
220
+ #: admin.php:361
221
+ msgid "What is \"Category(ies) ID(s)\" for?"
222
+ msgstr "Que fait \"Cat&eacute;gories ID\" ?"
223
+
224
+ #: admin.php:363
225
+ msgid ""
226
+ "This filter allows you to select which categories should be included or "
227
+ "excluded from the listing. A negative sign in front of the category ID "
228
+ "number will exclude posts belonging to it from the list, for example. You "
229
+ "can specify more than one ID with a comma separated list."
230
+ msgstr ""
231
+ "Ce filtre vous permet de s&eacute;lectionner quelles cat&eacute;gories "
232
+ "doivent &ecirc;tre inclus ou exclus de la liste. Un signe n&eacute;gatif "
233
+ "devant le num&eacute;ro de cat&eacute;gories ID permet exclure les posts de "
234
+ "cette cat&eacute;gorie de la liste. Vous pouvez sp&eacute;cifier plusieurs "
235
+ "ID d'une liste s&eacute;par&eacute;e par des virgules."
236
+
237
+ #: admin.php:366
238
+ msgid "What is \"Author(s) ID(s)\" for?"
239
+ msgstr "Que fait \"Auteur ID\" ?"
240
+
241
+ #: admin.php:368
242
+ msgid ""
243
+ "Just like the Category filter, this one lets you filter posts by author ID. "
244
+ "You can specify more than one ID with a comma separated list."
245
+ msgstr ""
246
+ "Fait exactement comme le filtre Cat&eacute;gorie, celui-ci vous permet de "
247
+ "filtrer les messages par auteur ID. Vous pouvez sp&eacute;cifier plusieurs "
248
+ "ID s&eacute;par&eacute; par des virgules."
249
+
250
+ #: admin.php:371
251
+ msgid "What does \"Display post thumbnail\" do?"
252
+ msgstr "Que fait \"Afficher les vignettes des posts\" ?"
253
+
254
+ #: admin.php:373
255
+ msgid ""
256
+ "If checked, Wordpress Popular Posts will attempt to retrieve the thumbnail "
257
+ "of each post. You can set up the source of the thumbnail via Settings - "
258
+ "Wordpress Popular Posts - Tools."
259
+ msgstr ""
260
+ "Si c'est coch&eacute;, Wordpress Popular Posts tentera de r&eacute;"
261
+ "cup&eacute;rer la vignette de chaque post. Vous pouvez configurer la source "
262
+ "de la vignette via Param&egrave;tres - Wordpress Popular Posts - Outils."
263
+
264
+ #: admin.php:376
265
+ msgid "What does \"Display comment count\" do?"
266
+ msgstr "Que fait \"Affichage du nombre de commentaires\" ?"
267
+
268
+ #: admin.php:378
269
+ msgid ""
270
+ "If checked, Wordpress Popular Posts will display how many comments each "
271
+ "popular post has got in the selected Time Range."
272
+ msgstr ""
273
+ "Si c'est coch&eacute;, Wordpress Popular Posts affiche le nombre de "
274
+ "commentaires que chaque post a eu durant la plage de temps s&eacute;"
275
+ "lectionn&eacute;e."
276
+
277
+ #: admin.php:381
278
+ msgid "What does \"Display views\" do?"
279
+ msgstr "Que fait \"Affichage des vues\" ?"
280
+
281
+ #: admin.php:383
282
+ msgid ""
283
+ "If checked, Wordpress Popular Posts will show how many pageviews a single "
284
+ "post has gotten in the selected Time Range."
285
+ msgstr ""
286
+ "Si c'est coch&eacute;, Wordpress Popular Posts affichera le nombre de fois "
287
+ "o&ugrave; le post a &eacute;t&eacute; vu durant la plage de temps s&eacute;"
288
+ "lectionn&eacute;e."
289
+
290
+ #: admin.php:386
291
+ msgid "What does \"Display author\" do?"
292
+ msgstr "Que fait \"Affichage de l'auteur\" ?"
293
+
294
+ #: admin.php:388
295
+ msgid ""
296
+ "If checked, Wordpress Popular Posts will display the name of the author of "
297
+ "each entry listed."
298
+ msgstr ""
299
+ "Si c'est coch&eacute;, Wordpress Popular Posts affichera le nom de l'auteur "
300
+ "des posts."
301
+
302
+ #: admin.php:391
303
+ msgid "What does \"Display date\" do?"
304
+ msgstr "Que fait \"Affichage de la date\" ?"
305
+
306
+ #: admin.php:393
307
+ msgid ""
308
+ "If checked, Wordpress Popular Posts will display the date when each popular "
309
+ "posts was published."
310
+ msgstr ""
311
+ "Si c'est s&eacute;lectionn&eacute;, Wordpress Popular Posts affichera la "
312
+ "date de publication des posts."
313
+
314
+ #: admin.php:396
315
+ msgid "What does \"Use custom HTML Markup\" do?"
316
+ msgstr "Que fait \"Formatage HTML de l'affichage\" ?"
317
+
318
+ #: admin.php:398
319
+ msgid ""
320
+ "If checked, you will be able to customize the HTML markup of your popular "
321
+ "posts listing. For example, you can decide whether to wrap your posts in an "
322
+ "unordered list, an ordered list, a div, etc. If you know xHTML/CSS, this is "
323
+ "for you!"
324
+ msgstr ""
325
+ "Si c'est s&eacute;lectionn&eacute;, cela vous permet de personnaliser le "
326
+ "formatage HTML de l'affichage de la liste des posts. Par exemple vous pouvez "
327
+ "d&eacute;cider d'afficher les posts en utilisant une liste, un div, etc. Si "
328
+ "vous connaissez xHTML/CSS, ceci est pour vous !"
329
+
330
+ #: admin.php:401
331
+ msgid "What does \"Use content formatting tags\" do?"
332
+ msgstr "Que fait \"Utiliser les balises de formatage de contenu\" ?"
333
+
334
+ #: admin.php:403
335
+ msgid ""
336
+ "If checked, you can decide the order of the items displayed on each entry. "
337
+ "For example, setting it to \"{title}: {summary}\" (without the quotes) would "
338
+ "display \"Post title: excerpt of the post here\". Available tags: {image}, "
339
+ "{title}, {summary}, {stats} and {rating}."
340
+ msgstr ""
341
+ "Si c'est s&eacute;lectionn&eacute;, vous pouvez d&eacute;cider la façon dont "
342
+ "les &eacute;l&eacute;ments sont affich&eacute;s pour chaque post. Par "
343
+ "exemple, si vous mettez \"{title} : {summary} \" (sans les guillemets), "
344
+ "cela va afficher \"Titre du post : extrait du post \". Les balises "
345
+ "disponibles sont : {image}, {title}, {summary}, {stats} et {rating}."
346
+
347
+ #: admin.php:406
348
+ msgid "What are \"Template Tags\"?"
349
+ msgstr "Qu'est-ce que les \"Marqueurs de Modele\" ?"
350
+
351
+ #: admin.php:408
352
+ msgid ""
353
+ "Template Tags are simply php functions that allow you to perform certain "
354
+ "actions. For example, Wordpress Popular Posts currently supports two "
355
+ "different template tags: wpp_get_mostpopular() and wpp_get_views()."
356
+ msgstr ""
357
+ "Les marqueurs de mod&egrave;le sont simplement des fonctions php qui "
358
+ "permettent de r&eacute;aliser certaines actions. Par exemple, Wordpress "
359
+ "Popular Posts g&egrave;re deux marqueurs de mod&egrave;le diff&eacute;"
360
+ "rents : wpp_get_mostpopular() et wpp_get_views()."
361
+
362
+ #: admin.php:411
363
+ msgid "What are the template tags that Wordpress Popular Posts supports?"
364
+ msgstr ""
365
+ "Quels sont les marqueurs de mod&egrave;le que Wordpresse Popular Posts "
366
+ "supporte ?"
367
+
368
+ #: admin.php:413
369
+ msgid ""
370
+ "The following are the template tags supported by Wordpress Popular Posts"
371
+ msgstr ""
372
+ "Ci-dessous les param&egrave;tres que le marqueur de mod&egrave;le Wordpress "
373
+ "Popular Posts accepte"
374
+
375
+ #: admin.php:417
376
+ msgid "Template tag"
377
+ msgstr "Marqueur de mod&egrave;le"
378
+
379
+ #: admin.php:418 admin.php:451
380
+ msgid "What it does "
381
+ msgstr "Qu'est-ce que ça fait ?"
382
+
383
+ #: admin.php:419
384
+ msgid "Parameters"
385
+ msgstr "Param&egrave;tres"
386
+
387
+ #: admin.php:420 admin.php:454
388
+ msgid "Example"
389
+ msgstr "Exemple"
390
+
391
+ #: admin.php:426
392
+ msgid ""
393
+ "Similar to the widget functionality, this tag retrieves the most popular "
394
+ "posts on your blog. This function also accepts parameters so you can "
395
+ "customize your popular listing, but these are not required."
396
+ msgstr ""
397
+ "Fonctionnalit&eacute;s similaire au widget Wordpress Popular Posts, cette "
398
+ "balise r&eacute;cup&egrave;re les posts les plus populaires sur votre blog. "
399
+ "Cette fonction accepte &eacute;galement les param&egrave;tres pour "
400
+ "personnaliser la liste des posts les plus populaires, mais ceux-ci ne sont "
401
+ "pas indispensables."
402
+
403
+ #: admin.php:427
404
+ msgid ""
405
+ "Please refer to \"List of parameters accepted by wpp_get_mostpopular() and "
406
+ "the [wpp] shortcode\"."
407
+ msgstr ""
408
+ "Veuillez consulter la \"Liste des param&egrave;tres accept&eacute;s par "
409
+ "wpp_get_mostpopular() et le shortcode [wpp]\""
410
+
411
+ #: admin.php:432
412
+ msgid ""
413
+ "Displays the number of views of a single post. Post ID is required or it "
414
+ "will return false."
415
+ msgstr ""
416
+ "Affiche le nombre de vues d'un seul poste. Le post ID est n&eacute;cessaire "
417
+ "sinon la fonction retourne false."
418
+
419
+ #: admin.php:433
420
+ msgid "Post ID"
421
+ msgstr "Post ID"
422
+
423
+ #: admin.php:440
424
+ msgid "What are \"shortcodes\"?"
425
+ msgstr "Qu'est-ce que \"shortcodes\" ?"
426
+
427
+ #: admin.php:442
428
+ msgid ""
429
+ "Shortcodes are similar to BB Codes, these allow us to call a php function by "
430
+ "simply typing something like [shortcode]. With Wordpress Popular Posts, the "
431
+ "shortcode [wpp] will let you insert a list of the most popular posts in "
432
+ "posts content and pages too! For more information about shortcodes, please "
433
+ "visit"
434
+ msgstr ""
435
+ "Les shortcodes sont similaires aux BB Codes, cela permet d'appeler une "
436
+ "fonction php en tapant simplement quelque chose comme [shortcode]. Avec "
437
+ "Wordpress Popular Posts, le shortcode [wpp] permet d'ins&eacute;rer une "
438
+ "liste des posts les plus populaires dans les messages et les pages de "
439
+ "contenu aussi ! Pour plus d'informations sur les shortcodes, veuillez visiter"
440
+
441
+ #: admin.php:444
442
+ msgid ""
443
+ "List of parameters accepted by wpp_get_mostpopular() and the [wpp] shortcode"
444
+ msgstr ""
445
+ "Liste des param&egrave;tres accept&eacute;s par wpp_get_mostpopular() et le "
446
+ "shortcode [wpp]"
447
+
448
+ #: admin.php:446
449
+ msgid ""
450
+ "These parameters can be used by both the template tag wpp_get_most_popular() "
451
+ "and the shortcode [wpp]."
452
+ msgstr ""
453
+ "Ces param&egrave;tres peuvent &ecirc;tre utilis&eacute;s aussi bien par le "
454
+ "marqueur de mod&egrave;le wpp_get_most_popular() que par le shortcode [wpp]."
455
+
456
+ #: admin.php:450
457
+ msgid "Parameter"
458
+ msgstr "Param&egrave;tres"
459
+
460
+ #: admin.php:452
461
+ msgid "Possible values"
462
+ msgstr "Valeurs possibles"
463
+
464
+ #: admin.php:453
465
+ msgid "Defaults to"
466
+ msgstr "Par d&eacute;faut"
467
+
468
+ #: admin.php:460
469
+ msgid "Sets a heading for the list"
470
+ msgstr "Met un ent&ecirc;te &agrave; la liste"
471
+
472
+ #: admin.php:461 admin.php:468 admin.php:475 admin.php:503 admin.php:510
473
+ #: admin.php:517 admin.php:594 admin.php:601 admin.php:608 admin.php:615
474
+ #: admin.php:622
475
+ msgid "Text string"
476
+ msgstr "Texte"
477
+
478
+ #: admin.php:462 wordpress-popular-posts.php:250
479
+ msgid "Popular Posts"
480
+ msgstr "Popular Posts"
481
+
482
+ #: admin.php:467
483
+ msgid "Set the opening tag for the heading of the list"
484
+ msgstr "D&eacute;finit la balise d'ouverture de l'en-t&ecirc;te de la liste"
485
+
486
+ #: admin.php:474
487
+ msgid "Set the closing tag for the heading of the list"
488
+ msgstr "D&eacute;finit la balise de fermeture de l'en-t&ecirc;te de la liste"
489
+
490
+ #: admin.php:481
491
+ msgid "Sets the maximum number of popular posts to be shown on the listing"
492
+ msgstr ""
493
+ "D&eacute;finit le nombre maximum de posts populaires que doit afficher la "
494
+ "liste"
495
+
496
+ #: admin.php:482 admin.php:524 admin.php:531 admin.php:545 admin.php:552
497
+ msgid "Positive integer"
498
+ msgstr "Entier positif"
499
+
500
+ #: admin.php:488
501
+ msgid ""
502
+ "Tells Wordpress Popular Posts to retrieve the most popular entries within "
503
+ "the time range specified by you"
504
+ msgstr ""
505
+ "Permet &agrave; Wordpress Popular Posts de r&eacute;cup&eacute;rer les posts "
506
+ "les plus populaires dans l'intervalle de temps que vous avez sp&eacute;"
507
+ "cifi&eacute;"
508
+
509
+ #: admin.php:495
510
+ msgid "Sets the sorting option of the popular posts"
511
+ msgstr "D&eacute;finit les options de tri des posts les plus populaires"
512
+
513
+ #: admin.php:496
514
+ msgid "(for average views per day)"
515
+ msgstr "(Pour le nb de vues moyenne par jour)"
516
+
517
+ #: admin.php:502
518
+ msgid "Defines the type of posts to show on the listing"
519
+ msgstr "D&eacute;finit le type de messages &agrave; afficher sur la liste"
520
+
521
+ #: admin.php:509
522
+ msgid ""
523
+ "If set, Wordpress Popular Posts will retrieve all entries that belong to the "
524
+ "specified category(ies) ID(s). If a minus sign is used, the category(ies) "
525
+ "will be excluded instead."
526
+ msgstr ""
527
+ "Ce param&egrave;tre vous permet de r&eacute;cuperer les posts les plus "
528
+ "populaires appartenant aux cat&eacute;gories sp&eacute;cifi&eacute;e "
529
+ "(&agrave; l'aide des Categories ID). En utilisant le signe - devant l'ID, "
530
+ "les cat&eacute;gories seront exclus."
531
+
532
+ #: admin.php:511 admin.php:518
533
+ msgid "None"
534
+ msgstr "Non"
535
+
536
+ #: admin.php:516
537
+ msgid ""
538
+ "If set, Wordpress Popular Posts will retrieve all entries created by "
539
+ "specified author(s) ID(s)."
540
+ msgstr ""
541
+ "Cet attribut vous permet de s&eacute;lectionner les posts les plus "
542
+ "populaires ayant ce num&eacute;ro d'auteur ID."
543
+
544
+ #: admin.php:523
545
+ msgid ""
546
+ "If set, Wordpress Popular Posts will shorten each post title to \"n\" "
547
+ "characters whenever possible"
548
+ msgstr ""
549
+ "Vous pouvez raccourcir les titres des posts &agrave; \"n\" caract&egrave;"
550
+ "res, si c'est n&eacute;cessaire"
551
+
552
+ #: admin.php:530
553
+ msgid ""
554
+ "If set, Wordpress Popular Posts will build and include an excerpt of \"n\" "
555
+ "characters long from the content of each post listed as popular"
556
+ msgstr ""
557
+ "Cet attribut permet de définir la longueur de \"n\" caract&egrave;res de "
558
+ "l'extrait des posts les plus populaires"
559
+
560
+ #: admin.php:537
561
+ msgid ""
562
+ "If set, Wordpress Popular Posts will maintaing all styling tags (strong, "
563
+ "italic, etc) and hyperlinks found in the excerpt"
564
+ msgstr ""
565
+ "Cet attribut permet l'affichage des balises de style (gras, italique, etc.) "
566
+ "ainsi que des liens trouv&eacute;s dans l'extrait"
567
+
568
+ #: admin.php:544
569
+ msgid ""
570
+ "If set, and if your current server configuration allows it, you will be able "
571
+ "to display thumbnails of your posts. This attribute sets the width for "
572
+ "thumbnails"
573
+ msgstr ""
574
+ "Si la configuration de votre serveur le permet, cet attribut d&eacute;finit "
575
+ "la largeur des vignettes"
576
+
577
+ #: admin.php:551
578
+ msgid ""
579
+ "If set, and if your current server configuration allows it, you will be able "
580
+ "to display thumbnails of your posts. This attribute sets the height for "
581
+ "thumbnails"
582
+ msgstr ""
583
+ "Si la configuration de votre serveur le permet, cet attribut d&eacute;finit "
584
+ "la hauteur des vignettes"
585
+
586
+ #: admin.php:558
587
+ msgid ""
588
+ "If set, and if the WP-PostRatings plugin is installed and enabled on your "
589
+ "blog, Wordpress Popular Posts will show how your visitors are rating your "
590
+ "entries"
591
+ msgstr ""
592
+ "Si le plugin WP-PostRatings est install&eacute; et activ&eacute; sur votre "
593
+ "blog, cette option vous permet d'afficher les notes que vos visiteurs ont "
594
+ "donn&eacute;es &agrave; vos posts"
595
+
596
+ #: admin.php:565
597
+ msgid ""
598
+ "If set, Wordpress Popular Posts will show how many comments each popular "
599
+ "post has got until now"
600
+ msgstr "Affiche le nombre de commentaires pour chaque post de la liste"
601
+
602
+ #: admin.php:572
603
+ msgid ""
604
+ "If set, Wordpress Popular Posts will show how many views each popular post "
605
+ "has got since it was installed"
606
+ msgstr ""
607
+ "Affiche le nombre de vues pour chaque post de la liste depuis que le plugin "
608
+ "est install&eacute;"
609
+
610
+ #: admin.php:579
611
+ msgid ""
612
+ "If set, Wordpress Popular Posts will show who published each popular post on "
613
+ "the list"
614
+ msgstr "Permet l'affichage de l'auteur de chaque post de la liste"
615
+
616
+ #: admin.php:586
617
+ msgid ""
618
+ "If set, Wordpress Popular Posts will display the date when each popular post "
619
+ "on the list was published"
620
+ msgstr ""
621
+ "Permet l'affichage de la date de publication pour chaque post de la liste"
622
+
623
+ #: admin.php:593
624
+ msgid "Sets the date format"
625
+ msgstr "D&eacute;finit le format de la date"
626
+
627
+ #: admin.php:600
628
+ msgid "Sets the opening tag for the listing"
629
+ msgstr "D&eacute;finit la balise de d&eacute;but de liste"
630
+
631
+ #: admin.php:607
632
+ msgid "Sets the closing tag for the listing"
633
+ msgstr "D&eacute;finit la balise de fin de liste"
634
+
635
+ #: admin.php:614
636
+ msgid "Sets the opening tag for each item on the list"
637
+ msgstr ""
638
+ "D&eacute;finit la balise d'ouverture pour chaque &eacute;l&eacute;ment de la "
639
+ "liste"
640
+
641
+ #: admin.php:621
642
+ msgid "Sets the closing tag for each item on the list"
643
+ msgstr ""
644
+ "D&eacute;finit la balise de fermeture pour chaque &eacute;l&eacute;ment de "
645
+ "la liste"
646
+
647
+ #: admin.php:628
648
+ msgid ""
649
+ "If set, this option will allow you to decide the order of the contents "
650
+ "within each item on the list."
651
+ msgstr ""
652
+ "Cette option vous permet de d'activer le choix de l'ordre du contenu dans "
653
+ "chaque &eacute;l&eacute;ment de la liste."
654
+
655
+ #: admin.php:635
656
+ msgid ""
657
+ "If set, you can decide the order of each content inside a single item on the "
658
+ "list. For example, setting it to \"{title}: {summary}\" would output "
659
+ "something like \"Your Post Title: summary here\". This attribute requires "
660
+ "do_pattern to be true."
661
+ msgstr ""
662
+ "Permet de choisir l'ordre des &eacute;l&eacute;ments &agrave; afficher pour "
663
+ "chaque post de la liste. Par exemple, mettre \"{title} : {summary} \" "
664
+ "affichera quelque chose comme \"Titre de votre message : r&eacute;"
665
+ "sum&eacute; \". Cette fonctionnalit&eacute; est active si le param&egrave;"
666
+ "tre pr&eacute;c&eacute;dent do_pattern=1."
667
+
668
+ #: admin.php:636
669
+ msgid "Available tags"
670
+ msgstr "Balises disponibles"
671
+
672
+ #: admin.php:651
673
+ msgid ""
674
+ "Here you will find a handy group of options to tweak Wordpress Popular Posts."
675
+ msgstr ""
676
+ "Vous trouverez ici des options pour personnaliser Wordpress Popular Posts."
677
+
678
+ #: admin.php:653
679
+ msgid "Thumbnail source"
680
+ msgstr "Source des vignettes"
681
+
682
+ #: admin.php:654
683
+ msgid "Tell Wordpress Popular Posts where it should get thumbnails from"
684
+ msgstr ""
685
+ "Indiquer o&ugrave; Wordpress Popular Posts doit aller prendre les vignettes "
686
+ "de"
687
+
688
+ #: admin.php:659
689
+ msgid "Featured image"
690
+ msgstr "Choix de l'image"
691
+
692
+ #: admin.php:660
693
+ msgid "First image on post"
694
+ msgstr "Premi&egrave;re image du post"
695
+
696
+ #: admin.php:661
697
+ msgid "Custom field"
698
+ msgstr "Champ personalis&eacute;"
699
+
700
+ #: admin.php:664
701
+ msgid "Custom field name"
702
+ msgstr "Nom du champ personalis&eacute;"
703
+
704
+ #: admin.php:673
705
+ msgid "Wordpress Popular Posts Stylesheet"
706
+ msgstr "Feuille de style pour Wordpress Popular Posts"
707
+
708
+ #: admin.php:674
709
+ msgid ""
710
+ "By default, the plugin includes a stylesheet called wpp.css which you can "
711
+ "use to style your popular posts listing. If you wish to use your own "
712
+ "stylesheet or do not want it to have it included in the header section of "
713
+ "your site, use this."
714
+ msgstr ""
715
+ "Par d&eacute;faut, le plugin comprend une feuille de style appel&eacute;e "
716
+ "wpp.css que vous pouvez utiliser pour mettre en forme la liste des messages "
717
+ "populaires. Si vous souhaitez utiliser votre propre feuille de style ou ne "
718
+ "voulez pas de l'inclure dans la section d'en-t&ecirc;te de votre site, "
719
+ "utilisez ceci."
720
+
721
+ #: admin.php:679 admin.php:696
722
+ msgid "Enabled"
723
+ msgstr "Activ&eacute;"
724
+
725
+ #: admin.php:680 admin.php:697
726
+ msgid "Disabled"
727
+ msgstr "D&eacute;sactiv&eacute;"
728
+
729
+ #: admin.php:689
730
+ msgid "Data tools"
731
+ msgstr "Gestion des donn&eacute;es"
732
+
733
+ #: admin.php:691
734
+ msgid ""
735
+ "AJAX update. If you are using a caching plugin such as WP Super Cache, "
736
+ "enabling this feature will keep the popular list from being cached."
737
+ msgstr ""
738
+ "Mise &agrave; jour AJAX. Si vous utilisez un plugin de mise en cache comme "
739
+ "WP Super Cache, l'activation de cette fonction permet d'avoir la liste des "
740
+ "posts les plus populaire malgr&eacute; la mise en cache."
741
+
742
+ #: admin.php:706
743
+ msgid ""
744
+ "Wordpress Popular Posts keeps historical data of your most popular entries "
745
+ "for up to 30 days. If for some reason you need to clear the cache table, or "
746
+ "even both historical and cache tables, please use the buttons below to do so."
747
+ msgstr ""
748
+ "Wordpress Popular Posts conserve les donn&eacute;es historiques de vos posts "
749
+ "les plus populaires pour un maximum de 30 jours. Si, pour une raison "
750
+ "quelconque, vous devez effacer la table du cache, ou m&ecirc;me les deux "
751
+ "tables d'historiques et de cache, veuillez utiliser les boutons ci-dessous "
752
+ "pour le faire."
753
+
754
+ #: admin.php:707
755
+ msgid "Empty cache"
756
+ msgstr "Vider le cache"
757
+
758
+ #: admin.php:707
759
+ msgid "Use this button to manually clear entries from WPP cache only"
760
+ msgstr ""
761
+ "Utiliser ce bouton pour effacer manuellement les donn&eacute;es en caches de "
762
+ "WPP"
763
+
764
+ #: admin.php:708
765
+ msgid "Clear all data"
766
+ msgstr "Effacer toutes les donn&eacute;es"
767
+
768
+ #: admin.php:708
769
+ msgid "Use this button to manually clear entries from all WPP data tables"
770
+ msgstr ""
771
+ "Utiliser ce bouton pour effacer manuellement les donn&eacute;es de toutes "
772
+ "les tables de donn&eacute;es WPP"
773
+
774
+ #: admin.php:714
775
+ msgid "Do you like this plugin?"
776
+ msgstr "Aimez-vous ce plugin ?"
777
+
778
+ #: admin.php:714
779
+ msgid "Rate Wordpress Popular Posts!"
780
+ msgstr "Noter Wordpress Popular Posts !"
781
+
782
+ #: admin.php:714
783
+ msgid "Rate it"
784
+ msgstr "Notez le"
785
+
786
+ #: admin.php:714
787
+ msgid "on the official Plugin Directory!"
788
+ msgstr "sur le site officiel des plugins !"
789
+
790
+ #: admin.php:715
791
+ msgid "Do you love this plugin?"
792
+ msgstr "Si vous appreciez-vous ce plugin, "
793
+
794
+ #: admin.php:715 admin.php:716
795
+ msgid "Buy me a beer!"
796
+ msgstr "payez moi une bi&egrave;re !"
797
+
798
+ #: admin.php:715
799
+ msgid ""
800
+ "Each donation motivates me to keep releasing free stuff for the Wordpress "
801
+ "community!"
802
+ msgstr ""
803
+ "Chaque don me motive pour maintenir la gratuit&eacute; des d&eacute;"
804
+ "veloppements pour la communaut&eacute; Wordpress"
805
+
806
+ #: wordpress-popular-posts.php:47
807
+ msgid "The most Popular Posts on your blog."
808
+ msgstr "Les posts les plus populaires sur votre blog."
809
+
810
+ #: wordpress-popular-posts.php:301
811
+ msgid "Title:"
812
+ msgstr "Titre :"
813
+
814
+ #: wordpress-popular-posts.php:301 wordpress-popular-posts.php:303
815
+ #: wordpress-popular-posts.php:305 wordpress-popular-posts.php:313
816
+ #: wordpress-popular-posts.php:324 wordpress-popular-posts.php:326
817
+ #: wordpress-popular-posts.php:330 wordpress-popular-posts.php:334
818
+ #: wordpress-popular-posts.php:343 wordpress-popular-posts.php:355
819
+ #: wordpress-popular-posts.php:367 wordpress-popular-posts.php:368
820
+ #: wordpress-popular-posts.php:369 wordpress-popular-posts.php:370
821
+ #: wordpress-popular-posts.php:385 wordpress-popular-posts.php:396
822
+ msgid "What is this?"
823
+ msgstr "Qu'est-ce que c'est ?"
824
+
825
+ #: wordpress-popular-posts.php:303
826
+ msgid "Show up to:"
827
+ msgstr "Pr&eacute;sentez-vous :"
828
+
829
+ #: wordpress-popular-posts.php:304
830
+ msgid "posts"
831
+ msgstr "posts"
832
+
833
+ #: wordpress-popular-posts.php:305
834
+ msgid "Time Range:"
835
+ msgstr "Plage de temps :"
836
+
837
+ #: wordpress-popular-posts.php:313
838
+ msgid "Sort posts by:"
839
+ msgstr "Trier les posts par :"
840
+
841
+ #: wordpress-popular-posts.php:315
842
+ msgid "Comments"
843
+ msgstr "Commentaires"
844
+
845
+ #: wordpress-popular-posts.php:316
846
+ msgid "Total views"
847
+ msgstr "Nombre de vues"
848
+
849
+ #: wordpress-popular-posts.php:317
850
+ msgid "Avg. daily views"
851
+ msgstr "Moy. vues par jour"
852
+
853
+ #: wordpress-popular-posts.php:322
854
+ msgid "Posts settings"
855
+ msgstr "R&eacute;glage des posts"
856
+
857
+ #: wordpress-popular-posts.php:324
858
+ msgid "Display post rating"
859
+ msgstr "Afficher la note du post"
860
+
861
+ #: wordpress-popular-posts.php:326
862
+ msgid "Shorten title"
863
+ msgstr "Raccourcir le titre"
864
+
865
+ #: wordpress-popular-posts.php:328
866
+ msgid "Shorten title to"
867
+ msgstr "Raccourcir le titre de"
868
+
869
+ #: wordpress-popular-posts.php:328 wordpress-popular-posts.php:335
870
+ msgid "characters"
871
+ msgstr "caract."
872
+
873
+ #: wordpress-popular-posts.php:330
874
+ msgid "Display post excerpt"
875
+ msgstr "Afficher un extrait du post"
876
+
877
+ #: wordpress-popular-posts.php:333
878
+ msgid "Excerpt Properties"
879
+ msgstr "Propri&eacute;t&eacute; de l'extrait"
880
+
881
+ #: wordpress-popular-posts.php:334
882
+ msgid "Keep text format and links"
883
+ msgstr "Garder le formatage du texte et les liens"
884
+
885
+ #: wordpress-popular-posts.php:335
886
+ msgid "Excerpt length:"
887
+ msgstr "Longueur de l'extrait :"
888
+
889
+ #: wordpress-popular-posts.php:343
890
+ msgid "Filters:"
891
+ msgstr "Filtres :"
892
+
893
+ #: wordpress-popular-posts.php:344
894
+ msgid "Post type(s):"
895
+ msgstr "Type de posts"
896
+
897
+ #: wordpress-popular-posts.php:346
898
+ msgid "Category(ies) ID(s):"
899
+ msgstr "Cat&eacute;gories ID :"
900
+
901
+ #: wordpress-popular-posts.php:348
902
+ msgid "Author(s) ID(s):"
903
+ msgstr "Auteurs ID :"
904
+
905
+ #: wordpress-popular-posts.php:354
906
+ msgid "Thumbnail settings"
907
+ msgstr "R&eacute;glages des vignettes"
908
+
909
+ #: wordpress-popular-posts.php:355
910
+ msgid "Display post thumbnail"
911
+ msgstr "Afficher les vignettes des posts"
912
+
913
+ #: wordpress-popular-posts.php:357
914
+ msgid "Width:"
915
+ msgstr "Largeur :"
916
+
917
+ #: wordpress-popular-posts.php:358 wordpress-popular-posts.php:360
918
+ msgid "px"
919
+ msgstr "px"
920
+
921
+ #: wordpress-popular-posts.php:359
922
+ msgid "Height:"
923
+ msgstr "Hauteur :"
924
+
925
+ #: wordpress-popular-posts.php:366
926
+ msgid "Stats Tag settings"
927
+ msgstr "Options d'affichage"
928
+
929
+ #: wordpress-popular-posts.php:367
930
+ msgid "Display comment count"
931
+ msgstr "Affichage du nombre de commentaires"
932
+
933
+ #: wordpress-popular-posts.php:368
934
+ msgid "Display views"
935
+ msgstr "Affichage le nb de vues"
936
+
937
+ #: wordpress-popular-posts.php:369
938
+ msgid "Display author"
939
+ msgstr "Affichage de l'auteur"
940
+
941
+ #: wordpress-popular-posts.php:370
942
+ msgid "Display date"
943
+ msgstr "Affichage de la date"
944
+
945
+ #: wordpress-popular-posts.php:373
946
+ msgid "Date Format"
947
+ msgstr "Format de la date"
948
+
949
+ #: wordpress-popular-posts.php:384
950
+ msgid "HTML Markup settings"
951
+ msgstr "Formatage HTML de l'affichage"
952
+
953
+ #: wordpress-popular-posts.php:385
954
+ msgid "Use custom HTML Markup"
955
+ msgstr "Utiliser du code HTML"
956
+
957
+ #: wordpress-popular-posts.php:388
958
+ msgid "Before / after title:"
959
+ msgstr "Avant/Apr&egrave;s le titre :"
960
+
961
+ #: wordpress-popular-posts.php:390
962
+ msgid "Before / after Popular Posts:"
963
+ msgstr "Avant/Apr&egrave;s Popular Posts :"
964
+
965
+ #: wordpress-popular-posts.php:392
966
+ msgid "Before / after each post:"
967
+ msgstr "Avant/Apr&egrave;s chaque post :"
968
+
969
+ #: wordpress-popular-posts.php:396
970
+ msgid "Use content formatting tags"
971
+ msgstr "Utiliser les balises de formatage de contenu."
972
+
973
+ #: wordpress-popular-posts.php:399
974
+ msgid "Content format:"
975
+ msgstr "Format de contenu :"
976
+
977
+ #: wordpress-popular-posts.php:505
978
+ msgid "Success! The cache table has been cleared!"
979
+ msgstr "Ok ! La table de cache est bien effac&eacute;e !"
980
+
981
+ #: wordpress-popular-posts.php:507
982
+ msgid "Error: cache table does not exist."
983
+ msgstr "Erreur : la table de cache n'existe pas."
984
+
985
+ #: wordpress-popular-posts.php:513
986
+ msgid "Success! All data have been cleared!"
987
+ msgstr "Ok ! Toutes les donn&eacute;es ont &eacute;t&eacute; effac&eacute;es !"
988
+
989
+ #: wordpress-popular-posts.php:515
990
+ msgid "Error: one or both data tables are missing."
991
+ msgstr "Erreur : une ou deux tables de donn&eacute;es sont manquantes. "
992
+
993
+ #: wordpress-popular-posts.php:518
994
+ msgid "Invalid action."
995
+ msgstr "Action invalide"
996
+
997
+ #: wordpress-popular-posts.php:521
998
+ msgid ""
999
+ "Sorry, you do not have enough permissions to do this. Please contact the "
1000
+ "site administrator for support."
1001
+ msgstr ""
1002
+ "D&eacute;sol&eacute;, vous n'avez pas les autorisations suffisantes pour "
1003
+ "faire cela. Contactez, s'il vous pla&icirc;t, l'administrateur du site pour "
1004
+ "avoir de l'aide."
1005
+
1006
+ #: wordpress-popular-posts.php:852
1007
+ msgid "Sorry. No data so far."
1008
+ msgstr "D&eacute;sol&eacute;. Aucune donn&eacute;e &agrave; ce jour."
1009
+
1010
+ #: wordpress-popular-posts.php:928
1011
+ msgid "comment(s)"
1012
+ msgstr "commentaire(s)"
1013
+
1014
+ #: wordpress-popular-posts.php:932
1015
+ msgid "view(s)"
1016
+ msgstr "vue(s)"
1017
+
1018
+ #: wordpress-popular-posts.php:935
1019
+ msgid "view(s) per day"
1020
+ msgstr "vue(s) par jour"
1021
+
1022
+ #: wordpress-popular-posts.php:943
1023
+ msgid "by"
1024
+ msgstr "par"
1025
+
1026
+ #: wordpress-popular-posts.php:947
1027
+ msgid "posted on"
1028
+ msgstr "post&eacute; le"
1029
+
1030
+ #: wordpress-popular-posts.php:1292
1031
+ msgid ""
1032
+ "Your Wordpress version is too old. Wordpress Popular Posts Plugin requires "
1033
+ "at least version 2.8 to function correctly. Please update your blog via "
1034
+ "Tools &gt; Upgrade."
1035
+ msgstr ""
1036
+ "Votre version de Wordpress est trop vielle. Le plugin Wordpress Popular "
1037
+ "Posts requiert une version > 2.8 pour fonctionner correctement. Veuillez "
1038
+ "mettre &agrave; jour votre blog &agrave; l'aide de l'outil \"Mise &agrave; "
1039
+ "jour\"."
1040
+
1041
+ #: wordpress-popular-posts.php:1416
1042
+ msgid "Wordpress Popular Posts Stats"
1043
+ msgstr "Statistiques Wordpress Popular Posts"
lang/wordpress-popular-posts-ja.mo ADDED
Binary file
lang/wordpress-popular-posts-ja.po ADDED
@@ -0,0 +1,1202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Wordpress Popular Posts\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-06-02 11:54-0430\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Hector Cabrera <hcabrerab@gmail.com>\n"
8
+ "Language-Team: Héctor Cabrera <admin@rauru.com>\n"
9
+ "Language: Japanese\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-SourceCharset: UTF-8\n"
14
+ "X-Poedit-KeywordsList: __;_e\n"
15
+ "X-Poedit-Basepath: .\n"
16
+ "X-Generator: Poedit 1.5.5\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: admin.php:67 admin.php:73 admin.php:85 admin.php:96 admin.php:104
20
+ msgid "Settings saved."
21
+ msgstr "設定を保存しました。"
22
+
23
+ #: admin.php:78
24
+ msgid "Please provide the name of your custom field."
25
+ msgstr "カスタムフィールドの名称を入れてください。"
26
+
27
+ #: admin.php:345
28
+ msgid ""
29
+ "This operation will delete all entries from Wordpress Popular Posts' cache "
30
+ "table and cannot be undone."
31
+ msgstr ""
32
+ "この操作は、WordPress Popular Postsのキャッシュ・テーブルにあるデータをすべて削除します。もとに"
33
+ "もどすことはできません。"
34
+
35
+ #: admin.php:345 admin.php:353
36
+ msgid "Do you want to continue?"
37
+ msgstr "続けてもいいですか?"
38
+
39
+ #: admin.php:353
40
+ msgid ""
41
+ "This operation will delete all stored info from Wordpress Popular Posts' "
42
+ "data tables and cannot be undone."
43
+ msgstr ""
44
+ "この操作は、WordPress Popular Postsのデータ・テーブルのデータをすべて削除します。もとにもどすことは"
45
+ "できません。"
46
+
47
+ #: admin.php:367
48
+ msgid "Stats"
49
+ msgstr "統計"
50
+
51
+ #: admin.php:368
52
+ msgid "FAQ"
53
+ msgstr "よくある質問"
54
+
55
+ #: admin.php:369
56
+ msgid "Tools"
57
+ msgstr "ツール"
58
+
59
+ #: admin.php:373
60
+ msgid ""
61
+ "Click on each tab to see what are the most popular entries on your blog in "
62
+ "the last 24 hours, this week, last 30 days or all time since Wordpress "
63
+ "Popular Posts was installed."
64
+ msgstr ""
65
+ "タブをクリックすると、24時間、1週間、1か月、WordPress Popular Postsを設置してから今日までの累積で、"
66
+ "最も人気のあるコンテンツを表示します。"
67
+
68
+ #: admin.php:379
69
+ msgid "Order by comments"
70
+ msgstr "コメント数でランキング"
71
+
72
+ #: admin.php:380
73
+ msgid "Order by views"
74
+ msgstr "閲覧数でランキング"
75
+
76
+ #: admin.php:381
77
+ msgid "Order by avg. daily views"
78
+ msgstr "1日の平均閲覧数でランキング"
79
+
80
+ #: admin.php:383
81
+ msgid "Post type"
82
+ msgstr "投稿タイプ"
83
+
84
+ #: admin.php:384
85
+ msgid "Limit"
86
+ msgstr "表示する数"
87
+
88
+ #: admin.php:386 admin.php:805 admin.php:864 admin.php:884 admin.php:936
89
+ msgid "Apply"
90
+ msgstr "適用"
91
+
92
+ #: admin.php:392 wordpress-popular-posts.php:382
93
+ msgid "Last 24 hours"
94
+ msgstr "24時間"
95
+
96
+ #: admin.php:393 wordpress-popular-posts.php:383
97
+ msgid "Last 7 days"
98
+ msgstr "1週間"
99
+
100
+ #: admin.php:394 wordpress-popular-posts.php:384
101
+ msgid "Last 30 days"
102
+ msgstr "1か月"
103
+
104
+ #: admin.php:395 wordpress-popular-posts.php:385
105
+ msgid "All-time"
106
+ msgstr "累積"
107
+
108
+ #: admin.php:416
109
+ msgid "Frequently Asked Questions"
110
+ msgstr "よくある質問"
111
+
112
+ #: admin.php:420
113
+ msgid "What does \"Title\" do?"
114
+ msgstr "「タイトル」は何をするのですか?"
115
+
116
+ #: admin.php:422
117
+ msgid ""
118
+ "It allows you to show a heading for your most popular posts listing. If left "
119
+ "empty, no heading will be displayed at all."
120
+ msgstr ""
121
+ "人気投稿リストの見出しが表示されるようになります。空欄にすると、何も表示しません。"
122
+
123
+ #: admin.php:425
124
+ msgid "What is Time Range for?"
125
+ msgstr "期間は何のためにあるのですか?"
126
+
127
+ #: admin.php:427
128
+ msgid ""
129
+ "It will tell Wordpress Popular Posts to retrieve all posts with most views / "
130
+ "comments within the selected time range."
131
+ msgstr "指定された期間の中で、最も閲覧数の多い投稿、または最もコメントの多い投稿を表示するようになります。"
132
+ ""
133
+
134
+ #: admin.php:430
135
+ msgid "What is \"Sort post by\" for?"
136
+ msgstr "「並び替え順」はなんのためにありのですか?"
137
+
138
+ #: admin.php:432
139
+ msgid ""
140
+ "It allows you to decide whether to order your popular posts listing by total "
141
+ "views, comments, or average views per day."
142
+ msgstr ""
143
+ "合計閲覧数、コメント数、1日の平均閲覧数のどれで投稿を並べるかを選択することができます。"
144
+
145
+ #: admin.php:435
146
+ msgid "What does \"Display post rating\" do?"
147
+ msgstr "「投稿評価を表示する」というのは何ですか?"
148
+
149
+ #: admin.php:437
150
+ msgid ""
151
+ "If checked, Wordpress Popular Posts will show how your readers are rating "
152
+ "your most popular posts. This feature requires having WP-PostRatings plugin "
153
+ "installed and enabled on your blog for it to work."
154
+ msgstr ""
155
+ "これをチェックすると、読者があなたの人気の投稿をどう評価しているかを示すことができます。"
156
+ "WP-PostRatingsプラグインがインストールされていて、有効化してあれば利用することができます。"
157
+
158
+ #: admin.php:440
159
+ msgid "What does \"Shorten title\" do?"
160
+ msgstr "「タイトルを短縮する」は何をするのですか?"
161
+
162
+ #: admin.php:442
163
+ msgid ""
164
+ "If checked, all posts titles will be shortened to \"n\" characters/words. A "
165
+ "new \"Shorten title to\" option will appear so you can set it to whatever "
166
+ "you like."
167
+ msgstr ""
168
+ "これをチェックすると、全ての投稿タイトルが\"n\"文字または\"n\"語になります。「次の文字数までタイトルを縮める」という"
169
+ "オプションが新しく現れますので、あなたの好きな数値に設定することができます。"
170
+
171
+ #: admin.php:445
172
+ msgid "What does \"Display post excerpt\" do?"
173
+ msgstr "「投稿抜粋を表示する」は何をするものですか?"
174
+
175
+ #: admin.php:447
176
+ msgid ""
177
+ "If checked, Wordpress Popular Posts will also include a small extract of "
178
+ "your posts in the list. Similarly to the previous option, you will be able "
179
+ "to decide how long the post excerpt should be."
180
+ msgstr ""
181
+ "これをチェックすると、投稿のリストに短い抜粋を含めることができるようになります。前のオプションと同様に、"
182
+ "抜粋の長さを決めることができます。"
183
+
184
+ #: admin.php:450
185
+ msgid "What does \"Keep text format and links\" do?"
186
+ msgstr "「テキスト・フォーマットとリンクを保存する」というのは何をするものですか?"
187
+
188
+ #: admin.php:452
189
+ msgid ""
190
+ "If checked, and if the Post Excerpt feature is enabled, Wordpress Popular "
191
+ "Posts will keep the styling tags (eg. bold, italic, etc) that were found in "
192
+ "the excerpt. Hyperlinks will remain intact, too."
193
+ msgstr ""
194
+ "これをチェックして、投稿抜粋の機能が有効になっていると、抜粋に含まれるスタイルタグ(boldやitalicなど)"
195
+ "がそのまま使われます。ハイパーリンクもそのままになります。"
196
+
197
+ #: admin.php:455
198
+ msgid "What is \"Post type\" for?"
199
+ msgstr "「投稿タイプ」とは何に使うのですか?"
200
+
201
+ #: admin.php:457
202
+ msgid ""
203
+ "This filter allows you to decide which post types to show on the listing. By "
204
+ "default, it will retrieve only posts and pages (which should be fine for "
205
+ "most cases)."
206
+ msgstr ""
207
+ "このフィルタを通すと、どの投稿タイプが表示されるかを決めることができます。デフォルトでは、投稿と固定ページ"
208
+ "が表示されます(ほとんどの場合、これで十分なはずです)。"
209
+
210
+ #: admin.php:460
211
+ msgid "What is \"Category(ies) ID(s)\" for?"
212
+ msgstr "「カテゴリID」というのは何に使うのですか?"
213
+
214
+ #: admin.php:462
215
+ msgid ""
216
+ "This filter allows you to select which categories should be included or "
217
+ "excluded from the listing. A negative sign in front of the category ID "
218
+ "number will exclude posts belonging to it from the list, for example. You "
219
+ "can specify more than one ID with a comma separated list."
220
+ msgstr ""
221
+ "このフィルタを通すと、どのカテゴリをリストに表示するかを決めることができます。たとえば、カテゴリIDの前に"
222
+ "マイナスの符号をつけると、リストに表示されなくなります。カンマで区切れば複数のIDを指定することが"
223
+ "できます。"
224
+
225
+ #: admin.php:465
226
+ msgid "What is \"Author(s) ID(s)\" for?"
227
+ msgstr "「投稿者ID」はどのように使うのですか?"
228
+
229
+ #: admin.php:467
230
+ msgid ""
231
+ "Just like the Category filter, this one lets you filter posts by author ID. "
232
+ "You can specify more than one ID with a comma separated list."
233
+ msgstr ""
234
+ "カテゴリ・フィルタと同様、これを指定すると、投稿者IDでフィルタをかけることができるようになります。"
235
+ "カンマで区切れば複数のIDを指定することができます。"
236
+
237
+ #: admin.php:470
238
+ msgid "What does \"Display post thumbnail\" do?"
239
+ msgstr "「投稿サムネールを表示する」というのは、何をするのですか?"
240
+
241
+ #: admin.php:472
242
+ msgid ""
243
+ "If checked, Wordpress Popular Posts will attempt to retrieve the thumbnail "
244
+ "of each post. You can set up the source of the thumbnail via Settings - "
245
+ "Wordpress Popular Posts - Tools."
246
+ msgstr ""
247
+ "これをチェックすると、Popular Postsは投稿のサムネールを取得しようとします。表示するサムネール画像は、"
248
+ "設定 &lt; WordPress Popular Posts &lt; ツール で設定することができます。"
249
+
250
+ #: admin.php:475
251
+ msgid "What does \"Display comment count\" do?"
252
+ msgstr "「コメント数を表示する」というのは、何をするのですか?"
253
+
254
+ #: admin.php:477
255
+ msgid ""
256
+ "If checked, Wordpress Popular Posts will display how many comments each "
257
+ "popular post has got in the selected Time Range."
258
+ msgstr ""
259
+ "これをチェックすると、設定された期間で、投稿にいくつのコメントがついたかを表示することができます。"
260
+
261
+ #: admin.php:480
262
+ msgid "What does \"Display views\" do?"
263
+ msgstr "「閲覧数を表示する」というのは何?"
264
+
265
+ #: admin.php:482
266
+ msgid ""
267
+ "If checked, Wordpress Popular Posts will show how many pageviews a single "
268
+ "post has gotten in the selected Time Range."
269
+ msgstr ""
270
+ "これをチェックすると、個別の投稿が指定された期間内で何回閲覧されたかを表示するようになります。"
271
+
272
+ #: admin.php:485
273
+ msgid "What does \"Display author\" do?"
274
+ msgstr "「投稿者を表示する」は何をするのですか?"
275
+
276
+ #: admin.php:487
277
+ msgid ""
278
+ "If checked, Wordpress Popular Posts will display the name of the author of "
279
+ "each entry listed."
280
+ msgstr ""
281
+ "これをチェックすると、リストのエントリを書いた投稿者名が表示されるようになります。"
282
+
283
+ #: admin.php:490
284
+ msgid "What does \"Display date\" do?"
285
+ msgstr "「日付を表示する」というのは?"
286
+
287
+ #: admin.php:492
288
+ msgid ""
289
+ "If checked, Wordpress Popular Posts will display the date when each popular "
290
+ "posts was published."
291
+ msgstr ""
292
+ "これをチェックすると、投稿が公開された日付を表示するようになります。"
293
+
294
+ #: admin.php:495
295
+ msgid "What does \"Use custom HTML Markup\" do?"
296
+ msgstr "「カスタムHTMLマークアップを使う」というのは、何をするのですか?"
297
+
298
+ #: admin.php:497
299
+ msgid ""
300
+ "If checked, you will be able to customize the HTML markup of your popular "
301
+ "posts listing. For example, you can decide whether to wrap your posts in an "
302
+ "unordered list, an ordered list, a div, etc. If you know xHTML/CSS, this is "
303
+ "for you!"
304
+ msgstr ""
305
+ "これをチェックすると、リスト表示のHTMLマークアップを変更することができます。たとえば、番号付きリストにしたり、"
306
+ "番号なしリストにしたり、divで囲ったりすることができます。xHTML/CSSの知識がある場合は、やってみてください。"
307
+
308
+ #: admin.php:500
309
+ msgid "What are \"Content Tags\"?"
310
+ msgstr "「コンテンツ・タグ」って何?"
311
+
312
+ #: admin.php:502
313
+ msgid ""
314
+ "Content Tags are codes to display a variety of items on your popular posts "
315
+ "custom HTML structure. For example, setting it to \"{title}: "
316
+ "{summary}\" (without the quotes) would display \"Post title: excerpt of the "
317
+ "post here\". For more Content Tags, see \"List of parameters accepted by "
318
+ "wpp_get_mostpopular() and the [wpp] shortcode\"."
319
+ msgstr ""
320
+ "コンテンツ・タグは、カスタムHTMLでいろいろな項目を表示できるようになるコードです。たとえば、「{title}: "
321
+ "{summary}」とすると、「投稿タイトル: 投稿抜粋」と表示されます。他のコンテント・タグについては、"
322
+ "「wpp_get_postpopular()と[wpp]ショートコードで使えるパラメータ・リスト」をご覧ください。"
323
+
324
+ #: admin.php:505
325
+ msgid "What are \"Template Tags\"?"
326
+ msgstr "「テンプレート・タグ」というのは?"
327
+
328
+ #: admin.php:507
329
+ msgid ""
330
+ "Template Tags are simply php functions that allow you to perform certain "
331
+ "actions. For example, Wordpress Popular Posts currently supports two "
332
+ "different template tags: wpp_get_mostpopular() and wpp_get_views()."
333
+ msgstr ""
334
+ "テンプレート・タグは、簡単なPHP関数で、それに対応するアクションをさせることができます。たとえば、"
335
+ "WordPress Popular Postsは現在、二つのテンプレート・タグを持っています。"
336
+ "wpp_get_mostpopular()とwpp_get_views()です。"
337
+
338
+ #: admin.php:510
339
+ msgid "What are the template tags that Wordpress Popular Posts supports?"
340
+ msgstr "WordPress Popular Postsがサポートするテンプレート・タグにはどんなものがありますか?"
341
+
342
+ #: admin.php:512
343
+ msgid ""
344
+ "The following are the template tags supported by Wordpress Popular Posts"
345
+ msgstr "次のものが使えます。"
346
+
347
+ #: admin.php:516
348
+ msgid "Template tag"
349
+ msgstr "テンプレート・タグ"
350
+
351
+ #: admin.php:517 admin.php:550
352
+ msgid "What it does "
353
+ msgstr "できること "
354
+
355
+ #: admin.php:518
356
+ msgid "Parameters"
357
+ msgstr "パラメータ"
358
+
359
+ #: admin.php:519 admin.php:553
360
+ msgid "Example"
361
+ msgstr "例"
362
+
363
+ #: admin.php:525
364
+ msgid ""
365
+ "Similar to the widget functionality, this tag retrieves the most popular "
366
+ "posts on your blog. This function also accepts parameters so you can "
367
+ "customize your popular listing, but these are not required."
368
+ msgstr ""
369
+ "ウィジェットを使うのと同じ結果になります。このタグを使うと、人気の投稿を表示することができます。"
370
+ "この関数は、パラメータも受けつけるので、リスト表示をカスタマイズすることもできます。かならず"
371
+ "カスタマイズしなければならないというわけではありません。"
372
+
373
+ #: admin.php:526
374
+ msgid ""
375
+ "Please refer to \"List of parameters accepted by wpp_get_mostpopular() and "
376
+ "the [wpp] shortcode\"."
377
+ msgstr ""
378
+ "「wpp_get_mostpopular()が受けつけるパラメータ・リスト」と[wpp]ショートコードのところを見てください。"
379
+
380
+ #: admin.php:531
381
+ msgid ""
382
+ "Displays the number of views of a single post. Post ID is required or it "
383
+ "will return false."
384
+ msgstr ""
385
+ "個別投稿の閲覧数を表示します。投稿IDを指定することが必要です。それがないと、falseを返します。"
386
+
387
+ #: admin.php:532
388
+ msgid "Post ID"
389
+ msgstr "投稿ID"
390
+
391
+ #: admin.php:539
392
+ msgid "What are \"shortcodes\"?"
393
+ msgstr "「ショートコード」とは何ですか?"
394
+
395
+ #: admin.php:541
396
+ msgid ""
397
+ "Shortcodes are similar to BB Codes, these allow us to call a php function by "
398
+ "simply typing something like [shortcode]. With Wordpress Popular Posts, the "
399
+ "shortcode [wpp] will let you insert a list of the most popular posts in "
400
+ "posts content and pages too! For more information about shortcodes, please "
401
+ "visit"
402
+ msgstr ""
403
+ "ショートコードはBBコードに似ていて、[shortcode]みたいな書き方をすると、phpの関数が呼び出されることに"
404
+ "なっています。WordPress Popular Postsでは、[wpp]というショートコードを書くと、投稿やページで"
405
+ "人気の投稿がリスト表示されるようになります。ショートコードについての詳しい情報は、次のページを見てください。"
406
+
407
+ #: admin.php:543
408
+ msgid ""
409
+ "List of parameters accepted by wpp_get_mostpopular() and the [wpp] shortcode"
410
+ msgstr ""
411
+ "wpp_get_mostpopular()と[wpp]ショートコードが受けつけるパラメータ・リスト"
412
+
413
+ #: admin.php:545
414
+ msgid ""
415
+ "These parameters can be used by both the template tag wpp_get_most_popular() "
416
+ "and the shortcode [wpp]."
417
+ msgstr ""
418
+ "これは、wpp_get_mostpopular()テンプレートタグと[wpp]ショートコードで使えるパラメータです。"
419
+
420
+ #: admin.php:549
421
+ msgid "Parameter"
422
+ msgstr "パラメータ"
423
+
424
+ #: admin.php:551
425
+ msgid "Possible values"
426
+ msgstr "使える値"
427
+
428
+ #: admin.php:552
429
+ msgid "Defaults to"
430
+ msgstr "デフォルト値"
431
+
432
+ #: admin.php:559
433
+ msgid "Sets a heading for the list"
434
+ msgstr "リストの見出しを設定する"
435
+
436
+ #: admin.php:560 admin.php:567 admin.php:574 admin.php:602 admin.php:609
437
+ #: admin.php:616 admin.php:623 admin.php:714 admin.php:728 admin.php:735
438
+ #: admin.php:749 admin.php:756
439
+ msgid "Text string"
440
+ msgstr "文字列"
441
+
442
+ #: admin.php:561 wordpress-popular-posts.php:126
443
+ msgid "Popular Posts"
444
+ msgstr "人気の投稿"
445
+
446
+ #: admin.php:566
447
+ msgid "Set the opening tag for the heading of the list"
448
+ msgstr "リストの見出しの前につけるHTMLタグを設定する"
449
+
450
+ #: admin.php:573
451
+ msgid "Set the closing tag for the heading of the list"
452
+ msgstr "リストの見出しの後につけるHTMLタグを設定する"
453
+
454
+ #: admin.php:580
455
+ msgid "Sets the maximum number of popular posts to be shown on the listing"
456
+ msgstr "リストに表示する投稿数の上限を設定する"
457
+
458
+ #: admin.php:581 admin.php:630 admin.php:644 admin.php:665 admin.php:672
459
+ msgid "Positive integer"
460
+ msgstr "正の整数"
461
+
462
+ #: admin.php:587
463
+ msgid ""
464
+ "Tells Wordpress Popular Posts to retrieve the most popular entries within "
465
+ "the time range specified by you"
466
+ msgstr ""
467
+ "設定された期間内で最も人気のあるエントリを表示する"
468
+
469
+ #: admin.php:594
470
+ msgid "Sets the sorting option of the popular posts"
471
+ msgstr "人気の投稿並び順を決める"
472
+
473
+ #: admin.php:595
474
+ msgid "(for average views per day)"
475
+ msgstr "(1日の平均閲覧数)"
476
+
477
+ #: admin.php:601
478
+ msgid "Defines the type of posts to show on the listing"
479
+ msgstr "リストに表示する投稿のタイプを決める"
480
+
481
+ #: admin.php:608
482
+ msgid ""
483
+ "If set, Wordpress Popular Posts will exclude the specified post(s) ID(s) "
484
+ "form the listing."
485
+ msgstr ""
486
+ "これを設定すると、特定の投稿IDが表示されないようになります。"
487
+
488
+ #: admin.php:610 admin.php:617 admin.php:624
489
+ msgid "None"
490
+ msgstr "なし"
491
+
492
+ #: admin.php:615
493
+ msgid ""
494
+ "If set, Wordpress Popular Posts will retrieve all entries that belong to the "
495
+ "specified category(ies) ID(s). If a minus sign is used, the category(ies) "
496
+ "will be excluded instead."
497
+ msgstr ""
498
+ "これを設定すると、指定されたカテゴリIDのエントリが全て表示されるようになります。マイナス符号を使うと、"
499
+ "そのカテゴリは表示から外されるようになります。"
500
+
501
+ #: admin.php:622
502
+ msgid ""
503
+ "If set, Wordpress Popular Posts will retrieve all entries created by "
504
+ "specified author(s) ID(s)."
505
+ msgstr ""
506
+ "これを設定すると、指定された投稿者IDのエントリが全て表示されるようになります。"
507
+
508
+ #: admin.php:629
509
+ msgid ""
510
+ "If set, Wordpress Popular Posts will shorten each post title to \"n\" "
511
+ "characters whenever possible"
512
+ msgstr ""
513
+ "これを設定すると、投稿タイトルを\"n\"文字になるようにします。"
514
+
515
+ #: admin.php:636
516
+ msgid ""
517
+ "If set to 1, Wordpress Popular Posts will shorten each post title to \"n\" "
518
+ "words instead of characters"
519
+ msgstr ""
520
+ "これを1に設定すると、タイトルを\"n\"文字ではなくて、\"n\"語になるようにします(日本語では意味がありません)。"
521
+
522
+ #: admin.php:643
523
+ msgid ""
524
+ "If set, Wordpress Popular Posts will build and include an excerpt of \"n\" "
525
+ "characters long from the content of each post listed as popular"
526
+ msgstr ""
527
+ "これを設定すると、投稿のコンテンツから\"n\"文字の抜粋を作り、表示に含めます。"
528
+
529
+ #: admin.php:650
530
+ msgid ""
531
+ "If set, Wordpress Popular Posts will maintaing all styling tags (strong, "
532
+ "italic, etc) and hyperlinks found in the excerpt"
533
+ msgstr ""
534
+ "これを設定すると、抜粋に含まれるスタイル・タグ(strongやitalicなど)やハイパーリンクをすべて"
535
+ "そのまま使うようになります。"
536
+
537
+ #: admin.php:657
538
+ msgid ""
539
+ "If set to 1, Wordpress Popular Posts will shorten the excerpt to \"n\" words "
540
+ "instead of characters"
541
+ msgstr ""
542
+ "これを1に設定すると、抜粋の長さが\"n\"文字ではなくて、\"n\"語の長さになります(日本語では意味がありません)。"
543
+
544
+ #: admin.php:664
545
+ msgid ""
546
+ "If set, and if your current server configuration allows it, you will be able "
547
+ "to display thumbnails of your posts. This attribute sets the width for "
548
+ "thumbnails"
549
+ msgstr ""
550
+ "これを設定し、サーバ設定が許可していれば、投稿に含まれるサムネールを表示することができるようになります。"
551
+ "この属性はサムネールの幅を設定します。"
552
+
553
+ #: admin.php:671
554
+ msgid ""
555
+ "If set, and if your current server configuration allows it, you will be able "
556
+ "to display thumbnails of your posts. This attribute sets the height for "
557
+ "thumbnails"
558
+ msgstr ""
559
+ "これを設定し、サーバ設定が許可していれば、投稿に含まれるサムネールを表示することができるようになります。"
560
+ "この属性はサムネールの高さを設定します。"
561
+
562
+ #: admin.php:678
563
+ msgid ""
564
+ "If set, and if the WP-PostRatings plugin is installed and enabled on your "
565
+ "blog, Wordpress Popular Posts will show how your visitors are rating your "
566
+ "entries"
567
+ msgstr ""
568
+ "これを設定し、WP-PostRatingsプラグインが有効化されていれば、エントリの評価を訪問者に示すことができる"
569
+ "ようになります。"
570
+
571
+ #: admin.php:685
572
+ msgid ""
573
+ "If set, Wordpress Popular Posts will show how many comments each popular "
574
+ "post has got until now"
575
+ msgstr ""
576
+ "これを設定すると、それぞれの投稿にこれまでいくつのコメントがついたかを表示することができます。"
577
+
578
+ #: admin.php:692
579
+ msgid ""
580
+ "If set, Wordpress Popular Posts will show how many views each popular post "
581
+ "has got since it was installed"
582
+ msgstr ""
583
+ "これを設定すると、WordPress Popular Postsをインストールしてからの閲覧数を表示することができる"
584
+ "ようになります。"
585
+
586
+ #: admin.php:699
587
+ msgid ""
588
+ "If set, Wordpress Popular Posts will show who published each popular post on "
589
+ "the list"
590
+ msgstr ""
591
+ "これを設定すると、リストに表示される投稿を公開した作者を表示することができるようになります。"
592
+
593
+ #: admin.php:706
594
+ msgid ""
595
+ "If set, Wordpress Popular Posts will display the date when each popular post "
596
+ "on the list was published"
597
+ msgstr ""
598
+ "これを設定すると、それぞれの投稿が公開された日付を表示するようになります。"
599
+
600
+ #: admin.php:713
601
+ msgid "Sets the date format"
602
+ msgstr "日付フォーマットを設定する"
603
+
604
+ #: admin.php:720
605
+ msgid "If set, Wordpress Popular Posts will display the category"
606
+ msgstr "これを設定すると、カテゴリが表示されます。"
607
+
608
+ #: admin.php:727
609
+ msgid "Sets the opening tag for the listing"
610
+ msgstr "リストの開始タグを指定する。"
611
+
612
+ #: admin.php:734
613
+ msgid "Sets the closing tag for the listing"
614
+ msgstr "リストの終了タグを指定する。"
615
+
616
+ #: admin.php:741
617
+ msgid "Sets the HTML structure of each post"
618
+ msgstr "それぞれの投稿のHTML構造を設定します。"
619
+
620
+ #: admin.php:742
621
+ msgid "Text string, custom HTML"
622
+ msgstr "文字列。カスタムHTML。"
623
+
624
+ #: admin.php:742
625
+ msgid "Available Content Tags"
626
+ msgstr "利用できるコンテンツ・タグ"
627
+
628
+ #: admin.php:742
629
+ msgid "displays thumbnail linked to post/page"
630
+ msgstr "投稿や固定ページに結びついたサムネールを表示します。"
631
+
632
+ #: admin.php:742
633
+ msgid "displays linked post/page title"
634
+ msgstr "投稿や固定ページへのリンクを表示します。"
635
+
636
+ #: admin.php:742
637
+ msgid ""
638
+ "displays post/page excerpt, and requires excerpt_length to be greater than 0"
639
+ msgstr ""
640
+ "投稿や固定ページの抜粋を表示します。抜粋の長さが0より大きな数値になっていることが必要です。"
641
+
642
+ #: admin.php:742
643
+ msgid "displays the default stats tags"
644
+ msgstr "デフォルトの統計タグを表示します。"
645
+
646
+ #: admin.php:742
647
+ msgid ""
648
+ "displays post/page current rating, requires WP-PostRatings installed and "
649
+ "enabled"
650
+ msgstr ""
651
+ "投稿と固定ページの現在の評価を表示します。WP-PostRatingsがインストールされていて、有効化している"
652
+ "ことが必要です。"
653
+
654
+ #: admin.php:742
655
+ msgid "outputs the URL of the post/page"
656
+ msgstr "投稿や固定ページのURLを出力します。"
657
+
658
+ #: admin.php:742
659
+ msgid "displays post/page title, no link"
660
+ msgstr "投稿や固定ページのタイトルをリンクなしで表示します。"
661
+
662
+ #: admin.php:742
663
+ msgid "displays linked author name, requires stats_author=1"
664
+ msgstr "投稿者名へのリンクを表示します。stats_author=1の設定が必要です。"
665
+
666
+ #: admin.php:742
667
+ msgid "displays linked category name, requires stats_category=1"
668
+ msgstr "カテゴリ名へのリンクを表示します。stats_category=1の設定が必要です。"
669
+
670
+ #: admin.php:742
671
+ msgid "displays views count only, no text"
672
+ msgstr "閲覧数の数値だけを表示します。"
673
+
674
+ #: admin.php:742
675
+ msgid "displays comments count only, no text, requires stats_comments=1"
676
+ msgstr "コメント数の数値だけを表示します。stats_comments=1の設定が必要です。"
677
+
678
+ #: admin.php:748
679
+ msgid "Sets the opening tag for each item on the list"
680
+ msgstr "リスト項目の開始タグを設定します。"
681
+
682
+ #: admin.php:755
683
+ msgid "Sets the closing tag for each item on the list"
684
+ msgstr "リスト項目の終了タグを設定します。"
685
+
686
+ #: admin.php:762
687
+ msgid ""
688
+ "If set, this option will allow you to decide the order of the contents "
689
+ "within each item on the list."
690
+ msgstr ""
691
+ "これを設定すると、リスト表示される項目の順序を決めることができます。"
692
+
693
+ #: admin.php:769
694
+ msgid ""
695
+ "If set, you can decide the order of each content inside a single item on the "
696
+ "list. For example, setting it to \"{title}: {summary}\" would output "
697
+ "something like \"Your Post Title: summary here\". This attribute requires "
698
+ "do_pattern to be true."
699
+ msgstr ""
700
+ "これを設定すると、リスト表示される個別の項目の中で何をどの順序で表示するかを決めることができます。"
701
+ "たとえば、\"{title}: {summary}\"とすると、\"投稿タイトル: サマリ\"という形で表示されます。"
702
+ "この属性を使うには、do_patternがtrueに設定されていることが必要です。"
703
+
704
+ #: admin.php:770
705
+ msgid "Available tags"
706
+ msgstr "利用できるタグ"
707
+
708
+ #: admin.php:785
709
+ msgid ""
710
+ "Here you will find a handy group of options to tweak Wordpress Popular Posts."
711
+ msgstr ""
712
+ "ここでは、WordPress Popular Postsをカスタマイズできるオプションのリストを見ることができます。"
713
+
714
+ #: admin.php:787
715
+ msgid "Views logging behavior"
716
+ msgstr "閲覧数を記録するやり方"
717
+
718
+ #: admin.php:793
719
+ msgid "Log views from"
720
+ msgstr "次のものから閲覧数を記録します。"
721
+
722
+ #: admin.php:796
723
+ msgid "Visitors only"
724
+ msgstr "訪問者のみ"
725
+
726
+ #: admin.php:797
727
+ msgid "Everyone"
728
+ msgstr "ログイン・ユーザも含める"
729
+
730
+ #: admin.php:814
731
+ msgid "Thumbnail source"
732
+ msgstr "サムネールの場所"
733
+
734
+ #: admin.php:820
735
+ msgid "Default thumbnail"
736
+ msgstr "デフォルトのサムネール"
737
+
738
+ #: admin.php:822
739
+ msgid "Upload thumbnail"
740
+ msgstr "サムネールをアップロードする"
741
+
742
+ #: admin.php:825
743
+ msgid ""
744
+ "How-to: upload (or select) an image, set Size to Full and click on Upload. "
745
+ "After it's done, hit on Apply to save changes"
746
+ msgstr ""
747
+ "やり方: 画像をアップロードまたは選択し、サイズをフルサイズに設定して、アップロードをクリックしてください。"
748
+ "終了したら、変更を保存をクリックします。"
749
+
750
+ #: admin.php:827
751
+ msgid "Preview"
752
+ msgstr "プレビュー"
753
+
754
+ #: admin.php:835
755
+ msgid "Pick image from"
756
+ msgstr "次から画像を選ぶ"
757
+
758
+ #: admin.php:838
759
+ msgid "Featured image"
760
+ msgstr "アイキャッチ画像"
761
+
762
+ #: admin.php:839
763
+ msgid "First image on post"
764
+ msgstr "投稿に最初に現れる画像"
765
+
766
+ #: admin.php:840
767
+ msgid "Custom field"
768
+ msgstr "カスタム・フィールド"
769
+
770
+ #: admin.php:843
771
+ msgid "Tell Wordpress Popular Posts where it should get thumbnails from"
772
+ msgstr "ここからサムネール画像を取得するようにする。"
773
+
774
+ #: admin.php:847
775
+ msgid "Custom field name"
776
+ msgstr "カスタム・フィールドの名前"
777
+
778
+ #: admin.php:853
779
+ msgid "Resize image from Custom field?"
780
+ msgstr "カスタム・フィールドの画像をサイズ変更しますか?"
781
+
782
+ #: admin.php:856
783
+ msgid "No, I will upload my own thumbnail"
784
+ msgstr "いいえ、自分のサムネールをアップロードします。"
785
+
786
+ #: admin.php:857
787
+ msgid "Yes"
788
+ msgstr "はい"
789
+
790
+ #: admin.php:874
791
+ msgid "Wordpress Popular Posts Stylesheet"
792
+ msgstr "WordPress Popular Postsのスタイルシート"
793
+
794
+ #: admin.php:875
795
+ msgid ""
796
+ "By default, the plugin includes a stylesheet called wpp.css which you can "
797
+ "use to style your popular posts listing. If you wish to use your own "
798
+ "stylesheet or do not want it to have it included in the header section of "
799
+ "your site, use this."
800
+ msgstr ""
801
+ "人気の投稿リストのスタイルを指定するのに、wpp.cssという名前のスタイルシートがデフォルトで含まれています。"
802
+ "自分のスタイルシートを使ったり、このスタイルシートがヘッダ・セクションで読み込まれるのがいやな場合は、これを"
803
+ "使ってください。"
804
+
805
+ #: admin.php:880 admin.php:899
806
+ msgid "Enabled"
807
+ msgstr "有効"
808
+
809
+ #: admin.php:881 admin.php:898
810
+ msgid "Disabled"
811
+ msgstr "無効"
812
+
813
+ #: admin.php:890
814
+ msgid "Data tools"
815
+ msgstr "データを扱う道具"
816
+
817
+ #: admin.php:895
818
+ msgid "Ajaxify widget"
819
+ msgstr "Ajaxを使うウィジェット"
820
+
821
+ #: admin.php:903
822
+ msgid ""
823
+ "If you are using a caching plugin such as WP Super Cache, enabling this "
824
+ "feature will keep the popular list from being cached by it"
825
+ msgstr ""
826
+ ""
827
+ "WP Super Cacheのようなキャッシュ系プラグインを使っている場合、この機能を有効にすると、"
828
+ "人気投稿リストがキャッシュされるのを防ぐことができます。"
829
+
830
+ #: admin.php:907
831
+ msgid "Popular posts listing refresh interval"
832
+ msgstr "人気投稿リストの書き換え間隔"
833
+
834
+ #: admin.php:910
835
+ msgid "Live"
836
+ msgstr "同期"
837
+
838
+ #: admin.php:911
839
+ msgid "Custom interval"
840
+ msgstr "間隔を指定"
841
+
842
+ #: admin.php:915
843
+ msgid ""
844
+ "Sets how often the listing should be updated. For most sites the Live option "
845
+ "should be fine, however if you are experiencing slowdowns or your blog gets "
846
+ "a lot of visitors then you might want to change the refresh rate"
847
+ msgstr ""
848
+ "リストがどれくらいの間隔で書き換えられるかを設定します。ほとんどのサイトでは、「同期」を設定して問題ないでしょう。"
849
+ "速度が遅くなったり、訪問者が非常に多いときは、書き換えの間隔を変えてみてください。"
850
+
851
+ #: admin.php:919
852
+ msgid "Refresh interval"
853
+ msgstr "書き換えの間隔"
854
+
855
+ #: admin.php:923
856
+ msgid "Hour(s)"
857
+ msgstr "時間"
858
+
859
+ #: admin.php:924
860
+ msgid "Day(s)"
861
+ msgstr "日"
862
+
863
+ #: admin.php:925
864
+ msgid "Week(s)"
865
+ msgstr "週"
866
+
867
+ #: admin.php:926
868
+ msgid "Month(s)"
869
+ msgstr "か月"
870
+
871
+ #: admin.php:927
872
+ msgid "Year(s)"
873
+ msgstr "年"
874
+
875
+ #: admin.php:930
876
+ msgid "Really? That long?"
877
+ msgstr "本当にこんなに長くていいのですか?"
878
+
879
+ #: admin.php:945
880
+ msgid ""
881
+ "Wordpress Popular Posts maintains data in two separate tables: one for "
882
+ "storing the most popular entries in the past 30 days (from now on, \"cache"
883
+ "\"), and another one to keep the All-time data (from now on, \"historical "
884
+ "data\" or just \"data\"). If for some reason you need to clear the cache "
885
+ "table, or even both historical and cache tables, please use the buttons "
886
+ "below to do so."
887
+ msgstr ""
888
+ "WordPress Popular Postsは2つのテーブルにデータを保存しています。1つは過去1か月間最も人気の"
889
+ "あったエントリを保存します(これを「キャッシュ」と呼びます)。もう1つは、累積のデータを保存します(これを「累積"
890
+ "データ」または単に「データ」と呼びます)。何かの理由で、キャッシュや累積データを削除する必要がある場合は、"
891
+ "下のボタンを使ってください。"
892
+
893
+ #: admin.php:946
894
+ msgid "Empty cache"
895
+ msgstr "キャッシュを空にする"
896
+
897
+ #: admin.php:946
898
+ msgid "Use this button to manually clear entries from WPP cache only"
899
+ msgstr "WPPのキャッシュだけを手動で空にするにはこのボタンを使ってください。"
900
+
901
+ #: admin.php:947
902
+ msgid "Clear all data"
903
+ msgstr "全てのデータを空にする"
904
+
905
+ #: admin.php:947
906
+ msgid "Use this button to manually clear entries from all WPP data tables"
907
+ msgstr "WPPの全データを手動で空にしたいときには、このボタンを使ってください。"
908
+
909
+ #: admin.php:953
910
+ msgid "Do you like this plugin?"
911
+ msgstr "このプラグインが気に入りましたか?"
912
+
913
+ #: admin.php:953
914
+ msgid "Rate Wordpress Popular Posts!"
915
+ msgstr "WordPress Popular Postsを評価してください!"
916
+
917
+ #: admin.php:953
918
+ msgid "Rate it"
919
+ msgstr "評価する"
920
+
921
+ #: admin.php:953
922
+ msgid "on the official Plugin Directory!"
923
+ msgstr "公式プラグイン・ディレクトリで!"
924
+
925
+ #: admin.php:954
926
+ msgid "Do you love this plugin?"
927
+ msgstr "このプラグインが大好きですか?"
928
+
929
+ #: admin.php:954 admin.php:955
930
+ msgid "Buy me a beer!"
931
+ msgstr "ビールを奢ってください!"
932
+
933
+ #: admin.php:954
934
+ msgid ""
935
+ "Each donation motivates me to keep releasing free stuff for the Wordpress "
936
+ "community!"
937
+ msgstr ""
938
+ "寄付は、WordPressコミュニティのためにフリー・ソフトをリリースし続けるモチベーションになります!"
939
+
940
+ #: wordpress-popular-posts.php:129
941
+ msgid "The most Popular Posts on your blog."
942
+ msgstr "あなたのブログで最も人気のある投稿。"
943
+
944
+ #: wordpress-popular-posts.php:376
945
+ msgid "Title:"
946
+ msgstr "タイトル:"
947
+
948
+ #: wordpress-popular-posts.php:376 wordpress-popular-posts.php:378
949
+ #: wordpress-popular-posts.php:380 wordpress-popular-posts.php:388
950
+ #: wordpress-popular-posts.php:399 wordpress-popular-posts.php:401
951
+ #: wordpress-popular-posts.php:408 wordpress-popular-posts.php:412
952
+ #: wordpress-popular-posts.php:425 wordpress-popular-posts.php:439
953
+ #: wordpress-popular-posts.php:451 wordpress-popular-posts.php:452
954
+ #: wordpress-popular-posts.php:453 wordpress-popular-posts.php:454
955
+ #: wordpress-popular-posts.php:464 wordpress-popular-posts.php:470
956
+ msgid "What is this?"
957
+ msgstr "これは何ですか?"
958
+
959
+ #: wordpress-popular-posts.php:378
960
+ msgid "Show up to:"
961
+ msgstr "表示する数"
962
+
963
+ #: wordpress-popular-posts.php:379
964
+ msgid "posts"
965
+ msgstr "投稿"
966
+
967
+ #: wordpress-popular-posts.php:380
968
+ msgid "Time Range:"
969
+ msgstr "時間間隔"
970
+
971
+ #: wordpress-popular-posts.php:388
972
+ msgid "Sort posts by:"
973
+ msgstr "並べ替え順"
974
+
975
+ #: wordpress-popular-posts.php:390
976
+ msgid "Comments"
977
+ msgstr "コメント"
978
+
979
+ #: wordpress-popular-posts.php:391
980
+ msgid "Total views"
981
+ msgstr "累積閲覧数"
982
+
983
+ #: wordpress-popular-posts.php:392
984
+ msgid "Avg. daily views"
985
+ msgstr "1日の平均閲覧数"
986
+
987
+ #: wordpress-popular-posts.php:397
988
+ msgid "Posts settings"
989
+ msgstr "投稿設定"
990
+
991
+ #: wordpress-popular-posts.php:399
992
+ msgid "Display post rating"
993
+ msgstr "投稿評価を表示する"
994
+
995
+ #: wordpress-popular-posts.php:401
996
+ msgid "Shorten title"
997
+ msgstr "タイトルを短縮する"
998
+
999
+ #: wordpress-popular-posts.php:404
1000
+ msgid "Shorten title to"
1001
+ msgstr "タイトル短縮のし方"
1002
+
1003
+ #: wordpress-popular-posts.php:405 wordpress-popular-posts.php:415
1004
+ msgid "characters"
1005
+ msgstr "文字"
1006
+
1007
+ #: wordpress-popular-posts.php:406 wordpress-popular-posts.php:416
1008
+ msgid "words"
1009
+ msgstr "語"
1010
+
1011
+ #: wordpress-popular-posts.php:408
1012
+ msgid "Display post excerpt"
1013
+ msgstr "抜粋を表示する"
1014
+
1015
+ #: wordpress-popular-posts.php:411
1016
+ msgid "Excerpt Properties"
1017
+ msgstr "抜粋の扱い方"
1018
+
1019
+ #: wordpress-popular-posts.php:412
1020
+ msgid "Keep text format and links"
1021
+ msgstr "フォーマットとリンクを保持する"
1022
+
1023
+ #: wordpress-popular-posts.php:413
1024
+ msgid "Excerpt length:"
1025
+ msgstr "抜粋の長さ"
1026
+
1027
+ #: wordpress-popular-posts.php:425
1028
+ msgid "Filters:"
1029
+ msgstr "フィルタ:"
1030
+
1031
+ #: wordpress-popular-posts.php:426
1032
+ msgid "Post type(s):"
1033
+ msgstr "投稿タイプ:"
1034
+
1035
+ #: wordpress-popular-posts.php:428
1036
+ msgid "Post(s) ID(s) to exclude:"
1037
+ msgstr "表示しない投稿ID"
1038
+
1039
+ #: wordpress-popular-posts.php:430
1040
+ msgid "Category(ies) ID(s):"
1041
+ msgstr "カテゴリID"
1042
+
1043
+ #: wordpress-popular-posts.php:432
1044
+ msgid "Author(s) ID(s):"
1045
+ msgstr "投稿者ID"
1046
+
1047
+ #: wordpress-popular-posts.php:438
1048
+ msgid "Thumbnail settings"
1049
+ msgstr "サムネール設定"
1050
+
1051
+ #: wordpress-popular-posts.php:439
1052
+ msgid "Display post thumbnail"
1053
+ msgstr "投稿サムネールを表示する"
1054
+
1055
+ #: wordpress-popular-posts.php:441
1056
+ msgid "Width:"
1057
+ msgstr "幅:"
1058
+
1059
+ #: wordpress-popular-posts.php:442 wordpress-popular-posts.php:444
1060
+ msgid "px"
1061
+ msgstr "ピクセル"
1062
+
1063
+ #: wordpress-popular-posts.php:443
1064
+ msgid "Height:"
1065
+ msgstr "高さ:"
1066
+
1067
+ #: wordpress-popular-posts.php:450
1068
+ msgid "Stats Tag settings"
1069
+ msgstr "統計タグ設定"
1070
+
1071
+ #: wordpress-popular-posts.php:451
1072
+ msgid "Display comment count"
1073
+ msgstr "コメント数を表示する"
1074
+
1075
+ #: wordpress-popular-posts.php:452
1076
+ msgid "Display views"
1077
+ msgstr "閲覧数を表示する"
1078
+
1079
+ #: wordpress-popular-posts.php:453
1080
+ msgid "Display author"
1081
+ msgstr "投稿者を表示する"
1082
+
1083
+ #: wordpress-popular-posts.php:454
1084
+ msgid "Display date"
1085
+ msgstr "日付を表示する"
1086
+
1087
+ #: wordpress-popular-posts.php:457
1088
+ msgid "Date Format"
1089
+ msgstr "日付フォーマット"
1090
+
1091
+ #: wordpress-popular-posts.php:464
1092
+ msgid "Display category"
1093
+ msgstr "カテゴリを表示する"
1094
+
1095
+ #: wordpress-popular-posts.php:469
1096
+ msgid "HTML Markup settings"
1097
+ msgstr "HTMLマークアップの設定"
1098
+
1099
+ #: wordpress-popular-posts.php:470
1100
+ msgid "Use custom HTML Markup"
1101
+ msgstr "カスタムHTMLマークアップを使う"
1102
+
1103
+ #: wordpress-popular-posts.php:473
1104
+ msgid "Before / after title:"
1105
+ msgstr "タイトルの前/後:"
1106
+
1107
+ #: wordpress-popular-posts.php:475
1108
+ msgid "Before / after Popular Posts:"
1109
+ msgstr "投稿の前/後:"
1110
+
1111
+ #: wordpress-popular-posts.php:478
1112
+ msgid "Post HTML Markup:"
1113
+ msgstr "投稿用HTMLマークアップ:"
1114
+
1115
+ #: wordpress-popular-posts.php:628
1116
+ msgid "Success! The cache table has been cleared!"
1117
+ msgstr "成功しました! キャッシュ・テーブルは空になっています!"
1118
+
1119
+ #: wordpress-popular-posts.php:630
1120
+ msgid "Error: cache table does not exist."
1121
+ msgstr "エラー: キャッシュ・テーブルが存在しません。"
1122
+
1123
+ #: wordpress-popular-posts.php:636
1124
+ msgid "Success! All data have been cleared!"
1125
+ msgstr "成功しました! 全てのデータが削除されました!"
1126
+
1127
+ #: wordpress-popular-posts.php:638
1128
+ msgid "Error: one or both data tables are missing."
1129
+ msgstr "エラー: テーブルの1つか、あるいは2つともなくなっています。"
1130
+
1131
+ #: wordpress-popular-posts.php:641
1132
+ msgid "Invalid action."
1133
+ msgstr "不正な操作"
1134
+
1135
+ #: wordpress-popular-posts.php:644
1136
+ msgid ""
1137
+ "Sorry, you do not have enough permissions to do this. Please contact the "
1138
+ "site administrator for support."
1139
+ msgstr ""
1140
+ "申し訳ありませんが、この操作を行う権限がありません。サイト管理者にサポートをお願いしてください。"
1141
+
1142
+ #: wordpress-popular-posts.php:1068
1143
+ msgid "Sorry. No data so far."
1144
+ msgstr "申し訳ありませんが、まだデータがありません。"
1145
+
1146
+ #: wordpress-popular-posts.php:1150
1147
+ msgid "comment"
1148
+ msgstr "コメント"
1149
+
1150
+ #: wordpress-popular-posts.php:1150
1151
+ msgid "comments"
1152
+ msgstr "コメント"
1153
+
1154
+ #: wordpress-popular-posts.php:1158
1155
+ msgid "view per day"
1156
+ msgstr "ビュー(本日)"
1157
+
1158
+ #: wordpress-popular-posts.php:1158
1159
+ msgid "views per day"
1160
+ msgstr "ビュー(本日)"
1161
+
1162
+ #: wordpress-popular-posts.php:1162
1163
+ msgid "view"
1164
+ msgstr "ビュー"
1165
+
1166
+ #: wordpress-popular-posts.php:1162
1167
+ msgid "views"
1168
+ msgstr "ビュー"
1169
+
1170
+ #: wordpress-popular-posts.php:1171
1171
+ msgid "by"
1172
+ msgstr "投稿者:"
1173
+
1174
+ #: wordpress-popular-posts.php:1175
1175
+ msgid "posted on"
1176
+ msgstr "投稿日付"
1177
+
1178
+ #: wordpress-popular-posts.php:1183
1179
+ msgid "under"
1180
+ msgstr "カテゴリ:"
1181
+
1182
+ #: wordpress-popular-posts.php:1753
1183
+ msgid "Upload"
1184
+ msgstr "アップロード"
1185
+
1186
+ #: wordpress-popular-posts.php:1765
1187
+ msgid ""
1188
+ "Your Wordpress version is too old. Wordpress Popular Posts Plugin requires "
1189
+ "at least version 2.8 to function correctly. Please update your blog via "
1190
+ "Tools &gt; Upgrade."
1191
+ msgstr ""
1192
+ "お使いのWordPressは古すぎます。WordPress Popular Postsが正常に働くには、バージョン2.8以上が"
1193
+ "必須です。ツール &gt; 更新 でブログをアップデートしてください。"
1194
+
1195
+ #: wordpress-popular-posts.php:1774
1196
+ msgid ""
1197
+ "Your PHP installation is too old. Wordpress Popular Posts Plugin requires at "
1198
+ "least PHP v5.2.0 to function correctly. Please contact your hosting provider "
1199
+ "and ask them to upgrade PHP to 5.2.x or higher."
1200
+ msgstr ""
1201
+ "お使いのPHPは古すぎます。WordPress Popular Postsが正常に働くには、PHP 5.2.0以上が必須です。"
1202
+ "お使いのホスティング会社に連絡をとって、PHP 5.2.xかそれ以上にアップグレードするように要望してください。"
lang/wordpress-popular-posts-nl_NL.mo ADDED
Binary file
lang/wordpress-popular-posts-nl_NL.po ADDED
@@ -0,0 +1,974 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Wordpress Popular Posts\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-08-31 11:31-0430\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Jeroen van Heemskerck Düker <jeroenvhd@me.com>\n"
8
+ "Language-Team: Jeroen van Heemskerck Duker\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Language: en_VE\n"
13
+ "X-Poedit-SourceCharset: iso-8859-1\n"
14
+ "X-Poedit-KeywordsList: __;_e\n"
15
+ "X-Poedit-Basepath: .\n"
16
+ "X-Generator: Poedit 1.5.3\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: admin.php:33 admin.php:44 admin.php:50 admin.php:57
20
+ msgid "Settings saved."
21
+ msgstr "Instellingen bewaard"
22
+
23
+ #: admin.php:38
24
+ msgid "Please provide the name of your custom field."
25
+ msgstr "Geef de naam van het aangepaste veld."
26
+
27
+ #: admin.php:247
28
+ msgid ""
29
+ "This operation will delete all entries from Wordpress Popular Posts' cache "
30
+ "table and cannot be undone."
31
+ msgstr ""
32
+ "Deze handeling maakt de cache leeg van WP Popular Posts en kan niet worden "
33
+ "hersteld."
34
+
35
+ #: admin.php:247 admin.php:255
36
+ msgid "Do you want to continue?"
37
+ msgstr "Wil je doorgaan?"
38
+
39
+ #: admin.php:255
40
+ msgid ""
41
+ "This operation will delete all stored info from Wordpress Popular Posts' "
42
+ "data tables and cannot be undone."
43
+ msgstr ""
44
+ "Deze handeling verwijdert alle gegevens uit het bestand van WP Popular Posts "
45
+ "en kan niet worden hersteld. "
46
+
47
+ #: admin.php:269
48
+ msgid "Stats"
49
+ msgstr "Status"
50
+
51
+ #: admin.php:270
52
+ msgid "FAQ"
53
+ msgstr "Veelgestelde vragen (FAQ)"
54
+
55
+ #: admin.php:271
56
+ msgid "Tools"
57
+ msgstr "Gereedschappen"
58
+
59
+ #: admin.php:275
60
+ msgid ""
61
+ "Click on each tab to see what are the most popular entries on your blog "
62
+ "today, this week, last 30 days or all time since Wordpress Popular Posts was "
63
+ "installed."
64
+ msgstr ""
65
+ "Klik op de tabs om de meestgelezen berichten te zien van vandaag, de "
66
+ "afgelopen week, de laatste maand of vanaf de installatie."
67
+
68
+ #: admin.php:281
69
+ msgid "Order by comments"
70
+ msgstr "Orden op aantal reacties"
71
+
72
+ #: admin.php:282
73
+ msgid "Order by views"
74
+ msgstr "Orden op aantal keer bekeken"
75
+
76
+ #: admin.php:283
77
+ msgid "Order by avg. daily views"
78
+ msgstr "Orden op gemiddeld aantal bezoeken per dag"
79
+
80
+ #: admin.php:285
81
+ msgid "Limit"
82
+ msgstr "Limiet"
83
+
84
+ #: admin.php:287 admin.php:667 admin.php:683 admin.php:700
85
+ msgid "Apply"
86
+ msgstr "Pas toe"
87
+
88
+ #: admin.php:293 wordpress-popular-posts.php:307
89
+ msgid "Last 24 hours"
90
+ msgstr "Afgelopen 24 uur"
91
+
92
+ #: admin.php:294 wordpress-popular-posts.php:308
93
+ msgid "Last 7 days"
94
+ msgstr "Afgelopen week"
95
+
96
+ #: admin.php:295 wordpress-popular-posts.php:309
97
+ msgid "Last 30 days"
98
+ msgstr "Afgelopen maand"
99
+
100
+ #: admin.php:296 wordpress-popular-posts.php:310
101
+ msgid "All-time"
102
+ msgstr "All-time"
103
+
104
+ #: admin.php:317
105
+ msgid "Frequently Asked Questions"
106
+ msgstr "Veelgestelde vragen"
107
+
108
+ #: admin.php:321
109
+ msgid "What does \"Title\" do?"
110
+ msgstr "Wat doet \"Titel\" ?"
111
+
112
+ #: admin.php:323
113
+ msgid ""
114
+ "It allows you to show a heading for your most popular posts listing. If left "
115
+ "empty, no heading will be displayed at all."
116
+ msgstr ""
117
+ "Dit toont een kop boven je lijst van populaire berichten. Laat het leeg om "
118
+ "niets te tonen."
119
+
120
+ #: admin.php:326
121
+ msgid "What is Time Range for?"
122
+ msgstr "Waar is Tijdvak voor?"
123
+
124
+ #: admin.php:328
125
+ msgid ""
126
+ "It will tell Wordpress Popular Posts to retrieve all posts with most views / "
127
+ "comments within the selected time range."
128
+ msgstr ""
129
+ "Hiermee toon je berichten met het hoogste aantal bezoeken / reacties binnen "
130
+ "het aangegeven tijdvak."
131
+
132
+ #: admin.php:331
133
+ msgid "What is \"Sort post by\" for?"
134
+ msgstr "Wat doet \"Sorteer berichten op\" ?"
135
+
136
+ #: admin.php:333
137
+ msgid ""
138
+ "It allows you to decide whether to order your popular posts listing by total "
139
+ "views, comments, or average views per day."
140
+ msgstr ""
141
+ "Hiermee bepaal je hoe je de lijst van populaire berichten ordent: op aantal "
142
+ "keren bekeken, aantal reacties, of gemiddeld aantal bezoeken per dag."
143
+
144
+ #: admin.php:336
145
+ msgid "What does \"Display post rating\" do?"
146
+ msgstr "Wat doet \"Toon berichtwaardering\"?"
147
+
148
+ #: admin.php:338
149
+ msgid ""
150
+ "If checked, Wordpress Popular Posts will show how your readers are rating "
151
+ "your most popular posts. This feature requires having WP-PostRatings plugin "
152
+ "installed and enabled on your blog for it to work."
153
+ msgstr ""
154
+ "Kruis deze optie aan om de waardering van je berichten te laten zien. Je "
155
+ "moet de WP-PostRating plugin hebben geinstalleerd en geactiveerd."
156
+
157
+ #: admin.php:341
158
+ msgid "What does \"Shorten title\" do?"
159
+ msgstr "Wat doet \"Kort titel af\"?"
160
+
161
+ #: admin.php:343
162
+ msgid ""
163
+ "If checked, all posts titles will be shortened to \"n\" characters. A new "
164
+ "\"Shorten title to\" option will appear so you can set it to whatever you "
165
+ "like."
166
+ msgstr ""
167
+ "Kruis dit aan als je berichttitel wil beperken tot \"n\" tekens. Gebruik de "
168
+ "volgende optie \"Kort titel af tot\" om de lengte te bepalen."
169
+
170
+ #: admin.php:346
171
+ msgid "What does \"Display post excerpt\" do?"
172
+ msgstr "Wat doet \"Toon samenvatting\"?"
173
+
174
+ #: admin.php:348
175
+ msgid ""
176
+ "If checked, Wordpress Popular Posts will also include a small extract of "
177
+ "your posts in the list. Similarly to the previous option, you will be able "
178
+ "to decide how long the post excerpt should be."
179
+ msgstr ""
180
+ "Kruis dit aan om een samenvatting te laten zien in de berichtenlijst. Je "
181
+ "kunt zelf de lengte van de samenvatting bepalen."
182
+
183
+ #: admin.php:351
184
+ msgid "What does \"Keep text format and links\" do?"
185
+ msgstr "Wat doet \"Behoud tekstopmaak en koppelingen\"?"
186
+
187
+ #: admin.php:353
188
+ msgid ""
189
+ "If checked, and if the Post Excerpt feature is enabled, Wordpress Popular "
190
+ "Posts will keep the styling tags (eg. bold, italic, etc) that were found in "
191
+ "the excerpt. Hyperlinks will remain intact, too."
192
+ msgstr ""
193
+ "Als de optie Toon samenvatting is aangevinkt, behoudt WP Popular Posts alle "
194
+ "stijlkenmerken in de samenvatting. Koppelingen blijven ook behouden."
195
+
196
+ #: admin.php:356
197
+ msgid "What is \"Post type\" for?"
198
+ msgstr "Waar is \"Berichttype\" voor?"
199
+
200
+ #: admin.php:358
201
+ msgid ""
202
+ "This filter allows you to decide which post types to show on the listing. By "
203
+ "default, it will retrieve only posts and pages (which should be fine for "
204
+ "most cases)."
205
+ msgstr ""
206
+ "Met dit filter bepaal je welke berichttypes (post types) getoond worden. "
207
+ "Standaard worden alleenberichten en pagina's getoond (wat meestal afdoende "
208
+ "is)."
209
+
210
+ #: admin.php:361
211
+ msgid "What is \"Category(ies) ID(s)\" for?"
212
+ msgstr "Waar is \"Categorie ID(s)\" voor?"
213
+
214
+ #: admin.php:363
215
+ msgid ""
216
+ "This filter allows you to select which categories should be included or "
217
+ "excluded from the listing. A negative sign in front of the category ID "
218
+ "number will exclude posts belonging to it from the list, for example. You "
219
+ "can specify more than one ID with a comma separated list."
220
+ msgstr ""
221
+ "Met dit filter bepaal je welke categorie opgenomen wordt of uitgesloten van "
222
+ "de lijst. Met een minteken voor het ID-nummer sluit je een categorie uit. Je "
223
+ "kunt meer dan een ID opgeven, gescheiden door een komma."
224
+
225
+ #: admin.php:366
226
+ msgid "What is \"Author(s) ID(s)\" for?"
227
+ msgstr "Waar is \"Auteur ID(s)\" voor?"
228
+
229
+ #: admin.php:368
230
+ msgid ""
231
+ "Just like the Category filter, this one lets you filter posts by author ID. "
232
+ "You can specify more than one ID with a comma separated list."
233
+ msgstr ""
234
+ "Net als het Categoriefilter kun je hiermee auteurs opnemen of juist "
235
+ "uitsluiten van de lijst. Je kunt meer dan een ID opgeven, gescheiden door "
236
+ "een komma."
237
+
238
+ #: admin.php:371
239
+ msgid "What does \"Display post thumbnail\" do?"
240
+ msgstr "Wat doet \"Toon miniatuur\"?"
241
+
242
+ #: admin.php:373
243
+ msgid ""
244
+ "If checked, Wordpress Popular Posts will attempt to retrieve the thumbnail "
245
+ "of each post. You can set up the source of the thumbnail via Settings - "
246
+ "Wordpress Popular Posts - Tools."
247
+ msgstr ""
248
+ "Hiermee zoekt WP Popular Posts naar een miniatuurplaatje in het bericht. Je "
249
+ "kunt de bron opgeven via Instellingen - WP Popular Posts - Gereedschappen."
250
+
251
+ #: admin.php:376
252
+ msgid "What does \"Display comment count\" do?"
253
+ msgstr "Wat doet \"Toon aantal reacties\"?"
254
+
255
+ #: admin.php:378
256
+ msgid ""
257
+ "If checked, Wordpress Popular Posts will display how many comments each "
258
+ "popular post has got in the selected Time Range."
259
+ msgstr ""
260
+ "Hiermee laat de plugin zien hoeveel reacties elk populair bericht heeft "
261
+ "binnen het opgegeven tijdvak."
262
+
263
+ #: admin.php:381
264
+ msgid "What does \"Display views\" do?"
265
+ msgstr "Wat doet \"Toon aantal bezoeken\"?"
266
+
267
+ #: admin.php:383
268
+ msgid ""
269
+ "If checked, Wordpress Popular Posts will show how many pageviews a single "
270
+ "post has gotten in the selected Time Range."
271
+ msgstr ""
272
+ "Hiermee laat je zien hoe vaak het bericht binnen het opgegeven tijdvak is "
273
+ "bekeken."
274
+
275
+ #: admin.php:386
276
+ msgid "What does \"Display author\" do?"
277
+ msgstr "Wat doet \"Toon auteur\"?"
278
+
279
+ #: admin.php:388
280
+ msgid ""
281
+ "If checked, Wordpress Popular Posts will display the name of the author of "
282
+ "each entry listed."
283
+ msgstr "Deze optie toont de auteur van elk bericht in de lijst."
284
+
285
+ #: admin.php:391
286
+ msgid "What does \"Display date\" do?"
287
+ msgstr "Wat doet \"Toon datum\"?"
288
+
289
+ #: admin.php:393
290
+ msgid ""
291
+ "If checked, Wordpress Popular Posts will display the date when each popular "
292
+ "posts was published."
293
+ msgstr "Deze optie toont de publicatiedatum van elk bericht."
294
+
295
+ #: admin.php:396
296
+ msgid "What does \"Use custom HTML Markup\" do?"
297
+ msgstr "Wat doet \"Gebruik aangepaste HTML\"?"
298
+
299
+ #: admin.php:398
300
+ msgid ""
301
+ "If checked, you will be able to customize the HTML markup of your popular "
302
+ "posts listing. For example, you can decide whether to wrap your posts in an "
303
+ "unordered list, an ordered list, a div, etc. If you know xHTML/CSS, this is "
304
+ "for you!"
305
+ msgstr ""
306
+ "Met deze optie kun je de HTML-opmaak van de berichtenlijst aanpassen. Maak "
307
+ "er bijvoorbeeld een geordende lijst van, of een div. Als je bekend met met "
308
+ "xHTML en CSS, is dit een optie voor jou!"
309
+
310
+ #: admin.php:401
311
+ msgid "What does \"Use content formatting tags\" do?"
312
+ msgstr "Wat doet \"Gebruik opmaaklabels\"?"
313
+
314
+ #: admin.php:403
315
+ msgid ""
316
+ "If checked, you can decide the order of the items displayed on each entry. "
317
+ "For example, setting it to \"{title}: {summary}\" (without the quotes) would "
318
+ "display \"Post title: excerpt of the post here\". Available tags: {image}, "
319
+ "{title}, {summary}, {stats} and {rating}."
320
+ msgstr ""
321
+ "Hiermee bepaal je de volgorde van de kenmerken van elk bericht in de lijst. "
322
+ "Bijvoorbeeld: \"{title}: {summary}\" (zonder de aanhalingstekens) wordt "
323
+ "getoond als \"Berichttitel: samenvatting hier\" Labels (tags) om te "
324
+ "gebruiken zijn: {image}, {title}, {summary}, {stats} en {rating}."
325
+
326
+ #: admin.php:406
327
+ msgid "What are \"Template Tags\"?"
328
+ msgstr "Wat zijn \"sjabloonlabels\"?"
329
+
330
+ #: admin.php:408
331
+ msgid ""
332
+ "Template Tags are simply php functions that allow you to perform certain "
333
+ "actions. For example, Wordpress Popular Posts currently supports two "
334
+ "different template tags: wpp_get_mostpopular() and wpp_get_views()."
335
+ msgstr ""
336
+ "Sjabloonlabels of Template Tags zijn eenvoudige php functies. De plugin "
337
+ "ondersteunt momenteel twee sjabloonlabels: wpp_get_mostpopular() en "
338
+ "wpp_get_views()."
339
+
340
+ #: admin.php:411
341
+ msgid "What are the template tags that Wordpress Popular Posts supports?"
342
+ msgstr "Welke sjabloonlabels ondersteunt WP Popular Posts?"
343
+
344
+ #: admin.php:413
345
+ msgid ""
346
+ "The following are the template tags supported by Wordpress Popular Posts"
347
+ msgstr "Deze sjabloonlabels worden ondersteund door de plugin"
348
+
349
+ #: admin.php:417
350
+ msgid "Template tag"
351
+ msgstr "Sjabloonlabel"
352
+
353
+ #: admin.php:418 admin.php:451
354
+ msgid "What it does "
355
+ msgstr "Functie"
356
+
357
+ #: admin.php:419
358
+ msgid "Parameters"
359
+ msgstr "Parameters"
360
+
361
+ #: admin.php:420 admin.php:454
362
+ msgid "Example"
363
+ msgstr "Voorbeeld"
364
+
365
+ #: admin.php:426
366
+ msgid ""
367
+ "Similar to the widget functionality, this tag retrieves the most popular "
368
+ "posts on your blog. This function also accepts parameters so you can "
369
+ "customize your popular listing, but these are not required."
370
+ msgstr ""
371
+ "Dit label haalt de populairste berichten op. De functie is vergelijkbaar met "
372
+ "die van de widget. Je kunt parameters invullen om je lijst aan te passen, "
373
+ "maar dat is niet verplicht."
374
+
375
+ #: admin.php:427
376
+ msgid ""
377
+ "Please refer to \"List of parameters accepted by wpp_get_mostpopular() and "
378
+ "the [wpp] shortcode\"."
379
+ msgstr ""
380
+ "Bekijk de \"List of parameters accepted by wpp_get_mostpopular() and the "
381
+ "[wpp] shortcode\"."
382
+
383
+ #: admin.php:432
384
+ msgid ""
385
+ "Displays the number of views of a single post. Post ID is required or it "
386
+ "will return false."
387
+ msgstr ""
388
+ "Toont het aantal keren dat het bericht is bekeken. De Post ID is verplicht."
389
+
390
+ #: admin.php:433
391
+ msgid "Post ID"
392
+ msgstr "Post ID"
393
+
394
+ #: admin.php:440
395
+ msgid "What are \"shortcodes\"?"
396
+ msgstr "Wat zijn \"shortcodes\"?"
397
+
398
+ #: admin.php:442
399
+ msgid ""
400
+ "Shortcodes are similar to BB Codes, these allow us to call a php function by "
401
+ "simply typing something like [shortcode]. With Wordpress Popular Posts, the "
402
+ "shortcode [wpp] will let you insert a list of the most popular posts in "
403
+ "posts content and pages too! For more information about shortcodes, please "
404
+ "visit"
405
+ msgstr ""
406
+ "Een \"shortcode\" verwijst naar een php-functie. In WP Popular Posts kun je "
407
+ "de shortcode [wpp] gebruiken om een lijst van populaire berichten te tonen "
408
+ "in een gewoon bericht of een pagina. Voor meer informatie, bekijk "
409
+
410
+ #: admin.php:444
411
+ msgid ""
412
+ "List of parameters accepted by wpp_get_mostpopular() and the [wpp] shortcode"
413
+ msgstr "Alle parameters voor wpp_get_mostpopular() en de [wpp] shortcode"
414
+
415
+ #: admin.php:446
416
+ msgid ""
417
+ "These parameters can be used by both the template tag wpp_get_most_popular() "
418
+ "and the shortcode [wpp]."
419
+ msgstr ""
420
+ "Deze parameters kun je gebruiken bij het sjabloonlabel wpp_get_most_popular"
421
+ "() en se shortcode [wpp]."
422
+
423
+ #: admin.php:450
424
+ msgid "Parameter"
425
+ msgstr "Parameter"
426
+
427
+ #: admin.php:452
428
+ msgid "Possible values"
429
+ msgstr "Mogelijke waarden"
430
+
431
+ #: admin.php:453
432
+ msgid "Defaults to"
433
+ msgstr "Standaard"
434
+
435
+ #: admin.php:460
436
+ msgid "Sets a heading for the list"
437
+ msgstr "Geeft een titel op voor je lijst"
438
+
439
+ #: admin.php:461 admin.php:468 admin.php:475 admin.php:503 admin.php:510
440
+ #: admin.php:517 admin.php:594 admin.php:601 admin.php:608 admin.php:615
441
+ #: admin.php:622
442
+ msgid "Text string"
443
+ msgstr "Vrije tekst"
444
+
445
+ #: admin.php:462 wordpress-popular-posts.php:250
446
+ msgid "Popular Posts"
447
+ msgstr "Populaire berichten"
448
+
449
+ #: admin.php:467
450
+ msgid "Set the opening tag for the heading of the list"
451
+ msgstr "Bepaalt de open-tag voor de lijsttitel"
452
+
453
+ #: admin.php:474
454
+ msgid "Set the closing tag for the heading of the list"
455
+ msgstr "Bepaalt de sluit-tag voor de lijsttitel"
456
+
457
+ #: admin.php:481
458
+ msgid "Sets the maximum number of popular posts to be shown on the listing"
459
+ msgstr "Bepaalt het maximumaantal berichten in de lijst"
460
+
461
+ #: admin.php:482 admin.php:524 admin.php:531 admin.php:545 admin.php:552
462
+ msgid "Positive integer"
463
+ msgstr "Positief geheel getal"
464
+
465
+ #: admin.php:488
466
+ msgid ""
467
+ "Tells Wordpress Popular Posts to retrieve the most popular entries within "
468
+ "the time range specified by you"
469
+ msgstr "Haalt de populaire berichten op binnen het opgegeven tijdvak"
470
+
471
+ #: admin.php:495
472
+ msgid "Sets the sorting option of the popular posts"
473
+ msgstr "Bepaalt de sorteervolgorde van de populaire berichten"
474
+
475
+ #: admin.php:496
476
+ msgid "(for average views per day)"
477
+ msgstr "(voor het gemiddeld aantal bezoeken per dag)"
478
+
479
+ #: admin.php:502
480
+ msgid "Defines the type of posts to show on the listing"
481
+ msgstr "Definieert het type berichten in de lijst"
482
+
483
+ #: admin.php:509
484
+ msgid ""
485
+ "If set, Wordpress Popular Posts will retrieve all entries that belong to the "
486
+ "specified category(ies) ID(s). If a minus sign is used, the category(ies) "
487
+ "will be excluded instead."
488
+ msgstr ""
489
+ "WP Popular Posts haalt alle berichten op binnen de opgegeven categorie(en). "
490
+ "Een minteken sluit de categorie juist uit."
491
+
492
+ #: admin.php:511 admin.php:518
493
+ msgid "None"
494
+ msgstr "Geen"
495
+
496
+ #: admin.php:516
497
+ msgid ""
498
+ "If set, Wordpress Popular Posts will retrieve all entries created by "
499
+ "specified author(s) ID(s)."
500
+ msgstr "WP Popular Posts haalt alle berichten op met de opgegeven auteur ID(s)"
501
+
502
+ #: admin.php:523
503
+ msgid ""
504
+ "If set, Wordpress Popular Posts will shorten each post title to \"n\" "
505
+ "characters whenever possible"
506
+ msgstr ""
507
+ "WP Popular Posts kort de berichtkop af tot \"n\" lettertekens, indien "
508
+ "mogelijk"
509
+
510
+ #: admin.php:530
511
+ msgid ""
512
+ "If set, Wordpress Popular Posts will build and include an excerpt of \"n\" "
513
+ "characters long from the content of each post listed as popular"
514
+ msgstr "WP Popular Posts neemt een samenvatting op van \"n\" lettertekens "
515
+
516
+ #: admin.php:537
517
+ msgid ""
518
+ "If set, Wordpress Popular Posts will maintaing all styling tags (strong, "
519
+ "italic, etc) and hyperlinks found in the excerpt"
520
+ msgstr ""
521
+ "WP Popular Posts behoudt alle stijlkenmerken (vet, cursief etc) en de "
522
+ "koppelingen in het bericht"
523
+
524
+ #: admin.php:544
525
+ msgid ""
526
+ "If set, and if your current server configuration allows it, you will be able "
527
+ "to display thumbnails of your posts. This attribute sets the width for "
528
+ "thumbnails"
529
+ msgstr ""
530
+ "Je kunt miniaturen in je berichten laten zien, als je serverconfiguratie dat "
531
+ "toestaat. Dit attribuut bepaalt de breedte van het miniatuurplaatje."
532
+
533
+ #: admin.php:551
534
+ msgid ""
535
+ "If set, and if your current server configuration allows it, you will be able "
536
+ "to display thumbnails of your posts. This attribute sets the height for "
537
+ "thumbnails"
538
+ msgstr ""
539
+ "Je kunt miniaturen in je berichten laten zien, als je serverconfiguratie dat "
540
+ "toestaat. Dit attribuut bepaalt de hoogte van het miniatuurplaatje."
541
+
542
+ #: admin.php:558
543
+ msgid ""
544
+ "If set, and if the WP-PostRatings plugin is installed and enabled on your "
545
+ "blog, Wordpress Popular Posts will show how your visitors are rating your "
546
+ "entries"
547
+ msgstr ""
548
+ "Als de WP-PostRatings plugin is geinstalleerd en geactiveerd, toont WP "
549
+ "Popular Posts hiermee hoe je bezoekers de berichten hebben gewaardeerd."
550
+
551
+ #: admin.php:565
552
+ msgid ""
553
+ "If set, Wordpress Popular Posts will show how many comments each popular "
554
+ "post has got until now"
555
+ msgstr ""
556
+ "Hiermee toon je hoeveel reacties er tot nu toe zijn op elk populair bericht"
557
+
558
+ #: admin.php:572
559
+ msgid ""
560
+ "If set, Wordpress Popular Posts will show how many views each popular post "
561
+ "has got since it was installed"
562
+ msgstr ""
563
+ "Hiermee toon je hoe vaak elk populair bericht is bekeken sinds het werd "
564
+ "gepubliceerd."
565
+
566
+ #: admin.php:579
567
+ msgid ""
568
+ "If set, Wordpress Popular Posts will show who published each popular post on "
569
+ "the list"
570
+ msgstr "Hiermee toon je wie heet populaire bericht heeft gepubliceerd."
571
+
572
+ #: admin.php:586
573
+ msgid ""
574
+ "If set, Wordpress Popular Posts will display the date when each popular post "
575
+ "on the list was published"
576
+ msgstr "Hiermee toon je de publicatiedatum van elk populair bericht"
577
+
578
+ #: admin.php:593
579
+ msgid "Sets the date format"
580
+ msgstr "Bepaalt de datumopmaak"
581
+
582
+ #: admin.php:600
583
+ msgid "Sets the opening tag for the listing"
584
+ msgstr "Bepaalt de open-tag van de lijst"
585
+
586
+ #: admin.php:607
587
+ msgid "Sets the closing tag for the listing"
588
+ msgstr "Bepaalt de sluit-tag van de lijst"
589
+
590
+ #: admin.php:614
591
+ msgid "Sets the opening tag for each item on the list"
592
+ msgstr "Bepaalt de open-tag van elk item op de lijst"
593
+
594
+ #: admin.php:621
595
+ msgid "Sets the closing tag for each item on the list"
596
+ msgstr "Bepaalt de sluit-tag van elk item op de lijst"
597
+
598
+ #: admin.php:628
599
+ msgid ""
600
+ "If set, this option will allow you to decide the order of the contents "
601
+ "within each item on the list."
602
+ msgstr ""
603
+ "Met deze optie bepaal je de volgorde van de onderdelen in elk bericht op de "
604
+ "lijst"
605
+
606
+ #: admin.php:635
607
+ msgid ""
608
+ "If set, you can decide the order of each content inside a single item on the "
609
+ "list. For example, setting it to \"{title}: {summary}\" would output "
610
+ "something like \"Your Post Title: summary here\". This attribute requires "
611
+ "do_pattern to be true."
612
+ msgstr ""
613
+ "Je kunt de volgorde vanelk onderdeel in het bericht zelf bepalen. "
614
+ "Bijvoorbeeld: de volgorde \"{title}: {summary}\" wordt getoond als \"je "
615
+ "berichttitel: de samenvatting hier\". De functie do_pattern moet op \"true\" "
616
+ "staan."
617
+
618
+ #: admin.php:636
619
+ msgid "Available tags"
620
+ msgstr "Beschikbare tags"
621
+
622
+ #: admin.php:651
623
+ msgid ""
624
+ "Here you will find a handy group of options to tweak Wordpress Popular Posts."
625
+ msgstr ""
626
+ "Hier vind je een aantal handige opties waarmee je de plugin kunt aanpassen."
627
+
628
+ #: admin.php:653
629
+ msgid "Thumbnail source"
630
+ msgstr "Bron miniatuur"
631
+
632
+ #: admin.php:654
633
+ msgid "Tell Wordpress Popular Posts where it should get thumbnails from"
634
+ msgstr "Vul in waar de minaturen te vinden zijn"
635
+
636
+ #: admin.php:659
637
+ msgid "Featured image"
638
+ msgstr "Uitgelichte afbeelding"
639
+
640
+ #: admin.php:660
641
+ msgid "First image on post"
642
+ msgstr "Eerste plaatje in het bericht"
643
+
644
+ #: admin.php:661
645
+ msgid "Custom field"
646
+ msgstr "Aangepast veld"
647
+
648
+ #: admin.php:664
649
+ msgid "Custom field name"
650
+ msgstr "Naam aangepast veld"
651
+
652
+ #: admin.php:673
653
+ msgid "Wordpress Popular Posts Stylesheet"
654
+ msgstr "Wordpress Popular Posts stijlblad (stylesheet)"
655
+
656
+ #: admin.php:674
657
+ msgid ""
658
+ "By default, the plugin includes a stylesheet called wpp.css which you can "
659
+ "use to style your popular posts listing. If you wish to use your own "
660
+ "stylesheet or do not want it to have it included in the header section of "
661
+ "your site, use this."
662
+ msgstr ""
663
+ "Standaard bevat de plugin een stijlblad genaamd wpp.css. Dit kun je "
664
+ "gebruiken om de opmaak aan te passen. Als je je eigen css-opmaak wilt "
665
+ "gebruiken, of je wilt het niet in de header-sectie van de site hebben, "
666
+ "gebruik dan dit stijlblad. "
667
+
668
+ #: admin.php:679 admin.php:696
669
+ msgid "Enabled"
670
+ msgstr "Geactiveerd"
671
+
672
+ #: admin.php:680 admin.php:697
673
+ msgid "Disabled"
674
+ msgstr "Gedeactiveerd"
675
+
676
+ #: admin.php:689
677
+ msgid "Data tools"
678
+ msgstr "Data-gereedschappen"
679
+
680
+ #: admin.php:691
681
+ msgid ""
682
+ "AJAX update. If you are using a caching plugin such as WP Super Cache, "
683
+ "enabling this feature will keep the popular list from being cached."
684
+ msgstr ""
685
+
686
+ #: admin.php:706
687
+ msgid ""
688
+ "Wordpress Popular Posts keeps historical data of your most popular entries "
689
+ "for up to 30 days. If for some reason you need to clear the cache table, or "
690
+ "even both historical and cache tables, please use the buttons below to do so."
691
+ msgstr ""
692
+
693
+ #: admin.php:707
694
+ msgid "Empty cache"
695
+ msgstr "Maak cache leeg"
696
+
697
+ #: admin.php:707
698
+ msgid "Use this button to manually clear entries from WPP cache only"
699
+ msgstr "Klik hier als je de WPP-cache wilt leegmaken"
700
+
701
+ #: admin.php:708
702
+ msgid "Clear all data"
703
+ msgstr "Verwijdere alle gegevens"
704
+
705
+ #: admin.php:708
706
+ msgid "Use this button to manually clear entries from all WPP data tables"
707
+ msgstr "Klik hier als je alle gegevens wilt wissen uit de WPP-datatables"
708
+
709
+ #: admin.php:714
710
+ msgid "Do you like this plugin?"
711
+ msgstr "Vind je deze plugin leuk?"
712
+
713
+ #: admin.php:714
714
+ msgid "Rate Wordpress Popular Posts!"
715
+ msgstr "Geef een waardering voor WP Popular Posts!"
716
+
717
+ #: admin.php:714
718
+ msgid "Rate it"
719
+ msgstr "Geef waardering"
720
+
721
+ #: admin.php:714
722
+ msgid "on the official Plugin Directory!"
723
+ msgstr "op de officiele Pluginpagina!"
724
+
725
+ #: admin.php:715
726
+ msgid "Do you love this plugin?"
727
+ msgstr "Vind je dit een zeer goede plugin?"
728
+
729
+ #: admin.php:715 admin.php:716
730
+ msgid "Buy me a beer!"
731
+ msgstr "Geef mij een biertje!"
732
+
733
+ #: admin.php:715
734
+ msgid ""
735
+ "Each donation motivates me to keep releasing free stuff for the Wordpress "
736
+ "community!"
737
+ msgstr ""
738
+ "Jouw gift motiveert mij om gratis plugins te blijven maken voor de WordPress-"
739
+ "gemeenschap!"
740
+
741
+ #: wordpress-popular-posts.php:47
742
+ msgid "The most Popular Posts on your blog."
743
+ msgstr "De populairste berichten op je site"
744
+
745
+ #: wordpress-popular-posts.php:301
746
+ msgid "Title:"
747
+ msgstr "Titel:"
748
+
749
+ #: wordpress-popular-posts.php:301 wordpress-popular-posts.php:303
750
+ #: wordpress-popular-posts.php:305 wordpress-popular-posts.php:313
751
+ #: wordpress-popular-posts.php:324 wordpress-popular-posts.php:326
752
+ #: wordpress-popular-posts.php:330 wordpress-popular-posts.php:334
753
+ #: wordpress-popular-posts.php:343 wordpress-popular-posts.php:355
754
+ #: wordpress-popular-posts.php:367 wordpress-popular-posts.php:368
755
+ #: wordpress-popular-posts.php:369 wordpress-popular-posts.php:370
756
+ #: wordpress-popular-posts.php:385 wordpress-popular-posts.php:396
757
+ msgid "What is this?"
758
+ msgstr "Wat is dit?"
759
+
760
+ #: wordpress-popular-posts.php:303
761
+ msgid "Show up to:"
762
+ msgstr "Toon maximaal:"
763
+
764
+ #: wordpress-popular-posts.php:304
765
+ msgid "posts"
766
+ msgstr "berichten"
767
+
768
+ #: wordpress-popular-posts.php:305
769
+ msgid "Time Range:"
770
+ msgstr "Tijdvak:"
771
+
772
+ #: wordpress-popular-posts.php:313
773
+ msgid "Sort posts by:"
774
+ msgstr "Orden berichten op:"
775
+
776
+ #: wordpress-popular-posts.php:315
777
+ msgid "Comments"
778
+ msgstr "Reacties"
779
+
780
+ #: wordpress-popular-posts.php:316
781
+ msgid "Total views"
782
+ msgstr "Totaal bekeken"
783
+
784
+ #: wordpress-popular-posts.php:317
785
+ msgid "Avg. daily views"
786
+ msgstr "Gemiddeld aantal bekeken per dag"
787
+
788
+ #: wordpress-popular-posts.php:322
789
+ msgid "Posts settings"
790
+ msgstr "Berichtinstellingen"
791
+
792
+ #: wordpress-popular-posts.php:324
793
+ msgid "Display post rating"
794
+ msgstr "Toon waardering"
795
+
796
+ #: wordpress-popular-posts.php:326
797
+ msgid "Shorten title"
798
+ msgstr "Kort titel af"
799
+
800
+ #: wordpress-popular-posts.php:328
801
+ msgid "Shorten title to"
802
+ msgstr "Kort titel af tot"
803
+
804
+ #: wordpress-popular-posts.php:328 wordpress-popular-posts.php:335
805
+ msgid "characters"
806
+ msgstr "lettertekens"
807
+
808
+ #: wordpress-popular-posts.php:330
809
+ msgid "Display post excerpt"
810
+ msgstr "Toon samenvatting"
811
+
812
+ #: wordpress-popular-posts.php:333
813
+ msgid "Excerpt Properties"
814
+ msgstr "Kenmerken samenvatting"
815
+
816
+ #: wordpress-popular-posts.php:334
817
+ msgid "Keep text format and links"
818
+ msgstr "Behoud tekstopmaak en koppelingen"
819
+
820
+ #: wordpress-popular-posts.php:335
821
+ msgid "Excerpt length:"
822
+ msgstr "Lengte samenvatting:"
823
+
824
+ #: wordpress-popular-posts.php:343
825
+ msgid "Filters:"
826
+ msgstr "Filters:"
827
+
828
+ #: wordpress-popular-posts.php:344
829
+ msgid "Post type(s):"
830
+ msgstr "Berichttype(s):"
831
+
832
+ #: wordpress-popular-posts.php:346
833
+ msgid "Category(ies) ID(s):"
834
+ msgstr "Categorie ID(s):"
835
+
836
+ #: wordpress-popular-posts.php:348
837
+ msgid "Author(s) ID(s):"
838
+ msgstr "Auteur ID(s):"
839
+
840
+ #: wordpress-popular-posts.php:354
841
+ msgid "Thumbnail settings"
842
+ msgstr "Instellingen miniatuur"
843
+
844
+ #: wordpress-popular-posts.php:355
845
+ msgid "Display post thumbnail"
846
+ msgstr "Ton miniatuurplaatje"
847
+
848
+ #: wordpress-popular-posts.php:357
849
+ msgid "Width:"
850
+ msgstr "Breedte:"
851
+
852
+ #: wordpress-popular-posts.php:358 wordpress-popular-posts.php:360
853
+ msgid "px"
854
+ msgstr "px"
855
+
856
+ #: wordpress-popular-posts.php:359
857
+ msgid "Height:"
858
+ msgstr "Hoogte:"
859
+
860
+ #: wordpress-popular-posts.php:366
861
+ msgid "Stats Tag settings"
862
+ msgstr "Instellingen Statuslabel"
863
+
864
+ #: wordpress-popular-posts.php:367
865
+ msgid "Display comment count"
866
+ msgstr "Toon aantal reacties"
867
+
868
+ #: wordpress-popular-posts.php:368
869
+ msgid "Display views"
870
+ msgstr "Toon aantal bekeken"
871
+
872
+ #: wordpress-popular-posts.php:369
873
+ msgid "Display author"
874
+ msgstr "Toon auteur"
875
+
876
+ #: wordpress-popular-posts.php:370
877
+ msgid "Display date"
878
+ msgstr "Toon datum"
879
+
880
+ #: wordpress-popular-posts.php:373
881
+ msgid "Date Format"
882
+ msgstr "Datumopmaak"
883
+
884
+ #: wordpress-popular-posts.php:384
885
+ msgid "HTML Markup settings"
886
+ msgstr "Instellingen HTML-opmaak"
887
+
888
+ #: wordpress-popular-posts.php:385
889
+ msgid "Use custom HTML Markup"
890
+ msgstr "Gebruik aangepaste HTML"
891
+
892
+ #: wordpress-popular-posts.php:388
893
+ msgid "Before / after title:"
894
+ msgstr "Voor / na titel:"
895
+
896
+ #: wordpress-popular-posts.php:390
897
+ msgid "Before / after Popular Posts:"
898
+ msgstr "Voor / na berichtenlijst:"
899
+
900
+ #: wordpress-popular-posts.php:392
901
+ msgid "Before / after each post:"
902
+ msgstr "Voor / na elk bericht:"
903
+
904
+ #: wordpress-popular-posts.php:396
905
+ msgid "Use content formatting tags"
906
+ msgstr "Gebruik opmaaklabels"
907
+
908
+ #: wordpress-popular-posts.php:399
909
+ msgid "Content format:"
910
+ msgstr "Opmaak:"
911
+
912
+ #: wordpress-popular-posts.php:505
913
+ msgid "Success! The cache table has been cleared!"
914
+ msgstr "Gelukt! De cache is gewist!"
915
+
916
+ #: wordpress-popular-posts.php:507
917
+ msgid "Error: cache table does not exist."
918
+ msgstr "Fout: de cachetabel bestaat niet."
919
+
920
+ #: wordpress-popular-posts.php:513
921
+ msgid "Success! All data have been cleared!"
922
+ msgstr "Gelukt! Alle gegevens zijn gewist!"
923
+
924
+ #: wordpress-popular-posts.php:515
925
+ msgid "Error: one or both data tables are missing."
926
+ msgstr "Fout: eenof meer datatabellen ontbreken."
927
+
928
+ #: wordpress-popular-posts.php:518
929
+ msgid "Invalid action."
930
+ msgstr "Niet toegestaan."
931
+
932
+ #: wordpress-popular-posts.php:521
933
+ msgid ""
934
+ "Sorry, you do not have enough permissions to do this. Please contact the "
935
+ "site administrator for support."
936
+ msgstr ""
937
+ "Sorry, je hebt geen rechten om dit te doen. Neem contact op met de beheerder."
938
+
939
+ #: wordpress-popular-posts.php:852
940
+ msgid "Sorry. No data so far."
941
+ msgstr "Sorry, tot nu toe geen gegevens."
942
+
943
+ #: wordpress-popular-posts.php:928
944
+ msgid "comment(s)"
945
+ msgstr "reactie(s)"
946
+
947
+ #: wordpress-popular-posts.php:932
948
+ msgid "view(s)"
949
+ msgstr "keer bekeken"
950
+
951
+ #: wordpress-popular-posts.php:935
952
+ msgid "view(s) per day"
953
+ msgstr "keer bekeken per dag"
954
+
955
+ #: wordpress-popular-posts.php:943
956
+ msgid "by"
957
+ msgstr "door"
958
+
959
+ #: wordpress-popular-posts.php:947
960
+ msgid "posted on"
961
+ msgstr "geplaatst op"
962
+
963
+ #: wordpress-popular-posts.php:1292
964
+ msgid ""
965
+ "Your Wordpress version is too old. Wordpress Popular Posts Plugin requires "
966
+ "at least version 2.8 to function correctly. Please update your blog via "
967
+ "Tools &gt; Upgrade."
968
+ msgstr ""
969
+ "Je versie van WordPress is te oud. Deze plugin werkt met versie 2.8 en "
970
+ "later. Vernieuw je versie via Gereedschappen (Tools) &gt; Werk bij (Upgrade)."
971
+
972
+ #: wordpress-popular-posts.php:1416
973
+ msgid "Wordpress Popular Posts Stats"
974
+ msgstr "Wordpress Popular Posts Status"
lang/wordpress-popular-posts.mo ADDED
Binary file
lang/wordpress-popular-posts.po ADDED
@@ -0,0 +1,1104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Wordpress Popular Posts\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-06-02 11:54-0430\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Hector Cabrera <hcabrerab@gmail.com>\n"
8
+ "Language-Team: Héctor Cabrera <admin@rauru.com>\n"
9
+ "Language: en_VE\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-SourceCharset: iso-8859-1\n"
14
+ "X-Poedit-KeywordsList: __;_e\n"
15
+ "X-Poedit-Basepath: .\n"
16
+ "X-Generator: Poedit 1.5.5\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: admin.php:67 admin.php:73 admin.php:85 admin.php:96 admin.php:104
20
+ msgid "Settings saved."
21
+ msgstr ""
22
+
23
+ #: admin.php:78
24
+ msgid "Please provide the name of your custom field."
25
+ msgstr ""
26
+
27
+ #: admin.php:345
28
+ msgid ""
29
+ "This operation will delete all entries from Wordpress Popular Posts' cache "
30
+ "table and cannot be undone."
31
+ msgstr ""
32
+
33
+ #: admin.php:345 admin.php:353
34
+ msgid "Do you want to continue?"
35
+ msgstr ""
36
+
37
+ #: admin.php:353
38
+ msgid ""
39
+ "This operation will delete all stored info from Wordpress Popular Posts' "
40
+ "data tables and cannot be undone."
41
+ msgstr ""
42
+
43
+ #: admin.php:367
44
+ msgid "Stats"
45
+ msgstr ""
46
+
47
+ #: admin.php:368
48
+ msgid "FAQ"
49
+ msgstr ""
50
+
51
+ #: admin.php:369
52
+ msgid "Tools"
53
+ msgstr ""
54
+
55
+ #: admin.php:373
56
+ msgid ""
57
+ "Click on each tab to see what are the most popular entries on your blog in "
58
+ "the last 24 hours, this week, last 30 days or all time since Wordpress "
59
+ "Popular Posts was installed."
60
+ msgstr ""
61
+
62
+ #: admin.php:379
63
+ msgid "Order by comments"
64
+ msgstr ""
65
+
66
+ #: admin.php:380
67
+ msgid "Order by views"
68
+ msgstr ""
69
+
70
+ #: admin.php:381
71
+ msgid "Order by avg. daily views"
72
+ msgstr ""
73
+
74
+ #: admin.php:383
75
+ msgid "Post type"
76
+ msgstr ""
77
+
78
+ #: admin.php:384
79
+ msgid "Limit"
80
+ msgstr ""
81
+
82
+ #: admin.php:386 admin.php:805 admin.php:864 admin.php:884 admin.php:936
83
+ msgid "Apply"
84
+ msgstr ""
85
+
86
+ #: admin.php:392 wordpress-popular-posts.php:382
87
+ msgid "Last 24 hours"
88
+ msgstr ""
89
+
90
+ #: admin.php:393 wordpress-popular-posts.php:383
91
+ msgid "Last 7 days"
92
+ msgstr ""
93
+
94
+ #: admin.php:394 wordpress-popular-posts.php:384
95
+ msgid "Last 30 days"
96
+ msgstr ""
97
+
98
+ #: admin.php:395 wordpress-popular-posts.php:385
99
+ msgid "All-time"
100
+ msgstr ""
101
+
102
+ #: admin.php:416
103
+ msgid "Frequently Asked Questions"
104
+ msgstr ""
105
+
106
+ #: admin.php:420
107
+ msgid "What does \"Title\" do?"
108
+ msgstr ""
109
+
110
+ #: admin.php:422
111
+ msgid ""
112
+ "It allows you to show a heading for your most popular posts listing. If left "
113
+ "empty, no heading will be displayed at all."
114
+ msgstr ""
115
+
116
+ #: admin.php:425
117
+ msgid "What is Time Range for?"
118
+ msgstr ""
119
+
120
+ #: admin.php:427
121
+ msgid ""
122
+ "It will tell Wordpress Popular Posts to retrieve all posts with most views / "
123
+ "comments within the selected time range."
124
+ msgstr ""
125
+
126
+ #: admin.php:430
127
+ msgid "What is \"Sort post by\" for?"
128
+ msgstr ""
129
+
130
+ #: admin.php:432
131
+ msgid ""
132
+ "It allows you to decide whether to order your popular posts listing by total "
133
+ "views, comments, or average views per day."
134
+ msgstr ""
135
+
136
+ #: admin.php:435
137
+ msgid "What does \"Display post rating\" do?"
138
+ msgstr ""
139
+
140
+ #: admin.php:437
141
+ msgid ""
142
+ "If checked, Wordpress Popular Posts will show how your readers are rating "
143
+ "your most popular posts. This feature requires having WP-PostRatings plugin "
144
+ "installed and enabled on your blog for it to work."
145
+ msgstr ""
146
+
147
+ #: admin.php:440
148
+ msgid "What does \"Shorten title\" do?"
149
+ msgstr ""
150
+
151
+ #: admin.php:442
152
+ msgid ""
153
+ "If checked, all posts titles will be shortened to \"n\" characters/words. A "
154
+ "new \"Shorten title to\" option will appear so you can set it to whatever "
155
+ "you like."
156
+ msgstr ""
157
+
158
+ #: admin.php:445
159
+ msgid "What does \"Display post excerpt\" do?"
160
+ msgstr ""
161
+
162
+ #: admin.php:447
163
+ msgid ""
164
+ "If checked, Wordpress Popular Posts will also include a small extract of "
165
+ "your posts in the list. Similarly to the previous option, you will be able "
166
+ "to decide how long the post excerpt should be."
167
+ msgstr ""
168
+
169
+ #: admin.php:450
170
+ msgid "What does \"Keep text format and links\" do?"
171
+ msgstr ""
172
+
173
+ #: admin.php:452
174
+ msgid ""
175
+ "If checked, and if the Post Excerpt feature is enabled, Wordpress Popular "
176
+ "Posts will keep the styling tags (eg. bold, italic, etc) that were found in "
177
+ "the excerpt. Hyperlinks will remain intact, too."
178
+ msgstr ""
179
+
180
+ #: admin.php:455
181
+ msgid "What is \"Post type\" for?"
182
+ msgstr ""
183
+
184
+ #: admin.php:457
185
+ msgid ""
186
+ "This filter allows you to decide which post types to show on the listing. By "
187
+ "default, it will retrieve only posts and pages (which should be fine for "
188
+ "most cases)."
189
+ msgstr ""
190
+
191
+ #: admin.php:460
192
+ msgid "What is \"Category(ies) ID(s)\" for?"
193
+ msgstr ""
194
+
195
+ #: admin.php:462
196
+ msgid ""
197
+ "This filter allows you to select which categories should be included or "
198
+ "excluded from the listing. A negative sign in front of the category ID "
199
+ "number will exclude posts belonging to it from the list, for example. You "
200
+ "can specify more than one ID with a comma separated list."
201
+ msgstr ""
202
+
203
+ #: admin.php:465
204
+ msgid "What is \"Author(s) ID(s)\" for?"
205
+ msgstr ""
206
+
207
+ #: admin.php:467
208
+ msgid ""
209
+ "Just like the Category filter, this one lets you filter posts by author ID. "
210
+ "You can specify more than one ID with a comma separated list."
211
+ msgstr ""
212
+
213
+ #: admin.php:470
214
+ msgid "What does \"Display post thumbnail\" do?"
215
+ msgstr ""
216
+
217
+ #: admin.php:472
218
+ msgid ""
219
+ "If checked, Wordpress Popular Posts will attempt to retrieve the thumbnail "
220
+ "of each post. You can set up the source of the thumbnail via Settings - "
221
+ "Wordpress Popular Posts - Tools."
222
+ msgstr ""
223
+
224
+ #: admin.php:475
225
+ msgid "What does \"Display comment count\" do?"
226
+ msgstr ""
227
+
228
+ #: admin.php:477
229
+ msgid ""
230
+ "If checked, Wordpress Popular Posts will display how many comments each "
231
+ "popular post has got in the selected Time Range."
232
+ msgstr ""
233
+
234
+ #: admin.php:480
235
+ msgid "What does \"Display views\" do?"
236
+ msgstr ""
237
+
238
+ #: admin.php:482
239
+ msgid ""
240
+ "If checked, Wordpress Popular Posts will show how many pageviews a single "
241
+ "post has gotten in the selected Time Range."
242
+ msgstr ""
243
+
244
+ #: admin.php:485
245
+ msgid "What does \"Display author\" do?"
246
+ msgstr ""
247
+
248
+ #: admin.php:487
249
+ msgid ""
250
+ "If checked, Wordpress Popular Posts will display the name of the author of "
251
+ "each entry listed."
252
+ msgstr ""
253
+
254
+ #: admin.php:490
255
+ msgid "What does \"Display date\" do?"
256
+ msgstr ""
257
+
258
+ #: admin.php:492
259
+ msgid ""
260
+ "If checked, Wordpress Popular Posts will display the date when each popular "
261
+ "posts was published."
262
+ msgstr ""
263
+
264
+ #: admin.php:495
265
+ msgid "What does \"Use custom HTML Markup\" do?"
266
+ msgstr ""
267
+
268
+ #: admin.php:497
269
+ msgid ""
270
+ "If checked, you will be able to customize the HTML markup of your popular "
271
+ "posts listing. For example, you can decide whether to wrap your posts in an "
272
+ "unordered list, an ordered list, a div, etc. If you know xHTML/CSS, this is "
273
+ "for you!"
274
+ msgstr ""
275
+
276
+ #: admin.php:500
277
+ msgid "What are \"Content Tags\"?"
278
+ msgstr ""
279
+
280
+ #: admin.php:502
281
+ msgid ""
282
+ "Content Tags are codes to display a variety of items on your popular posts "
283
+ "custom HTML structure. For example, setting it to \"{title}: "
284
+ "{summary}\" (without the quotes) would display \"Post title: excerpt of the "
285
+ "post here\". For more Content Tags, see \"List of parameters accepted by "
286
+ "wpp_get_mostpopular() and the [wpp] shortcode\"."
287
+ msgstr ""
288
+
289
+ #: admin.php:505
290
+ msgid "What are \"Template Tags\"?"
291
+ msgstr ""
292
+
293
+ #: admin.php:507
294
+ msgid ""
295
+ "Template Tags are simply php functions that allow you to perform certain "
296
+ "actions. For example, Wordpress Popular Posts currently supports two "
297
+ "different template tags: wpp_get_mostpopular() and wpp_get_views()."
298
+ msgstr ""
299
+
300
+ #: admin.php:510
301
+ msgid "What are the template tags that Wordpress Popular Posts supports?"
302
+ msgstr ""
303
+
304
+ #: admin.php:512
305
+ msgid ""
306
+ "The following are the template tags supported by Wordpress Popular Posts"
307
+ msgstr ""
308
+
309
+ #: admin.php:516
310
+ msgid "Template tag"
311
+ msgstr ""
312
+
313
+ #: admin.php:517 admin.php:550
314
+ msgid "What it does "
315
+ msgstr ""
316
+
317
+ #: admin.php:518
318
+ msgid "Parameters"
319
+ msgstr ""
320
+
321
+ #: admin.php:519 admin.php:553
322
+ msgid "Example"
323
+ msgstr ""
324
+
325
+ #: admin.php:525
326
+ msgid ""
327
+ "Similar to the widget functionality, this tag retrieves the most popular "
328
+ "posts on your blog. This function also accepts parameters so you can "
329
+ "customize your popular listing, but these are not required."
330
+ msgstr ""
331
+
332
+ #: admin.php:526
333
+ msgid ""
334
+ "Please refer to \"List of parameters accepted by wpp_get_mostpopular() and "
335
+ "the [wpp] shortcode\"."
336
+ msgstr ""
337
+
338
+ #: admin.php:531
339
+ msgid ""
340
+ "Displays the number of views of a single post. Post ID is required or it "
341
+ "will return false."
342
+ msgstr ""
343
+
344
+ #: admin.php:532
345
+ msgid "Post ID"
346
+ msgstr ""
347
+
348
+ #: admin.php:539
349
+ msgid "What are \"shortcodes\"?"
350
+ msgstr ""
351
+
352
+ #: admin.php:541
353
+ msgid ""
354
+ "Shortcodes are similar to BB Codes, these allow us to call a php function by "
355
+ "simply typing something like [shortcode]. With Wordpress Popular Posts, the "
356
+ "shortcode [wpp] will let you insert a list of the most popular posts in "
357
+ "posts content and pages too! For more information about shortcodes, please "
358
+ "visit"
359
+ msgstr ""
360
+
361
+ #: admin.php:543
362
+ msgid ""
363
+ "List of parameters accepted by wpp_get_mostpopular() and the [wpp] shortcode"
364
+ msgstr ""
365
+
366
+ #: admin.php:545
367
+ msgid ""
368
+ "These parameters can be used by both the template tag wpp_get_most_popular() "
369
+ "and the shortcode [wpp]."
370
+ msgstr ""
371
+
372
+ #: admin.php:549
373
+ msgid "Parameter"
374
+ msgstr ""
375
+
376
+ #: admin.php:551
377
+ msgid "Possible values"
378
+ msgstr ""
379
+
380
+ #: admin.php:552
381
+ msgid "Defaults to"
382
+ msgstr ""
383
+
384
+ #: admin.php:559
385
+ msgid "Sets a heading for the list"
386
+ msgstr ""
387
+
388
+ #: admin.php:560 admin.php:567 admin.php:574 admin.php:602 admin.php:609
389
+ #: admin.php:616 admin.php:623 admin.php:714 admin.php:728 admin.php:735
390
+ #: admin.php:749 admin.php:756
391
+ msgid "Text string"
392
+ msgstr ""
393
+
394
+ #: admin.php:561 wordpress-popular-posts.php:126
395
+ msgid "Popular Posts"
396
+ msgstr ""
397
+
398
+ #: admin.php:566
399
+ msgid "Set the opening tag for the heading of the list"
400
+ msgstr ""
401
+
402
+ #: admin.php:573
403
+ msgid "Set the closing tag for the heading of the list"
404
+ msgstr ""
405
+
406
+ #: admin.php:580
407
+ msgid "Sets the maximum number of popular posts to be shown on the listing"
408
+ msgstr ""
409
+
410
+ #: admin.php:581 admin.php:630 admin.php:644 admin.php:665 admin.php:672
411
+ msgid "Positive integer"
412
+ msgstr ""
413
+
414
+ #: admin.php:587
415
+ msgid ""
416
+ "Tells Wordpress Popular Posts to retrieve the most popular entries within "
417
+ "the time range specified by you"
418
+ msgstr ""
419
+
420
+ #: admin.php:594
421
+ msgid "Sets the sorting option of the popular posts"
422
+ msgstr ""
423
+
424
+ #: admin.php:595
425
+ msgid "(for average views per day)"
426
+ msgstr ""
427
+
428
+ #: admin.php:601
429
+ msgid "Defines the type of posts to show on the listing"
430
+ msgstr ""
431
+
432
+ #: admin.php:608
433
+ msgid ""
434
+ "If set, Wordpress Popular Posts will exclude the specified post(s) ID(s) "
435
+ "form the listing."
436
+ msgstr ""
437
+
438
+ #: admin.php:610 admin.php:617 admin.php:624
439
+ msgid "None"
440
+ msgstr ""
441
+
442
+ #: admin.php:615
443
+ msgid ""
444
+ "If set, Wordpress Popular Posts will retrieve all entries that belong to the "
445
+ "specified category(ies) ID(s). If a minus sign is used, the category(ies) "
446
+ "will be excluded instead."
447
+ msgstr ""
448
+
449
+ #: admin.php:622
450
+ msgid ""
451
+ "If set, Wordpress Popular Posts will retrieve all entries created by "
452
+ "specified author(s) ID(s)."
453
+ msgstr ""
454
+
455
+ #: admin.php:629
456
+ msgid ""
457
+ "If set, Wordpress Popular Posts will shorten each post title to \"n\" "
458
+ "characters whenever possible"
459
+ msgstr ""
460
+
461
+ #: admin.php:636
462
+ msgid ""
463
+ "If set to 1, Wordpress Popular Posts will shorten each post title to \"n\" "
464
+ "words instead of characters"
465
+ msgstr ""
466
+
467
+ #: admin.php:643
468
+ msgid ""
469
+ "If set, Wordpress Popular Posts will build and include an excerpt of \"n\" "
470
+ "characters long from the content of each post listed as popular"
471
+ msgstr ""
472
+
473
+ #: admin.php:650
474
+ msgid ""
475
+ "If set, Wordpress Popular Posts will maintaing all styling tags (strong, "
476
+ "italic, etc) and hyperlinks found in the excerpt"
477
+ msgstr ""
478
+
479
+ #: admin.php:657
480
+ msgid ""
481
+ "If set to 1, Wordpress Popular Posts will shorten the excerpt to \"n\" words "
482
+ "instead of characters"
483
+ msgstr ""
484
+
485
+ #: admin.php:664
486
+ msgid ""
487
+ "If set, and if your current server configuration allows it, you will be able "
488
+ "to display thumbnails of your posts. This attribute sets the width for "
489
+ "thumbnails"
490
+ msgstr ""
491
+
492
+ #: admin.php:671
493
+ msgid ""
494
+ "If set, and if your current server configuration allows it, you will be able "
495
+ "to display thumbnails of your posts. This attribute sets the height for "
496
+ "thumbnails"
497
+ msgstr ""
498
+
499
+ #: admin.php:678
500
+ msgid ""
501
+ "If set, and if the WP-PostRatings plugin is installed and enabled on your "
502
+ "blog, Wordpress Popular Posts will show how your visitors are rating your "
503
+ "entries"
504
+ msgstr ""
505
+
506
+ #: admin.php:685
507
+ msgid ""
508
+ "If set, Wordpress Popular Posts will show how many comments each popular "
509
+ "post has got until now"
510
+ msgstr ""
511
+
512
+ #: admin.php:692
513
+ msgid ""
514
+ "If set, Wordpress Popular Posts will show how many views each popular post "
515
+ "has got since it was installed"
516
+ msgstr ""
517
+
518
+ #: admin.php:699
519
+ msgid ""
520
+ "If set, Wordpress Popular Posts will show who published each popular post on "
521
+ "the list"
522
+ msgstr ""
523
+
524
+ #: admin.php:706
525
+ msgid ""
526
+ "If set, Wordpress Popular Posts will display the date when each popular post "
527
+ "on the list was published"
528
+ msgstr ""
529
+
530
+ #: admin.php:713
531
+ msgid "Sets the date format"
532
+ msgstr ""
533
+
534
+ #: admin.php:720
535
+ msgid "If set, Wordpress Popular Posts will display the category"
536
+ msgstr ""
537
+
538
+ #: admin.php:727
539
+ msgid "Sets the opening tag for the listing"
540
+ msgstr ""
541
+
542
+ #: admin.php:734
543
+ msgid "Sets the closing tag for the listing"
544
+ msgstr ""
545
+
546
+ #: admin.php:741
547
+ msgid "Sets the HTML structure of each post"
548
+ msgstr ""
549
+
550
+ #: admin.php:742
551
+ msgid "Text string, custom HTML"
552
+ msgstr ""
553
+
554
+ #: admin.php:742
555
+ msgid "Available Content Tags"
556
+ msgstr ""
557
+
558
+ #: admin.php:742
559
+ msgid "displays thumbnail linked to post/page"
560
+ msgstr ""
561
+
562
+ #: admin.php:742
563
+ msgid "displays linked post/page title"
564
+ msgstr ""
565
+
566
+ #: admin.php:742
567
+ msgid ""
568
+ "displays post/page excerpt, and requires excerpt_length to be greater than 0"
569
+ msgstr ""
570
+
571
+ #: admin.php:742
572
+ msgid "displays the default stats tags"
573
+ msgstr ""
574
+
575
+ #: admin.php:742
576
+ msgid ""
577
+ "displays post/page current rating, requires WP-PostRatings installed and "
578
+ "enabled"
579
+ msgstr ""
580
+
581
+ #: admin.php:742
582
+ msgid "outputs the URL of the post/page"
583
+ msgstr ""
584
+
585
+ #: admin.php:742
586
+ msgid "displays post/page title, no link"
587
+ msgstr ""
588
+
589
+ #: admin.php:742
590
+ msgid "displays linked author name, requires stats_author=1"
591
+ msgstr ""
592
+
593
+ #: admin.php:742
594
+ msgid "displays linked category name, requires stats_category=1"
595
+ msgstr ""
596
+
597
+ #: admin.php:742
598
+ msgid "displays views count only, no text"
599
+ msgstr ""
600
+
601
+ #: admin.php:742
602
+ msgid "displays comments count only, no text, requires stats_comments=1"
603
+ msgstr ""
604
+
605
+ #: admin.php:748
606
+ msgid "Sets the opening tag for each item on the list"
607
+ msgstr ""
608
+
609
+ #: admin.php:755
610
+ msgid "Sets the closing tag for each item on the list"
611
+ msgstr ""
612
+
613
+ #: admin.php:762
614
+ msgid ""
615
+ "If set, this option will allow you to decide the order of the contents "
616
+ "within each item on the list."
617
+ msgstr ""
618
+
619
+ #: admin.php:769
620
+ msgid ""
621
+ "If set, you can decide the order of each content inside a single item on the "
622
+ "list. For example, setting it to \"{title}: {summary}\" would output "
623
+ "something like \"Your Post Title: summary here\". This attribute requires "
624
+ "do_pattern to be true."
625
+ msgstr ""
626
+
627
+ #: admin.php:770
628
+ msgid "Available tags"
629
+ msgstr ""
630
+
631
+ #: admin.php:785
632
+ msgid ""
633
+ "Here you will find a handy group of options to tweak Wordpress Popular Posts."
634
+ msgstr ""
635
+
636
+ #: admin.php:787
637
+ msgid "Views logging behavior"
638
+ msgstr ""
639
+
640
+ #: admin.php:793
641
+ msgid "Log views from"
642
+ msgstr ""
643
+
644
+ #: admin.php:796
645
+ msgid "Visitors only"
646
+ msgstr ""
647
+
648
+ #: admin.php:797
649
+ msgid "Everyone"
650
+ msgstr ""
651
+
652
+ #: admin.php:814
653
+ msgid "Thumbnail source"
654
+ msgstr ""
655
+
656
+ #: admin.php:820
657
+ msgid "Default thumbnail"
658
+ msgstr ""
659
+
660
+ #: admin.php:822
661
+ msgid "Upload thumbnail"
662
+ msgstr ""
663
+
664
+ #: admin.php:825
665
+ msgid ""
666
+ "How-to: upload (or select) an image, set Size to Full and click on Upload. "
667
+ "After it's done, hit on Apply to save changes"
668
+ msgstr ""
669
+
670
+ #: admin.php:827
671
+ msgid "Preview"
672
+ msgstr ""
673
+
674
+ #: admin.php:835
675
+ msgid "Pick image from"
676
+ msgstr ""
677
+
678
+ #: admin.php:838
679
+ msgid "Featured image"
680
+ msgstr ""
681
+
682
+ #: admin.php:839
683
+ msgid "First image on post"
684
+ msgstr ""
685
+
686
+ #: admin.php:840
687
+ msgid "Custom field"
688
+ msgstr ""
689
+
690
+ #: admin.php:843
691
+ msgid "Tell Wordpress Popular Posts where it should get thumbnails from"
692
+ msgstr ""
693
+
694
+ #: admin.php:847
695
+ msgid "Custom field name"
696
+ msgstr ""
697
+
698
+ #: admin.php:853
699
+ msgid "Resize image from Custom field?"
700
+ msgstr ""
701
+
702
+ #: admin.php:856
703
+ msgid "No, I will upload my own thumbnail"
704
+ msgstr ""
705
+
706
+ #: admin.php:857
707
+ msgid "Yes"
708
+ msgstr ""
709
+
710
+ #: admin.php:874
711
+ msgid "Wordpress Popular Posts Stylesheet"
712
+ msgstr ""
713
+
714
+ #: admin.php:875
715
+ msgid ""
716
+ "By default, the plugin includes a stylesheet called wpp.css which you can "
717
+ "use to style your popular posts listing. If you wish to use your own "
718
+ "stylesheet or do not want it to have it included in the header section of "
719
+ "your site, use this."
720
+ msgstr ""
721
+
722
+ #: admin.php:880 admin.php:899
723
+ msgid "Enabled"
724
+ msgstr ""
725
+
726
+ #: admin.php:881 admin.php:898
727
+ msgid "Disabled"
728
+ msgstr ""
729
+
730
+ #: admin.php:890
731
+ msgid "Data tools"
732
+ msgstr ""
733
+
734
+ #: admin.php:895
735
+ msgid "Ajaxify widget"
736
+ msgstr ""
737
+
738
+ #: admin.php:903
739
+ msgid ""
740
+ "If you are using a caching plugin such as WP Super Cache, enabling this "
741
+ "feature will keep the popular list from being cached by it"
742
+ msgstr ""
743
+
744
+ #: admin.php:907
745
+ msgid "Popular posts listing refresh interval"
746
+ msgstr ""
747
+
748
+ #: admin.php:910
749
+ msgid "Live"
750
+ msgstr ""
751
+
752
+ #: admin.php:911
753
+ msgid "Custom interval"
754
+ msgstr ""
755
+
756
+ #: admin.php:915
757
+ msgid ""
758
+ "Sets how often the listing should be updated. For most sites the Live option "
759
+ "should be fine, however if you are experiencing slowdowns or your blog gets "
760
+ "a lot of visitors then you might want to change the refresh rate"
761
+ msgstr ""
762
+
763
+ #: admin.php:919
764
+ msgid "Refresh interval"
765
+ msgstr ""
766
+
767
+ #: admin.php:923
768
+ msgid "Hour(s)"
769
+ msgstr ""
770
+
771
+ #: admin.php:924
772
+ msgid "Day(s)"
773
+ msgstr ""
774
+
775
+ #: admin.php:925
776
+ msgid "Week(s)"
777
+ msgstr ""
778
+
779
+ #: admin.php:926
780
+ msgid "Month(s)"
781
+ msgstr ""
782
+
783
+ #: admin.php:927
784
+ msgid "Year(s)"
785
+ msgstr ""
786
+
787
+ #: admin.php:930
788
+ msgid "Really? That long?"
789
+ msgstr ""
790
+
791
+ #: admin.php:945
792
+ msgid ""
793
+ "Wordpress Popular Posts maintains data in two separate tables: one for "
794
+ "storing the most popular entries in the past 30 days (from now on, \"cache"
795
+ "\"), and another one to keep the All-time data (from now on, \"historical "
796
+ "data\" or just \"data\"). If for some reason you need to clear the cache "
797
+ "table, or even both historical and cache tables, please use the buttons "
798
+ "below to do so."
799
+ msgstr ""
800
+
801
+ #: admin.php:946
802
+ msgid "Empty cache"
803
+ msgstr ""
804
+
805
+ #: admin.php:946
806
+ msgid "Use this button to manually clear entries from WPP cache only"
807
+ msgstr ""
808
+
809
+ #: admin.php:947
810
+ msgid "Clear all data"
811
+ msgstr ""
812
+
813
+ #: admin.php:947
814
+ msgid "Use this button to manually clear entries from all WPP data tables"
815
+ msgstr ""
816
+
817
+ #: admin.php:953
818
+ msgid "Do you like this plugin?"
819
+ msgstr ""
820
+
821
+ #: admin.php:953
822
+ msgid "Rate Wordpress Popular Posts!"
823
+ msgstr ""
824
+
825
+ #: admin.php:953
826
+ msgid "Rate it"
827
+ msgstr ""
828
+
829
+ #: admin.php:953
830
+ msgid "on the official Plugin Directory!"
831
+ msgstr ""
832
+
833
+ #: admin.php:954
834
+ msgid "Do you love this plugin?"
835
+ msgstr ""
836
+
837
+ #: admin.php:954 admin.php:955
838
+ msgid "Buy me a beer!"
839
+ msgstr ""
840
+
841
+ #: admin.php:954
842
+ msgid ""
843
+ "Each donation motivates me to keep releasing free stuff for the Wordpress "
844
+ "community!"
845
+ msgstr ""
846
+
847
+ #: wordpress-popular-posts.php:129
848
+ msgid "The most Popular Posts on your blog."
849
+ msgstr ""
850
+
851
+ #: wordpress-popular-posts.php:376
852
+ msgid "Title:"
853
+ msgstr ""
854
+
855
+ #: wordpress-popular-posts.php:376 wordpress-popular-posts.php:378
856
+ #: wordpress-popular-posts.php:380 wordpress-popular-posts.php:388
857
+ #: wordpress-popular-posts.php:399 wordpress-popular-posts.php:401
858
+ #: wordpress-popular-posts.php:408 wordpress-popular-posts.php:412
859
+ #: wordpress-popular-posts.php:425 wordpress-popular-posts.php:439
860
+ #: wordpress-popular-posts.php:451 wordpress-popular-posts.php:452
861
+ #: wordpress-popular-posts.php:453 wordpress-popular-posts.php:454
862
+ #: wordpress-popular-posts.php:464 wordpress-popular-posts.php:470
863
+ msgid "What is this?"
864
+ msgstr ""
865
+
866
+ #: wordpress-popular-posts.php:378
867
+ msgid "Show up to:"
868
+ msgstr ""
869
+
870
+ #: wordpress-popular-posts.php:379
871
+ msgid "posts"
872
+ msgstr ""
873
+
874
+ #: wordpress-popular-posts.php:380
875
+ msgid "Time Range:"
876
+ msgstr ""
877
+
878
+ #: wordpress-popular-posts.php:388
879
+ msgid "Sort posts by:"
880
+ msgstr ""
881
+
882
+ #: wordpress-popular-posts.php:390
883
+ msgid "Comments"
884
+ msgstr ""
885
+
886
+ #: wordpress-popular-posts.php:391
887
+ msgid "Total views"
888
+ msgstr ""
889
+
890
+ #: wordpress-popular-posts.php:392
891
+ msgid "Avg. daily views"
892
+ msgstr ""
893
+
894
+ #: wordpress-popular-posts.php:397
895
+ msgid "Posts settings"
896
+ msgstr ""
897
+
898
+ #: wordpress-popular-posts.php:399
899
+ msgid "Display post rating"
900
+ msgstr ""
901
+
902
+ #: wordpress-popular-posts.php:401
903
+ msgid "Shorten title"
904
+ msgstr ""
905
+
906
+ #: wordpress-popular-posts.php:404
907
+ msgid "Shorten title to"
908
+ msgstr ""
909
+
910
+ #: wordpress-popular-posts.php:405 wordpress-popular-posts.php:415
911
+ msgid "characters"
912
+ msgstr ""
913
+
914
+ #: wordpress-popular-posts.php:406 wordpress-popular-posts.php:416
915
+ msgid "words"
916
+ msgstr ""
917
+
918
+ #: wordpress-popular-posts.php:408
919
+ msgid "Display post excerpt"
920
+ msgstr ""
921
+
922
+ #: wordpress-popular-posts.php:411
923
+ msgid "Excerpt Properties"
924
+ msgstr ""
925
+
926
+ #: wordpress-popular-posts.php:412
927
+ msgid "Keep text format and links"
928
+ msgstr ""
929
+
930
+ #: wordpress-popular-posts.php:413
931
+ msgid "Excerpt length:"
932
+ msgstr ""
933
+
934
+ #: wordpress-popular-posts.php:425
935
+ msgid "Filters:"
936
+ msgstr ""
937
+
938
+ #: wordpress-popular-posts.php:426
939
+ msgid "Post type(s):"
940
+ msgstr ""
941
+
942
+ #: wordpress-popular-posts.php:428
943
+ msgid "Post(s) ID(s) to exclude:"
944
+ msgstr ""
945
+
946
+ #: wordpress-popular-posts.php:430
947
+ msgid "Category(ies) ID(s):"
948
+ msgstr ""
949
+
950
+ #: wordpress-popular-posts.php:432
951
+ msgid "Author(s) ID(s):"
952
+ msgstr ""
953
+
954
+ #: wordpress-popular-posts.php:438
955
+ msgid "Thumbnail settings"
956
+ msgstr ""
957
+
958
+ #: wordpress-popular-posts.php:439
959
+ msgid "Display post thumbnail"
960
+ msgstr ""
961
+
962
+ #: wordpress-popular-posts.php:441
963
+ msgid "Width:"
964
+ msgstr ""
965
+
966
+ #: wordpress-popular-posts.php:442 wordpress-popular-posts.php:444
967
+ msgid "px"
968
+ msgstr ""
969
+
970
+ #: wordpress-popular-posts.php:443
971
+ msgid "Height:"
972
+ msgstr ""
973
+
974
+ #: wordpress-popular-posts.php:450
975
+ msgid "Stats Tag settings"
976
+ msgstr ""
977
+
978
+ #: wordpress-popular-posts.php:451
979
+ msgid "Display comment count"
980
+ msgstr ""
981
+
982
+ #: wordpress-popular-posts.php:452
983
+ msgid "Display views"
984
+ msgstr ""
985
+
986
+ #: wordpress-popular-posts.php:453
987
+ msgid "Display author"
988
+ msgstr ""
989
+
990
+ #: wordpress-popular-posts.php:454
991
+ msgid "Display date"
992
+ msgstr ""
993
+
994
+ #: wordpress-popular-posts.php:457
995
+ msgid "Date Format"
996
+ msgstr ""
997
+
998
+ #: wordpress-popular-posts.php:464
999
+ msgid "Display category"
1000
+ msgstr ""
1001
+
1002
+ #: wordpress-popular-posts.php:469
1003
+ msgid "HTML Markup settings"
1004
+ msgstr ""
1005
+
1006
+ #: wordpress-popular-posts.php:470
1007
+ msgid "Use custom HTML Markup"
1008
+ msgstr ""
1009
+
1010
+ #: wordpress-popular-posts.php:473
1011
+ msgid "Before / after title:"
1012
+ msgstr ""
1013
+
1014
+ #: wordpress-popular-posts.php:475
1015
+ msgid "Before / after Popular Posts:"
1016
+ msgstr ""
1017
+
1018
+ #: wordpress-popular-posts.php:478
1019
+ msgid "Post HTML Markup:"
1020
+ msgstr ""
1021
+
1022
+ #: wordpress-popular-posts.php:628
1023
+ msgid "Success! The cache table has been cleared!"
1024
+ msgstr ""
1025
+
1026
+ #: wordpress-popular-posts.php:630
1027
+ msgid "Error: cache table does not exist."
1028
+ msgstr ""
1029
+
1030
+ #: wordpress-popular-posts.php:636
1031
+ msgid "Success! All data have been cleared!"
1032
+ msgstr ""
1033
+
1034
+ #: wordpress-popular-posts.php:638
1035
+ msgid "Error: one or both data tables are missing."
1036
+ msgstr ""
1037
+
1038
+ #: wordpress-popular-posts.php:641
1039
+ msgid "Invalid action."
1040
+ msgstr ""
1041
+
1042
+ #: wordpress-popular-posts.php:644
1043
+ msgid ""
1044
+ "Sorry, you do not have enough permissions to do this. Please contact the "
1045
+ "site administrator for support."
1046
+ msgstr ""
1047
+
1048
+ #: wordpress-popular-posts.php:1068
1049
+ msgid "Sorry. No data so far."
1050
+ msgstr ""
1051
+
1052
+ #: wordpress-popular-posts.php:1150
1053
+ msgid "comment"
1054
+ msgstr ""
1055
+
1056
+ #: wordpress-popular-posts.php:1150
1057
+ msgid "comments"
1058
+ msgstr ""
1059
+
1060
+ #: wordpress-popular-posts.php:1158
1061
+ msgid "view per day"
1062
+ msgstr ""
1063
+
1064
+ #: wordpress-popular-posts.php:1158
1065
+ msgid "views per day"
1066
+ msgstr ""
1067
+
1068
+ #: wordpress-popular-posts.php:1162
1069
+ msgid "view"
1070
+ msgstr ""
1071
+
1072
+ #: wordpress-popular-posts.php:1162
1073
+ msgid "views"
1074
+ msgstr ""
1075
+
1076
+ #: wordpress-popular-posts.php:1171
1077
+ msgid "by"
1078
+ msgstr ""
1079
+
1080
+ #: wordpress-popular-posts.php:1175
1081
+ msgid "posted on"
1082
+ msgstr ""
1083
+
1084
+ #: wordpress-popular-posts.php:1183
1085
+ msgid "under"
1086
+ msgstr ""
1087
+
1088
+ #: wordpress-popular-posts.php:1753
1089
+ msgid "Upload"
1090
+ msgstr ""
1091
+
1092
+ #: wordpress-popular-posts.php:1765
1093
+ msgid ""
1094
+ "Your Wordpress version is too old. Wordpress Popular Posts Plugin requires "
1095
+ "at least version 2.8 to function correctly. Please update your blog via "
1096
+ "Tools &gt; Upgrade."
1097
+ msgstr ""
1098
+
1099
+ #: wordpress-popular-posts.php:1774
1100
+ msgid ""
1101
+ "Your PHP installation is too old. Wordpress Popular Posts Plugin requires at "
1102
+ "least PHP v5.2.0 to function correctly. Please contact your hosting provider "
1103
+ "and ask them to upgrade PHP to 5.2.x or higher."
1104
+ msgstr ""
no_thumb.jpg ADDED
Binary file
readme.md ADDED
@@ -0,0 +1,465 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Wordpress Popular Posts
2
+
3
+ A highly customizable Wordpress widget to display the most popular posts on your blog.
4
+
5
+ ----
6
+ ## Table of contents
7
+
8
+ * [Description](https://github.com/cabrerahector/wordpress-popular-posts#description)
9
+ * [Features](https://github.com/cabrerahector/wordpress-popular-posts#features)
10
+ * [Requirements](https://github.com/cabrerahector/wordpress-popular-posts#requirements)
11
+ * [Installation](https://github.com/cabrerahector/wordpress-popular-posts#installation)
12
+ * [Usage](https://github.com/cabrerahector/wordpress-popular-posts#usage)
13
+ * [Frequently asked questions](https://github.com/cabrerahector/wordpress-popular-posts#frequently-asked-questions)
14
+ * [Support](https://github.com/cabrerahector/wordpress-popular-posts#support)
15
+ * [Changelog](https://github.com/cabrerahector/wordpress-popular-posts#changelog)
16
+ * [Contributing](https://github.com/cabrerahector/wordpress-popular-posts#contributing)
17
+ * [License](https://github.com/cabrerahector/wordpress-popular-posts#license)
18
+
19
+
20
+ ## Description
21
+
22
+ Wordpress Popular Posts (from now on, just *WPP*) is a [plugin](http://codex.wordpress.org/Plugins) to showcase the most commented / viewed entries on your [Wordpress](http://wordpress.org/) powered blog/site.
23
+
24
+
25
+ ## Features
26
+
27
+ * **Multi-widget capable**. That is, you can have several widgets of Wordpress Popular Posts on your blog - each with its own settings!
28
+ * **Time Range** - list those posts of your blog that have been the most popular ones within a specific time range (eg. last 24 hours, last 7 days, last 30 days, etc.)!
29
+ * **Custom Post-type support**. Wanna show other stuff than just posts and pages?
30
+ * Display a **thumbnail** of your posts! (*see [technical requirements](https://github.com/cabrerahector/wordpress-popular-posts#im-unable-to-activate-the-display-post-thumbnail-option-why) *).
31
+ * Use **your own layout**! Control how your most popular posts are shown on your theme. *Updated! See [changelog](https://github.com/cabrerahector/wordpress-popular-posts#changelog) for more!*
32
+ * Check the **statistics** on your most popular posts from wp-admin.
33
+ * Order your popular list by comments, views (default) or average views per day!
34
+ * **Shortcode support** - use the [wpp] shortcode to showcase your most popular posts on pages, too! For usage and instructions, please refer to the [usage section](https://github.com/cabrerahector/wordpress-popular-posts#usage).
35
+ * **Template tags** - Don't feel like using widgets? No problem! You can still embed your most popular entries on your theme using the `wpp_get_mostpopular()` template tag. Additionally, the `wpp_gets_views()` template tag allows you to retrieve the views count for a particular post. For usage and instructions, please refer to the [usage section](https://github.com/cabrerahector/wordpress-popular-posts#usage).
36
+ * **Localizable** to your own language (*See [here](https://github.com/cabrerahector/wordpress-popular-posts#i-want-to-translate-your-plugin-into-my-language--help-you-update-a-translation-what-do-i-need-to-do) for more info*).
37
+ * **[WP-PostRatings](http://wordpress.org/extend/plugins/wp-postratings/) support**. Show your visitors how your readers are rating your posts!
38
+ * **Automatic maintenance** - Wordpress Popular Posts will wipe out from its cache automatically all those posts that have not been viewed more than 30 days from the current date, keeping just the popular ones on the list! This ensures that your cache table will remain as compact as possible! (You can also clear it manually if you like, [look here for instructions](https://github.com/cabrerahector/wordpress-popular-posts#i-would-like-to-clear-all-data-gathered-by-wordpress-popular-posts-and-start-over-how-can-i-do-that)!).
39
+
40
+
41
+ ## Requirements
42
+
43
+ * Wordpress 3.3 or above.
44
+ * PHP 5.2+ or above.
45
+ * Either the [ImageMagik](http://www.php.net/manual/en/intro.imagick.php) or [GD](http://www.php.net/manual/en/intro.image.php) library installed and enabled on your server (not really required, but needed to create thumbnails).
46
+
47
+
48
+ ## Installation
49
+
50
+ 1. [Download the plugin](http://wordpress.org/extend/plugins/wordpress-popular-posts/) and extract its contents.
51
+ 2. Upload the `wordpress-popular-posts` folder to the `/wp-content/plugins/` directory.
52
+ 3. Activate **Wordpress Popular Posts** plugin through the 'Plugins' menu in WordPress.
53
+ 4. In your admin console, go to Appeareance > Widgets, drag the Wordpress Popular Posts widget to wherever you want it to be and click on Save.
54
+ 5. (optional) Go to Appeareance > Editor. On "Theme Files", click on `header.php` and make sure that the `<?php wp_head(); ?>` tag is present (should be right before the closing `</head>` tag).
55
+
56
+
57
+ ## Usage
58
+
59
+ WPP's main feature is the ability to use it as a widget, which is ideal for themes that supports this feature since it can be used on any of your sidebars / footer. However, this plugin can also be used via shortcode or using a WPP's custom template tag:
60
+
61
+ ###SHORTCODE###
62
+
63
+ If you want to use Wordpress Popular Posts on your pages (a "Hall of Fame" page, for example) please use the shortcode `[wpp]`. By default, it'll list the **most viewed posts** (up to 10) in the last 24 hours. However, you can change the output and the time range by passing parameters to the shortcode (**optional**). You can find the full list of available parameters via *wp-admin > Settings > Wordpress Popular Posts > FAQ*.
64
+
65
+ **Example:**
66
+
67
+ `[wpp range=daily stats_views=1 order_by=views]`
68
+
69
+
70
+ ###TEMPLATE TAGS###
71
+
72
+ =`wpp_get_mostpopular`=
73
+
74
+ With the `wpp_get_mostpopular` template tag you can embed the most popular posts of your blog on your site's sidebar without using a widget. Optionally, you can pass some parameters to this function so you can customize your popular posts (for a complete list of parameters, please go to *wp-admin > Settings > Wordpress Popular Posts > FAQ*).
75
+
76
+ **Warning:** other users have reported that using this template tag on PHP widgets such as [Linkable Title HTML and PHP widget](http://wordpress.org/extend/plugins/linkable-title-html-and-php-widget/) and others might not render the PHP code correctly, making the `wpp_get_mostpopular` template tag fail and return "Sorry, no data so far". I suggest using it directly on your theme's sidebar.php file to avoid issues.
77
+
78
+
79
+ **Usage:**
80
+
81
+ Without any parameters, it will list the **most viewed posts** (up to 10) in the last 24 hours:
82
+
83
+ `<?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular(); ?>`
84
+
85
+
86
+ Using parameters:
87
+
88
+ `<?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("range=weekly&order_by=comments"); ?>`
89
+
90
+ =`wpp_get_views()`=
91
+
92
+ The `wpp_get_views` template tag retrieves the views count of a single post/page. It accepts two parameters: the *post ID* (required), and *time range* (optional). If *time range* isn't provided the function will retrieve the total amount of views, otherwise it'll return the number of views received within the selected time range.
93
+
94
+ **Usage:**
95
+
96
+ `<?php if (function_exists('wpp_get_views')) { echo wpp_get_views( get_the_ID() ); } ?>`
97
+ `<?php if (function_exists('wpp_get_views')) { echo wpp_get_views( 15, 'weekly' ); } ?>`
98
+
99
+
100
+ ## Frequently asked questions
101
+
102
+ #### I need help with your plugin! What should I do? ####
103
+ First thing to do is read the [installation](https://github.com/cabrerahector/wordpress-popular-posts#installation) and [usage](https://github.com/cabrerahector/wordpress-popular-posts#usage) sections (and this section as well) as they should address most of the questions you might have about this plugin (and even more info can be found via *wp-admin > Settings > Wordpress Popular Posts > FAQ*). If you're having problems with WPP, my first suggestion would be try disabling all other plugins and then re-enable each one to make sure there are no conflicts. Also, try switching to a different theme and see if the issue persists. Checking the [Support Forum](http://wordpress.org/support/plugin/wordpress-popular-posts) and the [issue tracker](https://github.com/cabrerahector/wordpress-popular-posts/issues) is also a good idea as chances are that someone else has already posted something about it. **Remember:** *read first*. It'll save you (and me) time.
104
+
105
+ ### -FUNCTIONALITY- ###
106
+
107
+ #### Why Wordpress Popular Posts? ####
108
+ The idea of creating this plugin came from the need to know how many people were actually reading each post. Unfortunately, Wordpress doesn't keep views count of your posts anywhere. Because of that, and since I didn't find anything that would suit my needs, I ended up creating Wordpress Popular Posts: a highly customizable, easy-to-use Wordpress plugin with the ability to keep track of what's popular to showcase it to the visitors!
109
+
110
+ #### How does the plugin count views / calculate the popularity of posts? ####
111
+ Since Wordpress doesn't store views count (only comments count), this plugin stores that info for you. When you sort your popular posts by *views*, Wordpress Popular Posts will retrieve the views count it started caching from the time you first installed this plugin, and then rank the top posts according to the settings you have configured in the plugin. Wordpress Popular Posts can also rank the popularity of your posts based on comments count as well.
112
+
113
+ #### I'm getting "Sorry. No data so far". What's up with that? ####
114
+ There are a number of reasons that might explain why you are seeing this message: no one has seen or commented on your posts/pages since Wordpress Popular Posts activation, you should give it some time; your current theme does not have the [wp_head()](http://codex.wordpress.org/Theme_Development#Plugin_API_Hooks) tag in its &lt;head&gt; section, required by my plugin to keep track of what your visitors are viewing on your site; Wordpress Popular Posts was unable to create the necessary DB tables to work, make sure your hosting has granted you permission to create / update / modify tables in the database.
115
+
116
+ #### My current theme does not support widgets (booooo!). Can I show my most popular posts in any other way? ####
117
+ Yes, there are other choices: you can use the [wpp shortcode](https://github.com/cabrerahector/wordpress-popular-posts#shortcode), which allows you to embed your popular listing directly in the content of your posts and/or pages; or you can use the [`wpp_get_mostpopular()` template tag](https://github.com/cabrerahector/wordpress-popular-posts#template-tags). Both options are highly customizable via parameters, check them out via *wp-admin > Settings > Wordpress Popular Posts > FAQ*.
118
+
119
+ #### Wordpress Popular Posts is not counting my own visits, why? ####
120
+ By default, Wordpress Popular Posts won't count views generated by logged in users. If your blog requires readers to be logged in to access its contents (or just want WPP to count your own views) please go to *wp-admin > Settings > Wordpress Popular Posts > Tools* and set *Log views from* to *Everyone*.
121
+
122
+ #### I'm unable to activate the "Display post thumbnail" option. Why? ####
123
+ Requirements have changed as of Wordpress Popular Posts 2.3.3. **PHP 5.2+** and **Wordpress 3.0.0** are the minimum requirements to enable thumbnails. Wordpress Popular Posts 2.3.2 and below require **PHP 4.3 or higher**. Also, the **GD library** must be installed and [enabled by your host](http://wordpress.org/support/topic/289778#post-1366038).
124
+
125
+ #### How does Wordpress Popular Posts pick my posts' thumbnails? ####
126
+ Wordpress Popular Posts has three different thumbnail options to choose from available at *wp-admin > Settings > Wordpress Popular Posts > Tools*: *Featured Image* (default), *First image on post*, or [*custom field*](http://codex.wordpress.org/Custom_Fields). If no images are found, a "No thumbnail" image will be used instead.
127
+
128
+ #### I'm seeing a "No thumbnail" image, where's my post thumbnail? ####
129
+ Make sure you have assigned one to your posts (see previous question).
130
+
131
+ #### Is there any way I can change that ugly "No thumbnail" image for one of my own? ####
132
+ Fortunately, yes. Go to *wp-admin > Settings > Wordpress Popular Posts > Tools* and check under *Thumbnail source*. Ideally, the thumbnail you're going to use should be set already with your desired width and height - however, the uploader will give you other size options as configured by your current theme.
133
+
134
+ #### Where can I find the list of parameters accepted by the wpp_get_mostpopular() template tag / [wpp] shortcode? ####
135
+ You can find it via *wp-admin > Settings > Wordpress Popular Posts > FAQ*, under the section *"List of parameters accepted by wpp_get_mostpopular() and the [wpp] shortcode"*.
136
+
137
+ #### I want to have a popular list of my custom post type. How can I do that? ####
138
+ Simply add your custom post type to the Post Type field in the widget (or if you're using the template tag / shortcode, use the *post_type* parameter).
139
+
140
+ #### How can I use my own HTML markup with your plugin? ####
141
+ Wordpress Popular Posts is flexible enough to let you use your own HTML markup. If you're using the widget, simply activate the *Use custom HTML markup* option and set your desired configuration and *Content Tags* (see *wp-admin > Settings > Wordpress Popular Posts > FAQ* under *List of parameters accepted by `wpp_get_mostpopular()` and the [wpp] shortcode* for more); or if you're using the template tag / shortcode, use the *wpp_start*, *wpp_end* and *post_html* parameters (see details in the section mentioned before).
142
+
143
+ #### I would like to clear all data gathered by Wordpress Popular Posts and start over. How can I do that? ####
144
+ If you go to *wp-admin > Settings > Wordpress Popular Posts > Tools*, you'll find two buttons that should do what you need: **Clear cache** and **Clear all data**. The first one just wipes out what's in cache (Last 24 hours, Last 7 Days, Last 30 Days), keeping the historical data (All-time) intact. The latter wipes out everything from Wordpress Popular Posts data tables - even the historical data. Note that this **cannot be undone** so proceed with caution.
145
+
146
+ #### Can Wordpress Popular Posts run on Wordpress Multisite? ####
147
+ While **it's not officially supported**, users have reported that my plugin runs fine on Wordpress Multisite. According to what they have said, you need to install this plugin using the *Network Activation* feature. Note that there are features that *might* not work as expected (eg. thumbnails) as I have never tested this plugin under WP Multisite.
148
+
149
+ ### -CSS AND STYLESHEETS- ###
150
+
151
+ #### Does your plugin include any CSS stylesheets? ####
152
+ Yes, *but* there are no predefined styles (well, almost). Wordpress Popular Posts will first look into your current theme's folder for the wpp.css file and use it if found so that any custom CSS styles made by you are not overwritten, otherwise will use the one bundled with the plugin.
153
+
154
+ #### Each time Wordpress Popular Posts is updated the wpp.css stylesheet gets reset and I lose all changes I made to it. How can I keep my custom CSS? ####
155
+ Copy your modified wpp.css file to your theme's folder, otherwise my plugin will use the one bundled with it by default.
156
+
157
+ #### How can I style my list to look like [insert your desired look here]? ####
158
+ Since this plugin does not include any predefined designs, it's up to you to style your most popular posts list as you like. You might need to hire someone for this if you don't know HTML/CSS, though.
159
+
160
+ #### I want to remove WPP's stylesheet. How can I do that? ####
161
+ Simply add the following code to your theme's functions.php file: `<?php wp_dequeue_style('wordpress-popular-posts') ?>` (or disable the stylesheet via *wp-admin > Settings > Wordpress Popular Posts > Tools*).
162
+
163
+ ### -OTHER STUFF THAT YOU (PROBABLY) WANT TO KNOW- ###
164
+
165
+ #### I want to translate your plugin into my language / help you update a translation. What do I need to do? ####
166
+ There's a PO file included with Wordpress Popular Posts. If your language is not already supported by my plugin, you can use a [gettext](http://www.gnu.org/software/gettext/) editor like [Poedit](http://www.poedit.net/) to translate all texts into your language. If you want to, you can send me your resulting PO and MO files to *hcabrerab at gmail dot com* so I can include them on the next release of my plugin (and would be really grateful if you can also help keep it updated on future releases).
167
+
168
+ #### I want your plugin to have X or Y functionality. Can it be done? ####
169
+ If it fits the nature of my plugin and it sounds like something others would like to have, there's a pretty good chance that I will implement it (and if you actually provide some sample code with useful comments, much better hehe).
170
+
171
+ #### Your plugin seems to conflict with my current Theme / this other Plugin. Can you please help me? ####
172
+ If the theme/plugin you're talking about is a free one and it's available to the public, sure I can try and take a look into it. Premium themes/plugins are out of discussion, though (unless you're willing to buy them for me so I can test them, and even that way I won't provide any guarantees since I'm doing this for free :P).
173
+
174
+ #### ETA for your next release? ####
175
+ Updates will come depending on my work projects (I'm a full-time web developer) and the amount of time I have on my hands. Quick releases will happen only when/if critical bugs are spotted.
176
+
177
+ #### I posted a question at the Support Forum and got no answer from the developer. Why is that? ####
178
+ Chances are that your question has been already answered either at the [Support Forum](http://wordpress.org/support/plugin/wordpress-popular-posts), the [Installation section](https://github.com/cabrerahector/wordpress-popular-posts#installation), or here in the FAQ section. So, since you chose not to read these sections I will simply ignore your posts as well. It could also happen that I'm just busy at the moment and haven't been able to read your post yet, so please be patient (in the meanwhile, search the [Support Forum](http://wordpress.org/support/plugin/wordpress-popular-posts) and the [issue tracker](https://github.com/cabrerahector/wordpress-popular-posts/issues) for an answer).
179
+
180
+ #### Is there any other way to contact you? ####
181
+ For the time being, the [Support Forum](http://wordpress.org/support/plugin/wordpress-popular-posts) is the only way to contact me. Please do not use my email to get in touch with me *unless I authorize you to do so*.
182
+
183
+
184
+ ## Support
185
+
186
+ Before submitting an issue, please:
187
+
188
+ 1. Read the documentation, it's there for a reason. Links: [Installation](https://github.com/cabrerahector/wordpress-popular-posts#installation) | [Frequently asked questions](https://github.com/cabrerahector/wordpress-popular-posts#frequently-asked-questions).
189
+ 2. If the bug actually exists, check the [issue tracker](https://github.com/cabrerahector/wordpress-popular-posts/issues) to make sure there's no existing issue reporting the bug you just found.
190
+
191
+ When submitting an issue, please answer the following questions:
192
+
193
+ 1. Wordpress version?
194
+ 2. WPP version?
195
+ 3. Are you using the widget or the shortcode/template tag?
196
+ 4. Describe what the issue is (include steps to reproduce it, if necessary).
197
+
198
+
199
+ ## Changelog
200
+
201
+ #### 2.3.7 ####
202
+ * Fixed category excluding/including bug.
203
+
204
+ #### 2.3.6 ####
205
+ * Added ability to set links' target attribute (thanks, Pedro!).
206
+ * Added sanitization for external thumbnail filenames to avoid weird characters.
207
+ * Added a new content tag, {score}, to display the post rating as a simple integer (thanks, Artem!).
208
+ * Added japanese and persian translations (thanks kjmtsh and Tatar).
209
+ * Added wpp-list class to the UL tag, this should help style the popular list better.
210
+ * Added plugin version to wp_enqueue_* calls.
211
+ * Updated thumbnail feature to handle external images.
212
+ * Updated wpp.css with text floating next to thumbnails - this sets a predefined style for the plugin for the first time.
213
+ * Removed unnecesary wpp-thumbnail class from link tag, the image already has it.
214
+ * Fixed typo in wpp_update_warning. From v2.3.3, minimun Wordpress version required is 3.3.
215
+ * Fixed minor bugs.
216
+
217
+ #### 2.3.5 ####
218
+
219
+ * Fixed minor bugs on admin page.
220
+ * Fixed query bug preventing some results from being listed.
221
+ * Added a check to avoid using the terms tables if not necessary (eg. listing pages only).
222
+
223
+ #### 2.3.4 ####
224
+
225
+ * Added ability to shorten title/excerpt by number of words.
226
+ * Updated excerpt code, don't show it if empty.
227
+ * Added ability to set post_type on Stats page.
228
+ * Added check for `is_preview()` to avoid updating views count when editing and previewing a post / page (thanks, Partisk!).
229
+ * Added ability to change default thumbnail via admin (thanks for the suggestion, Martin!).
230
+ * Fixed bug in query when getting popular posts from category returning no results if it didn't have any post on the top viewed / commented.
231
+ * Added function for better handling changes/updates in settings.
232
+ * Updated `get_summary()` to use API functions instead querying directly to DB.
233
+ * Updated `wpp_print_stylesheet()` to get the wpp.css file from the right path (thanks, Martin!).
234
+ * Moved translations to lang folder.
235
+
236
+ #### 2.3.3 ####
237
+
238
+ * Minimum Wordpress version requirement changed to 3.3.
239
+ * Minimum PHP version requirement changed to 5.2.0.
240
+ * Improved Custom HTML feature! It's more flexible now + new Content Tags added: {url}, {text_title}, {author}, {category}, {views}, {comments}!.
241
+ * Added ability to exclude posts by ID (similar to the category filter).
242
+ * Added ability to enable / disable logging visits from logged-in users.
243
+ * Added Category to the Stats Tag settings options.
244
+ * Added range parameter to wpp_get_views().
245
+ * Added numeric formatting to the `wpp_get_views()` function.
246
+ * When enabling the Display author option, author's name will link to his/her profile page.
247
+ * Fixed bad numeric formatting in Stats showing truncated views count.
248
+ * Fixed AJAX update feature (finally!). WPP works properly now when using caching plugins!
249
+ * Fixed WP Post Ratings not displaying on the list (and while it works, there are errors coming from the WP Post Ratings plugin itself: http://wordpress.org/support/topic/plugin-wp-postratings-undefined-indexes).
250
+ * Improved database queries for speed.
251
+ * Fixed bug preventing PostRating to show.
252
+ * Removed Timthumb (again) in favor of the updated `get_img()` function based on Victor Teixeira's vt_resize function.
253
+ * Cron now removes from cache all posts that have been trashed or eliminated.
254
+ * Added proper numeric formatting for views / comments count. (Thank you for the tip, dimagsv!)
255
+ * Added "the title filter fix" that affected some themes. (Thank you, jeremyers1!)
256
+ * Added dutch translation. (Thank you, Jeroen!)
257
+ * Added german translation. (Thank you, Martin!)
258
+
259
+ #### 2.3.2 ####
260
+
261
+ * The ability to enable / disable the Ajax Update has been removed. It introduced a random bug that doubled the views count of some posts / pages. Will be added back when a fix is ready.
262
+ * Fixed a bug preventing the cat parameter from excluding categories (widget was not affected by this).
263
+ * FAQ section (Settings / Wordpress Popular Posts / FAQ) updated.
264
+ * Added french translation. (Thanks, Le Raconteur!)
265
+
266
+ #### 2.3.1 ####
267
+
268
+ * Fixed bug caused by the sorter function when there are multiple instances of the widget.
269
+ * Added check for new options in the get_popular_posts function.
270
+ * Added plugin version check to handle upgrades.
271
+ * Fixed bug preventing some site from fetching images from subdomains or external sites.
272
+ * Fixed bug that prevented excluding more than one category using the Category filter.
273
+
274
+ #### 2.3.0 ####
275
+
276
+ * Merged all pages into Settings/Wordpress Popular Posts.
277
+ * Added new options to the Wordpress Popular Posts Stats dashboard.
278
+ * Added check for static homepages to avoid printing ajax script there.
279
+ * Database queries re-built from scratch for optimization.
280
+ * Added the ability to remove / enable plugin's stylesheet from the admin.
281
+ * Added the ability to enable / disable ajax update from the admin.
282
+ * Added the ability to set thumbnail's source from the admin.
283
+ * Timthumb support re-added.
284
+ * Added support for custom post type (Thanks, Brad Williams!).
285
+ * Improved the category filtering feature.
286
+ * Added the ability to get popular posts from given author IDs.
287
+
288
+ #### 2.2.1 ####
289
+
290
+ * Quick update to fix error with All-time combined with views breaking the plugin.
291
+
292
+ #### 2.2.0 ####
293
+
294
+ * Featured Image is generated for the user automatically if not present and if there's an image attached to the post.
295
+ * Range feature Today option changed. Replaced with Last 24 hours.
296
+ * Category exclusion query simplified. Thanks to almergabor for the suggestion!
297
+ * Fixed bug caused by selecting Avg. Views and All-Time that prevented WPP from getting any data from the BD. Thanks Janseo!
298
+ * Updated the get_summary function to strip out shortcodes from excerpt as well.
299
+ * Fixed bug in the truncate function affecting accented characters. Thanks r3df!
300
+ * Fixed bug keeping db tables from being created. Thanks northlake!
301
+ * Fixed bug on the shortcode which was showing pages even if turned off. Thanks danpkraus!
302
+
303
+ #### 2.1.7 ####
304
+
305
+ * Added stylesheet detection. If wpp.css is on theme's folder, will use that instead the one bundled with the plugin.
306
+
307
+ #### 2.1.6 ####
308
+
309
+ * Added DB character set and collate detection.
310
+ * Fixed excerpt translation issue when the qTrans plugin is present. Thanks r3df!.
311
+ * Fixed thumbnail dimensions issue.
312
+ * Fixed widget page link.
313
+ * Fixed widget title encoding bug.
314
+ * Fixed deprecated errors on load_plugin_textdomain and add_submenu_page.
315
+
316
+ #### 2.1.5 ####
317
+
318
+ * Dropped TimThumb support in favor of Wordpress's Featured Image function.
319
+
320
+ #### 2.1.4 ####
321
+
322
+ * Added italian localization. Thanks Gianni!
323
+ * Added charset detection.
324
+ * Fixed bug preventing HTML View / Visual View on Edit Post page from working.
325
+
326
+ #### 2.1.1 ####
327
+ * Fixed bug preventing widget title from being saved.
328
+ * Fixed bug affecting blogs with Wordpress installed somewhere else than domain's root.
329
+ * Added htmlentities to post titles.
330
+ * Added default thumbnail image if none is found in the post.
331
+
332
+ #### 2.1.0 ####
333
+
334
+ * Title special HTML entities bug fixed.
335
+ * Thumbnail feature improved! Wordpress Popular Posts now supports The Post Thumbnail feature. You can choose whether to select your own thumbnails, or let Wordpress Popular Posts create them for you!
336
+ * Shortcode bug fixed. Thanks Krokkodriljo!
337
+ * Category exclusion feature improved. Thanks raamdev!
338
+
339
+ #### 2.0.3 ####
340
+
341
+ * Added a Statistics Dashboard to Admin panel so users can view what's popular directly from there.
342
+ * Users can now select a different date format.
343
+ * `get_mostpopular()` function deprecated. Replaced with `wpp_get_mostpopular()`.
344
+ * Cache maintenance bug fixed.
345
+ * Several UI enhancements were applied to this version.
346
+
347
+ #### 2.0.2 ####
348
+
349
+ * "Keep text format and links" feature introduced. If selected, formatting tags and hyperlinks won't be removed from excerpt.
350
+ * Post title excerpt html entities bug fixed. It was causing the excerpt function to display more characters than the requested by user.
351
+ * Several shortcode bugs fixed (range, order_by, do_pattern, pattern_form were not working as expected).
352
+
353
+ #### 2.0.1 ####
354
+
355
+ * Post title excerpt now includes html entities. Characters like `���` should display properly now.
356
+ * Post excerpt has been improved. Now it supports the following HTML tags: a, b, i, strong, em.
357
+ * Template tag `wpp_get_views()` added. Retrieves the views count of a single post.
358
+ * Template tag `get_mostpopular()` re-added. Parameter support included.
359
+ * Shortcode bug fixed (range was always "daily" no matter what option was being selected by the user).
360
+
361
+ #### 2.0.0 ####
362
+
363
+ * Plugin rewritten to support Multi-Widget capabilities
364
+ * Cache table implemented
365
+ * Shortcode support added
366
+ * Category exclusion feature added
367
+ * Ajax update added - plugin is now compatible with caching plugins such as WP Super Cache
368
+ * Thumbnail feature improved - some bugs were fixed, too
369
+ * Maintenance page added
370
+
371
+ #### 1.5.1 ####
372
+
373
+ * Widget bug fixed
374
+
375
+ #### 1.5.0 ####
376
+
377
+ * Database improvements implemented
378
+ * WP-PostRatings support added
379
+ * Thumbnail feature added
380
+
381
+ #### 1.4.6 ####
382
+
383
+ * Bug in get_mostpopular function affected comments on single.php
384
+ * "Show pageviews" option bug fixed
385
+ * Added "content formatting tags" functionality
386
+
387
+ #### 1.4.5 ####
388
+
389
+ * Added new localizable strings
390
+ * Fixed Admin page coding bug that was affecting the styling of WPP
391
+
392
+ #### 1.4.4 ####
393
+
394
+ * HTML Markup customizer added
395
+ * Removed some unnessesary files
396
+
397
+ #### 1.4.3 ####
398
+
399
+ * Korean and Swedish are supported
400
+
401
+ #### 1.4.2 ####
402
+
403
+ * Code snippet bug found
404
+
405
+ #### 1.4.1 ####
406
+
407
+ * Found database bug affecting only new installations
408
+
409
+ #### 1.4 ####
410
+
411
+ * Massive code enhancement
412
+ * CSS bugs fixed
413
+ * Features added: Time Range; author and date (stats tag); separate settings for Widget and Code Snippet
414
+
415
+ #### 1.3.2 ####
416
+
417
+ * Permalink bug fixed
418
+
419
+ #### 1.3.1 ####
420
+
421
+ * Admin panel styling bug fixed
422
+
423
+ #### 1.3 ####
424
+
425
+ * Added an Admin page for a better management of the plugin
426
+ * New sorting options (sort posts by comment count, by pageviews, or by average daily views) added
427
+
428
+ #### 1.2 ####
429
+
430
+ * Added extra functionalities to Wordpress Popular Post plugin core
431
+
432
+ #### 1.1 ####
433
+
434
+ * Fixed comment count bug
435
+
436
+ #### 1.0 ####
437
+
438
+ * Public release
439
+
440
+
441
+ ## Contributing
442
+
443
+ * If you have any ideas/suggestions/bug reports, and if there's not an issue filed for it already (see [issue tracker](https://github.com/cabrerahector/wordpress-popular-posts/issues), please [create an issue](https://github.com/cabrerahector/wordpress-popular-posts/issues/new) so I can keep track of it.
444
+ * Developers can send [pull requests](https://help.github.com/articles/using-pull-requests) to suggest fixes / improvements to the source.
445
+ * Want to translate WPP to your language or update a current translation? Check if it's [already supported](https://github.com/cabrerahector/wordpress-popular-posts/tree/master/lang) or download [this file](https://github.com/cabrerahector/wordpress-popular-posts/blob/master/lang/wordpress-popular-posts.po) to translate the strings (see the [FAQ](https://github.com/cabrerahector/wordpress-popular-posts#frequently-asked-questions) section under *I want to translate your plugin into my language / help you update a translation. What do I need to do?* for more).
446
+
447
+
448
+ ## License
449
+
450
+ [GNU General Public License version 2](http://www.gnu.org/licenses/gpl-2.0.html)
451
+
452
+ Copyright (C) 2013 H�ctor Cabrera - http://cabrerahector.com
453
+
454
+ The Wordpress Popular Posts plugin is free software; you can redistribute it and/or
455
+ modify it under the terms of the GNU General Public License
456
+ as published by the Free Software Foundation; either version 2
457
+ of the License, or (at your option) any later version.
458
+
459
+ The Wordpress Popular Posts plugin is distributed in the hope that it will be useful,
460
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
461
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
462
+ GNU General Public License for more details.
463
+
464
+ You should have received a copy of the GNU General Public License
465
+ along with the Wordpress Popular Posts plugin; if not, see [http://www.gnu.org/licenses](http://www.gnu.org/licenses/).
readme.txt ADDED
@@ -0,0 +1,403 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Wordpress Popular Posts ===
2
+ Contributors: hcabrera
3
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=hcabrerab%40gmail%2ecom&lc=GB&item_name=Wordpress%20Popular%20Posts%20Plugin&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG_global%2egif%3aNonHosted
4
+ Tags: popular, posts, popular posts, widget, seo, wordpress, custom post type
5
+ Requires at least: 3.3
6
+ Tested up to: 3.6
7
+ Stable tag: 2.3.7
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
+
11
+ With Wordpress Popular Posts, you can show your visitors what are the most popular entries on your blog.
12
+
13
+ == Description ==
14
+
15
+ Wordpress Popular Posts is a highly customizable widget that displays the most popular posts on your blog.
16
+
17
+ = Main Features =
18
+ * **Multi-widget capable**. That is, you can have several widgets of Wordpress Popular Posts on your blog - each with its own settings!
19
+ * **Time Range** - list those posts of your blog that have been the most popular ones within a specific time range (eg. last 24 hours, last 7 days, last 30 days, etc.)!
20
+ * **Custom Post-type support**. Wanna show other stuff than just posts and pages?
21
+ * Display a **thumbnail** of your posts! (*see the [FAQ section](http://wordpress.org/extend/plugins/wordpress-popular-posts/faq/) for technical requirements*).
22
+ * Use **your own layout**! Control how your most popular posts are shown on your theme. *Updated! See [changelog](http://wordpress.org/extend/plugins/wordpress-popular-posts/changelog/) for more!*
23
+ * Check the **statistics** on your most popular posts from wp-admin.
24
+
25
+ = Other Features =
26
+ * Order your popular list by comments, views (default) or average views per day!
27
+ * **Shortcode support** - use the [wpp] shortcode to showcase your most popular posts on pages, too! For usage and instructions, please refer to the [installation section](http://wordpress.org/extend/plugins/wordpress-popular-posts/installation/).
28
+ * **Template tags** - Don't feel like using widgets? No problem! You can still embed your most popular entries on your theme using the *wpp_get_mostpopular()* template tag. Additionally, the *wpp_gets_views()* template tag allows you to retrieve the views count for a particular post. For usage and instructions, please refer to the [installation section](http://wordpress.org/extend/plugins/wordpress-popular-posts/installation/).
29
+ * **Localizable** to your own language (*See the [FAQ section](http://wordpress.org/extend/plugins/wordpress-popular-posts/faq/) for more info*).
30
+ * **[WP-PostRatings](http://wordpress.org/extend/plugins/wp-postratings/) support**. Show your visitors how your readers are rating your posts!
31
+ * **Automatic maintenance** - Wordpress Popular Posts will wipe out from its cache automatically all those posts that have not been viewed more than 30 days from the current date, keeping just the popular ones on the list! This ensures that your cache table will remain as compact as possible! (You can also clear it manually if you like, [look here for instructions](http://wordpress.org/extend/plugins/wordpress-popular-posts/faq/)!).
32
+
33
+ = Notices =
34
+ * Minimum requirements changed: from version 2.3.3 (and on), Wordpress Popular Posts requires **PHP 5.2+** and **Wordpress 3.3** (or greater).
35
+ * The custom HTML layout functionality [has changed](http://wordpress.org/extend/plugins/wordpress-popular-posts/changelog/) on v2.3.3! WPP will attempt to use the markup you set on previous versions, but in case it breaks please check the [FAQ section](http://wordpress.org/extend/plugins/wordpress-popular-posts/installation/) to learn how to set it up again.
36
+ * From version 2.0 and on, Wordpress Popular Posts requires Wordpress 2.8 at least in order to function correctly. If you're not running Wordpress 2.8 (or newer) please use [Wordpress Popular Posts v.1.5.1](http://downloads.wordpress.org/plugin/wordpress-popular-posts.1.5.1.zip) instead.
37
+ * If you are upgrading from any version prior to Wordpress Popular Posts 1.4.6, please [update to 1.4.6](http://downloads.wordpress.org/plugin/wordpress-popular-posts.1.4.6.zip) first!
38
+
39
+ Wordpress Popular Posts is now also on [GitHub](https://github.com/cabrerahector/wordpress-popular-posts)!
40
+
41
+ == Installation ==
42
+
43
+ 1. Download the plugin and extract its contents.
44
+ 2. Upload the `wordpress-popular-posts` folder to the `/wp-content/plugins/` directory.
45
+ 3. Activate **Wordpress Popular Posts** plugin through the 'Plugins' menu in WordPress.
46
+ 4. In your admin console, go to Appeareance > Widgets, drag the Wordpress Popular Posts widget to wherever you want it to be and click on Save.
47
+ 5. (optional) Go to Appeareance > Editor. On "Theme Files", click on `header.php` and make sure that the `<?php wp_head(); ?>` tag is present (should be right before the closing `</head>` tag).
48
+
49
+ That's it!
50
+
51
+ = -SHORTCODE- =
52
+
53
+ If you want to use Wordpress Popular Posts on your pages (a "Hall of Fame" page, for example) please use the shortcode `[wpp]`. By default, it'll list the **most viewed posts** (up to 10) in the last 24 hours. However, you can change the output and the time range by passing parameters to the shortcode (**optional**). You can find the full list of available parameters via *wp-admin > Settings > Wordpress Popular Posts > FAQ*.
54
+
55
+ **Usage:**
56
+
57
+ `[wpp]`
58
+
59
+ `[wpp attribute='value']`
60
+
61
+ Example:
62
+
63
+ `[wpp range=daily stats_views=1 order_by=views wpp_start=<ol> wpp_end=</ol>]`
64
+
65
+
66
+ = -TEMPLATE TAGS- =
67
+
68
+
69
+ ***wpp_get_mostpopular***
70
+
71
+ With the **wpp_get_mostpopular** template tag you can embed the most popular posts of your blog on your site's sidebar without using a widget. Optionally, you can pass some parameters to this function so you can customize your popular posts (for a complete list of parameters, please go to *wp-admin > Settings > Wordpress Popular Posts > FAQ*).
72
+
73
+ **Warning:** other users have reported that using this template tag on PHP widgets such as [Linkable Title HTML and PHP widget](http://wordpress.org/extend/plugins/linkable-title-html-and-php-widget/) and others might not render the PHP code correctly, making the wpp_get_mostpopular template tag fail and return "Sorry, no data so far". I suggest using it directly on your theme's sidebar.php file to avoid issues.
74
+
75
+
76
+ **Usage:**
77
+
78
+ Without any parameters, it will list the **most viewed posts** (up to 10) in the last 24 hours:
79
+
80
+ `<?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular(); ?>`
81
+
82
+
83
+ Using parameters:
84
+
85
+ `<?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("range=weekly&order_by=comments"); ?>`
86
+
87
+
88
+ ***wpp_get_views()***
89
+
90
+ The **wpp_get_views** template tag retrieves the views count of a single post/page. It accepts two parameters: the *post ID* (required), and *time range* (optional). If *time range* isn't provided the function will retrieve the total amount of views, otherwise it'll return the number of views received within the selected time range.
91
+
92
+ **Usage:**
93
+
94
+ `<?php if (function_exists('wpp_get_views')) { echo wpp_get_views( get_the_ID() ); } ?>`
95
+ `<?php if (function_exists('wpp_get_views')) { echo wpp_get_views( 15, 'weekly' ); } ?>`
96
+
97
+ == Frequently Asked Questions ==
98
+
99
+ = I need help with your plugin! What should I do? =
100
+ First thing to do is read both FAQ and [Installation](http://wordpress.org/extend/plugins/wordpress-popular-posts/installation/) sections as they should address most of the questions you might have about this plugin (and even more info can be found via *wp-admin > Settings > Wordpress Popular Posts > FAQ*). If you're having problems with WPP, my first suggestion would be try disabling all other plugins and then re-enable each one to make sure there are no conflicts. Also, try switching to a different theme and see if the issue persists. Checking the [Support Forum](http://wordpress.org/support/plugin/wordpress-popular-posts) and the [issue tracker](https://github.com/cabrerahector/wordpress-popular-posts/issues) is also a good idea as chances are that someone else has already posted something about it (and if not, you are always welcome to create a new thread). **Remember:** *read first*. It'll save you (and me) time.
101
+
102
+ = -FUNCTIONALITY- =
103
+
104
+ = Why Wordpress Popular Posts? =
105
+ The idea of creating this plugin came from the need to know how many people were actually reading each post. Unfortunately, Wordpress doesn't keep views count of your posts anywhere. Because of that, and since I didn't find anything that would suit my needs, I ended up creating Wordpress Popular Posts: a highly customizable, easy-to-use Wordpress plugin with the ability to keep track of what's popular to showcase it to the visitors!
106
+
107
+ = How does the plugin count views / calculate the popularity of posts? =
108
+ Since Wordpress doesn't store views count (only comments count), this plugin stores that info for you. When you sort your popular posts by *views*, Wordpress Popular Posts will retrieve the views count it started caching from the time you first installed this plugin, and then rank the top posts according to the settings you have configured in the plugin. Wordpress Popular Posts can also rank the popularity of your posts based on comments count as well.
109
+
110
+ = I'm getting "Sorry. No data so far". What's up with that? =
111
+ There are a number of reasons that might explain why you are seeing this message: no one has seen or commented on your posts/pages since Wordpress Popular Posts activation, you should give it some time; your current theme does not have the [wp_head()](http://codex.wordpress.org/Theme_Development#Plugin_API_Hooks) tag in its &lt;head&gt; section, required by my plugin to keep track of what your visitors are viewing on your site; Wordpress Popular Posts was unable to create the necessary DB tables to work, make sure your hosting has granted you permission to create / update / modify tables in the database.
112
+
113
+ = My current theme does not support widgets (booooo!). Can I show my most popular posts in any other way? =
114
+ Yes, there are other choices: you can use the [wpp shortcode](http://wordpress.org/extend/plugins/wordpress-popular-posts/installation/), which allows you to embed your popular listing directly in the content of your posts and/or pages; or you can use the [wpp_get_mostpopular() template tag](http://wordpress.org/extend/plugins/wordpress-popular-posts/installation/). Both options are highly customizable via parameters, check them out via *wp-admin > Settings > Wordpress Popular Posts > FAQ*.
115
+
116
+ = Wordpress Popular Posts is not counting my own visits, why? =
117
+ By default, Wordpress Popular Posts won't count views generated by logged in users. If your blog requires readers to be logged in to access its contents (or just want WPP to count your own views) please go to *wp-admin > Settings > Wordpress Popular Posts > Tools* and set *Log views from* to *Everyone*.
118
+
119
+ = I'm unable to activate the "Display post thumbnail" option. Why? =
120
+ Requirements have changed as of Wordpress Popular Posts 2.3.3. **PHP 5.2+** and **Wordpress 3.0.0** are the minimum requirements to enable thumbnails. Wordpress Popular Posts 2.3.2 and below require **PHP 4.3 or higher**. Also, the **GD library** must be installed and [enabled by your host](http://wordpress.org/support/topic/289778#post-1366038).
121
+
122
+ = How does Wordpress Popular Posts pick my posts' thumbnails? =
123
+ Wordpress Popular Posts has three different thumbnail options to choose from available at *wp-admin > Settings > Wordpress Popular Posts > Tools*: *Featured Image* (default), *First image on post*, or [*custom field*](http://codex.wordpress.org/Custom_Fields). If no images are found, a "No thumbnail" image will be used instead.
124
+
125
+ = I'm seeing a "No thumbnail" image, where's my post thumbnail? =
126
+ Make sure you have assigned one to your posts (see previous question).
127
+
128
+ = Is there any way I can change that ugly "No thumbnail" image for one of my own? =
129
+ Fortunately, yes. Go to *wp-admin > Settings > Wordpress Popular Posts > Tools* and check under *Thumbnail source*. Ideally, the thumbnail you're going to use should be set already with your desired width and height - however, the uploader will give you other size options as configured by your current theme.
130
+
131
+ = Where can I find the list of parameters accepted by the wpp_get_mostpopular() template tag / [wpp] shortcode? =
132
+ You can find it via *wp-admin > Settings > Wordpress Popular Posts > FAQ*, under the section *"List of parameters accepted by wpp_get_mostpopular() and the [wpp] shortcode"*.
133
+
134
+ = I want to have a popular list of my custom post type. How can I do that? =
135
+ Simply add your custom post type to the Post Type field in the widget (or if you're using the template tag / shortcode, use the *post_type* parameter).
136
+
137
+ = How can I use my own HTML markup with your plugin? =
138
+ Wordpress Popular Posts is flexible enough to let you use your own HTML markup. If you're using the widget, simply activate the *Use custom HTML markup* option and set your desired configuration and *Content Tags* (see *wp-admin > Settings > Wordpress Popular Posts > FAQ* under *List of parameters accepted by wpp_get_mostpopular() and the [wpp] shortcode* for more); or if you're using the template tag / shortcode, use the *wpp_start*, *wpp_end* and *post_html* parameters (see details in the section mentioned before).
139
+
140
+ = I would like to clear all data gathered by Wordpress Popular Posts and start over. How can I do that? =
141
+ If you go to *wp-admin > Settings > Wordpress Popular Posts > Tools*, you'll find two buttons that should do what you need: **Clear cache** and **Clear all data**. The first one just wipes out what's in cache (Last 24 hours, Last 7 Days, Last 30 Days), keeping the historical data (All-time) intact. The latter wipes out everything from Wordpress Popular Posts data tables - even the historical data. Note that this **cannot be undone** so proceed with caution.
142
+
143
+ = Can Wordpress Popular Posts run on Wordpress Multisite? =
144
+ While **it's not officially supported**, users have reported that my plugin runs fine on Wordpress Multisite. According to what they have said, you need to install this plugin using the *Network Activation* feature. Note that there are features that *might* not work as expected (eg. thumbnails) as I have never tested this plugin under WP Multisite.
145
+
146
+ = -CSS AND STYLESHEETS- =
147
+
148
+ = Does your plugin include any CSS stylesheets? =
149
+ Yes, *but* there are no predefined styles (well, almost). Wordpress Popular Posts will first look into your current theme's folder for the wpp.css file and use it if found so that any custom CSS styles made by you are not overwritten, otherwise will use the one bundled with the plugin.
150
+
151
+ = Each time Wordpress Popular Posts is updated the wpp.css stylesheet gets reset and I lose all changes I made to it. How can I keep my custom CSS? =
152
+ Copy your modified wpp.css file to your theme's folder, otherwise my plugin will use the one bundled with it by default.
153
+
154
+ = How can I style my list to look like [insert your desired look here]? =
155
+ Since this plugin does not include any predefined designs, it's up to you to style your most popular posts list as you like. You might need to hire someone for this if you don't know HTML/CSS, though.
156
+
157
+ = I want to remove WPP's stylesheet. How can I do that? =
158
+ Simply add the following code to your theme's functions.php file: `<?php wp_dequeue_style('wordpress-popular-posts') ?>` (or disable the stylesheet via *wp-admin > Settings > Wordpress Popular Posts > Tools*).
159
+
160
+ = -OTHER STUFF THAT YOU (PROBABLY) WANT TO KNOW- =
161
+
162
+ = I want to translate your plugin into my language / help you update a translation. What do I need to do? =
163
+ There's a PO file included with Wordpress Popular Posts. If your language is not already supported by my plugin, you can use a [gettext](http://www.gnu.org/software/gettext/) editor like [Poedit](http://www.poedit.net/) to translate all texts into your language. If you want to, you can send me your resulting PO and MO files to *hcabrerab at gmail dot com* so I can include them on the next release of my plugin (and would be really grateful if you can also help keep it updated on future releases).
164
+
165
+ = I want your plugin to have X or Y functionality. Can it be done? =
166
+ If it fits the nature of my plugin and it sounds like something others would like to have, there's a pretty good chance that I will implement it (and if you actually provide some sample code with useful comments, much better hehe).
167
+
168
+ = Your plugin seems to conflict with my current Theme / this other Plugin. Can you please help me? =
169
+ If the theme/plugin you're talking about is a free one and it's available to the public, sure I can try and take a look into it. Premium themes/plugins are out of discussion, though (unless you're willing to buy them for me so I can test them, and even that way I won't provide any guarantees since I'm doing this for free :P).
170
+
171
+ = ETA for your next release? =
172
+ Updates will come depending on my work projects (I'm a full-time web developer) and the amount of time I have on my hands. Quick releases will happen only when/if critical bugs are spotted.
173
+
174
+ = I posted a question at the Support Forum and got no answer from the developer. Why is that? =
175
+ Chances are that your question has been already answered either at the [Support Forum](http://wordpress.org/support/plugin/wordpress-popular-posts), the [Installation section](http://wordpress.org/extend/plugins/wordpress-popular-posts/installation/), or here in the FAQ section. So, since you chose not to read these sections I will simply ignore your posts as well. It could also happen that I'm just busy at the moment and haven't been able to read your post yet, so please be patient (in the meanwhile, search the [Support Forum](http://wordpress.org/support/plugin/wordpress-popular-posts) for an answer).
176
+
177
+ = Is there any other way to contact you? =
178
+ For the time being, the [Support Forum](http://wordpress.org/support/plugin/wordpress-popular-posts) is the only way to contact me. Please do not use my email to get in touch with me *unless I authorize you to do so*.
179
+
180
+ == Screenshots ==
181
+
182
+ 1. Widgets Control Panel.
183
+ 2. Wordpress Popular Posts Widget.
184
+ 3. Wordpress Popular Posts Widget on theme's sidebar.
185
+ 4. Wordpress Popular Posts Stats panel.
186
+
187
+ == Changelog ==
188
+
189
+ = 2.3.7 =
190
+ * Fixed category excluding/including bug.
191
+
192
+ = 2.3.6 =
193
+ * Added ability to set links' target attribute (thanks, Pedro!).
194
+ * Added sanitization for external thumbnail filenames to avoid weird characters.
195
+ * Added a new content tag, {score}, to display the post rating as a simple integer (thanks, Artem!).
196
+ * Added japanese and persian translations (thanks kjmtsh and Tatar).
197
+ * Added wpp-list class to the UL tag, this should help style the popular list better.
198
+ * Added plugin version to wp_enqueue_* calls.
199
+ * Updated thumbnail feature to handle external images.
200
+ * Updated wpp.css with text floating next to thumbnails - this sets a predefined style for the plugin for the first time.
201
+ * Removed unnecesary wpp-thumbnail class from link tag, the image already has it.
202
+ * Fixed typo in wpp_update_warning. From v2.3.3, minimun Wordpress version required is 3.3.
203
+ * Fixed minor bugs.
204
+
205
+ = 2.3.5 =
206
+ * Fixed minor bugs on admin page.
207
+ * Fixed query bug preventing some results from being listed.
208
+ * Added a check to avoid using the terms tables if not necessary (eg. listing pages only).
209
+
210
+ = 2.3.4 =
211
+ * Added ability to shorten title/excerpt by number of words.
212
+ * Updated excerpt code, don't show it if empty.
213
+ * Added ability to set post_type on Stats page.
214
+ * Added check for is_preview() to avoid updating views count when editing and previewing a post / page (thanks, Partisk!).
215
+ * Added ability to change default thumbnail via admin (thanks for the suggestion, Martin!).
216
+ * Fixed bug in query when getting popular posts from category returning no results if it didn't have any post on the top viewed / commented.
217
+ * Added function for better handling changes/updates in settings.
218
+ * Updated get_summary() to use API functions instead querying directly to DB.
219
+ * Updated wpp_print_stylesheet() to get the wpp.css file from the right path (thanks, Martin!).
220
+ * Moved translations to lang folder.
221
+
222
+ = 2.3.3 =
223
+ * Minimum Wordpress version requirement changed to 3.3.
224
+ * Minimum PHP version requirement changed to 5.2.0.
225
+ * Improved Custom HTML feature! It's more flexible now + new Content Tags added: {url}, {text_title}, {author}, {category}, {views}, {comments}!.
226
+ * Added ability to exclude posts by ID (similar to the category filter).
227
+ * Added ability to enable / disable logging visits from logged-in users.
228
+ * Added Category to the Stats Tag settings options.
229
+ * Added range parameter to wpp_get_views().
230
+ * Added numeric formatting to the wpp_get_views() function.
231
+ * When enabling the Display author option, author's name will link to his/her profile page.
232
+ * Fixed bad numeric formatting in Stats showing truncated views count.
233
+ * Fixed AJAX update feature (finally!). WPP works properly now when using caching plugins!
234
+ * Fixed WP Post Ratings not displaying on the list (and while it works, there are errors coming from the WP Post Ratings plugin itself: http://wordpress.org/support/topic/plugin-wp-postratings-undefined-indexes).
235
+ * Improved database queries for speed.
236
+ * Fixed bug preventing PostRating to show.
237
+ * Removed Timthumb (again) in favor of the updated get_img() function based on Victor Teixeira's vt_resize function.
238
+ * Cron now removes from cache all posts that have been trashed or eliminated.
239
+ * Added proper numeric formatting for views / comments count. (Thank you for the tip, dimagsv!)
240
+ * Added "the title filter fix" that affected some themes. (Thank you, jeremyers1!)
241
+ * Added dutch translation. (Thank you, Jeroen!)
242
+ * Added german translation. (Thank you, Martin!)
243
+
244
+ = 2.3.2 =
245
+ * The ability to enable / disable the Ajax Update has been removed. It introduced a random bug that doubled the views count of some posts / pages. Will be added back when a fix is ready.
246
+ * Fixed a bug preventing the cat parameter from excluding categories (widget was not affected by this).
247
+ * FAQ section (Settings / Wordpress Popular Posts / FAQ) updated.
248
+ * Added french translation. (Thanks, Le Raconteur!)
249
+
250
+ = 2.3.1 =
251
+ * Fixed bug caused by the sorter function when there are multiple instances of the widget.
252
+ * Added check for new options in the get_popular_posts function.
253
+ * Added plugin version check to handle upgrades.
254
+ * Fixed bug preventing some site from fetching images from subdomains or external sites.
255
+ * Fixed bug that prevented excluding more than one category using the Category filter.
256
+
257
+ = 2.3.0 =
258
+ * Merged all pages into Settings/Wordpress Popular Posts.
259
+ * Added new options to the Wordpress Popular Posts Stats dashboard.
260
+ * Added check for static homepages to avoid printing ajax script there.
261
+ * Database queries re-built from scratch for optimization.
262
+ * Added the ability to remove / enable plugin's stylesheet from the admin.
263
+ * Added the ability to enable / disable ajax update from the admin.
264
+ * Added the ability to set thumbnail's source from the admin.
265
+ * Timthumb support re-added.
266
+ * Added support for custom post type (Thanks, Brad Williams!).
267
+ * Improved the category filtering feature.
268
+ * Added the ability to get popular posts from given author IDs.
269
+
270
+
271
+ = 2.2.1 =
272
+ * Quick update to fix error with All-time combined with views breaking the plugin.
273
+
274
+ = 2.2.0 =
275
+ * Featured Image is generated for the user automatically if not present and if there's an image attached to the post.
276
+ * Range feature Today option changed. Replaced with Last 24 hours.
277
+ * Category exclusion query simplified. Thanks to almergabor for the suggestion!
278
+ * Fixed bug caused by selecting Avg. Views and All-Time that prevented WPP from getting any data from the BD. Thanks Janseo!
279
+ * Updated the get_summary function to strip out shortcodes from excerpt as well.
280
+ * Fixed bug in the truncate function affecting accented characters. Thanks r3df!
281
+ * Fixed bug keeping db tables from being created. Thanks northlake!
282
+ * Fixed bug on the shortcode which was showing pages even if turned off. Thanks danpkraus!
283
+
284
+ = 2.1.7 =
285
+ * Added stylesheet detection. If wpp.css is on theme's folder, will use that instead the one bundled with the plugin.
286
+
287
+ = 2.1.6 =
288
+ * Added DB character set and collate detection.
289
+ * Fixed excerpt translation issue when the qTrans plugin is present. Thanks r3df!.
290
+ * Fixed thumbnail dimensions issue.
291
+ * Fixed widget page link.
292
+ * Fixed widget title encoding bug.
293
+ * Fixed deprecated errors on load_plugin_textdomain and add_submenu_page.
294
+
295
+ = 2.1.5 =
296
+ * Dropped TimThumb support in favor of Wordpress's Featured Image function.
297
+
298
+ = 2.1.4 =
299
+ * Added italian localization. Thanks Gianni!
300
+ * Added charset detection.
301
+ * Fixed bug preventing HTML View / Visual View on Edit Post page from working.
302
+
303
+ = 2.1.1 =
304
+ * Fixed bug preventing widget title from being saved.
305
+ * Fixed bug affecting blogs with Wordpress installed somewhere else than domain's root.
306
+ * Added htmlentities to post titles.
307
+ * Added default thumbnail image if none is found in the post.
308
+
309
+ = 2.1.0 =
310
+ * Title special HTML entities bug fixed.
311
+ * Thumbnail feature improved! Wordpress Popular Posts now supports The Post Thumbnail feature. You can choose whether to select your own thumbnails, or let Wordpress Popular Posts create them for you!
312
+ * Shortcode bug fixed. Thanks Krokkodriljo!
313
+ * Category exclusion feature improved. Thanks raamdev!
314
+
315
+ = 2.0.3 =
316
+ * Added a Statistics Dashboard to Admin panel so users can view what's popular directly from there.
317
+ * Users can now select a different date format.
318
+ * get_mostpopular() function deprecated. Replaced with wpp_get_mostpopular().
319
+ * Cache maintenance bug fixed.
320
+ * Several UI enhancements were applied to this version.
321
+
322
+ = 2.0.2 =
323
+ * "Keep text format and links" feature introduced. If selected, formatting tags and hyperlinks won't be removed from excerpt.
324
+ * Post title excerpt html entities bug fixed. It was causing the excerpt function to display more characters than the requested by user.
325
+ * Several shortcode bugs fixed (range, order_by, do_pattern, pattern_form were not working as expected).
326
+
327
+ = 2.0.1 =
328
+ * Post title excerpt now includes html entities. Characters like ��� should display properly now.
329
+ * Post excerpt has been improved. Now it supports the following HTML tags: a, b, i, strong, em.
330
+ * Template tag wpp_get_views() added. Retrieves the views count of a single post.
331
+ * Template tag get_mostpopular() re-added. Parameter support included.
332
+ * Shortcode bug fixed (range was always "daily" no matter what option was being selected by the user).
333
+
334
+ = 2.0.0 =
335
+ * Plugin rewritten to support Multi-Widget capabilities
336
+ * Cache table implemented
337
+ * Shortcode support added
338
+ * Category exclusion feature added
339
+ * Ajax update added - plugin is now compatible with caching plugins such as WP Super Cache
340
+ * Thumbnail feature improved - some bugs were fixed, too
341
+ * Maintenance page added
342
+
343
+ = 1.5.1 =
344
+ * Widget bug fixed
345
+
346
+ = 1.5.0 =
347
+ * Database improvements implemented
348
+ * WP-PostRatings support added
349
+ * Thumbnail feature added
350
+
351
+ = 1.4.6 =
352
+ * Bug in get_mostpopular function affected comments on single.php
353
+ * "Show pageviews" option bug fixed
354
+ * Added "content formatting tags" functionality
355
+
356
+ = 1.4.5 =
357
+ * Added new localizable strings
358
+ * Fixed Admin page coding bug that was affecting the styling of WPP
359
+
360
+ = 1.4.4 =
361
+ * HTML Markup customizer added
362
+ * Removed some unnessesary files
363
+
364
+ = 1.4.3 =
365
+ * Korean and Swedish are supported
366
+
367
+ = 1.4.2 =
368
+ * Code snippet bug found
369
+
370
+ = 1.4.1 =
371
+ * Found database bug affecting only new installations
372
+
373
+ = 1.4 =
374
+ * Massive code enhancement
375
+ * CSS bugs fixed
376
+ * Features added: Time Range; author and date (stats tag); separate settings for Widget and Code Snippet
377
+
378
+ = 1.3.2 =
379
+ * Permalink bug fixed
380
+
381
+ = 1.3.1 =
382
+ * Admin panel styling bug fixed
383
+
384
+ = 1.3 =
385
+ * Added an Admin page for a better management of the plugin
386
+ * New sorting options (sort posts by comment count, by pageviews, or by average daily views) added
387
+
388
+ = 1.2 =
389
+ * Added extra functionalities to Wordpress Popular Post plugin core
390
+
391
+ = 1.1 =
392
+ * Fixed comment count bug
393
+
394
+ = 1.0 =
395
+ * Public release
396
+
397
+ == Upgrade Notice ==
398
+
399
+ = 2.3.3 =
400
+ This version requires PHP 5.2+ and Wordpress 3.0.0 or greater to enable post thumbnails.
401
+
402
+ = 2.0.0 =
403
+ From version 2.0 and on, Wordpress Popular Posts requires Wordpress 2.8 at least in order to function correctly. If you're not running Wordpress 2.8 (or newer) please use WPP v.1.5.1 instead. Also, if you are upgrading from any version prior to WPP v1.4.6, please update to v1.4.6 first!
style/wpp.css ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Wordpress Popular Posts plugin stylesheet
3
+ Developed by Hector Cabrera
4
+
5
+ Use the following classes to style your popular posts list as you like.
6
+ */
7
+
8
+ .wpp-list { /* UL element */
9
+
10
+ }
11
+
12
+ .wpp-list li { /* LI - post container */
13
+ overflow:auto;
14
+ display:block;
15
+ float:none;
16
+ clear:both;
17
+ }
18
+
19
+ /* title styles */
20
+ .wpp-post-title {
21
+ }
22
+
23
+ /* thumbnail styles */
24
+ .wpp-thumbnail {
25
+ display:inline;
26
+ float:left;
27
+ margin:0 5px 0 0;
28
+ border:none;
29
+ }
30
+
31
+ /* excerpt styles */
32
+ .wpp-excerpt {
33
+ }
34
+
35
+ /* Stats tag styles */
36
+ .post-stats {
37
+ font-size:9px;
38
+ font-weight:bold;
39
+ }
40
+
41
+ .wpp-comments {
42
+ }
43
+
44
+ .wpp-views {
45
+ }
46
+
47
+ .wpp-author {
48
+ font-style:italic;
49
+ }
50
+
51
+ .wpp-date {
52
+ display:block;
53
+ clear:right;
54
+ }
55
+
56
+ /* WP-PostRatings styles */
57
+ .wpp-rating {
58
+ }
wordpress-popular-posts.php ADDED
@@ -0,0 +1,2197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Wordpress Popular Posts
4
+ Plugin URI: http://wordpress.org/extend/plugins/wordpress-popular-posts
5
+ Description: Showcases your most popular posts to your visitors on your blog's sidebar. Use Wordpress Popular Posts as a widget or place it anywhere on your theme using <strong>&lt;?php wpp_get_mostpopular(); ?&gt;</strong>
6
+ Version: 2.3.7
7
+ Author: H&eacute;ctor Cabrera
8
+ Author URI: http://cabrerahector.com
9
+ License: GPL2
10
+ */
11
+
12
+ if (basename($_SERVER['SCRIPT_NAME']) == basename(__FILE__)) exit('Please do not load this page directly');
13
+
14
+ /**
15
+ * Load Wordpress Popular Posts to widgets_init.
16
+ * @since 2.0
17
+ */
18
+ add_action('widgets_init', 'load_wpp');
19
+
20
+ function load_wpp() {
21
+ register_widget('WordpressPopularPosts');
22
+ }
23
+
24
+ /**
25
+ * Wordpress Popular Posts class.
26
+ */
27
+ if ( !class_exists('WordpressPopularPosts') ) {
28
+
29
+ class WordpressPopularPosts extends WP_Widget {
30
+ // plugin global variables
31
+ var $version = "2.3.7";
32
+ var $qTrans = false;
33
+ var $postRating = false;
34
+ var $thumb = false;
35
+ var $pluginDir = "";
36
+ var $charset = "UTF-8";
37
+ var $magicquotes = false;
38
+ var $default_thumbnail = "";
39
+ var $user_ops = array();
40
+ var $defaults = array(
41
+ 'title' => '',
42
+ 'limit' => 10,
43
+ 'range' => 'daily',
44
+ 'order_by' => 'views',
45
+ 'post_type' => 'post,page',
46
+ 'pid' => '',
47
+ 'author' => '',
48
+ 'cat' => '',
49
+ 'shorten_title' => array(
50
+ 'active' => false,
51
+ 'length' => 25,
52
+ 'words' => false
53
+ ),
54
+ 'post-excerpt' => array(
55
+ 'active' => false,
56
+ 'length' => 55,
57
+ 'keep_format' => false,
58
+ 'words' => false
59
+ ),
60
+ 'thumbnail' => array(
61
+ 'active' => false,
62
+ 'width' => 15,
63
+ 'height' => 15
64
+ ),
65
+ 'rating' => false,
66
+ 'stats_tag' => array(
67
+ 'comment_count' => true,
68
+ 'views' => false,
69
+ 'author' => false,
70
+ 'date' => array(
71
+ 'active' => false,
72
+ 'format' => 'F j, Y'
73
+ ),
74
+ 'category' => false
75
+ ),
76
+ 'markup' => array(
77
+ 'custom_html' => false,
78
+ 'wpp-start' => '&lt;ul class="wpp-list"&gt;',
79
+ 'wpp-end' => '&lt;/ul&gt;',
80
+ 'post-html' => '&lt;li&gt;{thumb} {title} {stats}&lt;/li&gt;',
81
+ 'post-start' => '&lt;li&gt;',
82
+ 'post-end' => '&lt;/li&gt;',
83
+ 'title-start' => '&lt;h2&gt;',
84
+ 'title-end' => '&lt;/h2&gt;'
85
+ )
86
+ );
87
+ var $wpp_user_settings_def = array(
88
+ 'stats' => array(
89
+ 'order_by' => 'views',
90
+ 'limit' => 10,
91
+ 'post_type' => 'post,page'
92
+ ),
93
+ 'tools' => array(
94
+ 'ajax' => false,
95
+ 'css' => true,
96
+ 'stylesheet' => true,
97
+ 'link' => array(
98
+ 'target' => '_self'
99
+ ),
100
+ 'thumbnail' => array(
101
+ 'source' => 'featured',
102
+ 'field' => '',
103
+ 'resize' => false,
104
+ 'default' => ''
105
+ ),
106
+ 'log_loggedin' => false,
107
+ 'cache' => array(
108
+ 'active' => false,
109
+ 'interval' => array(
110
+ 'time' => 'hour',
111
+ 'value' => 1
112
+ )
113
+ )
114
+ )
115
+ );
116
+
117
+ /**
118
+ * WPP's Constructor
119
+ * Since 1.4.0
120
+ */
121
+ function WordpressPopularPosts() {
122
+ global $wp_version;
123
+
124
+ // Set default title
125
+ $this->defaults['title'] = __('Popular Posts', 'wordpress-popular-posts');
126
+
127
+ // widget settings
128
+ $widget_ops = array( 'classname' => 'popular-posts', 'description' => __('The most Popular Posts on your blog.', 'wordpress-popular-posts') );
129
+
130
+ // widget control settings
131
+ $control_ops = array( 'width' => 250, 'height' => 350, 'id_base' => 'wpp' );
132
+
133
+ // create the widget
134
+ $this->WP_Widget( 'wpp', 'Wordpress Popular Posts', $widget_ops, $control_ops );
135
+
136
+ // set plugin path
137
+ if (empty($this->pluginDir)) $this->pluginDir = plugin_dir_url(__FILE__);
138
+
139
+ // set charset
140
+ $this->charset = get_bloginfo('charset');
141
+
142
+ // detect PHP magic quotes
143
+ $this->magicquotes = get_magic_quotes_gpc();
144
+
145
+ // get user options
146
+ $this->user_ops = get_option('wpp_settings_config');
147
+ if ( !$this->user_ops ) {
148
+ add_option('wpp_settings_config', $this->wpp_user_settings_def);
149
+ $this->user_ops = $this->wpp_user_settings_def;
150
+ }
151
+
152
+ // set default thumbnail
153
+ $this->default_thumbnail = $this->pluginDir . "no_thumb.jpg";
154
+ $this->wpp_user_settings_def['tools']['thumbnail']['default'] = $this->default_thumbnail;
155
+
156
+ if ( !empty($this->user_ops['tools']['thumbnail']['default']) ) {
157
+ $this->default_thumbnail = $this->user_ops['tools']['thumbnail']['default'];
158
+ }
159
+
160
+ // set version and check for upgrades
161
+ $wpp_ver = get_option('wpp_ver');
162
+ if ( !$wpp_ver ) {
163
+ add_option('wpp_ver', $this->version);
164
+ } else if ( version_compare($wpp_ver, $this->version, '<') ) {
165
+ $this->wpp_upgrade();
166
+ }
167
+
168
+ // print stylesheet
169
+ if ($this->user_ops['tools']['css']) {
170
+ add_action('get_header', array(&$this, 'wpp_print_stylesheet'));
171
+ }
172
+
173
+ //wpp_ajax_get_popular
174
+ add_action('wp_ajax_wpp_ajax_get_popular', array(&$this, 'ajax_getpopular'));
175
+ add_action('wp_ajax_nopriv_wpp_ajax_get_popular', array(&$this, 'ajax_getpopular'));
176
+
177
+ if ($this->user_ops['tools']['ajax']) {
178
+ remove_action('the_content', array(&$this,'wpp_update') );
179
+ // add ajax update to wp_ajax_ hook
180
+ if ( isset($this->user_ops['tools']['log_loggedin']) && $this->user_ops['tools']['log_loggedin'] == 1 ) {
181
+ add_action('wp_ajax_wpp_update', array(&$this, 'wpp_ajax_update'));
182
+ }
183
+ add_action('wp_ajax_nopriv_wpp_update', array(&$this, 'wpp_ajax_update'));
184
+ add_action('wp_head', array(&$this, 'wpp_print_ajax'));
185
+
186
+ } else {
187
+ // stop Wordpress from preloading next post and thus calling single.php twice!
188
+ remove_action('wp_head', 'adjacent_posts_rel_link_wp_head');
189
+
190
+ if ( isset($this->user_ops['tools']['log_loggedin']) && $this->user_ops['tools']['log_loggedin'] == 1 ) {
191
+ remove_action('wp_ajax_wpp_update', array(&$this, 'wpp_ajax_update'));
192
+ }
193
+ remove_action('wp_ajax_nopriv_wpp_update', array(&$this, 'wpp_ajax_update'));
194
+ remove_action('wp_head', array(&$this, 'wpp_print_ajax'));
195
+ // add update action, no ajax
196
+ add_action('the_content', array(&$this,'wpp_update') );
197
+ }
198
+
199
+ // add ajax table truncation to wp_ajax_ hook
200
+ add_action('wp_ajax_wpp_clear_cache', array(&$this, 'wpp_clear_data'));
201
+ add_action('wp_ajax_wpp_clear_all', array(&$this, 'wpp_clear_data'));
202
+
203
+ // activate textdomain for translations
204
+ add_action('init', array(&$this, 'wpp_textdomain'));
205
+
206
+ // activate admin page
207
+ add_action('admin_menu', array(&$this, 'add_wpp_admin'));
208
+ // enqueue scripts
209
+ add_action('admin_enqueue_scripts', array(&$this, 'wpp_admin_enqueue_scripts'));
210
+ add_action('admin_init', array(&$this, 'wpp_tb_setup') );
211
+
212
+ // cache maintenance schedule
213
+ register_deactivation_hook(__FILE__, array(&$this, 'wpp_deactivation'));
214
+ add_action('wpp_cache_event', array(&$this, 'wpp_cache_maintenance'));
215
+ if (!wp_next_scheduled('wpp_cache_event')) {
216
+ $tomorrow = time() + 86400;
217
+ $midnight = mktime(0, 0, 0,
218
+ date("m", $tomorrow),
219
+ date("d", $tomorrow),
220
+ date("Y", $tomorrow));
221
+ wp_schedule_event( $midnight, 'daily', 'wpp_cache_event' );
222
+ }
223
+
224
+ // Wordpress version check
225
+ if (version_compare($wp_version, '3.3', '<')) add_action('admin_notices', array(&$this, 'wpp_update_warning'));
226
+
227
+ // PHP version check
228
+ if ( version_compare(phpversion(), '5.2.0', '<') ) add_action('admin_notices', array(&$this, 'php_update_warning'));
229
+
230
+ // qTrans plugin support
231
+ if (function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) $this->qTrans = true;
232
+
233
+ // WP-Post Ratings plugin support
234
+ if (function_exists('the_ratings_results')) $this->postRating = true;
235
+
236
+ // Can we create thumbnails?
237
+ if (extension_loaded('gd') && function_exists('gd_info') && version_compare(phpversion(), '5.2.0', '>=')) $this->thumb = true;
238
+
239
+ // shortcode
240
+ if( function_exists('add_shortcode') ){
241
+ add_shortcode('wpp', array(&$this, 'wpp_shortcode'));
242
+ add_shortcode('WPP', array(&$this, 'wpp_shortcode'));
243
+ }
244
+
245
+ // add plugin action link
246
+ add_filter('plugin_action_links', array(&$this, 'wpp_action_links'), 10, 2);
247
+ }
248
+
249
+ /**
250
+ * Builds WPP's widget
251
+ * Since 2.0.0
252
+ */
253
+ function widget($args, $instance) {
254
+ extract($args);
255
+ //echo $widget_id;
256
+
257
+ echo "<!-- Wordpress Popular Posts Plugin v". $this->version ." [W] [".$instance['range']."] [".$instance['order_by']."]". (($instance['markup']['custom_html']) ? ' [custom]' : ' [regular]') ." -->"."\n";
258
+
259
+ echo $before_widget . "\n";
260
+
261
+ // has user set a title?
262
+ if ($instance['title'] != '') {
263
+
264
+ $title = apply_filters( 'widget_title', $instance['title'] );
265
+
266
+ if ($instance['markup']['custom_html'] && $instance['markup']['title-start'] != "" && $instance['markup']['title-end'] != "" ) {
267
+ echo htmlspecialchars_decode($instance['markup']['title-start'], ENT_QUOTES) . $title . htmlspecialchars_decode($instance['markup']['title-end'], ENT_QUOTES);
268
+ } else {
269
+ echo $before_title . $title . $after_title;
270
+ }
271
+ }
272
+
273
+ if ( $this->user_ops['tools']['ajax'] ) {
274
+ ?>
275
+ <script type="text/javascript">
276
+ /* <![CDATA[ */
277
+ jQuery(document).ready(function(){
278
+ jQuery.get('<?php echo admin_url('admin-ajax.php'); ?>', {action: 'wpp_ajax_get_popular', id: '<?php echo $this->number; ?>'}, function(data){
279
+ jQuery('#<?php echo $widget_id; ?>').append(data);
280
+ });
281
+ });
282
+ /* ]]> */
283
+ </script>
284
+ <?php
285
+ } else {
286
+ echo $this->get_popular_posts( $instance );
287
+ }
288
+
289
+ echo $after_widget . "\n";
290
+ echo "<!-- End Wordpress Popular Posts Plugin v". $this->version ." -->"."\n";
291
+ }
292
+
293
+ /**
294
+ * Updates each widget instance when user clicks the "save" button
295
+ * Since 2.0.0
296
+ */
297
+ function update($new_instance, $old_instance) {
298
+
299
+ $instance = $old_instance;
300
+
301
+ $instance['title'] = ($this->magicquotes) ? htmlspecialchars( stripslashes(strip_tags( $new_instance['title'] )), ENT_QUOTES ) : htmlspecialchars( strip_tags( $new_instance['title'] ), ENT_QUOTES );
302
+ $instance['limit'] = is_numeric($new_instance['limit']) ? $new_instance['limit'] : 10;
303
+ $instance['range'] = $new_instance['range'];
304
+ $instance['order_by'] = $new_instance['order_by'];
305
+
306
+ // FILTERS
307
+ if ($new_instance['post_type'] == "") { // user did not define the custom post type name, so we fall back to default
308
+ $instance['post_type'] = 'post,page';
309
+ } else {
310
+ $instance['post_type'] = $new_instance['post_type'];
311
+ }
312
+
313
+ $instance['pid'] = implode(",", array_filter(explode(",", preg_replace( '|[^0-9,]|', '', $new_instance['pid'] ))));
314
+
315
+ $instance['cat'] = implode(",", array_filter(explode(",", preg_replace( '|[^0-9,-]|', '', $new_instance['cat'] ))));
316
+ $instance['author'] = implode(",", array_filter(explode(",", preg_replace( '|[^0-9,]|', '', $new_instance['uid'] ))));
317
+
318
+ $instance['shorten_title']['active'] = (bool) $new_instance['shorten_title-active'];
319
+ $instance['shorten_title']['length'] = is_numeric($new_instance['shorten_title-length']) ? $new_instance['shorten_title-length'] : 25;
320
+ $instance['shorten_title']['words'] = $new_instance['shorten_title-words'];
321
+ $instance['post-excerpt']['active'] = (bool) $new_instance['post-excerpt-active'];
322
+ $instance['post-excerpt']['length'] = is_numeric($new_instance['post-excerpt-length']) ? $new_instance['post-excerpt-length'] : 55;
323
+ $instance['post-excerpt']['keep_format'] = $new_instance['post-excerpt-format'];
324
+ $instance['post-excerpt']['words'] = $new_instance['post-excerpt-words'];
325
+
326
+ if ($this->thumb) { // can create thumbnails
327
+ $instance['thumbnail']['active'] = (bool) $new_instance['thumbnail-active'];
328
+
329
+ if (is_numeric($new_instance['thumbnail-width']) && is_numeric($new_instance['thumbnail-height'])) {
330
+ $instance['thumbnail']['width'] = $new_instance['thumbnail-width'];
331
+ $instance['thumbnail']['height'] = $new_instance['thumbnail-height'];
332
+ } else {
333
+ $instance['thumbnail']['width'] = 15;
334
+ $instance['thumbnail']['height'] = 15;
335
+ }
336
+
337
+ } else { // cannot create thumbnails
338
+ $instance['thumbnail']['active'] = false;
339
+ $instance['thumbnail']['width'] = 15;
340
+ $instance['thumbnail']['height'] = 15;
341
+ }
342
+
343
+ if ( isset($instance['thumbnail']['thumb_selection']) )
344
+ unset( $instance['thumbnail']['thumb_selection'] );
345
+
346
+ $instance['rating'] = (bool) $new_instance['rating'];
347
+ $instance['stats_tag']['comment_count'] = (bool) $new_instance['comment_count'];
348
+ $instance['stats_tag']['views'] = (bool) $new_instance['views'];
349
+ $instance['stats_tag']['author'] = (bool) $new_instance['author'];
350
+ $instance['stats_tag']['date']['active'] = (bool) $new_instance['date'];
351
+ $instance['stats_tag']['date']['format'] = empty($new_instance['date_format']) ? 'F j, Y' : $new_instance['date_format'];
352
+ $instance['stats_tag']['category'] = (bool) $new_instance['category'];
353
+ $instance['markup']['custom_html'] = $new_instance['custom_html'];
354
+ $instance['markup']['wpp-start'] = empty($new_instance['wpp-start']) ? '&lt;ul&gt;' : htmlspecialchars( $new_instance['wpp-start'], ENT_QUOTES );
355
+ $instance['markup']['wpp-end'] = empty($new_instance['wpp-end']) ? '&lt;/ul&gt;' : htmlspecialchars( $new_instance['wpp-end'], ENT_QUOTES );
356
+ $instance['markup']['post-html'] = empty ($new_instance['post-html']) ? '&lt;li&gt;{thumb} {title} {stats}&lt;/li&gt;' : htmlspecialchars( $new_instance['post-html'], ENT_QUOTES );
357
+ $instance['markup']['post-start'] = empty ($new_instance['post-start']) ? '&lt;li&gt;' : htmlspecialchars( $new_instance['post-start'], ENT_QUOTES );
358
+ $instance['markup']['post-end'] = empty ($new_instance['post-end']) ? '&lt;/li&gt;' : htmlspecialchars( $new_instance['post-end'], ENT_QUOTES );
359
+ $instance['markup']['title-start'] = empty($new_instance['title-start']) ? '' : htmlspecialchars( $new_instance['title-start'], ENT_QUOTES );
360
+ $instance['markup']['title-end'] = empty($new_instance['title-end']) ? '' : htmlspecialchars( $new_instance['title-end'], ENT_QUOTES );
361
+
362
+ return $instance;
363
+ }
364
+
365
+ /**
366
+ * WPP widget's form
367
+ * Since 2.0.0
368
+ */
369
+ function form($instance) {
370
+
371
+ // update instance's settings
372
+ /*echo "<pre>"; print_r($instance); echo "</pre>";*/
373
+ $instance = $this->array_merge_recursive_distinct($this->defaults, $instance);
374
+ /*echo "<pre>"; print_r($instance); echo "</pre>";*/
375
+
376
+ // form
377
+ ?>
378
+ <p><label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e('Title:', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('wpurl'); ?>/wp-admin/options-general.php?page=wpp_admin" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small> <br />
379
+ <input id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" class="widefat" /></p>
380
+ <p><label for="<?php echo $this->get_field_id( 'limit' ); ?>"><?php _e('Show up to:', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('wpurl'); ?>/wp-admin/options-general.php?page=wpp_admin" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br />
381
+ <input id="<?php echo $this->get_field_id( 'limit' ); ?>" name="<?php echo $this->get_field_name( 'limit' ); ?>" value="<?php echo $instance['limit']; ?>" class="widefat" style="width:50px!important" /> <?php _e('posts', 'wordpress-popular-posts'); ?></p>
382
+ <p><label for="<?php echo $this->get_field_id( 'range' ); ?>"><?php _e('Time Range:', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('wpurl'); ?>/wp-admin/options-general.php?page=wpp_admin" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br />
383
+ <select id="<?php echo $this->get_field_id( 'range' ); ?>" name="<?php echo $this->get_field_name( 'range' ); ?>" class="widefat">
384
+ <option value="daily" <?php if ( 'daily' == $instance['range'] ) echo 'selected="selected"'; ?>><?php _e('Last 24 hours', 'wordpress-popular-posts'); ?></option>
385
+ <option value="weekly" <?php if ( 'weekly' == $instance['range'] ) echo 'selected="selected"'; ?>><?php _e('Last 7 days', 'wordpress-popular-posts'); ?></option>
386
+ <option value="monthly" <?php if ( 'monthly' == $instance['range'] ) echo 'selected="selected"'; ?>><?php _e('Last 30 days', 'wordpress-popular-posts'); ?></option>
387
+ <option value="all" <?php if ( 'all' == $instance['range'] ) echo 'selected="selected"'; ?>><?php _e('All-time', 'wordpress-popular-posts'); ?></option>
388
+ </select>
389
+ </p>
390
+ <p><label for="<?php echo $this->get_field_id( 'order_by' ); ?>"><?php _e('Sort posts by:', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('wpurl'); ?>/wp-admin/options-general.php?page=wpp_admin" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small> <br />
391
+ <select id="<?php echo $this->get_field_id( 'order_by' ); ?>" name="<?php echo $this->get_field_name( 'order_by' ); ?>" class="widefat">
392
+ <option value="comments" <?php if ( 'comments' == $instance['order_by'] ) echo 'selected="selected"'; ?>><?php _e('Comments', 'wordpress-popular-posts'); ?></option>
393
+ <option value="views" <?php if ( 'views' == $instance['order_by'] ) echo 'selected="selected"'; ?>><?php _e('Total views', 'wordpress-popular-posts'); ?></option>
394
+ <option value="avg" <?php if ( 'avg' == $instance['order_by'] ) echo 'selected="selected"'; ?>><?php _e('Avg. daily views', 'wordpress-popular-posts'); ?></option>
395
+ </select>
396
+ </p>
397
+
398
+ <fieldset style="width:214px; padding:5px;" class="widefat">
399
+ <legend><?php _e('Posts settings', 'wordpress-popular-posts'); ?></legend>
400
+ <div style="display:<?php if ($this->postRating) : ?>block<?php else: ?>none<?php endif; ?>">
401
+ <input type="checkbox" class="checkbox" <?php echo ($instance['rating']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'rating' ); ?>" name="<?php echo $this->get_field_name( 'rating' ); ?>" /> <label for="<?php echo $this->get_field_id( 'rating' ); ?>"><?php _e('Display post rating', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('wpurl'); ?>/wp-admin/options-general.php?page=wpp_admin" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br />
402
+ </div>
403
+ <input type="checkbox" class="checkbox" <?php echo ($instance['shorten_title']['active']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'shorten_title-active' ); ?>" name="<?php echo $this->get_field_name( 'shorten_title-active' ); ?>" /> <label for="<?php echo $this->get_field_id( 'shorten_title-active' ); ?>"><?php _e('Shorten title', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('wpurl'); ?>/wp-admin/options-general.php?page=wpp_admin" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br />
404
+ <div style="display:<?php if ($instance['shorten_title']['active']) : ?>block<?php else: ?>none<?php endif; ?>">
405
+ <br />
406
+ <label for="<?php echo $this->get_field_id( 'shorten_title-length' ); ?>"><?php _e('Shorten title to', 'wordpress-popular-posts'); ?> <input id="<?php echo $this->get_field_id( 'shorten_title-length' ); ?>" name="<?php echo $this->get_field_name( 'shorten_title-length' ); ?>" value="<?php echo $instance['shorten_title']['length']; ?>" class="widefat" style="width:50px!important" /></label><br />
407
+ <label for="<?php echo $this->get_field_id( 'shorten_title-words' ); ?>"><input type="radio" name="<?php echo $this->get_field_name( 'shorten_title-words' ); ?>" value="0" <?php echo (!isset($instance['shorten_title']['words']) || !$instance['shorten_title']['words']) ? 'checked="checked"' : ''; ?> /> <?php _e('characters', 'wordpress-popular-posts'); ?></label><br />
408
+ <label for="<?php echo $this->get_field_id( 'shorten_title-words' ); ?>"><input type="radio" name="<?php echo $this->get_field_name( 'shorten_title-words' ); ?>" value="1" <?php echo (isset($instance['shorten_title']['words']) && $instance['shorten_title']['words']) ? 'checked="checked"' : ''; ?> /> <?php _e('words', 'wordpress-popular-posts'); ?></label><br /><br />
409
+ </div>
410
+ <input type="checkbox" class="checkbox" <?php echo ($instance['post-excerpt']['active']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'post-excerpt-active' ); ?>" name="<?php echo $this->get_field_name( 'post-excerpt-active' ); ?>" /> <label for="<?php echo $this->get_field_id( 'post-excerpt-active' ); ?>"><?php _e('Display post excerpt', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('wpurl'); ?>/wp-admin/options-general.php?page=wpp_admin" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br />
411
+ <div style="display:<?php if ($instance['post-excerpt']['active']) : ?>block<?php else: ?>none<?php endif; ?>">
412
+ <fieldset class="widefat">
413
+ <legend><?php _e('Excerpt Properties', 'wordpress-popular-posts'); ?></legend><br />
414
+ &nbsp;&nbsp;<input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id( 'post-excerpt-format' ); ?>" name="<?php echo $this->get_field_name( 'post-excerpt-format' ); ?>" <?php echo ($instance['post-excerpt']['keep_format']) ? 'checked="checked"' : ''; ?> /> <label for="<?php echo $this->get_field_id( 'post-excerpt-format' ); ?>"><?php _e('Keep text format and links', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('wpurl'); ?>/wp-admin/options-general.php?page=wpp_admin" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br /><br />
415
+ &nbsp;&nbsp;<label for="<?php echo $this->get_field_id( 'post-excerpt-length' ); ?>"><?php _e('Excerpt length:', 'wordpress-popular-posts'); ?> <input id="<?php echo $this->get_field_id( 'post-excerpt-length' ); ?>" name="<?php echo $this->get_field_name( 'post-excerpt-length' ); ?>" value="<?php echo $instance['post-excerpt']['length']; ?>" class="widefat" style="width:50px!important" /></label><br />
416
+
417
+ &nbsp;&nbsp;<label for="<?php echo $this->get_field_id( 'post-excerpt-words' ); ?>"><input type="radio" name="<?php echo $this->get_field_name( 'post-excerpt-words' ); ?>" value="0" <?php echo (!isset($instance['post-excerpt']['words']) || !$instance['post-excerpt']['words']) ? 'checked="checked"' : ''; ?> /> <?php _e('characters', 'wordpress-popular-posts'); ?></label><br />
418
+ &nbsp;&nbsp;<label for="<?php echo $this->get_field_id( 'post-excerpt-words' ); ?>"><input type="radio" name="<?php echo $this->get_field_name( 'post-excerpt-words' ); ?>" value="1" <?php echo (isset($instance['post-excerpt']['words']) && $instance['post-excerpt']['words']) ? 'checked="checked"' : ''; ?> /> <?php _e('words', 'wordpress-popular-posts'); ?></label><br /><br />
419
+
420
+ </fieldset>
421
+ <br />
422
+ </div>
423
+ </fieldset>
424
+ <br />
425
+
426
+ <fieldset class="widefat">
427
+ <legend><?php _e('Filters:', 'wordpress-popular-posts'); ?> <small>[<a href="<?php echo bloginfo('wpurl'); ?>/wp-admin/options-general.php?page=wpp_admin" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small></legend><br />
428
+ &nbsp;&nbsp;<label for="<?php echo $this->get_field_id( 'post_type' ); ?>"><?php _e('Post type(s):', 'wordpress-popular-posts'); ?></label><br />
429
+ &nbsp;&nbsp;<input id="<?php echo $this->get_field_id( 'post_type' ); ?>" name="<?php echo $this->get_field_name( 'post_type' ); ?>" value="<?php echo $instance['post_type']; ?>" class="widefat" style="width:150px" /><br /><br />
430
+ &nbsp;&nbsp;<label for="<?php echo $this->get_field_id( 'pid' ); ?>"><?php _e('Post(s) ID(s) to exclude:', 'wordpress-popular-posts'); ?></label><br />
431
+ &nbsp;&nbsp;<input id="<?php echo $this->get_field_id( 'pid' ); ?>" name="<?php echo $this->get_field_name( 'pid' ); ?>" value="<?php echo $instance['pid']; ?>" class="widefat" style="width:150px" /><br /><br />
432
+ &nbsp;&nbsp;<label for="<?php echo $this->get_field_id( 'cat' ); ?>"><?php _e('Category(ies) ID(s):', 'wordpress-popular-posts'); ?></label><br />
433
+ &nbsp;&nbsp;<input id="<?php echo $this->get_field_id( 'cat' ); ?>" name="<?php echo $this->get_field_name( 'cat' ); ?>" value="<?php echo $instance['cat']; ?>" class="widefat" style="width:150px" /><br /><br />
434
+ &nbsp;&nbsp;<label for="<?php echo $this->get_field_id( 'uid' ); ?>"><?php _e('Author(s) ID(s):', 'wordpress-popular-posts'); ?></label><br />
435
+ &nbsp;&nbsp;<input id="<?php echo $this->get_field_id( 'uid' ); ?>" name="<?php echo $this->get_field_name( 'uid' ); ?>" value="<?php echo $instance['author']; ?>" class="widefat" style="width:150px" /><br /><br />
436
+ </fieldset>
437
+ <br />
438
+
439
+ <fieldset style="width:214px; padding:5px;" class="widefat">
440
+ <legend><?php _e('Thumbnail settings', 'wordpress-popular-posts'); ?></legend>
441
+ <input type="checkbox" class="checkbox" <?php echo ($instance['thumbnail']['active'] && $this->thumb) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'thumbnail-active' ); ?>" name="<?php echo $this->get_field_name( 'thumbnail-active' ); ?>" /> <label for="<?php echo $this->get_field_id( 'thumbnail-active' ); ?>"><?php _e('Display post thumbnail', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('wpurl'); ?>/wp-admin/options-general.php?page=wpp_admin" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br />
442
+ <div style="display:<?php if ($instance['thumbnail']['active']) : ?>block<?php else: ?>none<?php endif; ?>">
443
+ <label for="<?php echo $this->get_field_id( 'thumbnail-width' ); ?>"><?php _e('Width:', 'wordpress-popular-posts'); ?></label>
444
+ <input id="<?php echo $this->get_field_id( 'thumbnail-width' ); ?>" name="<?php echo $this->get_field_name( 'thumbnail-width' ); ?>" value="<?php echo $instance['thumbnail']['width']; ?>" class="widefat" style="width:30px!important" <?php echo ($this->thumb) ? '' : 'disabled="disabled"' ?> /> <?php _e('px', 'wordpress-popular-posts'); ?> <br />
445
+ <label for="<?php echo $this->get_field_id( 'thumbnail-height' ); ?>"><?php _e('Height:', 'wordpress-popular-posts'); ?></label>
446
+ <input id="<?php echo $this->get_field_id( 'thumbnail-height' ); ?>" name="<?php echo $this->get_field_name( 'thumbnail-height' ); ?>" value="<?php echo $instance['thumbnail']['height']; ?>" class="widefat" style="width:30px!important" <?php echo ($this->thumb) ? '' : 'disabled="disabled"' ?> /> <?php _e('px', 'wordpress-popular-posts'); ?><br />
447
+ </div>
448
+ </fieldset>
449
+
450
+ <br />
451
+ <fieldset style="width:214px; padding:5px;" class="widefat">
452
+ <legend><?php _e('Stats Tag settings', 'wordpress-popular-posts'); ?></legend>
453
+ <input type="checkbox" class="checkbox" <?php echo ($instance['stats_tag']['comment_count']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'comment_count' ); ?>" name="<?php echo $this->get_field_name( 'comment_count' ); ?>" /> <label for="<?php echo $this->get_field_id( 'comment_count' ); ?>"><?php _e('Display comment count', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('wpurl'); ?>/wp-admin/options-general.php?page=wpp_admin" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br />
454
+ <input type="checkbox" class="checkbox" <?php echo ($instance['stats_tag']['views']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'views' ); ?>" name="<?php echo $this->get_field_name( 'views' ); ?>" /> <label for="<?php echo $this->get_field_id( 'views' ); ?>"><?php _e('Display views', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('wpurl'); ?>/wp-admin/options-general.php?page=wpp_admin" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br />
455
+ <input type="checkbox" class="checkbox" <?php echo ($instance['stats_tag']['author']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'author' ); ?>" name="<?php echo $this->get_field_name( 'author' ); ?>" /> <label for="<?php echo $this->get_field_id( 'author' ); ?>"><?php _e('Display author', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('wpurl'); ?>/wp-admin/options-general.php?page=wpp_admin" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br />
456
+ <input type="checkbox" class="checkbox" <?php echo ($instance['stats_tag']['date']['active']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'date' ); ?>" name="<?php echo $this->get_field_name( 'date' ); ?>" /> <label for="<?php echo $this->get_field_id( 'date' ); ?>"><?php _e('Display date', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('wpurl'); ?>/wp-admin/options-general.php?page=wpp_admin" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small>
457
+ <div style="display:<?php if ($instance['stats_tag']['date']['active']) : ?>block<?php else: ?>none<?php endif; ?>">
458
+ <fieldset class="widefat">
459
+ <legend><?php _e('Date Format', 'wordpress-popular-posts'); ?></legend>
460
+ <label title='F j, Y'><input type='radio' name='<?php echo $this->get_field_name( 'date_format' ); ?>' value='F j, Y' <?php echo ($instance['stats_tag']['date']['format'] == 'F j, Y') ? 'checked="checked"' : ''; ?> /><?php echo date_i18n('F j, Y', time()); ?></label><br />
461
+ <label title='Y/m/d'><input type='radio' name='<?php echo $this->get_field_name( 'date_format' ); ?>' value='Y/m/d' <?php echo ($instance['stats_tag']['date']['format'] == 'Y/m/d') ? 'checked="checked"' : ''; ?> /><?php echo date_i18n('Y/m/d', time()); ?></label><br />
462
+ <label title='m/d/Y'><input type='radio' name='<?php echo $this->get_field_name( 'date_format' ); ?>' value='m/d/Y' <?php echo ($instance['stats_tag']['date']['format'] == 'm/d/Y') ? 'checked="checked"' : ''; ?> /><?php echo date_i18n('m/d/Y', time()); ?></label><br />
463
+ <label title='d/m/Y'><input type='radio' name='<?php echo $this->get_field_name( 'date_format' ); ?>' value='d/m/Y' <?php echo ($instance['stats_tag']['date']['format'] == 'd/m/Y') ? 'checked="checked"' : ''; ?> /><?php echo date_i18n('d/m/Y', time()); ?></label><br />
464
+ </fieldset>
465
+ </div>
466
+ <br /><input type="checkbox" class="checkbox" <?php echo ($instance['stats_tag']['category']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'category' ); ?>" name="<?php echo $this->get_field_name( 'category' ); ?>" /> <label for="<?php echo $this->get_field_id( 'category' ); ?>"><?php _e('Display category', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('wpurl'); ?>/wp-admin/options-general.php?page=wpp_admin" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br />
467
+ </fieldset>
468
+ <br />
469
+
470
+ <fieldset style="width:214px; padding:5px;" class="widefat">
471
+ <legend><?php _e('HTML Markup settings', 'wordpress-popular-posts'); ?></legend>
472
+ <input type="checkbox" class="checkbox" <?php echo ($instance['markup']['custom_html']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'custom_html' ); ?>" name="<?php echo $this->get_field_name( 'custom_html' ); ?>" /> <label for="<?php echo $this->get_field_id( 'custom_html' ); ?>"><?php _e('Use custom HTML Markup', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('wpurl'); ?>/wp-admin/options-general.php?page=wpp_admin" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br />
473
+ <div style="display:<?php if ($instance['markup']['custom_html']) : ?>block<?php else: ?>none<?php endif; ?>">
474
+ <br />
475
+ <p style="font-size:11px"><label for="<?php echo $this->get_field_id( 'title-start' ); ?>"><?php _e('Before / after title:', 'wordpress-popular-posts'); ?></label> <br />
476
+ <input type="text" id="<?php echo $this->get_field_id( 'title-start' ); ?>" name="<?php echo $this->get_field_name( 'title-start' ); ?>" value="<?php echo $instance['markup']['title-start']; ?>" class="widefat" style="width:80px!important" <?php echo ($instance['markup']['custom_html']) ? '' : 'disabled="disabled"' ?> /> <input type="text" id="<?php echo $this->get_field_id( 'title-end' ); ?>" name="<?php echo $this->get_field_name( 'title-end' ); ?>" value="<?php echo $instance['markup']['title-end']; ?>" class="widefat" style="width:80px!important" <?php echo ($instance['markup']['custom_html']) ? '' : 'disabled="disabled"' ?> /></p>
477
+ <p style="font-size:11px"><label for="<?php echo $this->get_field_id( 'wpp_start' ); ?>"><?php _e('Before / after Popular Posts:', 'wordpress-popular-posts'); ?></label> <br />
478
+ <input type="text" id="<?php echo $this->get_field_id( 'wpp-start' ); ?>" name="<?php echo $this->get_field_name( 'wpp-start' ); ?>" value="<?php echo $instance['markup']['wpp-start']; ?>" class="widefat" style="width:80px!important" <?php echo ($instance['markup']['custom_html']) ? '' : 'disabled="disabled"' ?> /> <input type="text" id="<?php echo $this->get_field_id( 'wpp-end' ); ?>" name="<?php echo $this->get_field_name( 'wpp-end' ); ?>" value="<?php echo $instance['markup']['wpp-end']; ?>" class="widefat" style="width:80px!important" <?php echo ($instance['markup']['custom_html']) ? '' : 'disabled="disabled"' ?> /></p>
479
+
480
+ <p style="font-size:11px"><label for="<?php echo $this->get_field_id( 'post-html' ); ?>"><?php _e('Post HTML Markup:', 'wordpress-popular-posts'); ?></label> <br />
481
+ <textarea class="widefat" rows="10" id="<?php echo $this->get_field_id( 'post-html' ); ?>" name="<?php echo $this->get_field_name( 'post-html' ); ?>"><?php echo $instance['markup']['post-html']; ?></textarea>
482
+ </div>
483
+ </fieldset>
484
+ <?php
485
+ }
486
+
487
+ /**
488
+ * RRR Added to get local time as per WP settings
489
+ * Since 2.1.6
490
+ */
491
+ function curdate() {
492
+ return gmdate( 'Y-m-d', ( time() + ( get_option( 'gmt_offset' ) * 3600 ) ));
493
+ }
494
+
495
+ function now() {
496
+ return current_time('mysql');
497
+ }
498
+
499
+ /**
500
+ * Calculates script execution time
501
+ * Since 2.3.0
502
+ */
503
+ function microtime_float() {
504
+ list( $msec, $sec ) = explode( ' ', microtime() );
505
+ $microtime = (float) $msec + (float) $sec;
506
+ return $microtime;
507
+ }
508
+
509
+ /**
510
+ * Updates popular posts data table via AJAX on post/page view
511
+ * Since 2.0.0
512
+ */
513
+ function wpp_ajax_update() {
514
+ $nonce = $_POST['token'];
515
+
516
+ // is this a valid request?
517
+ if ( !wp_verify_nonce($nonce, 'wpp-token') ) die("Invalid token");
518
+
519
+ if (is_numeric($_POST['id']) && (intval($_POST['id']) == floatval($_POST['id'])) && ($_POST['id'] != '')) {
520
+ $id = $_POST['id'];
521
+ } else {
522
+ die("Invalid ID");
523
+ }
524
+
525
+ // if we got an ID, let's update the data table
526
+ global $wpdb;
527
+
528
+ $wpdb->show_errors();
529
+
530
+ $table = $wpdb->prefix . 'popularpostsdata';
531
+ $exec_time = 0;
532
+
533
+
534
+ // update popularpostsdata table
535
+ $start = $this->microtime_float();
536
+ $result = $wpdb->query("INSERT INTO {$table} (postid, day, last_viewed) VALUES ({$id}, '{$this->now()}', '{$this->now()}') ON DUPLICATE KEY UPDATE last_viewed = '{$this->now()}', pageviews = pageviews + 1;");
537
+ $end = $this->microtime_float();
538
+
539
+ $exec_time += round($end - $start, 6);
540
+
541
+ // update popularpostsdatacache table
542
+ $start = $this->microtime_float();
543
+
544
+ $result2 = $wpdb->query("INSERT INTO {$table}cache (id, day, day_no_time) VALUES ({$id}, '{$this->now()}', '{$this->curdate()}') ON DUPLICATE KEY UPDATE pageviews = pageviews + 1, day = '{$this->now()}', day_no_time = '{$this->curdate()}';");
545
+
546
+ $exec_time += round($end - $start, 6);
547
+
548
+ if ($result && $result2) {
549
+ die( "OK. Execution time: " . $exec_time . " seconds" );
550
+ } else {
551
+ die( "Oops: " . $wpdb->print_error() );
552
+ }
553
+ }
554
+
555
+ /**
556
+ * Updates popular posts data table on post/page view
557
+ * Since 2.3.0
558
+ */
559
+ function wpp_update($content) {
560
+
561
+ //if ( (is_single() || is_page()) && !is_user_logged_in() && !is_front_page() ) {
562
+ if ( (is_single() || is_page()) && !is_front_page() && !is_preview() ) {
563
+
564
+ if ( isset($this->user_ops['tools']['log_loggedin']) && $this->user_ops['tools']['log_loggedin'] == 0 && is_user_logged_in() )
565
+ return $content;
566
+
567
+ global $wpdb, $post;
568
+
569
+ $table = $wpdb->prefix . 'popularpostsdata';
570
+ $result = $wpdb->query("INSERT INTO {$table} (postid, day, last_viewed) VALUES ({$post->ID}, '{$this->now()}', '{$this->now()}') ON DUPLICATE KEY UPDATE last_viewed = '{$this->now()}', pageviews = pageviews + 1;");
571
+ $result2 = $wpdb->query("INSERT INTO {$table}cache (id, day, day_no_time) VALUES ({$post->ID}, '{$this->now()}', '{$this->curdate()}') ON DUPLICATE KEY UPDATE pageviews = pageviews + 1, day = '{$this->now()}', day_no_time = '{$this->curdate()}';");
572
+
573
+ if (!$result || !$result2) {
574
+ print_r( $wpdb->print_error() );
575
+ }
576
+
577
+ }
578
+
579
+ return $content;
580
+
581
+ }
582
+
583
+ /**
584
+ * Builds list via AJAX
585
+ * Since 2.3.3
586
+ */
587
+ function ajax_getpopular() {
588
+
589
+ if ( is_numeric($_GET['id']) && (intval($_GET['id']) == floatval($_GET['id'])) && ($_GET['id'] != '') ) {
590
+ $id = $_GET['id'];
591
+ } else {
592
+ die("Invalid ID");
593
+ }
594
+
595
+ $settings = $this->get_settings();
596
+
597
+ if ( isset($settings[$id]) ) {
598
+
599
+ $instance = $settings[$id];
600
+ echo $this->get_popular_posts( $instance );
601
+
602
+ } else {
603
+
604
+ echo "Invalid Widget ID";
605
+
606
+ }
607
+
608
+ die();
609
+
610
+ }
611
+
612
+ /**
613
+ * Clears WPP datacache table
614
+ * Since 2.0.0
615
+ */
616
+ function wpp_clear_data() {
617
+ $token = $_POST['token'];
618
+ $clear = isset($_POST['clear']) ? $_POST['clear'] : '';
619
+ $key = get_option("wpp_rand");
620
+
621
+ if (current_user_can('manage_options') && ($token === $key) && !empty($clear)) {
622
+ global $wpdb;
623
+ // set table name
624
+ $table = $wpdb->prefix . "popularpostsdata";
625
+ $cache = $wpdb->prefix . "popularpostsdatacache";
626
+
627
+ if ($clear == 'cache') {
628
+ if ( $wpdb->get_var("SHOW TABLES LIKE '$cache'") == $cache ) {
629
+ $wpdb->query("TRUNCATE TABLE $cache;");
630
+ _e('Success! The cache table has been cleared!', 'wordpress-popular-posts');
631
+ } else {
632
+ _e('Error: cache table does not exist.', 'wordpress-popular-posts');
633
+ }
634
+ } else if ($clear == 'all') {
635
+ if ( $wpdb->get_var("SHOW TABLES LIKE '$table'") == $table && $wpdb->get_var("SHOW TABLES LIKE '$cache'") == $cache ) {
636
+ $wpdb->query("TRUNCATE TABLE $table;");
637
+ $wpdb->query("TRUNCATE TABLE $cache;");
638
+ _e('Success! All data have been cleared!', 'wordpress-popular-posts');
639
+ } else {
640
+ _e('Error: one or both data tables are missing.', 'wordpress-popular-posts');
641
+ }
642
+ } else {
643
+ _e('Invalid action.', 'wordpress-popular-posts');
644
+ }
645
+ } else {
646
+ _e('Sorry, you do not have enough permissions to do this. Please contact the site administrator for support.', 'wordpress-popular-posts');
647
+ }
648
+
649
+ die();
650
+ }
651
+
652
+ /**
653
+ * Installs WPP DB tables
654
+ * Since 2.0.0
655
+ */
656
+ function wpp_install() {
657
+ global $wpdb;
658
+
659
+ $wpdb->show_errors();
660
+
661
+ $sql = "";
662
+ $charset_collate = "";
663
+
664
+ require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
665
+
666
+ if ( ! empty($wpdb->charset) ) $charset_collate = "DEFAULT CHARACTER SET $wpdb->charset";
667
+ if ( ! empty($wpdb->collate) ) $charset_collate .= " COLLATE $wpdb->collate";
668
+
669
+ // set table name
670
+ $table = $wpdb->prefix . "popularpostsdata";
671
+
672
+ // does popularpostsdata table exists?
673
+ if ( $wpdb->get_var("SHOW TABLES LIKE '$table'") != $table ) { // fresh setup
674
+ $sql = "CREATE TABLE " . $table . " ( UNIQUE KEY id (postid), postid int(10) NOT NULL, day datetime NOT NULL default '0000-00-00 00:00:00', last_viewed datetime NOT NULL default '0000-00-00 00:00:00', pageviews int(10) default 1 ) $charset_collate; CREATE TABLE " . $table ."cache ( UNIQUE KEY compositeID (id, day_no_time), id int(10) NOT NULL, day datetime NOT NULL default '0000-00-00 00:00:00', day_no_time date NOT NULL default '0000-00-00', pageviews int(10) default 1 ) $charset_collate;";
675
+ } else {
676
+
677
+ // check if cahe table is missing
678
+ $cache = $table . "cache";
679
+
680
+ if ( $wpdb->get_var("SHOW TABLES LIKE '$cache'") != $cache ) {
681
+ $sql = "CREATE TABLE $cache ( UNIQUE KEY compositeID (id, day_no_time), id int(10) NOT NULL, day datetime NOT NULL default '0000-00-00 00:00:00', day_no_time date NOT NULL default '0000-00-00', pageviews int(10) default 1 ) $charset_collate;";
682
+ } else { // check if any column is missing
683
+
684
+ // get table columns
685
+ $cacheFields = $wpdb->get_results("SHOW FIELDS FROM $cache", ARRAY_A);
686
+
687
+ $alter_day = true;
688
+ $add_daynotime = true;
689
+
690
+ foreach ($cacheFields as $column) {
691
+ // check if day column is type datetime
692
+ if ($column['Field'] == 'day') {
693
+ if ($column['Type'] == 'datetime') {
694
+ $alter_day = false;
695
+ }
696
+ }
697
+
698
+ // check if day_no_time field exists
699
+ if ($column['Field'] == 'day_no_time') {
700
+ $add_daynotime = false;
701
+ }
702
+ }
703
+
704
+ if ($alter_day) { // day column is not datimetime, so change it
705
+ $wpdb->query("ALTER TABLE $cache CHANGE day day datetime NOT NULL default '0000-00-00 00:00:00';");
706
+ }
707
+
708
+ if ($add_daynotime) { // day_no_time column is missing, add it
709
+ $wpdb->query("ALTER TABLE $cache ADD day_no_time date NOT NULL default '0000-00-00';");
710
+ $wpdb->query("UPDATE $cache SET day_no_time = day;");
711
+ }
712
+
713
+ $cacheIndex = $wpdb->get_results("SHOW INDEX FROM $cache", ARRAY_A);
714
+ if ($cacheIndex[0]['Key_name'] == "id") { // if index is id-day change to id-day_no_time
715
+ $wpdb->query("ALTER TABLE $cache DROP INDEX id, ADD UNIQUE KEY compositeID (id, day_no_time);");
716
+ }
717
+
718
+ }
719
+ }
720
+
721
+ dbDelta($sql);
722
+ }
723
+
724
+ /**
725
+ * Checks for stuff that needs updating on plugin upgrade
726
+ * Since 2.3.1
727
+ */
728
+ function wpp_upgrade() {
729
+
730
+ update_option('wpp_ver', $this->version); // update wpp version in db
731
+
732
+ // update user options
733
+ $this->user_ops = $this->array_merge_recursive_distinct( $this->wpp_user_settings_def, $this->user_ops );
734
+ update_option('wpp_settings_config', $this->user_ops);
735
+
736
+ global $wpdb;
737
+ $wpdb->show_errors();
738
+
739
+ $sql = "";
740
+ $charset_collate = "";
741
+
742
+ require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
743
+
744
+ if ( ! empty($wpdb->charset) ) $charset_collate = "DEFAULT CHARACTER SET $wpdb->charset";
745
+ if ( ! empty($wpdb->collate) ) $charset_collate .= " COLLATE $wpdb->collate";
746
+
747
+ // set table name
748
+ $data = $wpdb->prefix . "popularpostsdata";
749
+ $cache = $data . "cache";
750
+
751
+ // if the cache table is missing, create it
752
+ if ( $wpdb->get_var("SHOW TABLES LIKE '$cache'") != $cache ) {
753
+ $sql = "CREATE TABLE $cache ( UNIQUE KEY compositeID (id, day_no_time), id int(10) NOT NULL, day datetime NOT NULL default '0000-00-00 00:00:00', day_no_time date NOT NULL default '0000-00-00', pageviews int(10) default 1 ) $charset_collate;";
754
+ } else { // check if any column is missing
755
+
756
+ // get table columns
757
+ $cacheFields = $wpdb->get_results("SHOW FIELDS FROM $cache", ARRAY_A);
758
+
759
+ $alter_day = true;
760
+ $add_daynotime = true;
761
+
762
+ foreach ($cacheFields as $column) {
763
+ // check if day column is type datetime
764
+ if ($column['Field'] == 'day') {
765
+ if ($column['Type'] == 'datetime') {
766
+ $alter_day = false;
767
+ }
768
+ }
769
+
770
+ // check if day_no_time field exists
771
+ if ($column['Field'] == 'day_no_time') {
772
+ $add_daynotime = false;
773
+ }
774
+ }
775
+
776
+ if ($alter_day) { // day column is not datimetime, so change it
777
+ $wpdb->query("ALTER TABLE $cache CHANGE day day datetime NOT NULL default '0000-00-00 00:00:00';");
778
+ }
779
+
780
+ if ($add_daynotime) { // day_no_time column is missing, add it
781
+ $wpdb->query("ALTER TABLE $cache ADD day_no_time date NOT NULL default '0000-00-00';");
782
+ $wpdb->query("UPDATE $cache SET day_no_time = day;");
783
+ }
784
+
785
+ $cacheIndex = $wpdb->get_results("SHOW INDEX FROM $cache", ARRAY_A);
786
+ if ($cacheIndex[0]['Key_name'] == "id") { // if index is id-day change to id-day_no_time
787
+ $wpdb->query("ALTER TABLE $cache DROP INDEX id, ADD UNIQUE KEY compositeID (id, day_no_time);");
788
+ }
789
+ }
790
+
791
+ dbDelta($sql);
792
+
793
+ }
794
+
795
+ /**
796
+ * Prints AJAX script to wp_head()
797
+ * Since 2.0.0
798
+ */
799
+ function wpp_print_ajax() {
800
+
801
+ wp_print_scripts('jquery');
802
+
803
+ // if we're on a page or post, load the script
804
+ if ( (is_single() || is_page()) && !is_front_page() && !is_preview() ) {
805
+
806
+ if ( isset($this->user_ops['tools']['log_loggedin']) && $this->user_ops['tools']['log_loggedin'] == 0 && is_user_logged_in() )
807
+ return;
808
+
809
+ // create security token
810
+ $nonce = wp_create_nonce('wpp-token');
811
+
812
+ // get current post's ID
813
+ global $wp_query;
814
+ wp_reset_query();
815
+
816
+ $id = $wp_query->post->ID;
817
+ ?>
818
+ <!-- Wordpress Popular Posts v<?php echo $this->version; ?> -->
819
+ <script type="text/javascript">
820
+ /* <![CDATA[ */
821
+ jQuery.post('<?php echo admin_url('admin-ajax.php'); ?>', {action: 'wpp_update', token: '<?php echo $nonce; ?>', id: <?php echo $id; ?>}, function(data){/*alert(data);*/});
822
+ /* ]]> */
823
+ </script>
824
+ <!-- End Wordpress Popular Posts v<?php echo $this->version; ?> -->
825
+ <?php
826
+ }
827
+ }
828
+
829
+ /**
830
+ * Builds popular posts list
831
+ * Since 1.4.0
832
+ */
833
+ function get_popular_posts($instance, $return = false) {
834
+
835
+ // update instance's settings
836
+ /*echo "<pre>"; print_r($instance); echo "</pre>";*/
837
+ $instance = $this->array_merge_recursive_distinct($this->defaults, $instance);
838
+ /*echo "<pre>"; print_r($instance); echo "</pre>";*/
839
+
840
+ global $wpdb;
841
+ $table = $wpdb->prefix . "popularpostsdata";
842
+ $fields = "";
843
+ $from = "";
844
+ $where = "";
845
+ $post_types = "";
846
+ $pids = "";
847
+ $cats = "";
848
+ $authors = "";
849
+ $content = "";
850
+
851
+ // post filters
852
+ // * post types - based on code seen at https://github.com/williamsba/WordPress-Popular-Posts-with-Custom-Post-Type-Support
853
+ $types = explode(",", $instance['post_type']);
854
+ $i = 0;
855
+ $len = count($types);
856
+ $sql_post_types = "";
857
+ $join_cats = true;
858
+
859
+ if ($len > 1) { // we are getting posts from more that one ctp
860
+ foreach ( $types as $post_type ) {
861
+ $sql_post_types .= "'" .$post_type. "'";
862
+
863
+ if ($i != $len - 1) $sql_post_types .= ",";
864
+
865
+ $i++;
866
+ }
867
+
868
+ $post_types = " p.post_type IN({$sql_post_types}) ";
869
+ } else if ($len == 1) { // post from one ctp only
870
+
871
+ $post_types = " p.post_type = '".$instance['post_type']."' ";
872
+
873
+ // if we're getting just pages, why join the categories table?
874
+ if ( strtolower($instance['post_type']) == 'page' )
875
+ $join_cats = false;
876
+
877
+ }
878
+
879
+ // * posts exclusion
880
+ if ( !empty($instance['pid']) ) {
881
+ $ath = explode(",", $instance['pid']);
882
+ $len = count($ath);
883
+
884
+ if ($len > 1) { // we are excluding more than one post
885
+ $pids = " AND p.ID NOT IN(".$instance['pid'].") ";
886
+ } else if ($len == 1) { // exclude one post only
887
+ $pids = " AND p.ID <> '".$instance['pid']."' ";
888
+ }
889
+ }
890
+
891
+ // * categories
892
+ if ( !empty($instance['cat']) && $join_cats ) {
893
+ $cat_ids = explode(",", $instance['cat']);
894
+ $in = array();
895
+ $out = array();
896
+ $not_in = "";
897
+
898
+ usort($cat_ids, array(&$this, 'sorter'));
899
+
900
+ for ($i=0; $i < count($cat_ids); $i++) {
901
+ if ($cat_ids[$i] >= 0) $in[] = $cat_ids[$i];
902
+ if ($cat_ids[$i] < 0) $out[] = $cat_ids[$i];
903
+ }
904
+
905
+ $in_cats = implode(",", $in);
906
+ $out_cats = implode(",", $out);
907
+ $out_cats = preg_replace( '|[^0-9,]|', '', $out_cats );
908
+
909
+ if ($in_cats != "" && $out_cats == "") { // get posts from from given cats only
910
+ $cats = " AND p.ID IN (
911
+ SELECT object_id
912
+ FROM $wpdb->term_relationships AS r
913
+ JOIN $wpdb->term_taxonomy AS x ON x.term_taxonomy_id = r.term_taxonomy_id
914
+ JOIN $wpdb->terms AS t ON t.term_id = x.term_id
915
+ WHERE x.taxonomy = 'category' AND t.term_id IN($in_cats)
916
+ ) ";
917
+ } else if ($in_cats == "" && $out_cats != "") { // exclude posts from given cats only
918
+ $cats = " AND p.ID NOT IN (
919
+ SELECT object_id
920
+ FROM $wpdb->term_relationships AS r
921
+ JOIN $wpdb->term_taxonomy AS x ON x.term_taxonomy_id = r.term_taxonomy_id
922
+ JOIN $wpdb->terms AS t ON t.term_id = x.term_id
923
+ WHERE x.taxonomy = 'category' AND t.term_id IN($out_cats)
924
+ ) ";
925
+ } else { // mixed, and possibly a heavy load on the DB
926
+ $cats = " AND p.ID IN (
927
+ SELECT object_id
928
+ FROM $wpdb->term_relationships AS r
929
+ JOIN $wpdb->term_taxonomy AS x ON x.term_taxonomy_id = r.term_taxonomy_id
930
+ JOIN $wpdb->terms AS t ON t.term_id = x.term_id
931
+ WHERE x.taxonomy = 'category' AND t.term_id IN($in_cats)
932
+ ) AND p.ID NOT IN (
933
+ SELECT object_id
934
+ FROM $wpdb->term_relationships AS r
935
+ JOIN $wpdb->term_taxonomy AS x ON x.term_taxonomy_id = r.term_taxonomy_id
936
+ JOIN $wpdb->terms AS t ON t.term_id = x.term_id
937
+ WHERE x.taxonomy = 'category' AND t.term_id IN($out_cats)
938
+ ) ";
939
+ }
940
+ }
941
+
942
+ // * authors
943
+ if ( !empty($instance['author']) ) {
944
+ $ath = explode(",", $instance['author']);
945
+ $len = count($ath);
946
+
947
+ if ($len > 1) { // we are getting posts from more that one author
948
+ $authors = " AND p.post_author IN(".$instance['author'].") ";
949
+ } else if ($len == 1) { // post from one author only
950
+ $authors = " AND p.post_author = '".$instance['author']."' ";
951
+ }
952
+ }
953
+
954
+ $fields = "p.ID AS 'id', p.post_title AS 'title', p.post_date AS 'date', p.post_author AS 'uid' ";
955
+
956
+ if ($instance['range'] == "all") { // ALL TIME
957
+
958
+ $fields .= ", p.comment_count AS 'comment_count' ";
959
+
960
+ if ($instance['order_by'] == "comments") { // ordered by comments
961
+
962
+ if ($instance['stats_tag']['views']) { // get views, too
963
+
964
+ $fields .= ", IFNULL(v.pageviews, 0) AS 'pageviews' ";
965
+ $from = " {$wpdb->posts} p LEFT JOIN {$table} v ON p.ID = v.postid WHERE {$post_types} {$pids} {$authors} {$cats} AND p.comment_count > 0 AND p.post_password = '' AND p.post_status = 'publish' ORDER BY p.comment_count DESC LIMIT {$instance['limit']} ";
966
+
967
+ } else { // get data from wp_posts only
968
+ $from = " {$wpdb->posts} p WHERE {$post_types} {$pids} {$authors} {$cats} AND p.comment_count > 0 AND p.post_password = '' AND p.post_status = 'publish' ORDER BY p.comment_count DESC LIMIT {$instance['limit']} ";
969
+ }
970
+
971
+ } else { // ordered by views / avg
972
+
973
+ if ( $instance['order_by'] == "views" ) {
974
+
975
+ $fields .= ", v.pageviews AS 'pageviews' ";
976
+ $from = " {$table} v LEFT JOIN {$wpdb->posts} p ON v.postid = p.ID WHERE {$post_types} {$pids} {$authors} {$cats} AND p.post_password = '' AND p.post_status = 'publish' ORDER BY pageviews DESC LIMIT {$instance['limit']} ";
977
+
978
+ } else if ( $instance['order_by'] == "avg" ) {
979
+
980
+ $fields .= ", ( v.pageviews/(IF ( DATEDIFF('{$this->now()}', MIN(v.day)) > 0, DATEDIFF('{$this->now()}', MIN(v.day)), 1) ) ) AS 'avg_views' ";
981
+ $from = " {$table} v LEFT JOIN {$wpdb->posts} p ON v.postid = p.ID WHERE {$post_types} {$pids} {$authors} {$cats} AND p.post_password = '' AND p.post_status = 'publish' GROUP BY p.ID ORDER BY avg_views DESC LIMIT {$instance['limit']} ";
982
+
983
+ }
984
+
985
+ }
986
+
987
+ } else { // CUSTOM RANGE
988
+
989
+ $interval = "";
990
+
991
+ switch( $instance['range'] ){
992
+ case "yesterday":
993
+ $interval = "1 DAY";
994
+ break;
995
+
996
+ case "daily":
997
+ $interval = "1 DAY";
998
+ break;
999
+
1000
+ case "weekly":
1001
+ $interval = "1 WEEK";
1002
+ break;
1003
+
1004
+ case "monthly":
1005
+ $interval = "1 MONTH";
1006
+ break;
1007
+
1008
+ default:
1009
+ $interval = "1 DAY";
1010
+ break;
1011
+ }
1012
+
1013
+ if ($instance['order_by'] == "comments") { // ordered by comments
1014
+
1015
+ $fields .= ", c.comment_count AS 'comment_count' ";
1016
+ $from = " (SELECT comment_post_ID AS 'id', COUNT(comment_post_ID) AS 'comment_count', MAX(comment_date) AS comment_date FROM {$wpdb->comments} WHERE comment_date > DATE_SUB('{$this->now()}', INTERVAL {$interval}) AND comment_approved = 1 GROUP BY id ORDER BY comment_count DESC, comment_date DESC) c LEFT JOIN {$wpdb->posts} p ON p.ID = c.id ";
1017
+
1018
+ if ($instance['stats_tag']['views']) { // get views, too
1019
+
1020
+ $fields .= ", IFNULL(v.pageviews, 0) AS 'pageviews' ";
1021
+ $from .= " LEFT JOIN (SELECT id, SUM(pageviews) AS pageviews, MAX(day) AS day FROM {$table}cache WHERE day > DATE_SUB('{$this->now()}', INTERVAL {$interval}) GROUP BY id ORDER BY pageviews DESC, day DESC) v ON p.ID = v.id ";
1022
+
1023
+ }
1024
+
1025
+ $from .= " WHERE {$post_types} {$pids} {$authors} {$cats} AND p.post_password = '' AND p.post_status = 'publish' LIMIT {$instance['limit']} ";
1026
+
1027
+ } else { // ordered by views / avg
1028
+
1029
+ if ( $instance['order_by'] == "views" ) {
1030
+
1031
+ $fields .= ", v.pageviews AS 'pageviews' ";
1032
+ $from = " (SELECT id, SUM(pageviews) AS pageviews, MAX(day) AS day FROM {$table}cache WHERE day > DATE_SUB('{$this->now()}', INTERVAL {$interval}) GROUP BY id ORDER BY pageviews DESC, day DESC) v LEFT JOIN {$wpdb->posts} p ON v.id = p.ID ";
1033
+
1034
+ } else if ( $instance['order_by'] == "avg" ) {
1035
+
1036
+ $fields .= ", ( v.pageviews/(IF ( DATEDIFF('{$this->now()}', DATE_SUB('{$this->now()}', INTERVAL {$interval})) > 0, DATEDIFF('{$this->now()}', DATE_SUB('{$this->now()}', INTERVAL {$interval})), 1) ) ) AS 'avg_views' ";
1037
+ $from = " (SELECT id, SUM(pageviews) AS pageviews, MAX(day) AS day FROM {$table}cache WHERE day > DATE_SUB('{$this->now()}', INTERVAL {$interval}) GROUP BY id ORDER BY pageviews DESC, day DESC) v LEFT JOIN {$wpdb->posts} p ON v.id = p.ID ";
1038
+
1039
+ }
1040
+
1041
+ if ( $instance['stats_tag']['comment_count'] ) { // get comments, too
1042
+
1043
+ $fields .= ", IFNULL(c.comment_count, 0) AS 'comment_count' ";
1044
+ $from .= " LEFT JOIN (SELECT comment_post_ID AS 'id', COUNT(comment_post_ID) AS 'comment_count', MAX(comment_date) AS comment_date FROM {$wpdb->comments} WHERE comment_date > DATE_SUB('{$this->now()}', INTERVAL {$interval}) AND comment_approved = 1 GROUP BY id ORDER BY comment_count DESC, comment_date DESC) c ON p.ID = c.id ";
1045
+
1046
+ }
1047
+
1048
+ $from .= " WHERE {$post_types} {$pids} {$authors} {$cats} AND p.post_password = '' AND p.post_status = 'publish' ";
1049
+
1050
+ if ( $instance['order_by'] == "avg" ) {
1051
+ $from .= " GROUP BY v.id ORDER BY avg_views DESC ";
1052
+ }
1053
+
1054
+ $from .= " LIMIT {$instance['limit']} ";
1055
+
1056
+ }
1057
+
1058
+ }
1059
+
1060
+ $query = "SELECT {$fields} FROM {$from}";
1061
+ //echo $query;
1062
+
1063
+ $mostpopular = $wpdb->get_results($query);
1064
+ /*echo "<pre>"; print_r($mostpopular); echo "</pre>";*/
1065
+
1066
+ // posts array
1067
+ $posts_data = array();
1068
+
1069
+ if ( !is_array($mostpopular) || empty($mostpopular) ) { // no posts to show
1070
+ $content .= "<p>".__('Sorry. No data so far.', 'wordpress-popular-posts')."</p>"."\n";
1071
+ } else { // list posts
1072
+
1073
+ // HTML wrapper
1074
+ if ($instance['markup']['custom_html']) {
1075
+ $content .= htmlspecialchars_decode($instance['markup']['wpp-start'], ENT_QUOTES) ."\n";
1076
+ } else {
1077
+ $content .= "<ul class=\"wpp-list\">" . "\n";
1078
+ }
1079
+
1080
+ foreach($mostpopular as $p) {
1081
+
1082
+ $stats = "";
1083
+ $thumb = "";
1084
+ $title = "";
1085
+ $title_sub = "";
1086
+ $permalink = get_permalink( $p->id );
1087
+ $author = ($instance['stats_tag']['author']) ? get_the_author_meta('display_name', $p->uid) : "";
1088
+ $date = date_i18n( $instance['stats_tag']['date']['format'], strtotime($p->date) );
1089
+ $pageviews = ($instance['order_by'] == "views" || $instance['order_by'] == "avg" || $instance['stats_tag']['views']) ? (($instance['order_by'] == "views" || $instance['order_by'] == "comments") ? $p->pageviews : $p->avg_views ) : 0;
1090
+ $comments = ($instance['order_by'] == "comments" || $instance['stats_tag']['comment_count']) ? $p->comment_count : 0;
1091
+
1092
+ $post_cat = "";
1093
+ $excerpt = "";
1094
+ $rating = "";
1095
+ $data = array();
1096
+
1097
+ // TITLE
1098
+ $title = ($this->qTrans) ? qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($p->title) : $p->title;
1099
+ $title = strip_tags($title);
1100
+ $title_sub = strip_tags($title);
1101
+
1102
+ // truncate title
1103
+ if ( $instance['shorten_title']['active'] ) {
1104
+
1105
+ if ( isset($instance['shorten_title']['words']) && $instance['shorten_title']['words'] ) { // by words
1106
+
1107
+ $words = explode(" ", $title, $instance['shorten_title']['length'] + 1);
1108
+
1109
+ if ( count($words) > $instance['shorten_title']['length'] ) {
1110
+
1111
+ array_pop($words);
1112
+ $title_sub = implode(" ", $words) . "...";
1113
+
1114
+ }
1115
+
1116
+ } else { // by characters
1117
+
1118
+ if ( strlen($title) > $instance['shorten_title']['length'] ) {
1119
+ $title_sub = mb_substr($title, 0, $instance['shorten_title']['length'], $this->charset) . "...";
1120
+ }
1121
+
1122
+ }
1123
+
1124
+ }
1125
+
1126
+ $title = htmlspecialchars( $title, ENT_QUOTES, $this->charset );
1127
+ $title_sub = htmlspecialchars( $title_sub, ENT_QUOTES, $this->charset );
1128
+
1129
+ $title = apply_filters('the_title', $title, $p->id);
1130
+ $title_sub = apply_filters('the_title', $title_sub, $p->id);
1131
+
1132
+ // EXCERPT
1133
+ if ( $instance['post-excerpt']['active'] ) {
1134
+
1135
+ $excerpt = trim( $this->get_summary($p->id, $instance) );
1136
+
1137
+ if ( !empty($excerpt) ) {
1138
+
1139
+ if ( !$instance['markup']['custom_html'] ) {
1140
+ $excerpt = ": <span class=\"wpp-excerpt\">" . $excerpt . "</span>";
1141
+ }
1142
+
1143
+ }
1144
+
1145
+ }
1146
+
1147
+ // STATS
1148
+ // comments
1149
+ if ( $instance['stats_tag']['comment_count'] ) {
1150
+ $comments_text =sprintf(
1151
+ _n('1 comment', '%s comments', $comments, 'wordpress-popular-posts'),
1152
+ number_format_i18n($comments));
1153
+ $stats .= "<span class=\"wpp-comments\">" . $comments_text . "</span>";
1154
+ } else {
1155
+ }
1156
+ // views
1157
+ if ( $instance['stats_tag']['views'] ) {
1158
+
1159
+ if ($instance['order_by'] == 'avg') {
1160
+ $views_text = sprintf(
1161
+ _n('1 view per day', '%s views per day', intval($pageviews), 'wordpress-popular-posts'),
1162
+ number_format_i18n($pageviews, 2)
1163
+ );
1164
+ }
1165
+ else {
1166
+ $views_text = sprintf(
1167
+ _n('1 view', '%s views', intval($pageviews), 'wordpress-popular-posts'),
1168
+ number_format_i18n($pageviews)
1169
+ );
1170
+ }
1171
+
1172
+ $stats .= ($stats == "") ? "<span class=\"wpp-views\">" . $views_text . "</span>" : " | <span class=\"wpp-views\">" . $views_text . "</span>";
1173
+
1174
+ }
1175
+ //author
1176
+ if ( $instance['stats_tag']['author'] ) {
1177
+ $display_name = "<a href=\"".get_author_posts_url($p->uid)."\">{$author}</a>";
1178
+ $stats .= ($stats == "") ? "<span class=\"wpp-author\">" . __('by', 'wordpress-popular-posts')." {$display_name}</span>" : " | <span class=\"wpp-author\">" . __('by', 'wordpress-popular-posts') . " {$display_name}</span>";
1179
+ }
1180
+ // date
1181
+ if ( $instance['stats_tag']['date']['active'] ) {
1182
+ $stats .= ($stats == "") ? "<span class=\"wpp-date\">" . __('posted on', 'wordpress-popular-posts')." {$date}</span>" : " | <span class=\"wpp-date\">" . __('posted on', 'wordpress-popular-posts') . " {$date}</span>";
1183
+ }
1184
+ // category
1185
+ if ( $instance['stats_tag']['category'] ) {
1186
+ $post_cat = get_the_category( $p->id );
1187
+ $post_cat = ( isset($post_cat[0]) ) ? '<a href="'.get_category_link($post_cat[0]->term_id ).'">'.$post_cat[0]->cat_name.'</a>' : '';
1188
+
1189
+ if ( $post_cat != '' ) {
1190
+ $stats .= ($stats == "") ? "<span class=\"wpp-category\">" . __('under', 'wordpress-popular-posts'). " {$post_cat}</span>" : " | <span class=\"wpp-category\">" . __('under', 'wordpress-popular-posts') . " {$post_cat}</span>";
1191
+ }
1192
+ }
1193
+
1194
+ // RATING
1195
+ if ( $instance['rating'] && $this->postRating && function_exists('the_ratings') ) {
1196
+ $rating = '<span class="wpp-rating">'.the_ratings( 'span', $p->id, false ).'</span>';
1197
+ }
1198
+
1199
+ // POST THUMBNAIL
1200
+ if ($instance['thumbnail']['active'] && $this->thumb) {
1201
+
1202
+ $tbWidth = $instance['thumbnail']['width'];
1203
+ $tbHeight = $instance['thumbnail']['height'];
1204
+
1205
+ $thumb = "<a href=\"". $permalink ."\" title=\"{$title}\" target=\"".$this->user_ops['tools']['link']['target']."\">";
1206
+
1207
+ if ( $this->user_ops['tools']['thumbnail']['source'] == "custom_field" ) { // get image from custom field
1208
+
1209
+ $path = get_post_meta($p->id, $this->user_ops['tools']['thumbnail']['field'], true);
1210
+
1211
+ if ( $path != "" ) {
1212
+
1213
+ if ( $this->user_ops['tools']['thumbnail']['resize'] ) {
1214
+
1215
+ $thumb .= $this->get_img( $p->id, array($tbWidth, $tbHeight), $this->user_ops['tools']['thumbnail']['source'] );
1216
+
1217
+ } else {
1218
+ $thumb .= "<img src=\"{$path}\" width=\"{$tbWidth}\" height=\"{$tbHeight}\" alt=\"{$title}\" border=\"0\" class=\"wpp-thumbnail wpp_cf\" />";
1219
+ }
1220
+
1221
+ } else {
1222
+ $thumb .= "<img src=\"". $this->default_thumbnail ."\" alt=\"{$title}\" border=\"0\" width=\"{$tbWidth}\" height=\"{$tbHeight}\" class=\"wpp-thumbnail wpp_cf_def\" />";
1223
+ }
1224
+
1225
+ } else { // get image from post / Featured Image
1226
+ $thumb .= $this->get_img( $p->id, array($tbWidth, $tbHeight), $this->user_ops['tools']['thumbnail']['source'] );
1227
+ }
1228
+
1229
+ $thumb .= "</a>";
1230
+ }
1231
+
1232
+ $data = array(
1233
+ 'id' => $p->id,
1234
+ 'title' => '<a href="'.$permalink.'" title="'.$title.'">'.$title_sub.'</a>',
1235
+ 'summary' => $excerpt,
1236
+ 'stats' => $stats,
1237
+ 'img' => $thumb,
1238
+ 'url' => $permalink,
1239
+ 'text_title' => $title,
1240
+ 'category' => $post_cat,
1241
+ 'author' => "<a href=\"".get_author_posts_url($p->uid)."\">{$author}</a>",
1242
+ 'views' => $pageviews,
1243
+ 'comments' => $comments
1244
+ );
1245
+
1246
+ $posts_data[] = (object) $data;
1247
+
1248
+ // PUTTING IT ALL TOGETHER
1249
+ if ($instance['markup']['custom_html']) { // build custom layout
1250
+
1251
+ $content .= htmlspecialchars_decode( $this->format_content($instance['markup']['post-html'], $data, $instance['rating']), ENT_QUOTES ) . "\n";
1252
+
1253
+ } else { // build regular layout
1254
+ $content .= "<li>{$thumb}<a href=\"{$permalink}\" title=\"{$title}\" class=\"wpp-post-title\" target=\"".$this->user_ops['tools']['link']['target']."\">{$title_sub}</a> {$excerpt}<span class=\"post-stats\">{$stats}</span>{$rating}</li>" . "\n";
1255
+ }
1256
+ }
1257
+
1258
+ // END HTML wrapper
1259
+ if ($instance['markup']['custom_html']) {
1260
+ $content .= htmlspecialchars_decode($instance['markup']['wpp-end'], ENT_QUOTES) ."\n";
1261
+ } else {
1262
+ $content .= "\n"."</ul>"."\n";
1263
+ }
1264
+ }
1265
+
1266
+ //return $content;
1267
+ return apply_filters( 'wpp_html', $content, $posts_data );
1268
+ die();
1269
+
1270
+ }
1271
+
1272
+ /**
1273
+ * Builds post's excerpt
1274
+ * Since 1.4.6
1275
+ */
1276
+ function get_summary($id, $instance){
1277
+
1278
+ if ( !is_numeric($id) )
1279
+ return false;
1280
+
1281
+ global $wpdb;
1282
+
1283
+ $excerpt = "";
1284
+ $the_post = get_post( $id );
1285
+ $excerpt = ( $the_post->post_excerpt == "" ) ? $the_post->post_content : $the_post->post_excerpt;
1286
+
1287
+ // RRR added call to the_content filters, allows qTranslate to hook in.
1288
+ if ( $this->qTrans )
1289
+ $excerpt = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage( $excerpt );
1290
+
1291
+ // remove WP shortcodes (and HTML tags if requested)
1292
+ if ( $instance['post-excerpt']['keep_format'] ) {
1293
+ $excerpt = strip_shortcodes( strip_tags($excerpt, '<a><b><i><em><strong>') );
1294
+ } else {
1295
+ $excerpt = strip_shortcodes( strip_tags($excerpt) );
1296
+ }
1297
+
1298
+ // remove caption tags
1299
+ $excerpt = preg_replace( "/\[caption.*\[\/caption\]/", "", $excerpt );
1300
+
1301
+ // remove Flash objects
1302
+ $excerpt = preg_replace( "/<object[0-9 a-z_?*=\":\-\/\.#\,\\n\\r\\t]+/smi", "", $excerpt );
1303
+
1304
+ // remove Iframes
1305
+ $excerpt = preg_replace( "/<iframe.*?\/iframe>/i", "", $excerpt);
1306
+
1307
+ // remove URLs
1308
+ $excerpt = preg_replace( '_^(?:(?:https?|ftp)://)(?:\S+(?::\S*)?@)?(?:(?!10(?:\.\d{1,3}){3})(?!127(?:\.\d{1,3}){3})(?!169\.254(?:\.\d{1,3}){2})(?!192\.168(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\x{00a1}-\x{ffff}0-9]+-?)*[a-z\x{00a1}-\x{ffff}0-9]+)(?:\.(?:[a-z\x{00a1}-\x{ffff}0-9]+-?)*[a-z\x{00a1}-\x{ffff}0-9]+)*(?:\.(?:[a-z\x{00a1}-\x{ffff}]{2,})))(?::\d{2,5})?(?:/[^\s]*)?$_iuS', '', $excerpt );
1309
+
1310
+ // do we still have something to display?
1311
+ if ( !empty($excerpt) ) {
1312
+
1313
+ // truncate excerpt
1314
+ if ( isset($instance['post-excerpt']['words']) && $instance['post-excerpt']['words'] ) { // by words
1315
+
1316
+ $words = explode(" ", $excerpt, $instance['post-excerpt']['length'] + 1);
1317
+
1318
+ if ( count($words) > $instance['post-excerpt']['length'] ) {
1319
+
1320
+ array_pop($words);
1321
+ $excerpt = implode(" ", $words) . "...";
1322
+
1323
+ }
1324
+
1325
+ } else { // by characters
1326
+
1327
+ if ( strlen($excerpt) > $instance['post-excerpt']['length'] ) {
1328
+ $excerpt = mb_substr( $excerpt, 0, $instance['post-excerpt']['length'] ) . "...";
1329
+ }
1330
+
1331
+ }
1332
+
1333
+ }
1334
+
1335
+ // remove HTML tags if requested
1336
+ if ( $instance['post-excerpt']['keep_format'] ) {
1337
+ $excerpt = force_balance_tags(strip_tags($excerpt, '<a><b><i><em><strong>'));
1338
+ } else {
1339
+ $excerpt = strip_tags($excerpt);
1340
+ }
1341
+
1342
+ // remove WP shortcodes
1343
+ $excerpt = strip_shortcodes( $excerpt );
1344
+
1345
+ return $excerpt;
1346
+
1347
+ }
1348
+
1349
+ /**
1350
+ * Retrieves post's image
1351
+ * Since 1.4.6
1352
+ * Last modified: 2.3.3
1353
+ * Borrowed some ideas from Victor Teixeira's VT function http://core.trac.wordpress.org/ticket/15311
1354
+ * and added a check for the WP_Image_Editor Class
1355
+ */
1356
+ function get_img( $id = NULL, $dim = array(80, 80), $source = "featured" ) {
1357
+
1358
+ if ( !$id || empty($id) || !is_numeric($id) )
1359
+ return "<img src=\"". $this->default_thumbnail ."\" alt=\"\" border=\"0\" width=\"{$dim[0]}\" height=\"{$dim[1]}\" class=\"wpp-thumbnail wpp_def_noID\" />";
1360
+
1361
+ $file_path = '';
1362
+
1363
+ if ( $source == "featured" ) { // get thumbnail path from the Featured Image
1364
+
1365
+ $thumbnail_id = get_post_thumbnail_id( $id ); // thumb attachment ID
1366
+
1367
+ if ( $thumbnail_id ) {
1368
+
1369
+ $thumbnail = wp_get_attachment_image_src( $thumbnail_id, 'full' ); // full size image
1370
+ $file_path = get_attached_file( $thumbnail_id ); // image path
1371
+
1372
+ }
1373
+
1374
+ } else if ( $source == "first_image" ) { // get thumbnail path from post content
1375
+
1376
+ global $wpdb;
1377
+
1378
+ $content = $wpdb->get_var( "SELECT post_content FROM $wpdb->posts WHERE ID = {$id}" );
1379
+ $count = substr_count($content, '<img');
1380
+
1381
+ if ($count > 0) { // images have been found
1382
+
1383
+ $output = preg_match_all( '/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $content, $ContentImages );
1384
+
1385
+ if ( isset($ContentImages[1][0]) ) {
1386
+
1387
+ $image_url = esc_url( $ContentImages[1][0] ); // sanitize URL, just in case
1388
+ preg_match('/[^\?]+\.(jpg|JPG|jpe|JPE|jpeg|JPEG|gif|GIF|png|PNG)/', $image_url, $matches); // remove querystring
1389
+ $image_url = $matches[0];
1390
+
1391
+ $attachment_id = $this->wpp_get_attachment_id( $image_url );
1392
+
1393
+ if ( $attachment_id ) { // image comes from Media library
1394
+
1395
+ $thumbnail[0] = $image_url;
1396
+ $file_path = get_attached_file( $attachment_id );
1397
+
1398
+ } else { // image not found in Media library, maybe external image?
1399
+
1400
+ $result = $this->download_image( $image_url, $id );
1401
+
1402
+ if ( is_array($result) && !empty($result) ) {
1403
+
1404
+ $thumbnail[0] = $result[0];
1405
+ $file_path = $result[1];
1406
+
1407
+ }
1408
+
1409
+ }
1410
+
1411
+ }
1412
+
1413
+ }
1414
+
1415
+ } else if ( $source == "custom_field" ) { // get thumbnail path from custom field
1416
+
1417
+ $image_url = get_post_meta($id, $this->user_ops['tools']['thumbnail']['field'], true);
1418
+ $image_url = esc_url( $image_url ); // sanitize URL, just in case
1419
+ preg_match('/[^\?]+\.(jpg|JPG|jpe|JPE|jpeg|JPEG|gif|GIF|png|PNG)/', $image_url, $matches); // remove querystring
1420
+ $image_url = $matches[0];
1421
+
1422
+ $result = $this->download_image( $image_url, $id );
1423
+
1424
+ if ( is_array($result) && !empty($result) ) {
1425
+
1426
+ $thumbnail[0] = $result[0];
1427
+ $file_path = $result[1];
1428
+
1429
+ }
1430
+
1431
+ }
1432
+
1433
+ if ( $file_path == '' ) {
1434
+ return "<img src=\"". $this->default_thumbnail ."\" alt=\"\" border=\"0\" width=\"{$dim[0]}\" height=\"{$dim[1]}\" class=\"wpp-thumbnail wpp_def_noPath wpp_{$source}\" />";
1435
+ }
1436
+
1437
+ $file_info = pathinfo( $file_path );
1438
+ $extension = '.'. $file_info['extension'];
1439
+
1440
+ $cropped_thumb = $file_info['dirname'].'/'.$file_info['filename'].'-'.$dim[0].'x'.$dim[1].$extension;
1441
+
1442
+ if ( file_exists( $cropped_thumb ) ) { // there is a thumbnail already, use it
1443
+
1444
+ $new_img = str_replace( wp_basename( $thumbnail[0] ), wp_basename( $cropped_thumb ), $thumbnail[0] );
1445
+ return "<img src=\"". $new_img ."\" alt=\"\" border=\"0\" width=\"{$dim[0]}\" height=\"{$dim[1]}\" class=\"wpp-thumbnail wpp_cached_thumb wpp_{$source}\" />";
1446
+
1447
+ } else { // no thumbnail or image file missing, try to create it
1448
+
1449
+ if ( function_exists('wp_get_image_editor') ) { // if supported, use WP_Image_Editor Class
1450
+
1451
+ $image = wp_get_image_editor( $file_path );
1452
+
1453
+ if ( is_wp_error( $image ) ) { // image file path is invalid
1454
+ return "<!-- " . $image->get_error_message() ." --> <img src=\"". $this->default_thumbnail ."\" alt=\"\" border=\"0\" width=\"{$dim[0]}\" height=\"{$dim[1]}\" class=\"wpp-thumbnail wpp_imgeditor_error wpp_{$source}\" />";
1455
+ }
1456
+
1457
+ $image->resize( $dim[0], $dim[1], true );
1458
+ $new_img = $image->save();
1459
+
1460
+ if ( is_wp_error( $new_img ) ) {
1461
+ return "<!-- " . $new_img->get_error_message() ." --> <img src=\"". $this->default_thumbnail ."\" alt=\"\" border=\"0\" width=\"{$dim[0]}\" height=\"{$dim[1]}\" class=\"wpp-thumbnail wpp_imgeditor_error wpp_{$source}\" />";
1462
+ }
1463
+
1464
+ $new_img = str_replace( wp_basename( $thumbnail[0] ), $new_img['file'], $thumbnail[0] );
1465
+ return "<img src=\"". $new_img ."\" alt=\"\" border=\"0\" width=\"{$dim[0]}\" height=\"{$dim[1]}\" class=\"wpp-thumbnail wpp_imgeditor_thumb wpp_{$source}\" />";
1466
+
1467
+ } else { // create thumb using image_resize()
1468
+
1469
+ $new_img_path = image_resize( $file_path, $dim[0], $dim[1], true );
1470
+
1471
+ if ( is_wp_error( $new_img_path ) ) { // image file path is invalid
1472
+ return "<!-- " . $new_img_path->get_error_message() ." --> <img src=\"". $this->default_thumbnail ."\" alt=\"\" border=\"0\" width=\"{$dim[0]}\" height=\"{$dim[1]}\" class=\"wpp-thumbnail wpp_image_resize_error wpp_{$source}\" />";
1473
+ }
1474
+
1475
+ $new_img_size = getimagesize( $new_img_path );
1476
+ $new_img = str_replace( wp_basename( $thumbnail[0] ), wp_basename( $new_img_path ), $thumbnail[0] );
1477
+ return "<img src=\"". $new_img ."\" alt=\"\" border=\"0\" width=\"{$dim[0]}\" height=\"{$dim[1]}\" class=\"wpp-thumbnail wpp_image_resize_thumb wpp_{$source}\" />";
1478
+
1479
+ }
1480
+
1481
+ }
1482
+
1483
+ }
1484
+
1485
+ function is_external_image( $url ){
1486
+
1487
+ $dir = wp_upload_dir();
1488
+
1489
+ // baseurl never has a trailing slash
1490
+ if ( false === strpos( $url, $dir['baseurl'] . '/' ) ) {
1491
+ // URL points to a place outside of upload directory
1492
+ return true;
1493
+ }
1494
+
1495
+ return false;
1496
+
1497
+ }
1498
+
1499
+ function download_image( $url, $id ){
1500
+
1501
+ $image = array();
1502
+
1503
+ $uploads = wp_upload_dir();
1504
+ $image[0] = trailingslashit( $uploads['baseurl'] ) . "{$id}_". sanitize_file_name( rawurldecode(wp_basename( $url )) );
1505
+ $image[1] = trailingslashit( $uploads['basedir'] ) . "{$id}_". sanitize_file_name( rawurldecode(wp_basename( $url )) );
1506
+
1507
+ // if the file exists already, return URL and path
1508
+ if ( file_exists($image[1]) )
1509
+ return $image;
1510
+
1511
+ $accepted_status_codes = array( 200, 301, 302 );
1512
+ $response = wp_remote_head( $url, array( 'timeout' => 5, 'sslverify' => false ) );
1513
+
1514
+ if ( !is_wp_error($response) && in_array(wp_remote_retrieve_response_code($response), $accepted_status_codes) ) {
1515
+
1516
+ $image_data = getimagesize( $url );
1517
+
1518
+ if ( is_array($image_data) && !empty($image_data) ) {
1519
+
1520
+ require_once( ABSPATH . 'wp-admin/includes/file.php' );
1521
+
1522
+ $url = str_replace( 'https://', 'http://', $url );
1523
+ $tmp = download_url( $url );
1524
+
1525
+ // move file to Uploads
1526
+ if ( !is_wp_error( $tmp ) && rename($tmp, $image[1]) ) {
1527
+
1528
+ // borrowed from WP - set correct file permissions
1529
+ $stat = stat( dirname( $image[1] ));
1530
+ $perms = $stat['mode'] & 0000666;
1531
+ @chmod( $image[1], $perms );
1532
+
1533
+ return $image;
1534
+
1535
+ }
1536
+
1537
+ }
1538
+
1539
+ }
1540
+
1541
+ return false;
1542
+
1543
+ }
1544
+
1545
+ /**
1546
+ * Get the Attachment ID for a given image URL.
1547
+ * Source: http://wordpress.stackexchange.com/a/7094
1548
+ * @param string $url
1549
+ * @return boolean|integer
1550
+ */
1551
+ function wpp_get_attachment_id( $url ) {
1552
+
1553
+ if ( $this->is_external_image($url) )
1554
+ return false;
1555
+
1556
+ $file = wp_basename( $url );
1557
+ $query = array(
1558
+ 'post_type' => 'attachment',
1559
+ 'fields' => 'ids',
1560
+ 'meta_query' => array(
1561
+ array(
1562
+ 'value' => $file,
1563
+ 'compare' => 'LIKE',
1564
+ ),
1565
+ )
1566
+ );
1567
+
1568
+ $query['meta_query'][0]['key'] = '_wp_attached_file';
1569
+
1570
+ // query attachments
1571
+ $ids = get_posts( $query );
1572
+
1573
+ if ( ! empty( $ids ) ) {
1574
+
1575
+ foreach ( $ids as $id ) {
1576
+
1577
+ // first entry of returned array is the URL
1578
+ if ( $url === array_shift( wp_get_attachment_image_src( $id, 'full' ) ) )
1579
+ return $id;
1580
+ }
1581
+ }
1582
+
1583
+ $query['meta_query'][0]['key'] = '_wp_attachment_metadata';
1584
+
1585
+ // query attachments again
1586
+ $ids = get_posts( $query );
1587
+
1588
+ if ( empty( $ids) )
1589
+ return false;
1590
+
1591
+ foreach ( $ids as $id ) {
1592
+
1593
+ $meta = wp_get_attachment_metadata( $id );
1594
+
1595
+ foreach ( $meta['sizes'] as $size => $values ) {
1596
+
1597
+ if ( $values['file'] === $file && $url === array_shift( wp_get_attachment_image_src( $id, $size ) ) )
1598
+ return $id;
1599
+ }
1600
+ }
1601
+
1602
+ return false;
1603
+ }
1604
+
1605
+ /**
1606
+ * Parses content tags
1607
+ * Since 1.4.6
1608
+ */
1609
+ function format_content($string, $data = array(), $rating) {
1610
+
1611
+ if (empty($string) || (empty($data) || !is_array($data)))
1612
+ return false;
1613
+
1614
+ $string = htmlentities( $string );
1615
+
1616
+ $params = array();
1617
+ $pattern = '/\{(excerpt|summary|stats|title|image|thumb|rating|score|url|text_title|author|category|views|comments)\}/i';
1618
+ preg_match_all($pattern, $string, $matches);
1619
+
1620
+ array_map('strtolower', $matches[0]);
1621
+
1622
+ if ( in_array("{title}", $matches[0]) ) {
1623
+ $string = str_replace( "{title}", $data['title'], $string );
1624
+ }
1625
+
1626
+ if ( in_array("{stats}", $matches[0]) ) {
1627
+ $string = str_replace( "{stats}", $data['stats'], $string );
1628
+ }
1629
+
1630
+ if ( in_array("{excerpt}", $matches[0]) ) {
1631
+ $string = str_replace( "{excerpt}", htmlentities($data['summary'], ENT_QUOTES), $string );
1632
+ }
1633
+
1634
+ if ( in_array("{summary}", $matches[0]) ) {
1635
+ $string = str_replace( "{summary}", htmlentities($data['summary'], ENT_QUOTES), $string );
1636
+ }
1637
+
1638
+ if ( in_array("{image}", $matches[0]) ) {
1639
+ $string = str_replace( "{image}", $data['img'], $string );
1640
+ }
1641
+
1642
+ if ( in_array("{thumb}", $matches[0]) ) {
1643
+ $string = str_replace( "{thumb}", $data['img'], $string );
1644
+ }
1645
+
1646
+ // WP-PostRatings check
1647
+ if ($rating && $this->postRating) {
1648
+ if ( in_array("{rating}", $matches[0]) ) {
1649
+ $string = str_replace( "{rating}", the_ratings_results($data['id']), $string );
1650
+ }
1651
+
1652
+ if ( in_array("{score}", $matches[0]) ) {
1653
+ $string = str_replace( "{score}", expand_ratings_template('%RATINGS_SCORE%', $data['id']), $string);
1654
+ // removing the redundant plus sign
1655
+ $string = str_replace('+', '', $string);
1656
+ }
1657
+ }
1658
+
1659
+ if ( in_array("{url}", $matches[0]) ) {
1660
+ $string = str_replace( "{url}", $data['url'], $string );
1661
+ }
1662
+
1663
+ if ( in_array("{text_title}", $matches[0]) ) {
1664
+ $string = str_replace( "{text_title}", $data['text_title'], $string );
1665
+ }
1666
+
1667
+ if ( in_array("{author}", $matches[0]) ) {
1668
+ $string = str_replace( "{author}", $data['author'], $string );
1669
+ }
1670
+
1671
+ if ( in_array("{category}", $matches[0]) ) {
1672
+ $string = str_replace( "{category}", $data['category'], $string );
1673
+ }
1674
+
1675
+ if ( in_array("{views}", $matches[0]) ) {
1676
+ $string = str_replace( "{views}", $data['views'], $string );
1677
+ }
1678
+
1679
+ if ( in_array("{comments}", $matches[0]) ) {
1680
+ $string = str_replace( "{comments}", $data['comments'], $string );
1681
+ }
1682
+
1683
+ return html_entity_decode( $string );
1684
+ }
1685
+
1686
+ // code seen at http://www.gsdesign.ro/blog/cut-html-string-without-breaking-the-tags/
1687
+ // Since 2.0.1
1688
+ /**
1689
+ * Truncates text.
1690
+ *
1691
+ * Cuts a string to the length of $length and replaces the last characters
1692
+ * with the ending if the text is longer than length.
1693
+ *
1694
+ * @param string $text String to truncate.
1695
+ * @param integer $length Length of returned string, including ellipsis.
1696
+ * @param string $ending Ending to be appended to the trimmed string.
1697
+ * @param boolean $exact If false, $text will not be cut mid-word
1698
+ * @param boolean $considerHtml If true, HTML tags would be handled correctly
1699
+ * @return string Trimmed string.
1700
+ */
1701
+ function truncate($text, $length = 100, $ending = '...', $exact = true, $considerHtml = false) {
1702
+ if ($considerHtml) {
1703
+ // if the plain text is shorter than the maximum length, return the whole text
1704
+ if (strlen(preg_replace('/<.*?>/', '', $text)) <= $length) {
1705
+ return $text;
1706
+ }
1707
+ // splits all html-tags to scanable lines
1708
+ preg_match_all('/(<.+?>)?([^<>]*)/s', $text, $lines, PREG_SET_ORDER);
1709
+ $total_length = strlen($ending);
1710
+ $open_tags = array();
1711
+ $truncate = '';
1712
+ foreach ($lines as $line_matchings) {
1713
+ // if there is any html-tag in this line, handle it and add it (uncounted) to the output
1714
+ if (!empty($line_matchings[1])) {
1715
+ // if it's an "empty element" with or without xhtml-conform closing slash (f.e. <br/>)
1716
+ if (preg_match('/^<(\s*.+?\/\s*|\s*(img|br|input|hr|area|base|basefont|col|frame|isindex|link|meta|param)(\s.+?)?)>$/is', $line_matchings[1])) {
1717
+ // do nothing
1718
+ // if tag is a closing tag (f.e. </b>)
1719
+ } else if (preg_match('/^<\s*\/([^\s]+?)\s*>$/s', $line_matchings[1], $tag_matchings)) {
1720
+ // delete tag from $open_tags list
1721
+ $pos = array_search($tag_matchings[1], $open_tags);
1722
+ if ($pos !== false) {
1723
+ unset($open_tags[$pos]);
1724
+ }
1725
+ // if tag is an opening tag (f.e. <b>)
1726
+ } else if (preg_match('/^<\s*([^\s>!]+).*?>$/s', $line_matchings[1], $tag_matchings)) {
1727
+ // add tag to the beginning of $open_tags list
1728
+ array_unshift($open_tags, strtolower($tag_matchings[1]));
1729
+ }
1730
+ // add html-tag to $truncate'd text
1731
+ $truncate .= $line_matchings[1];
1732
+ }
1733
+ // calculate the length of the plain text part of the line; handle entities as one character
1734
+ $content_length = strlen(preg_replace('/&[0-9a-z]{2,8};|&#[0-9]{1,7};|&#x[0-9a-f]{1,6};/i', ' ', $line_matchings[2]));
1735
+ if ($total_length+$content_length> $length) {
1736
+ // the number of characters which are left
1737
+ $left = $length - $total_length;
1738
+ $entities_length = 0;
1739
+ // search for html entities
1740
+ if (preg_match_all('/&[0-9a-z]{2,8};|&#[0-9]{1,7};|&#x[0-9a-f]{1,6};/i', $line_matchings[2], $entities, PREG_OFFSET_CAPTURE)) {
1741
+ // calculate the real length of all entities in the legal range
1742
+ foreach ($entities[0] as $entity) {
1743
+ if ($entity[1]+1-$entities_length <= $left) {
1744
+ $left--;
1745
+ $entities_length += strlen($entity[0]);
1746
+ } else {
1747
+ // no more characters left
1748
+ break;
1749
+ }
1750
+ }
1751
+ }
1752
+ //$truncate .= substr($line_matchings[2], 0, $left+$entities_length);
1753
+ $truncate .= mb_substr($line_matchings[2], 0, $left+$entities_length);
1754
+ // maximum length is reached, so get off the loop
1755
+ break;
1756
+ } else {
1757
+ $truncate .= $line_matchings[2];
1758
+ $total_length += $content_length;
1759
+ }
1760
+ // if the maximum length is reached, get off the loop
1761
+ if($total_length>= $length) {
1762
+ break;
1763
+ }
1764
+ }
1765
+ } else {
1766
+ if (strlen($text) <= $length) {
1767
+ return $text;
1768
+ } else {
1769
+ //$truncate = substr($text, 0, $length - strlen($ending));
1770
+ $truncate = mb_substr($text, 0, $length - strlen($ending));
1771
+ }
1772
+ }
1773
+ // if the words shouldn't be cut in the middle...
1774
+ if (!$exact) {
1775
+ // ...search the last occurance of a space...
1776
+ $spacepos = strrpos($truncate, ' ');
1777
+ if (isset($spacepos)) {
1778
+ // ...and cut the text in this position
1779
+ //$truncate = substr($truncate, 0, $spacepos);
1780
+ $truncate = mb_substr($truncate, 0, $spacepos);
1781
+ }
1782
+ }
1783
+ // add the defined ending to the text
1784
+ $truncate .= $ending;
1785
+ if($considerHtml) {
1786
+ // close all unclosed html-tags
1787
+ foreach ($open_tags as $tag) {
1788
+ $truncate .= '</' . $tag . '>';
1789
+ }
1790
+ }
1791
+ return $truncate;
1792
+ }
1793
+
1794
+ /**
1795
+ * Loads translations
1796
+ * Since 2.0.0
1797
+ */
1798
+ function wpp_textdomain() {
1799
+ load_plugin_textdomain( 'wordpress-popular-posts', false, dirname(plugin_basename( __FILE__ )) . '/lang/' );
1800
+ }
1801
+
1802
+ /**
1803
+ * Loads WPP stylesheet into wp_head()
1804
+ * Since 2.0.0
1805
+ */
1806
+ function wpp_print_stylesheet() {
1807
+
1808
+ $css_path = NULL;
1809
+
1810
+ if ( !is_admin() ) {
1811
+
1812
+ $theme_file = get_stylesheet_directory() . '/wpp.css';
1813
+ $plugin_file = plugin_dir_path(__FILE__) . 'style/wpp.css';
1814
+
1815
+ if ( @file_exists($theme_file) ) { // user stored a custom wpp.css on theme's directory, so use it
1816
+ $css_path = get_stylesheet_directory_uri() . "/wpp.css";
1817
+ } elseif ( @file_exists($plugin_file) ) { // no custom wpp.css, use plugin's instead
1818
+ $css_path = $this->pluginDir . 'style/wpp.css';
1819
+ }
1820
+
1821
+ if ( $css_path )
1822
+ wp_enqueue_style('wordpress-popular-posts', $css_path, false, $this->version);
1823
+
1824
+ }
1825
+ }
1826
+
1827
+ /**
1828
+ * WPP Admin page
1829
+ * Since 2.3.0
1830
+ */
1831
+ function wpp_admin() {
1832
+ require (dirname(__FILE__) . '/admin.php');
1833
+ }
1834
+ function add_wpp_admin() {
1835
+ add_options_page('Wordpress Popular Posts', 'Wordpress Popular Posts', 'manage_options', 'wpp_admin', array(&$this, 'wpp_admin'));
1836
+ }
1837
+ /**
1838
+ * Upload scripts for the admin section
1839
+ * Since 2.3.4
1840
+ */
1841
+ function wpp_admin_enqueue_scripts() {
1842
+
1843
+ wp_register_script( 'wpp-upload', $this->pluginDir . 'js/wpp-upload.js', array('jquery','media-upload','thickbox'), $this->version );
1844
+
1845
+ if ( get_current_screen()->id == 'settings_page_wpp_admin' ) {
1846
+
1847
+ wp_enqueue_script('jquery');
1848
+ wp_enqueue_script('thickbox');
1849
+ wp_enqueue_style('thickbox');
1850
+ wp_enqueue_script('media-upload');
1851
+ wp_enqueue_script('wpp-upload');
1852
+
1853
+ }
1854
+
1855
+ }
1856
+ function wpp_tb_setup() {
1857
+
1858
+ global $pagenow;
1859
+ if ( 'media-upload.php' == $pagenow || 'async-upload.php' == $pagenow ) {
1860
+ add_filter( 'gettext', array(&$this, 'replace_thickbox_text'), 1, 3 );
1861
+ }
1862
+
1863
+ }
1864
+ function replace_thickbox_text($translated_text, $text, $domain) {
1865
+
1866
+ if ('Insert into Post' == $text) {
1867
+ $referer = strpos( wp_get_referer(), 'wpp_admin' );
1868
+ if ( $referer != '' ) {
1869
+ return __('Upload', 'wordpress-popular-posts' );
1870
+ }
1871
+ }
1872
+
1873
+ return $translated_text;
1874
+ }
1875
+
1876
+ /**
1877
+ * WPP Update warning - lets the user know that the current WP version is too old
1878
+ * Since 2.0.0
1879
+ */
1880
+ function wpp_update_warning() {
1881
+ $msg = '<div id="wpp-message" class="error fade"><p>'.__('Your Wordpress version is too old. Wordpress Popular Posts Plugin requires at least version 3.3 to function correctly. Please update your blog via Tools &gt; Upgrade.', 'wordpress-popular-posts').'</p></div>';
1882
+ echo trim($msg);
1883
+ }
1884
+
1885
+ /**
1886
+ * PHP Update warning - lets the user know that the PHP version is too old
1887
+ * Since 2.3.3
1888
+ */
1889
+ function php_update_warning() {
1890
+ $msg = '<div id="wpp-php-message" class="error fade"><p>'.__('Your PHP installation is too old. Wordpress Popular Posts Plugin requires at least PHP v5.2.0 to function correctly. Please contact your hosting provider and ask them to upgrade PHP to 5.2.x or higher.', 'wordpress-popular-posts').'</p></div>';
1891
+ echo trim($msg);
1892
+ }
1893
+
1894
+ /**
1895
+ * WPP cache maintenance
1896
+ * Since 2.0.0
1897
+ */
1898
+ function wpp_cache_maintenance() {
1899
+ global $wpdb;
1900
+
1901
+ // delete posts that have not been seen in the past 30 days
1902
+ $wpdb->query( "DELETE FROM ".$wpdb->prefix."popularpostsdatacache WHERE day < DATE_SUB('".$this->curdate()."', INTERVAL 30 DAY);" );
1903
+
1904
+ // delete posts that have been deleted or trashed - added on ver 2.3.3
1905
+ $wpdb->query( "DELETE FROM {$wpdb->prefix}popularpostsdata WHERE postid IN (SELECT c.id FROM (SELECT id FROM {$wpdb->prefix}popularpostsdatacache GROUP BY id) c LEFT JOIN {$wpdb->posts} p ON c.id = p.ID WHERE p.ID IS NULL OR p.post_status = 'trash');" );
1906
+ $wpdb->query( "DELETE FROM {$wpdb->prefix}popularpostsdatacache WHERE id IN (SELECT c.id FROM (SELECT id FROM {$wpdb->prefix}popularpostsdatacache GROUP BY id) c LEFT JOIN {$wpdb->posts} p ON c.id = p.ID WHERE p.ID IS NULL OR p.post_status = 'trash');" );
1907
+
1908
+ }
1909
+
1910
+ /**
1911
+ * WPP plugin deactivation
1912
+ * Since 2.0.0
1913
+ */
1914
+ function wpp_deactivation() {
1915
+ wp_clear_scheduled_hook('wpp_cache_event');
1916
+ remove_shortcode('wpp');
1917
+ remove_shortcode('WPP');
1918
+ }
1919
+
1920
+ /**
1921
+ * WPP shortcode handler
1922
+ * Since 2.0.0
1923
+ */
1924
+ function wpp_shortcode($atts = NULL, $content = NULL) {
1925
+
1926
+ extract( shortcode_atts( array(
1927
+ 'header' => '',
1928
+ 'limit' => 10,
1929
+ 'range' => 'daily',
1930
+ 'order_by' => 'views',
1931
+ 'post_type' => 'post,page',
1932
+ 'pid' => '',
1933
+ 'cat' => '',
1934
+ 'author' => '',
1935
+ 'title_length' => 0,
1936
+ 'title_by_words' => 0,
1937
+ 'excerpt_length' => 0,
1938
+ 'excerpt_format' => 0,
1939
+ 'excerpt_by_words' => 0,
1940
+ 'thumbnail_width' => 0,
1941
+ 'thumbnail_height' => 0,
1942
+ 'thumbnail_selection' => 'wppgenerated',
1943
+ 'rating' => false,
1944
+ 'stats_comments' => true,
1945
+ 'stats_views' => false,
1946
+ 'stats_author' => false,
1947
+ 'stats_date' => false,
1948
+ 'stats_date_format' => 'F j, Y',
1949
+ 'stats_category' => false,
1950
+ 'wpp_start' => '<ul class="wpp-list">',
1951
+ 'wpp_end' => '</ul>',
1952
+ 'post_html' => '',
1953
+ 'post_start' => '<li>',
1954
+ 'post_end' => '</li>',
1955
+ 'header_start' => '<h2>',
1956
+ 'header_end' => '</h2>',
1957
+ 'do_pattern' => false,
1958
+ 'pattern_form' => '{thumb} {title}: {summary} {stats}'
1959
+ ), $atts ) );
1960
+
1961
+ // possible values for "Time Range" and "Order by"
1962
+ $range_values = array("yesterday", "daily", "weekly", "monthly", "all");
1963
+ $order_by_values = array("comments", "views", "avg");
1964
+ $thumbnail_selector = array("wppgenerated", "usergenerated");
1965
+
1966
+ $shortcode_ops = array(
1967
+ 'title' => strip_tags($header),
1968
+ 'limit' => empty($limit) ? 10 : (is_numeric($limit)) ? (($limit > 0) ? $limit : 10) : 10,
1969
+ 'range' => (in_array($range, $range_values)) ? $range : 'daily',
1970
+ 'order_by' => (in_array($order_by, $order_by_values)) ? $order_by : 'views',
1971
+ 'post_type' => empty($post_type) ? 'post,page' : $post_type,
1972
+ 'pid' => preg_replace( '|[^0-9,]|', '', $pid ),
1973
+ 'cat' => preg_replace( '|[^0-9,-]|', '', $cat ),
1974
+ 'author' => preg_replace( '|[^0-9,]|', '', $author ),
1975
+ 'shorten_title' => array(
1976
+ 'active' => empty($title_length) ? false : (is_numeric($title_length)) ? (($title_length > 0) ? true : false) : false,
1977
+ 'length' => empty($title_length) ? 0 : (is_numeric($title_length)) ? $title_length : 0,
1978
+ 'words' => empty($title_by_words) ? false : (is_numeric($title_by_words) && $title_by_words > 0) ? true : false
1979
+ ),
1980
+ 'post-excerpt' => array(
1981
+ 'active' => empty($excerpt_length) ? false : (is_numeric($excerpt_length)) ? (($excerpt_length > 0) ? true : false) : false,
1982
+ 'length' => empty($excerpt_length) ? 0 : (is_numeric($excerpt_length)) ? $excerpt_length : 0,
1983
+ 'keep_format' => empty($excerpt_format) ? false : (is_numeric($excerpt_format)) ? (($excerpt_format > 0) ? true : false) : false,
1984
+ 'words' => empty($excerpt_by_words) ? false : (is_numeric($excerpt_by_words) && $excerpt_by_words > 0) ? true : false,
1985
+ ),
1986
+ 'thumbnail' => array(
1987
+ 'active' => empty($thumbnail_width) ? false : (is_numeric($thumbnail_width)) ? (($thumbnail_width > 0) ? true : false) : false,
1988
+ 'width' => empty($thumbnail_width) ? 0 : (is_numeric($thumbnail_width)) ? $thumbnail_width : 0,
1989
+ 'height' => empty($thumbnail_height) ? 0 : (is_numeric($thumbnail_height)) ? $thumbnail_height : 0
1990
+ ),
1991
+ 'rating' => empty($rating) || $rating = "false" ? false : true,
1992
+ 'stats_tag' => array(
1993
+ 'comment_count' => empty($stats_comments) ? false : $stats_comments,
1994
+ 'views' => empty($stats_views) ? false : $stats_views,
1995
+ 'author' => empty($stats_author) ? false : $stats_author,
1996
+ 'date' => array(
1997
+ 'active' => empty($stats_date) ? false : $stats_date,
1998
+ 'format' => empty($stats_date_format) ? 'F j, Y' : $stats_date_format
1999
+ ),
2000
+ 'category' => empty($stats_category) ? false : $stats_category,
2001
+ ),
2002
+ 'markup' => array(
2003
+ 'custom_html' => true,
2004
+ 'wpp-start' => empty($wpp_start) ? '&lt;ul class="wpp-list"&gt;' : $wpp_start,
2005
+ 'wpp-end' => empty($wpp_end) ? '&lt;/ul&gt;' : $wpp_end,
2006
+ 'post-html' => empty($post_html) ? '&lt;li&gt;{thumb} {title} {stats}&lt;/li&gt;' : $post_html,
2007
+ 'post-start' => empty($post_start) ? '&lt;li&gt;' : $post_start,
2008
+ 'post-end' => empty($post_end) ? '&lt;/li&gt;' : $post_end,
2009
+ 'title-start' => empty($header_start) ? '' : $header_start,
2010
+ 'title-end' => empty($header_end) ? '' : $header_end
2011
+ )
2012
+ );
2013
+
2014
+ /*echo "<pre>"; print_r( $shortcode_ops ); echo "</pre>";*/
2015
+
2016
+ $shortcode_content = "<!-- Wordpress Popular Posts Plugin v". $this->version ." [SC] [".$shortcode_ops['range']."] [".$shortcode_ops['order_by']."]". (($shortcode_ops['markup']['custom_html']) ? ' [custom]' : ' [regular]') ." -->"."\n";
2017
+
2018
+ // is there a title defined by user?
2019
+ if (!empty($header) && !empty($header_start) && !empty($header_end)) {
2020
+ $shortcode_content .= $header_start . apply_filters('widget_title', $header) . $header_end;
2021
+ }
2022
+
2023
+ // print popular posts list
2024
+ $shortcode_content .= $this->get_popular_posts($shortcode_ops);
2025
+ $shortcode_content .= "<!-- End Wordpress Popular Posts Plugin v". $this->version ." -->"."\n";
2026
+
2027
+ return $shortcode_content;
2028
+ }
2029
+
2030
+ /**
2031
+ * WPP action links
2032
+ * Since 2.3.3
2033
+ */
2034
+ function wpp_action_links( $links, $file ){
2035
+ static $this_plugin;
2036
+
2037
+ if (!$this_plugin) {
2038
+ $this_plugin = plugin_basename(__FILE__);
2039
+ }
2040
+
2041
+ if ($file == $this_plugin) {
2042
+ $settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/options-general.php?page=wpp_admin">Settings</a>';
2043
+ array_unshift($links, $settings_link);
2044
+ }
2045
+
2046
+ return $links;
2047
+ }
2048
+
2049
+ /**
2050
+ * Sorter
2051
+ * Since 2.3.0
2052
+ */
2053
+ function sorter($a, $b) {
2054
+ if ($a > 0 && $b > 0) {
2055
+ return $a - $b;
2056
+ } else {
2057
+ return $b - $a;
2058
+ }
2059
+ }
2060
+
2061
+ /**
2062
+ * Merges two associative arrays recursively
2063
+ * Source: http://www.php.net/manual/en/function.array-merge-recursive.php#92195
2064
+ * Since 2.3.4
2065
+ */
2066
+ function array_merge_recursive_distinct( array &$array1, array &$array2 ) {
2067
+ $merged = $array1;
2068
+
2069
+ foreach ( $array2 as $key => &$value ) {
2070
+ if ( is_array( $value ) && isset ( $merged[$key] ) && is_array( $merged[$key] ) ) {
2071
+ $merged[$key] = $this->array_merge_recursive_distinct ( $merged[$key], $value );
2072
+ } else {
2073
+ $merged[$key] = $value;
2074
+ }
2075
+ }
2076
+
2077
+ return $merged;
2078
+ }
2079
+
2080
+ }
2081
+
2082
+ // create tables
2083
+ register_activation_hook(__FILE__ , array('WordPressPopularPosts', 'wpp_install'));
2084
+ }
2085
+
2086
+ /**
2087
+ * Wordpress Popular Posts template tags for use in themes.
2088
+ */
2089
+
2090
+ /**
2091
+ * Template tag - gets views count
2092
+ * $id (int) - post / page ID
2093
+ * $range (string) - time frame
2094
+ * Since 2.0.3.
2095
+ */
2096
+ function wpp_get_views($id = NULL, $range = NULL) {
2097
+ // have we got an id?
2098
+ if ( empty($id) || is_null($id) || !is_numeric($id) ) {
2099
+ return "-1";
2100
+ } else {
2101
+ global $wpdb;
2102
+
2103
+ $table_name = $wpdb->prefix . "popularpostsdata";
2104
+ $query = "SELECT pageviews, last_viewed AS day FROM {$table_name} WHERE postid = '{$id}'";
2105
+
2106
+ if ( $range ) {
2107
+
2108
+ $interval = "";
2109
+
2110
+ switch( $range ){
2111
+ case "yesterday":
2112
+ $interval = "1 DAY";
2113
+ break;
2114
+
2115
+ case "daily":
2116
+ $interval = "1 DAY";
2117
+ break;
2118
+
2119
+ case "weekly":
2120
+ $interval = "1 WEEK";
2121
+ break;
2122
+
2123
+ case "monthly":
2124
+ $interval = "1 MONTH";
2125
+ break;
2126
+
2127
+ default:
2128
+ $interval = "1 DAY";
2129
+ break;
2130
+ }
2131
+
2132
+ $now = current_time('mysql');
2133
+
2134
+ $query = "SELECT SUM(pageviews) AS pageviews, MAX(day) AS day FROM {$table_name}cache WHERE id = '{$id}' AND day > DATE_SUB('{$now}', INTERVAL {$interval}) LIMIT 1;";
2135
+ }
2136
+
2137
+ $result = $wpdb->get_results($query, ARRAY_A);
2138
+
2139
+ if ( !is_array($result) || empty($result) || empty($result[0]['pageviews']) ) {
2140
+ return "0";
2141
+ } else {
2142
+ return number_format( $result[0]['pageviews'] );
2143
+ }
2144
+ }
2145
+ }
2146
+
2147
+ /**
2148
+ * Template tag - gets popular posts
2149
+ * Since 2.0.3.
2150
+ */
2151
+ function wpp_get_mostpopular($args = NULL) {
2152
+
2153
+ $shortcode = '[wpp';
2154
+
2155
+ if ( is_null( $args ) ) {
2156
+ $shortcode .= ']';
2157
+ } else {
2158
+ if( is_array( $args ) ){
2159
+ $atts = '';
2160
+ foreach( $args as $key => $arg ){
2161
+ $atts .= ' ' . $key . '="' . $arg . '"';
2162
+ }
2163
+ } else {
2164
+ $atts = trim( str_replace( "&", " ", $args ) );
2165
+ }
2166
+
2167
+ $shortcode .= ' ' . $atts . ']';
2168
+ }
2169
+
2170
+ echo do_shortcode( $shortcode );
2171
+ }
2172
+
2173
+ /**
2174
+ * Template tag - gets popular posts
2175
+ * Deprecated in 2.0.3.
2176
+ * Use wpp_get_mostpopular instead.
2177
+ */
2178
+ function get_mostpopular($args = NULL) {
2179
+ return wpp_get_mostpopular($args);
2180
+ }
2181
+
2182
+
2183
+ /**
2184
+ * Wordpress Popular Posts 2.3.6 Changelog.
2185
+ */
2186
+
2187
+ /*
2188
+ = 2.3.6 =
2189
+ * Added wpp_html filter to allow total control of the HTML output.
2190
+ * Added sanitization for external thumbnail filenames to avoid weird characters.
2191
+ * Updated thumbnail feature to handle external images.
2192
+ * Removed unnecesary wpp-thumbnail class from link tag, the image already has it.
2193
+ * Added wpp-list class to the UL tag, this should help style the popular list better.
2194
+ * Updated wpp.css with text floating next to thumbnails - this sets a predefined style for the plugin for the first time.
2195
+ * Added plugin version to wp_enqueue_* calls.
2196
+ * Fixed typo in wpp_update_warning. From v2.3.3, minimun Wordpress version required is 3.3.
2197
+ */