Top 10 – Popular posts plugin for WordPress - Version 2.8.0

Version Description

Release post: https://wzn.io/34VvWMe

  • Features:
    • Custom feed for popular posts: Find new options under a new tab called Feed in the settings page where you can set the URL for the overall and daily feeds
    • New page in the network admin menu to view the popular posts across the network
    • Also delete transients and other settings on uninstall
Download this release

Release Info

Developer Ajay
Plugin Icon 128x128 Top 10 – Popular posts plugin for WordPress
Version 2.8.0
Comparing to
See all releases

Code changes from version 2.7.0 to 2.8.0

README.md CHANGED
@@ -5,9 +5,9 @@
5
  [![WordPress Tested](https://img.shields.io/wordpress/v/top-10.svg?style=flat-square)](https://wordpress.org/plugins/top-10/)
6
  [![Build Status](https://travis-ci.org/WebberZone/top-10.svg?branch=master)](https://travis-ci.org/WebberZone/top-10)
7
 
8
- __Requires:__ 4.7
9
 
10
- __Tested up to:__ 5.2
11
 
12
  __License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
13
 
5
  [![WordPress Tested](https://img.shields.io/wordpress/v/top-10.svg?style=flat-square)](https://wordpress.org/plugins/top-10/)
6
  [![Build Status](https://travis-ci.org/WebberZone/top-10.svg?branch=master)](https://travis-ci.org/WebberZone/top-10)
7
 
8
+ __Requires:__ 4.8
9
 
10
+ __Tested up to:__ 5.3
11
 
12
  __License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
13
 
includes/admin/admin.php CHANGED
@@ -64,7 +64,7 @@ add_action( 'admin_menu', 'tptn_add_admin_pages_links' );
64
  * @return void
65
  */
66
  function tptn_adminhead() {
67
- global $tptn_settings_page, $tptn_settings_tools_help, $tptn_settings_popular_posts, $tptn_settings_popular_posts_daily;
68
 
69
  wp_enqueue_script( 'jquery' );
70
  wp_enqueue_script( 'jquery-ui-autocomplete' );
@@ -75,7 +75,7 @@ function tptn_adminhead() {
75
 
76
  $screen = get_current_screen();
77
 
78
- if ( $screen->id === $tptn_settings_popular_posts || $screen->id === $tptn_settings_popular_posts_daily ) {
79
  wp_enqueue_style(
80
  'tptn-admin-ui-css',
81
  plugins_url( 'includes/admin/css/top-10-admin.min.css', TOP_TEN_PLUGIN_FILE ),
@@ -398,3 +398,20 @@ function tptn_plugin_actions( $links, $file ) {
398
  add_filter( 'plugin_row_meta', 'tptn_plugin_actions', 10, 2 );
399
 
400
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  * @return void
65
  */
66
  function tptn_adminhead() {
67
+ global $tptn_settings_popular_posts, $tptn_settings_popular_posts_daily, $tptn_network_pop_posts_page;
68
 
69
  wp_enqueue_script( 'jquery' );
70
  wp_enqueue_script( 'jquery-ui-autocomplete' );
75
 
76
  $screen = get_current_screen();
77
 
78
+ if ( $screen->id === $tptn_settings_popular_posts || $screen->id === $tptn_settings_popular_posts_daily || $screen->id === $tptn_network_pop_posts_page . '-network' ) {
79
  wp_enqueue_style(
80
  'tptn-admin-ui-css',
81
  plugins_url( 'includes/admin/css/top-10-admin.min.css', TOP_TEN_PLUGIN_FILE ),
398
  add_filter( 'plugin_row_meta', 'tptn_plugin_actions', 10, 2 );
399
 
400
 
401
+ /**
402
+ * Add a menu entry to the Network Admin
403
+ *
404
+ * @since 2.8.0
405
+ */
406
+ function tptn_network_admin_menu_links() {
407
+ global $tptn_network_pop_posts_page;
408
+
409
+ // Initialise Top 10 Statistics pages.
410
+ $tptn_stats_screen = new Top_Ten_Network_Statistics();
411
+
412
+ $tptn_network_pop_posts_page = add_menu_page( esc_html__( 'Top 10 - Network Popular Posts', 'top-10' ), esc_html__( 'Top 10', 'top-10' ), 'manage_network_options', 'tptn_network_pop_posts_page', array( $tptn_stats_screen, 'plugin_settings_page' ), 'dashicons-editor-ol' );
413
+ add_action( "load-$tptn_network_pop_posts_page", array( $tptn_stats_screen, 'screen_option' ) );
414
+ add_action( 'admin_head-' . $tptn_network_pop_posts_page, 'tptn_adminhead' );
415
+
416
+ }
417
+ add_action( 'network_admin_menu', 'tptn_network_admin_menu_links' );
includes/admin/class-top-ten-network-statistics-table.php ADDED
@@ -0,0 +1,426 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Top 10 Display Network statistics table.
4
+ *
5
+ * @package Top_Ten
6
+ * @subpackage Top_Ten_Network_Statistics_Table
7
+ * @author Ajay D'Souza <me@ajaydsouza.com>
8
+ * @license GPL-2.0+
9
+ * @link https://webberzone.com
10
+ * @copyright 2008-2019 Ajay D'Souza
11
+ */
12
+
13
+ /**** If this file is called directly, abort. ****/
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+
19
+ if ( ! class_exists( 'WP_List_Table' ) ) {
20
+ require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
21
+ }
22
+
23
+ /**
24
+ * Top_Ten_Network_Table class.
25
+ *
26
+ * @extends WP_List_Table
27
+ */
28
+ class Top_Ten_Network_Statistics_Table extends WP_List_Table {
29
+
30
+ /**
31
+ * Class constructor.
32
+ */
33
+ public function __construct() {
34
+ parent::__construct(
35
+ array(
36
+ 'singular' => __( 'popular_post', 'top-10' ), // Singular name of the listed records.
37
+ 'plural' => __( 'popular_posts', 'top-10' ), // plural name of the listed records.
38
+ )
39
+ );
40
+ }
41
+
42
+ /**
43
+ * Retrieve the Top 10 posts
44
+ *
45
+ * @param int $per_page Posts per page.
46
+ * @param int $page_number Page number.
47
+ * @param array $args Array of arguments.
48
+ *
49
+ * @return array Array of popular posts
50
+ */
51
+ public function get_popular_posts( $per_page = 20, $page_number = 1, $args = null ) {
52
+
53
+ global $wpdb;
54
+
55
+ // Initialise some variables.
56
+ $fields = array();
57
+ $where = '';
58
+ $join = '';
59
+ $groupby = '';
60
+ $orderby = '';
61
+ $limits = '';
62
+ $sql = '';
63
+
64
+ $from_date = tptn_get_from_date( $args['post-date-filter-from'], 1, 0 );
65
+ $to_date = tptn_get_from_date( $args['post-date-filter-to'], 1, 0 );
66
+
67
+ /* Start creating the SQL */
68
+ $table_name_daily = $wpdb->base_prefix . 'top_ten_daily AS ttd';
69
+ $table_name = $wpdb->base_prefix . 'top_ten AS ttt';
70
+
71
+ // Fields to return.
72
+ $fields[] = 'ttt.postnumber as ID';
73
+ $fields[] = 'ttt.cntaccess as total_count';
74
+ $fields[] = 'SUM(ttd.cntaccess) as daily_count';
75
+ $fields[] = 'ttt.blog_id as blog_id';
76
+
77
+ $fields = implode( ', ', $fields );
78
+
79
+ // Create the JOIN clause.
80
+ $join = $wpdb->prepare(
81
+ " LEFT JOIN (
82
+ SELECT * FROM {$table_name_daily} " . // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
83
+ 'WHERE DATE(ttd.dp_date) >= DATE(%s) AND DATE(ttd.dp_date) <= DATE(%s)
84
+ ) AS ttd
85
+ ON ttt.postnumber=ttd.postnumber
86
+ ',
87
+ $from_date,
88
+ $to_date
89
+ );
90
+
91
+ // Create the base GROUP BY clause.
92
+ $groupby = ' ID, blog_id ';
93
+
94
+ // Create the base ORDER BY clause.
95
+ $orderby = ' total_count DESC ';
96
+
97
+ if ( ! empty( $_REQUEST['orderby'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
98
+ $orderby = sanitize_text_field( wp_unslash( $_REQUEST['orderby'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
99
+
100
+ if ( ! in_array( $orderby, array( 'daily_count', 'total_count' ) ) ) { //phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
101
+ $orderby = ' total_count ';
102
+ }
103
+
104
+ if ( ! empty( $_REQUEST['order'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
105
+ $order = sanitize_text_field( wp_unslash( $_REQUEST['order'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
106
+
107
+ if ( in_array( $order, array( 'asc', 'ASC', 'desc', 'DESC' ) ) ) { //phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
108
+ $orderby .= ' ' . $order;
109
+ } else {
110
+ $orderby .= ' DESC';
111
+ }
112
+ }
113
+ }
114
+
115
+ // Create the base LIMITS clause.
116
+ $limits = $wpdb->prepare( ' LIMIT %d, %d ', ( $page_number - 1 ) * $per_page, $per_page );
117
+
118
+ if ( ! empty( $groupby ) ) {
119
+ $groupby = " GROUP BY {$groupby} ";
120
+ }
121
+ if ( ! empty( $orderby ) ) {
122
+ $orderby = " ORDER BY {$orderby} ";
123
+ }
124
+
125
+ $sql = "SELECT $fields FROM {$table_name} $join WHERE 1=1 $where $groupby $orderby $limits";
126
+
127
+ $result = $wpdb->get_results( $sql, 'ARRAY_A' ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.PreparedSQL.NotPrepared
128
+
129
+ return $result;
130
+
131
+ }
132
+
133
+
134
+ /**
135
+ * Delete the post count for this post.
136
+ *
137
+ * @param int $id post ID.
138
+ */
139
+ public static function delete_post_count( $id ) {
140
+ global $wpdb;
141
+
142
+ $wpdb->delete( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
143
+ "{$wpdb->base_prefix}top_ten",
144
+ array(
145
+ 'postnumber' => $id,
146
+ ),
147
+ array( '%d' )
148
+ );
149
+ $wpdb->delete( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
150
+ "{$wpdb->base_prefix}top_ten_daily",
151
+ array(
152
+ 'postnumber' => $id,
153
+ ),
154
+ array( '%d' )
155
+ );
156
+ }
157
+
158
+ /**
159
+ * Returns the count of records in the database.
160
+ *
161
+ * @param string $args Array of arguments.
162
+ * @return null|string null|string
163
+ */
164
+ public function record_count( $args = null ) {
165
+
166
+ global $wpdb;
167
+
168
+ $sql = $wpdb->prepare(
169
+ "
170
+ SELECT COUNT(*) FROM {$wpdb->base_prefix}top_ten as ttt
171
+ INNER JOIN {$wpdb->posts} ON ttt.postnumber=ID
172
+ WHERE blog_id=%d
173
+ AND ($wpdb->posts.post_status = 'publish' OR $wpdb->posts.post_status = 'inherit')
174
+ ",
175
+ get_current_blog_id()
176
+ );
177
+
178
+ return $wpdb->get_var( $sql ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.PreparedSQL.NotPrepared
179
+ }
180
+
181
+ /**
182
+ * Text displayed when no post data is available
183
+ */
184
+ public function no_items() {
185
+ esc_html_e( 'No popular posts available.', 'top-10' );
186
+ }
187
+
188
+
189
+ /**
190
+ * Render a column when no column specific method exist.
191
+ *
192
+ * @param array $item Current item.
193
+ * @param string $column_name Column name.
194
+ *
195
+ * @return mixed
196
+ */
197
+ public function column_default( $item, $column_name ) {
198
+ switch ( $column_name ) {
199
+ case 'total_count':
200
+ case 'daily_count':
201
+ return tptn_number_format_i18n( absint( $item[ $column_name ] ) );
202
+ default:
203
+ // Show the whole array for troubleshooting purposes.
204
+ return print_r( $item, true ); //phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_print_r
205
+ }
206
+ }
207
+
208
+ /**
209
+ * Render the checkbox column.
210
+ *
211
+ * @param array $item Current item.
212
+ * @return string
213
+ */
214
+ public function column_cb( $item ) {
215
+ return sprintf(
216
+ '<input type="checkbox" name="%1$s[]" value="%2$s" />',
217
+ 'bulk-delete',
218
+ $item['ID']
219
+ );
220
+ }
221
+
222
+ /**
223
+ * Render the title column.
224
+ *
225
+ * @param array $item Current item.
226
+ * @return string
227
+ */
228
+ public function column_title( $item ) {
229
+
230
+ $blog_post = get_blog_post( $item['blog_id'], $item['ID'] );
231
+
232
+ // Return the title contents.
233
+ return sprintf(
234
+ '<a href="%3$s" target="_blank">%1$s</a> <span style="color:silver">(id:%2$s)</span>',
235
+ $blog_post->post_title,
236
+ $item['ID'],
237
+ get_blog_permalink( $item['blog_id'], $item['ID'] )
238
+ );
239
+
240
+ }
241
+
242
+
243
+ /**
244
+ * Handles the post date column output.
245
+ *
246
+ * @param array $item Current item.
247
+ * @return void
248
+ */
249
+ public function column_date( $item ) {
250
+
251
+ $blog_post = get_blog_post( $item['blog_id'], $item['ID'] );
252
+
253
+ $m_time = $blog_post->post_date;
254
+ $h_time = mysql2date( __( 'Y/m/d' ), $m_time );
255
+
256
+ echo '<abbr title="' . esc_attr( $h_time ) . '">' . esc_attr( $h_time ) . '</abbr>';
257
+ }
258
+
259
+ /**
260
+ * Handles the blog id column output.
261
+ *
262
+ * @param array $item Current item.
263
+ * @return void
264
+ */
265
+ public function column_blog_id( $item ) {
266
+
267
+ $blog_details = get_blog_details( $item['blog_id'] );
268
+
269
+ printf(
270
+ '<a href="%s" target="_blank">%s</a>',
271
+ esc_url(
272
+ add_query_arg(
273
+ array(
274
+ 'page' => 'tptn_popular_posts',
275
+ ),
276
+ get_admin_url( $item['blog_id'] ) . 'admin.php'
277
+ )
278
+ ),
279
+ esc_html( $blog_details->blogname )
280
+ );
281
+ }
282
+
283
+ /**
284
+ * Associative array of columns
285
+ *
286
+ * @return array
287
+ */
288
+ public function get_columns() {
289
+ $columns = array(
290
+ 'cb' => '<input type="checkbox" />',
291
+ 'title' => __( 'Title', 'top-10' ),
292
+ 'blog_id' => __( 'Blog', 'top-10' ),
293
+ 'date' => __( 'Date', 'top-10' ),
294
+ 'total_count' => __( 'Total visits', 'top-10' ),
295
+ 'daily_count' => __( 'Daily visits', 'top-10' ),
296
+ );
297
+
298
+ /**
299
+ * Filter the columns displayed in the Posts list table.
300
+ *
301
+ * @since 1.5.0
302
+ *
303
+ * @param array $columns An array of column names.
304
+ */
305
+ return apply_filters( 'manage_pop_posts_columns', $columns );
306
+ }
307
+
308
+ /**
309
+ * Columns to make sortable.
310
+ *
311
+ * @return array
312
+ */
313
+ public function get_sortable_columns() {
314
+ $sortable_columns = array(
315
+ 'total_count' => array( 'total_count', false ),
316
+ 'daily_count' => array( 'daily_count', false ),
317
+ );
318
+ return $sortable_columns;
319
+ }
320
+
321
+ /**
322
+ * Returns an associative array containing the bulk action
323
+ *
324
+ * @return array
325
+ */
326
+ public function get_bulk_actions() {
327
+ $actions = array(
328
+ 'bulk-delete' => __( 'Delete Count', 'top-10' ),
329
+ );
330
+ return $actions;
331
+ }
332
+
333
+ /**
334
+ * Handles data query and filter, sorting, and pagination.
335
+ *
336
+ * @param array $args Array of arguments.
337
+ */
338
+ public function prepare_items( $args = null ) {
339
+
340
+ $this->_column_headers = $this->get_column_info();
341
+
342
+ /** Process bulk action */
343
+ $this->process_bulk_action();
344
+
345
+ $per_page = $this->get_items_per_page( 'pop_posts_per_page', 20 );
346
+
347
+ $current_page = $this->get_pagenum();
348
+
349
+ $total_items = self::record_count( $args );
350
+
351
+ $this->set_pagination_args(
352
+ array(
353
+ 'total_items' => $total_items, // WE have to calculate the total number of items.
354
+ 'per_page' => $per_page, // WE have to determine how many items to show on a page.
355
+ 'total_pages' => ceil( $total_items / $per_page ), // WE have to calculate the total number of pages.
356
+ )
357
+ );
358
+
359
+ $this->items = self::get_popular_posts( $per_page, $current_page, $args );
360
+ }
361
+
362
+ /**
363
+ * Handles any bulk actions
364
+ */
365
+ public function process_bulk_action() {
366
+
367
+ // Detect when a bulk action is being triggered...
368
+ if ( 'delete' === $this->current_action() ) {
369
+ // In our file that handles the request, verify the nonce.
370
+ $postid = isset( $_GET['post'] ) ? absint( $_GET['post'] ) : 0;
371
+
372
+ if ( isset( $_GET['_wpnonce'] ) && wp_verify_nonce( wp_unslash( $_GET['_wpnonce'] ), 'tptn_delete_entry' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
373
+ self::delete_post_count( $postid );
374
+ } else {
375
+ die( esc_html__( 'Are you sure you want to do this', 'top-10' ) );
376
+ }
377
+ }
378
+
379
+ // If the delete bulk action is triggered.
380
+ if ( ( isset( $_REQUEST['action'] ) && 'bulk-delete' === $_REQUEST['action'] )
381
+ || ( isset( $_REQUEST['action2'] ) && 'bulk-delete' === $_REQUEST['action2'] )
382
+ ) {
383
+ $delete_ids = isset( $_REQUEST['bulk-delete'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['bulk-delete'] ) ) : array();
384
+
385
+ // Loop over the array of record IDs and delete them.
386
+ foreach ( $delete_ids as $id ) {
387
+ self::delete_post_count( $id );
388
+ }
389
+ }
390
+ }
391
+
392
+ /**
393
+ * Adds extra navigation elements to the table.
394
+ *
395
+ * @param string $which Which part of the table are we.
396
+ */
397
+ public function extra_tablenav( $which ) {
398
+ ?>
399
+ <div class="alignleft actions">
400
+ <?php
401
+ if ( 'top' === $which ) {
402
+ ob_start();
403
+
404
+ // Add date selector.
405
+ $current_time = current_time( 'timestamp', 0 );
406
+ $current_date = gmdate( 'd M Y', $current_time );
407
+
408
+ $post_date_from = isset( $_REQUEST['post-date-filter-from'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['post-date-filter-from'] ) ) : $current_date; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
409
+ echo '<input type="text" id="datepicker-from" name="post-date-filter-from" value="' . esc_attr( $post_date_from ) . '" size="11" />';
410
+
411
+ $post_date_to = isset( $_REQUEST['post-date-filter-to'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['post-date-filter-to'] ) ) : $current_date; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
412
+ echo '<input type="text" id="datepicker-to" name="post-date-filter-to" value="' . esc_attr( $post_date_to ) . '" size="11" />';
413
+
414
+ $output = ob_get_clean();
415
+
416
+ if ( ! empty( $output ) ) {
417
+ echo $output; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
418
+ submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'top-10-query-submit' ) );
419
+ }
420
+ }
421
+ ?>
422
+ </div>
423
+ <?php
424
+ }
425
+ }
426
+
includes/admin/class-top-ten-network-statistics.php ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Top 10 Display Network statistics page.
4
+ *
5
+ * @package Top_Ten
6
+ * @subpackage Top_Ten_Network_Statistics
7
+ * @author Ajay D'Souza <me@ajaydsouza.com>
8
+ * @license GPL-2.0+
9
+ * @link https://webberzone.com
10
+ * @copyright 2008-2019 Ajay D'Souza
11
+ */
12
+
13
+ /**** If this file is called directly, abort. ****/
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+
19
+ if ( ! class_exists( 'WP_List_Table' ) ) {
20
+ require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
21
+ }
22
+
23
+ /**
24
+ * Top_Ten_Network_Statistics class.
25
+ */
26
+ class Top_Ten_Network_Statistics {
27
+
28
+ /**
29
+ * Class instance.
30
+ *
31
+ * @var class Class instance.
32
+ */
33
+ public static $instance;
34
+
35
+ /**
36
+ * WP_List_Table object.
37
+ *
38
+ * @var object WP_List_Table object.
39
+ */
40
+ public $pop_posts_obj;
41
+
42
+ /**
43
+ * Class constructor.
44
+ *
45
+ * @access public
46
+ * @return void
47
+ */
48
+ public function __construct() {
49
+ add_filter( 'set-screen-option', array( __CLASS__, 'set_screen' ), 10, 3 );
50
+ }
51
+
52
+ /**
53
+ * Set screen.
54
+ *
55
+ * @param string $status Status of screen.
56
+ * @param string $option Option name.
57
+ * @param string $value Option value.
58
+ * @return string Value.
59
+ */
60
+ public static function set_screen( $status, $option, $value ) {
61
+ return $value;
62
+ }
63
+
64
+ /**
65
+ * Plugin settings page
66
+ */
67
+ public function plugin_settings_page() {
68
+ $args = null;
69
+ if ( isset( $_REQUEST['page'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
70
+ $page = sanitize_text_field( wp_unslash( $_REQUEST['page'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
71
+ }
72
+ ?>
73
+ <div class="wrap">
74
+ <h1><?php esc_html_e( 'Top 10 - Network Wide Popular Posts', 'top-10' ); ?></h1>
75
+
76
+ <div id="poststuff">
77
+ <div id="post-body" class="metabox-holder columns-2">
78
+ <div id="post-body-content">
79
+ <div class="meta-box-sortables ui-sortable">
80
+ <form method="get">
81
+ <input type="hidden" name="page" value="<?php echo esc_attr( $page ); ?>" />
82
+ <?php
83
+
84
+ // If this is a post date filter?
85
+ if ( isset( $_REQUEST['post-date-filter-to'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
86
+ $args['post-date-filter-to'] = sanitize_text_field( wp_unslash( $_REQUEST['post-date-filter-to'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
87
+ }
88
+
89
+ if ( isset( $_REQUEST['post-date-filter-from'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
90
+ $args['post-date-filter-from'] = sanitize_text_field( wp_unslash( $_REQUEST['post-date-filter-from'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
91
+ }
92
+
93
+ $this->pop_posts_obj->prepare_items( $args );
94
+
95
+ $this->pop_posts_obj->display();
96
+ ?>
97
+ </form>
98
+ </div>
99
+ </div>
100
+ <div id="postbox-container-1" class="postbox-container">
101
+ <div id="side-sortables" class="meta-box-sortables ui-sortable">
102
+ <?php include_once 'sidebar.php'; ?>
103
+ </div><!-- /side-sortables -->
104
+ </div><!-- /postbox-container-1 -->
105
+ </div><!-- /post-body -->
106
+ <br class="clear" />
107
+ </div><!-- /poststuff -->
108
+ </div>
109
+ <?php
110
+ }
111
+
112
+ /**
113
+ * Screen options
114
+ */
115
+ public function screen_option() {
116
+ $option = 'per_page';
117
+ $args = array(
118
+ 'label' => __( 'Popular Posts', 'top-10' ),
119
+ 'default' => 20,
120
+ 'option' => 'pop_posts_per_page',
121
+ );
122
+ add_screen_option( $option, $args );
123
+ $this->pop_posts_obj = new Top_Ten_Network_Statistics_Table();
124
+ }
125
+
126
+ /** Singleton instance */
127
+ public static function get_instance() {
128
+ if ( ! isset( self::$instance ) ) {
129
+ self::$instance = new self();
130
+ }
131
+ return self::$instance;
132
+ }
133
+ }
134
+
135
+ /**
136
+ * Function to initialise stats page.
137
+ *
138
+ * @since 2.4.2
139
+ */
140
+ function tptn_network_stats_page() {
141
+ Top_Ten_Statistics::get_instance();
142
+ }
143
+ add_action( 'plugins_loaded', 'tptn_network_stats_page' );
includes/admin/class-top-ten-statistics-table.php CHANGED
@@ -58,7 +58,7 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
58
  *
59
  * @return array Array of popular posts
60
  */
61
- public function get_popular_posts( $per_page = 5, $page_number = 1, $args = null ) {
62
 
63
  global $wpdb;
64
 
@@ -288,7 +288,6 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
288
  */
289
  public function column_date( $item ) {
290
 
291
- $t_time = get_the_time( __( 'Y/m/d g:i:s a', 'top-10' ) );
292
  $m_time = $item['post_date'];
293
  $time = get_post_time( 'G', true, $item['ID'] );
294
 
@@ -301,7 +300,7 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
301
  $h_time = mysql2date( __( 'Y/m/d' ), $m_time );
302
  }
303
 
304
- echo '<abbr title="' . esc_attr( $t_time ) . '">' . esc_attr( $h_time ) . '</abbr>';
305
  }
306
 
307
  /**
58
  *
59
  * @return array Array of popular posts
60
  */
61
+ public function get_popular_posts( $per_page = 20, $page_number = 1, $args = null ) {
62
 
63
  global $wpdb;
64
 
288
  */
289
  public function column_date( $item ) {
290
 
 
291
  $m_time = $item['post_date'];
292
  $time = get_post_time( 'G', true, $item['ID'] );
293
 
300
  $h_time = mysql2date( __( 'Y/m/d' ), $m_time );
301
  }
302
 
303
+ echo '<abbr title="' . esc_attr( $h_time ) . '">' . esc_attr( $h_time ) . '</abbr>';
304
  }
305
 
306
  /**
includes/admin/default-settings.php CHANGED
@@ -33,6 +33,7 @@ function tptn_get_registered_settings() {
33
  'thumbnail' => tptn_settings_thumbnail(),
34
  'styles' => tptn_settings_styles(),
35
  'maintenance' => tptn_settings_maintenance(),
 
36
  );
37
 
38
  /**
@@ -317,7 +318,7 @@ function tptn_settings_list() {
317
  'limit' => array(
318
  'id' => 'limit',
319
  'name' => esc_html__( 'Number of posts to display', 'top-10' ),
320
- 'desc' => esc_html__( 'Maximum number of posts that will be displayed in the list. This option is used if you don not specify the number of posts in the widget or shortcodes', 'top-10' ),
321
  'type' => 'number',
322
  'options' => '10',
323
  'size' => 'small',
@@ -735,6 +736,64 @@ function tptn_settings_maintenance() {
735
  }
736
 
737
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
738
  /**
739
  * Upgrade pre v2.5.0 settings.
740
  *
33
  'thumbnail' => tptn_settings_thumbnail(),
34
  'styles' => tptn_settings_styles(),
35
  'maintenance' => tptn_settings_maintenance(),
36
+ 'feed' => tptn_settings_feed(),
37
  );
38
 
39
  /**
318
  'limit' => array(
319
  'id' => 'limit',
320
  'name' => esc_html__( 'Number of posts to display', 'top-10' ),
321
+ 'desc' => esc_html__( 'Maximum number of posts that will be displayed in the list. This option is used if you do not specify the number of posts in the widget or shortcodes', 'top-10' ),
322
  'type' => 'number',
323
  'options' => '10',
324
  'size' => 'small',
736
  }
737
 
738
 
739
+ /**
740
+ * Retrieve the array of Feed settings
741
+ *
742
+ * @since 2.8.0
743
+ *
744
+ * @return array Feed settings array
745
+ */
746
+ function tptn_settings_feed() {
747
+
748
+ $settings = array(
749
+ 'feed_permalink_overall' => array(
750
+ 'id' => 'feed_permalink_overall',
751
+ 'name' => esc_html__( 'Permalink - Overall', 'top-10' ),
752
+ /* translators: 1: Opening link tag, 2: Closing link tag. */
753
+ 'desc' => sprintf( esc_html__( 'This will set the path of the custom feed generated by the plugin for overall popular posts. You might need to %1$srefresh your permalinks%2$s when changing this option.', 'top-10' ), '<a href="' . admin_url( 'options-permalink.php' ) . '" target="_blank">', '</a>' ),
754
+ 'type' => 'text',
755
+ 'options' => 'popular-posts',
756
+ 'size' => 'large',
757
+ ),
758
+ 'feed_permalink_daily' => array(
759
+ 'id' => 'feed_permalink_daily',
760
+ 'name' => esc_html__( 'Permalink - Daily', 'top-10' ),
761
+ /* translators: 1: Opening link tag, 2: Closing link tag. */
762
+ 'desc' => sprintf( esc_html__( 'This will set the path of the custom feed generated by the plugin for daily/custom period popular posts. You might need to %1$srefresh your permalinks%2$s when changing this option.', 'top-10' ), '<a href="' . admin_url( 'options-permalink.php' ) . '" target="_blank">', '</a>' ),
763
+ 'type' => 'text',
764
+ 'options' => 'popular-posts-daily',
765
+ 'size' => 'large',
766
+ ),
767
+ 'feed_limit' => array(
768
+ 'id' => 'feed_limit',
769
+ 'name' => esc_html__( 'Number of posts to display', 'top-10' ),
770
+ 'desc' => esc_html__( 'Maximum number of posts that will be displayed in the custom feed.', 'top-10' ),
771
+ 'type' => 'number',
772
+ 'options' => '10',
773
+ 'size' => 'small',
774
+ ),
775
+ 'feed_daily_range' => array(
776
+ 'id' => 'feed_daily_range',
777
+ 'name' => esc_html__( 'Custom period in day(s)', 'top-10' ),
778
+ 'desc' => '',
779
+ 'type' => 'number',
780
+ 'options' => '1',
781
+ 'min' => '0',
782
+ 'size' => 'small',
783
+ ),
784
+ );
785
+
786
+ /**
787
+ * Filters the Feed settings array
788
+ *
789
+ * @since 2.8.0
790
+ *
791
+ * @param array $settings Feed settings array
792
+ */
793
+ return apply_filters( 'tptn_settings_feed', $settings );
794
+ }
795
+
796
+
797
  /**
798
  * Upgrade pre v2.5.0 settings.
799
  *
includes/admin/help-tab.php CHANGED
@@ -103,6 +103,16 @@ function tptn_settings_help() {
103
  )
104
  );
105
 
 
 
 
 
 
 
 
 
 
 
106
  do_action( 'tptn_settings_help', $screen );
107
 
108
  }
103
  )
104
  );
105
 
106
+ $screen->add_help_tab(
107
+ array(
108
+ 'id' => 'tptn-settings-feed',
109
+ 'title' => __( 'Feed', 'top-10' ),
110
+ 'content' =>
111
+ '<p>' . __( 'This screen provides options to control the custom feeds for the daily and overall popular posts. You can access the custom feed at example.com/feed/popular-posts/ replacing example.com with your blog domain.', 'top-10' ) . '</p>' .
112
+ '<p>' . __( 'You can also change the permalink in the settings below. You will need to refresh your permalinks if you change these settings. Alternatively save the settings page twice.', 'top-10' ) . '</p>',
113
+ )
114
+ );
115
+
116
  do_action( 'tptn_settings_help', $screen );
117
 
118
  }
includes/admin/save-settings.php CHANGED
@@ -50,6 +50,9 @@ function tptn_settings_sanitize( $input = array() ) {
50
 
51
  add_settings_error( 'tptn-notices', '', __( 'Settings have been reset to their default values. Reload this page to view the updated settings', 'top-10' ), 'error' );
52
 
 
 
 
53
  return $tptn_settings;
54
  }
55
 
@@ -116,6 +119,9 @@ function tptn_settings_sanitize( $input = array() ) {
116
  }
117
  }
118
 
 
 
 
119
  add_settings_error( 'tptn-notices', '', __( 'Settings updated.', 'top-10' ), 'updated' );
120
 
121
  /**
50
 
51
  add_settings_error( 'tptn-notices', '', __( 'Settings have been reset to their default values. Reload this page to view the updated settings', 'top-10' ), 'error' );
52
 
53
+ // Flush rewrite rules.
54
+ flush_rewrite_rules();
55
+
56
  return $tptn_settings;
57
  }
58
 
119
  }
120
  }
121
 
122
+ // Flush rewrite rules.
123
+ flush_rewrite_rules();
124
+
125
  add_settings_error( 'tptn-notices', '', __( 'Settings updated.', 'top-10' ), 'updated' );
126
 
127
  /**
includes/admin/settings-page.php CHANGED
@@ -128,6 +128,7 @@ function tptn_get_settings_sections() {
128
  'thumbnail' => __( 'Thumbnail', 'top-10' ),
129
  'styles' => __( 'Styles', 'top-10' ),
130
  'maintenance' => __( 'Maintenance', 'top-10' ),
 
131
  );
132
 
133
  /**
@@ -619,7 +620,7 @@ function tptn_tags_search() {
619
  wp_die( 0 );
620
  }
621
 
622
- $taxonomy = sanitize_key( $_REQUEST['tax'] );
623
  $tax = get_taxonomy( $taxonomy );
624
  if ( ! $tax ) {
625
  wp_die( 0 );
128
  'thumbnail' => __( 'Thumbnail', 'top-10' ),
129
  'styles' => __( 'Styles', 'top-10' ),
130
  'maintenance' => __( 'Maintenance', 'top-10' ),
131
+ 'feed' => __( 'Feed', 'top-10' ),
132
  );
133
 
134
  /**
620
  wp_die( 0 );
621
  }
622
 
623
+ $taxonomy = sanitize_key( $_REQUEST['tax'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
624
  $tax = get_taxonomy( $taxonomy );
625
  if ( ! $tax ) {
626
  wp_die( 0 );
includes/public/display-posts.php CHANGED
@@ -502,4 +502,67 @@ function tptn_show_daily_pop_posts( $args = null ) {
502
  tptn_show_pop_posts( $args );
503
  }
504
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
505
 
 
502
  tptn_show_pop_posts( $args );
503
  }
504
 
505
+ /**
506
+ * Add custom feeds for the overall and daily popular posts.
507
+ *
508
+ * @since 2.8.0
509
+ *
510
+ * @return void
511
+ */
512
+ function tptn_pop_posts_feed() {
513
+
514
+ $popular_posts_overall = tptn_get_option( 'feed_permalink_overall' );
515
+ $popular_posts_daily = tptn_get_option( 'feed_permalink_daily' );
516
+
517
+ add_feed( $popular_posts_overall, 'tptn_pop_posts_feed_overall' );
518
+ add_feed( $popular_posts_daily, 'tptn_pop_posts_feed_daily' );
519
+ }
520
+ add_action( 'init', 'tptn_pop_posts_feed' );
521
+
522
+ /**
523
+ * Callback for overall popular posts.
524
+ *
525
+ * @since 2.8.0
526
+ *
527
+ * @return void
528
+ */
529
+ function tptn_pop_posts_feed_overall() {
530
+ tptn_pop_posts_feed_callback( false );
531
+ }
532
+
533
+ /**
534
+ * Callback for daily popular posts.
535
+ *
536
+ * @since 2.8.0
537
+ *
538
+ * @return void
539
+ */
540
+ function tptn_pop_posts_feed_daily() {
541
+ tptn_pop_posts_feed_callback( true );
542
+ }
543
+
544
+ /**
545
+ * Callback function for add_feed to locate the correct template.
546
+ *
547
+ * @since 2.8.0
548
+ *
549
+ * @param bool $daily Daily posts flag.
550
+ *
551
+ * @return void
552
+ */
553
+ function tptn_pop_posts_feed_callback( $daily = false ) {
554
+ add_filter( 'pre_option_rss_use_excerpt', '__return_zero' );
555
+
556
+ set_query_var( 'daily', $daily );
557
+
558
+ $template = locate_template( 'feed-rss2-popular-posts.php' );
559
+
560
+ if ( ! $template ) {
561
+ $template = TOP_TEN_PLUGIN_DIR . 'includes/public/feed-rss2-popular-posts.php';
562
+ }
563
+
564
+ if ( $template ) {
565
+ load_template( $template );
566
+ }
567
 
568
+ }
includes/public/feed-rss2-popular-posts.php ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * RSS2 Feed Template for displaying RSS2 Posts feed for the Top 10 Popular posts.
4
+ *
5
+ * @package TOP_TEN
6
+ */
7
+
8
+ $settings = array(
9
+ 'daily' => $daily,
10
+ 'daily_range' => tptn_get_option( 'feed_daily_range' ),
11
+ 'limit' => tptn_get_option( 'feed_limit' ),
12
+ );
13
+ $topposts = get_tptn_pop_posts( $settings );
14
+
15
+ $topposts = wp_list_pluck( (array) $topposts, 'postnumber' );
16
+
17
+ $args = array(
18
+ 'post__in' => $topposts,
19
+ 'orderby' => 'post__in',
20
+ 'posts_per_page' => count( $topposts ),
21
+ );
22
+
23
+ query_posts( $args ); // phpcs:ignore WordPress.WP.DiscouragedFunctions.query_posts_query_posts
24
+
25
+ header( 'Content-Type: ' . feed_content_type( 'rss2' ) . '; charset=' . get_option( 'blog_charset' ), true );
26
+ $more = 1; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
27
+
28
+ echo '<?xml version="1.0" encoding="' . esc_attr( get_option( 'blog_charset' ) ) . '"?' . '>';
29
+
30
+ /**
31
+ * Fires between the xml and rss tags in a feed.
32
+ *
33
+ * @since 4.0.0
34
+ *
35
+ * @param string $context Type of feed. Possible values include 'rss2', 'rss2-comments',
36
+ * 'rdf', 'atom', and 'atom-comments'.
37
+ */
38
+ do_action( 'rss_tag_pre', 'rss2' );
39
+ ?>
40
+ <rss version="2.0"
41
+ xmlns:content="http://purl.org/rss/1.0/modules/content/"
42
+ xmlns:wfw="http://wellformedweb.org/CommentAPI/"
43
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
44
+ xmlns:atom="http://www.w3.org/2005/Atom"
45
+ xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
46
+ xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
47
+ <?php
48
+ /**
49
+ * Fires at the end of the RSS root to add namespaces.
50
+ *
51
+ * @since 2.0.0
52
+ */
53
+ do_action( 'rss2_ns' );
54
+ ?>
55
+ >
56
+
57
+ <channel>
58
+ <title><?php wp_title_rss(); ?></title>
59
+ <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
60
+ <link><?php bloginfo_rss( 'url' ); ?></link>
61
+ <description><?php bloginfo_rss( 'description' ); ?></description>
62
+ <lastBuildDate><?php echo get_feed_build_date( 'r' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></lastBuildDate>
63
+ <language><?php bloginfo_rss( 'language' ); ?></language>
64
+ <sy:updatePeriod>
65
+ <?php
66
+ $duration = 'hourly';
67
+
68
+ /**
69
+ * Filters how often to update the RSS feed.
70
+ *
71
+ * @since 2.1.0
72
+ *
73
+ * @param string $duration The update period. Accepts 'hourly', 'daily', 'weekly', 'monthly',
74
+ * 'yearly'. Default 'hourly'.
75
+ */
76
+ echo apply_filters( 'rss_update_period', $duration ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
77
+ ?>
78
+ </sy:updatePeriod>
79
+ <sy:updateFrequency>
80
+ <?php
81
+ $frequency = '1';
82
+
83
+ /**
84
+ * Filters the RSS update frequency.
85
+ *
86
+ * @since 2.1.0
87
+ *
88
+ * @param string $frequency An integer passed as a string representing the frequency
89
+ * of RSS updates within the update period. Default '1'.
90
+ */
91
+ echo apply_filters( 'rss_update_frequency', $frequency ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
92
+ ?>
93
+ </sy:updateFrequency>
94
+ <?php
95
+ /**
96
+ * Fires at the end of the RSS2 Feed Header.
97
+ *
98
+ * @since 2.0.0
99
+ */
100
+ do_action( 'rss2_head' );
101
+
102
+ while ( have_posts() ) :
103
+ the_post();
104
+ ?>
105
+ <item>
106
+ <title><?php the_title_rss(); ?></title>
107
+ <link><?php the_permalink_rss(); ?></link>
108
+ <?php if ( get_comments_number() || comments_open() ) : ?>
109
+ <comments><?php comments_link_feed(); ?></comments>
110
+ <?php endif; ?>
111
+ <pubDate><?php echo mysql2date( 'D, d M Y H:i:s +0000', get_post_time( 'Y-m-d H:i:s', true ), false ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></pubDate>
112
+ <dc:creator><![CDATA[<?php the_author(); ?>]]></dc:creator>
113
+ <?php the_category_rss( 'rss2' ); ?>
114
+
115
+ <guid isPermaLink="false"><?php the_guid(); ?></guid>
116
+ <?php if ( get_option( 'rss_use_excerpt' ) ) : ?>
117
+ <description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
118
+ <?php else : ?>
119
+ <description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
120
+ <?php $content = get_the_content_feed( 'rss2' ); ?>
121
+ <?php if ( strlen( $content ) > 0 ) : ?>
122
+ <content:encoded><![CDATA[<?php echo $content; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>]]></content:encoded>
123
+ <?php else : ?>
124
+ <content:encoded><![CDATA[<?php the_excerpt_rss(); ?>]]></content:encoded>
125
+ <?php endif; ?>
126
+ <?php endif; ?>
127
+ <?php if ( get_comments_number() || comments_open() ) : ?>
128
+ <wfw:commentRss><?php echo esc_url( get_post_comments_feed_link( null, 'rss2' ) ); ?></wfw:commentRss>
129
+ <slash:comments><?php echo get_comments_number(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></slash:comments>
130
+ <?php endif; ?>
131
+ <?php rss_enclosure(); ?>
132
+ <?php
133
+ /**
134
+ * Fires at the end of each RSS2 feed item.
135
+ *
136
+ * @since 2.0.0
137
+ */
138
+ do_action( 'rss2_item' );
139
+ ?>
140
+ </item>
141
+ <?php endwhile; ?>
142
+ </channel>
143
+ </rss>
languages/top-10-en_US.mo CHANGED
Binary file
languages/top-10-en_US.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2019-05-27 00:10+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: WebberZone <plugins@webberzone.com>\n"
@@ -13,7 +13,7 @@ msgstr ""
13
  "X-Poedit-KeywordsList: __;_e;_c;__ngettext;esc_html__;esc_attr__;esc_html_e;"
14
  "esc_attr_e\n"
15
  "X-Poedit-Basepath: ..\n"
16
- "X-Generator: Poedit 2.2\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: .\n"
@@ -44,6 +44,7 @@ msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
44
  msgstr ""
45
 
46
  #: includes/admin/admin-dashboard.php:127 includes/admin/admin.php:40
 
47
  #: includes/admin/class-top-ten-statistics.php:128
48
  msgid "Popular Posts"
49
  msgstr ""
@@ -109,7 +110,7 @@ msgstr ""
109
  msgid "Top 10 Settings"
110
  msgstr ""
111
 
112
- #: includes/admin/admin.php:30
113
  msgid "Top 10"
114
  msgstr ""
115
 
@@ -165,171 +166,190 @@ msgstr ""
165
  msgid "Contribute"
166
  msgstr ""
167
 
 
 
 
 
168
  #: includes/admin/cache.php:21
169
  msgid "Top 10 cache has been cleared"
170
  msgstr ""
171
 
 
172
  #: includes/admin/class-top-ten-statistics-table.php:43
173
  msgid "popular_post"
174
  msgstr ""
175
 
 
176
  #: includes/admin/class-top-ten-statistics-table.php:44
177
  msgid "popular_posts"
178
  msgstr ""
179
 
180
- #: includes/admin/class-top-ten-statistics-table.php:48
181
- msgid "All post types"
182
- msgstr ""
183
-
184
  #: includes/admin/class-top-ten-statistics-table.php:215
185
  msgid "No popular posts available."
186
  msgstr ""
187
 
188
- #: includes/admin/class-top-ten-statistics-table.php:266
189
- msgid "View"
 
190
  msgstr ""
191
 
192
- #: includes/admin/class-top-ten-statistics-table.php:267
193
- msgid "Edit"
 
 
 
194
  msgstr ""
195
 
196
- #: includes/admin/class-top-ten-statistics-table.php:268
197
- msgid "Delete"
198
  msgstr ""
199
 
200
- #: includes/admin/class-top-ten-statistics-table.php:291
201
- msgid "Y/m/d g:i:s a"
 
 
202
  msgstr ""
203
 
204
- #: includes/admin/class-top-ten-statistics-table.php:299
205
- #, php-format
206
- msgid "%s ago"
207
  msgstr ""
208
 
209
- #: includes/admin/class-top-ten-statistics-table.php:301
210
- msgid "Y/m/d"
 
211
  msgstr ""
212
 
213
- #: includes/admin/class-top-ten-statistics-table.php:340
214
- #: includes/modules/class-top-ten-count-widget.php:53
215
- #: includes/modules/class-top-ten-widget.php:80
216
- msgid "Title"
217
  msgstr ""
218
 
219
- #: includes/admin/class-top-ten-statistics-table.php:341
220
- msgid "Total visits"
 
221
  msgstr ""
222
 
223
- #: includes/admin/class-top-ten-statistics-table.php:342
224
- msgid "Daily visits"
 
225
  msgstr ""
226
 
227
- #: includes/admin/class-top-ten-statistics-table.php:343
228
- msgid "Post type"
229
  msgstr ""
230
 
231
- #: includes/admin/class-top-ten-statistics-table.php:344
232
- msgid "Author"
233
  msgstr ""
234
 
235
- #: includes/admin/class-top-ten-statistics-table.php:345
236
- #: includes/admin/import-export.php:183
237
- msgid "Date"
238
  msgstr ""
239
 
240
- #: includes/admin/class-top-ten-statistics-table.php:379
241
- msgid "Delete Count"
242
  msgstr ""
243
 
244
- #: includes/admin/class-top-ten-statistics-table.php:426
245
- msgid "Are you sure you want to do this"
246
  msgstr ""
247
 
248
- #: includes/admin/class-top-ten-statistics-table.php:494
249
- msgid "Filter"
 
 
 
 
 
 
 
 
 
250
  msgstr ""
251
 
252
  #: includes/admin/class-top-ten-statistics.php:103
253
  msgid "Search Table"
254
  msgstr ""
255
 
256
- #: includes/admin/default-settings.php:62
257
  msgid "Enable trackers"
258
  msgstr ""
259
 
260
- #: includes/admin/default-settings.php:71
261
  #: includes/modules/class-top-ten-widget.php:95
262
  msgid "Overall"
263
  msgstr ""
264
 
265
- #: includes/admin/default-settings.php:72
266
- #: includes/admin/default-settings.php:719
267
  msgid "Daily"
268
  msgstr ""
269
 
270
- #: includes/admin/default-settings.php:77
271
  msgid "Enable cache"
272
  msgstr ""
273
 
274
- #: includes/admin/default-settings.php:78
275
  msgid ""
276
  "If activated, Top 10 will use the Transients API to cache the popular posts "
277
  "output for 1 hour."
278
  msgstr ""
279
 
280
- #: includes/admin/default-settings.php:84
281
  msgid "Time to cache"
282
  msgstr ""
283
 
284
- #: includes/admin/default-settings.php:85
285
  msgid "Enter the number of seconds to cache the output."
286
  msgstr ""
287
 
288
- #: includes/admin/default-settings.php:91
289
  msgid "Start daily counts from midnight"
290
  msgstr ""
291
 
292
- #: includes/admin/default-settings.php:92
293
  msgid ""
294
  "Daily counter will display number of visits from midnight. This option is "
295
  "checked by default and mimics the way most normal counters work. Turning "
296
  "this off will allow you to use the hourly setting in the next option."
297
  msgstr ""
298
 
299
- #: includes/admin/default-settings.php:98
300
  msgid "Default custom period range"
301
  msgstr ""
302
 
303
- #: includes/admin/default-settings.php:99
304
  msgid ""
305
  "The next two options allow you to set the default range for the custom "
306
  "period. This was previously called the daily range. This can be overridden "
307
  "in the widget."
308
  msgstr ""
309
 
310
- #: includes/admin/default-settings.php:104
311
  msgid "Day(s)"
312
  msgstr ""
313
 
314
- #: includes/admin/default-settings.php:113
315
  msgid "Hour(s)"
316
  msgstr ""
317
 
318
- #: includes/admin/default-settings.php:123
319
  msgid "Delete options on uninstall"
320
  msgstr ""
321
 
322
- #: includes/admin/default-settings.php:124
323
  msgid ""
324
  "If this is checked, all settings related to Top 10 are removed from the "
325
  "database if you choose to uninstall/delete the plugin."
326
  msgstr ""
327
 
328
- #: includes/admin/default-settings.php:130
329
  msgid "Delete counter data on uninstall"
330
  msgstr ""
331
 
332
- #: includes/admin/default-settings.php:131
333
  msgid ""
334
  "If this is checked, the tables containing the counter statistics are removed "
335
  "from the database if you choose to uninstall/delete the plugin. Keep this "
@@ -337,92 +357,92 @@ msgid ""
337
  "counter data."
338
  msgstr ""
339
 
340
- #: includes/admin/default-settings.php:137
341
  msgid "Show metabox"
342
  msgstr ""
343
 
344
- #: includes/admin/default-settings.php:138
345
  msgid ""
346
  "This will add the Top 10 metabox on Edit Posts or Add New Posts screens. "
347
  "Also applies to Pages and Custom Post Types."
348
  msgstr ""
349
 
350
- #: includes/admin/default-settings.php:144
351
  msgid "Limit meta box to Admins only"
352
  msgstr ""
353
 
354
- #: includes/admin/default-settings.php:145
355
  msgid ""
356
  "If selected, the meta box will be hidden from anyone who is not an Admin. By "
357
  "default, Contributors and above will be able to see the meta box. Applies "
358
  "only if the above option is selected."
359
  msgstr ""
360
 
361
- #: includes/admin/default-settings.php:151
362
  msgid "Link to Top 10 plugin page"
363
  msgstr ""
364
 
365
- #: includes/admin/default-settings.php:152
366
  msgid ""
367
  "A no-follow link to the plugin homepage will be added as the last item of "
368
  "the popular posts."
369
  msgstr ""
370
 
371
- #: includes/admin/default-settings.php:181
372
  msgid "Display number of views on"
373
  msgstr ""
374
 
375
- #: includes/admin/default-settings.php:183
376
  #, php-format
377
  msgid ""
378
  "If you choose to disable this, please add %1$s to your template file where "
379
  "you want it displayed"
380
  msgstr ""
381
 
382
- #: includes/admin/default-settings.php:190
383
  msgid "Posts"
384
  msgstr ""
385
 
386
- #: includes/admin/default-settings.php:191
387
  msgid "Pages"
388
  msgstr ""
389
 
390
- #: includes/admin/default-settings.php:192
391
  msgid "Home page"
392
  msgstr ""
393
 
394
- #: includes/admin/default-settings.php:193
395
  msgid "Feeds"
396
  msgstr ""
397
 
398
- #: includes/admin/default-settings.php:194
399
  msgid "Category archives"
400
  msgstr ""
401
 
402
- #: includes/admin/default-settings.php:195
403
  msgid "Tag archives"
404
  msgstr ""
405
 
406
- #: includes/admin/default-settings.php:196
407
  msgid "Other archives"
408
  msgstr ""
409
 
410
- #: includes/admin/default-settings.php:201
411
  msgid "Format to display the post views"
412
  msgstr ""
413
 
414
- #: includes/admin/default-settings.php:203
415
  #, php-format
416
  msgid ""
417
  "Use %1$s to display the total count, %2$s for daily count and %3$s for "
418
  "overall counts across all posts. Default display is %4$s"
419
  msgstr ""
420
 
421
- #: includes/admin/default-settings.php:209
422
  msgid "What to display when there are no visits?"
423
  msgstr ""
424
 
425
- #: includes/admin/default-settings.php:211
426
  msgid ""
427
  "This text applies only when there are 0 hits for the post and it isn't a "
428
  "single page. e.g. if you display post views on the homepage or archives then "
@@ -430,129 +450,130 @@ msgid ""
430
  "option."
431
  msgstr ""
432
 
433
- #: includes/admin/default-settings.php:217
434
  msgid "Number format post count"
435
  msgstr ""
436
 
437
- #: includes/admin/default-settings.php:218
438
  msgid ""
439
  "Activating this option will convert the post counts into a number format "
440
  "based on the locale"
441
  msgstr ""
442
 
443
- #: includes/admin/default-settings.php:224
444
  msgid "Always display latest post count"
445
  msgstr ""
446
 
447
- #: includes/admin/default-settings.php:225
448
  msgid ""
449
  "This option uses JavaScript and will increase your page load time. Turn this "
450
  "off if you are not using caching plugins or are OK with displaying older "
451
  "cached counts."
452
  msgstr ""
453
 
454
- #: includes/admin/default-settings.php:231
455
  msgid "Tracker type"
456
  msgstr ""
457
 
458
- #: includes/admin/default-settings.php:239
459
  msgid "Load tracker on all pages"
460
  msgstr ""
461
 
462
- #: includes/admin/default-settings.php:240
463
  msgid ""
464
  "This will load the tracker js on all pages. Helpful if you are running "
465
  "minification/concatenation plugins."
466
  msgstr ""
467
 
468
- #: includes/admin/default-settings.php:246
469
  msgid "Track user groups"
470
  msgstr ""
471
 
472
- #: includes/admin/default-settings.php:247
473
  msgid ""
474
  "Uncheck above to disable tracking if the current user falls into any one of "
475
  "these groups."
476
  msgstr ""
477
 
478
- #: includes/admin/default-settings.php:254
479
  msgid "Authors"
480
  msgstr ""
481
 
482
- #: includes/admin/default-settings.php:255
483
  msgid "Editors"
484
  msgstr ""
485
 
486
- #: includes/admin/default-settings.php:256
487
  msgid "Admins"
488
  msgstr ""
489
 
490
- #: includes/admin/default-settings.php:261
491
  msgid "Track logged-in users"
492
  msgstr ""
493
 
494
- #: includes/admin/default-settings.php:262
495
  msgid ""
496
  "Uncheck to stop tracking logged in users. Only logged out visitors will be "
497
  "tracked if this is disabled. Unchecking this will override the above setting."
498
  msgstr ""
499
 
500
- #: includes/admin/default-settings.php:268
501
  msgid "Exclude display on these post IDs"
502
  msgstr ""
503
 
504
- #: includes/admin/default-settings.php:269
505
  msgid ""
506
  "Comma-separated list of post or page IDs to exclude displaying the top posts "
507
  "on. e.g. 188,320,500"
508
  msgstr ""
509
 
510
- #: includes/admin/default-settings.php:275
511
  msgid "Page views in admin"
512
  msgstr ""
513
 
514
- #: includes/admin/default-settings.php:276
515
  msgid ""
516
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
517
  "and All Pages. You can selectively disable these by pulling down the Screen "
518
  "Options from the top right of the respective screens."
519
  msgstr ""
520
 
521
- #: includes/admin/default-settings.php:282
522
  msgid "Show views to non-admins"
523
  msgstr ""
524
 
525
- #: includes/admin/default-settings.php:283
526
  msgid ""
527
  "If you disable this then non-admins won't see the above columns or view the "
528
  "independent pages with the top posts."
529
  msgstr ""
530
 
531
- #: includes/admin/default-settings.php:289
532
  msgid "Debug mode"
533
  msgstr ""
534
 
535
- #: includes/admin/default-settings.php:290
536
  msgid ""
537
  "Setting this to true will force the tracker to display an output in the "
538
  "browser. This is useful if you are having issues and are seeking support."
539
  msgstr ""
540
 
541
- #: includes/admin/default-settings.php:319
 
542
  msgid "Number of posts to display"
543
  msgstr ""
544
 
545
- #: includes/admin/default-settings.php:320
546
  msgid ""
547
  "Maximum number of posts that will be displayed in the list. This option is "
548
- "used if you don not specify the number of posts in the widget or shortcodes"
549
  msgstr ""
550
 
551
- #: includes/admin/default-settings.php:327
552
  msgid "Published age of posts"
553
  msgstr ""
554
 
555
- #: includes/admin/default-settings.php:328
556
  msgid ""
557
  "This options allows you to only show posts that have been published within "
558
  "the above day range. Applies to both overall posts and daily posts lists. e."
@@ -560,43 +581,43 @@ msgid ""
560
  "posts lists. Enter 0 for no restriction."
561
  msgstr ""
562
 
563
- #: includes/admin/default-settings.php:334
564
  msgid "Post types to include"
565
  msgstr ""
566
 
567
- #: includes/admin/default-settings.php:335
568
  msgid ""
569
  "At least one option should be selected above. Select which post types you "
570
  "want to include in the list of posts. This field can be overridden using a "
571
  "comma separated list of post types when using the manual display."
572
  msgstr ""
573
 
574
- #: includes/admin/default-settings.php:341
575
  msgid "Post/page IDs to exclude"
576
  msgstr ""
577
 
578
- #: includes/admin/default-settings.php:342
579
  msgid ""
580
  "Comma-separated list of post or page IDs to exclude from the list. e.g. "
581
  "188,320,500"
582
  msgstr ""
583
 
584
- #: includes/admin/default-settings.php:348
585
  msgid "Exclude Categories"
586
  msgstr ""
587
 
588
- #: includes/admin/default-settings.php:349
589
  msgid ""
590
  "Comma separated list of category slugs. The field above has an autocomplete "
591
  "so simply start typing in the starting letters and it will prompt you with "
592
  "options. Does not support custom taxonomies."
593
  msgstr ""
594
 
595
- #: includes/admin/default-settings.php:360
596
  msgid "Exclude category IDs"
597
  msgstr ""
598
 
599
- #: includes/admin/default-settings.php:361
600
  msgid ""
601
  "This is a readonly field that is automatically populated based on the above "
602
  "input when the settings are saved. These might differ from the IDs visible "
@@ -604,134 +625,134 @@ msgid ""
604
  "term_taxonomy_id which is unique to this taxonomy."
605
  msgstr ""
606
 
607
- #: includes/admin/default-settings.php:368
608
  msgid "Customize the output"
609
  msgstr ""
610
 
611
- #: includes/admin/default-settings.php:374
612
  msgid "Heading of posts"
613
  msgstr ""
614
 
615
- #: includes/admin/default-settings.php:375
616
- #: includes/admin/default-settings.php:383
617
  msgid "Displayed before the list of the posts as a the master heading"
618
  msgstr ""
619
 
620
- #: includes/admin/default-settings.php:377
621
  msgid "Popular posts:"
622
  msgstr ""
623
 
624
- #: includes/admin/default-settings.php:382
625
  msgid "Heading of posts for daily/custom period lists"
626
  msgstr ""
627
 
628
- #: includes/admin/default-settings.php:385
629
  msgid "Currently trending:"
630
  msgstr ""
631
 
632
- #: includes/admin/default-settings.php:390
633
  msgid "Show when no posts are found"
634
  msgstr ""
635
 
636
- #: includes/admin/default-settings.php:396
637
  msgid "Blank output"
638
  msgstr ""
639
 
640
- #: includes/admin/default-settings.php:397
641
  msgid "Display custom text"
642
  msgstr ""
643
 
644
- #: includes/admin/default-settings.php:402
645
  msgid "Custom text"
646
  msgstr ""
647
 
648
- #: includes/admin/default-settings.php:403
649
  msgid ""
650
  "Enter the custom text that will be displayed if the second option is "
651
  "selected above"
652
  msgstr ""
653
 
654
- #: includes/admin/default-settings.php:405 includes/deprecated.php:180
655
  msgid "No top posts yet"
656
  msgstr ""
657
 
658
- #: includes/admin/default-settings.php:409
659
  msgid "Show post excerpt"
660
  msgstr ""
661
 
662
- #: includes/admin/default-settings.php:416
663
  msgid "Length of excerpt (in words)"
664
  msgstr ""
665
 
666
- #: includes/admin/default-settings.php:424
667
  msgid "Show date"
668
  msgstr ""
669
 
670
- #: includes/admin/default-settings.php:431
671
  msgid "Show author"
672
  msgstr ""
673
 
674
- #: includes/admin/default-settings.php:438
675
  msgid "Show number of views"
676
  msgstr ""
677
 
678
- #: includes/admin/default-settings.php:445
679
  msgid "Limit post title length (in characters)"
680
  msgstr ""
681
 
682
- #: includes/admin/default-settings.php:453
683
  msgid "Open links in new window"
684
  msgstr ""
685
 
686
- #: includes/admin/default-settings.php:460
687
  msgid "Add nofollow to links"
688
  msgstr ""
689
 
690
- #: includes/admin/default-settings.php:467
691
  msgid "HTML to display"
692
  msgstr ""
693
 
694
- #: includes/admin/default-settings.php:473
695
  msgid "Before the list of posts"
696
  msgstr ""
697
 
698
- #: includes/admin/default-settings.php:480
699
  msgid "After the list of posts"
700
  msgstr ""
701
 
702
- #: includes/admin/default-settings.php:487
703
  msgid "Before each list item"
704
  msgstr ""
705
 
706
- #: includes/admin/default-settings.php:494
707
  msgid "After each list item"
708
  msgstr ""
709
 
710
- #: includes/admin/default-settings.php:524
711
  msgid "Location of the post thumbnail"
712
  msgstr ""
713
 
714
- #: includes/admin/default-settings.php:529
715
  msgid "Display thumbnails inline with posts, before title"
716
  msgstr ""
717
 
718
- #: includes/admin/default-settings.php:530
719
  msgid "Display thumbnails inline with posts, after title"
720
  msgstr ""
721
 
722
- #: includes/admin/default-settings.php:531
723
  msgid "Display only thumbnails, no text"
724
  msgstr ""
725
 
726
- #: includes/admin/default-settings.php:532
727
  msgid "Do not display thumbnails, only text"
728
  msgstr ""
729
 
730
- #: includes/admin/default-settings.php:537
731
  msgid "Thumbnail size"
732
  msgstr ""
733
 
734
- #: includes/admin/default-settings.php:539
735
  msgid ""
736
  "You can choose from existing image sizes above or create a custom size. If "
737
  "you have chosen Custom size above, then enter the width, height and crop "
@@ -739,214 +760,246 @@ msgid ""
739
  "width and/or height below, existing images will not be automatically resized."
740
  msgstr ""
741
 
742
- #: includes/admin/default-settings.php:539
743
  #, php-format
744
  msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
745
  msgstr ""
746
 
747
- #: includes/admin/default-settings.php:546
748
  #: includes/modules/class-top-ten-widget.php:145
749
  msgid "Thumbnail width"
750
  msgstr ""
751
 
752
- #: includes/admin/default-settings.php:554
753
  #: includes/modules/class-top-ten-widget.php:139
754
  msgid "Thumbnail height"
755
  msgstr ""
756
 
757
- #: includes/admin/default-settings.php:562
758
  msgid "Hard crop thumbnails"
759
  msgstr ""
760
 
761
- #: includes/admin/default-settings.php:563
762
  msgid ""
763
  "Check this box to hard crop the thumbnails. i.e. force the width and height "
764
  "above vs. maintaining proportions."
765
  msgstr ""
766
 
767
- #: includes/admin/default-settings.php:569
768
  msgid "Generate thumbnail sizes"
769
  msgstr ""
770
 
771
- #: includes/admin/default-settings.php:570
772
  msgid ""
773
  "If you select this option and Custom size is selected above, the plugin will "
774
  "register the image size with WordPress to create new thumbnails. Does not "
775
  "update old images as explained above."
776
  msgstr ""
777
 
778
- #: includes/admin/default-settings.php:576
779
  msgid "Thumbnail size attributes"
780
  msgstr ""
781
 
782
- #: includes/admin/default-settings.php:582
783
  #, php-format
784
  msgid "Use CSS to set the width and height: e.g. %s"
785
  msgstr ""
786
 
787
- #: includes/admin/default-settings.php:584
788
  #, php-format
789
  msgid "Use HTML attributes to set the width and height: e.g. %s"
790
  msgstr ""
791
 
792
- #: includes/admin/default-settings.php:585
793
  msgid ""
794
  "No width or height set. You will need to use external styles to force any "
795
  "width or height of your choice."
796
  msgstr ""
797
 
798
- #: includes/admin/default-settings.php:590
799
  msgid "Thumbnail meta field name"
800
  msgstr ""
801
 
802
- #: includes/admin/default-settings.php:591
803
  msgid ""
804
  "The value of this field should contain the URL of the image and can be set "
805
  "in the metabox in the Edit Post screen"
806
  msgstr ""
807
 
808
- #: includes/admin/default-settings.php:597
809
  msgid "Get first image"
810
  msgstr ""
811
 
812
- #: includes/admin/default-settings.php:598
813
  msgid ""
814
  "The plugin will fetch the first image in the post content if this is "
815
  "enabled. This can slow down the loading of your page if the first image in "
816
  "the followed posts is large in file-size."
817
  msgstr ""
818
 
819
- #: includes/admin/default-settings.php:604
820
  msgid "Use default thumbnail?"
821
  msgstr ""
822
 
823
- #: includes/admin/default-settings.php:605
824
  msgid ""
825
  "If checked, when no thumbnail is found, show a default one from the URL "
826
  "below. If not checked and no thumbnail is found, no image will be shown."
827
  msgstr ""
828
 
829
- #: includes/admin/default-settings.php:611 includes/admin/settings-page.php:687
830
  msgid "Default thumbnail"
831
  msgstr ""
832
 
833
- #: includes/admin/default-settings.php:612
834
  msgid ""
835
  "Enter the full URL of the image that you wish to display if no thumbnail is "
836
  "found. This image will be displayed below."
837
  msgstr ""
838
 
839
- #: includes/admin/default-settings.php:642
840
  msgid "Popular posts style"
841
  msgstr ""
842
 
843
- #: includes/admin/default-settings.php:650
844
  msgid "Custom CSS"
845
  msgstr ""
846
 
847
- #: includes/admin/default-settings.php:652
848
  #, php-format
849
  msgid ""
850
  "Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
851
  "CSS classes to style."
852
  msgstr ""
853
 
854
- #: includes/admin/default-settings.php:681
855
  msgid "Enable scheduled maintenance"
856
  msgstr ""
857
 
858
- #: includes/admin/default-settings.php:682
859
  msgid ""
860
  "Cleaning the database at regular intervals could improve performance, "
861
  "especially on high traffic blogs. Enabling maintenance will automatically "
862
  "delete entries older than 90 days in the daily tables."
863
  msgstr ""
864
 
865
- #: includes/admin/default-settings.php:688
866
  msgid "Time to run maintenance"
867
  msgstr ""
868
 
869
- #: includes/admin/default-settings.php:689
870
  msgid "The next two options allow you to set the time to run the cron."
871
  msgstr ""
872
 
873
- #: includes/admin/default-settings.php:694
874
  msgid "Hour"
875
  msgstr ""
876
 
877
- #: includes/admin/default-settings.php:704
878
  msgid "Minute"
879
  msgstr ""
880
 
881
- #: includes/admin/default-settings.php:714
882
  msgid "Run maintenance"
883
  msgstr ""
884
 
885
- #: includes/admin/default-settings.php:720
886
  msgid "Weekly"
887
  msgstr ""
888
 
889
- #: includes/admin/default-settings.php:721
890
  msgid "Fortnightly"
891
  msgstr ""
892
 
893
- #: includes/admin/default-settings.php:722
894
  msgid "Monthly"
895
  msgstr ""
896
 
897
- #: includes/admin/default-settings.php:820
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
898
  msgid "No styles"
899
  msgstr ""
900
 
901
- #: includes/admin/default-settings.php:821
902
  msgid "Select this option if you plan to add your own styles"
903
  msgstr ""
904
 
905
- #: includes/admin/default-settings.php:825
906
  msgid "Text only"
907
  msgstr ""
908
 
909
- #: includes/admin/default-settings.php:826
910
  msgid ""
911
  "Disable thumbnails and no longer include the default style sheet included in "
912
  "the plugin"
913
  msgstr ""
914
 
915
- #: includes/admin/default-settings.php:830
916
  msgid "Left thumbnails"
917
  msgstr ""
918
 
919
- #: includes/admin/default-settings.php:831
920
  msgid ""
921
  "Enabling this option will set the post thumbnail to be before text. "
922
  "Disabling this option will not revert any settings."
923
  msgstr ""
924
 
925
- #: includes/admin/help-tab.php:35 includes/admin/help-tab.php:126
926
- #: includes/admin/help-tab.php:166
927
  #, php-format
928
  msgid ""
929
  "For more information or how to get support visit the <a href=\"%1$s"
930
  "\">WebberZone support site</a>."
931
  msgstr ""
932
 
933
- #: includes/admin/help-tab.php:37 includes/admin/help-tab.php:128
934
- #: includes/admin/help-tab.php:168
935
  #, php-format
936
  msgid ""
937
  "Support queries should be posted in the <a href=\"%1$s\">WordPress.org "
938
  "support forums</a>."
939
  msgstr ""
940
 
941
- #: includes/admin/help-tab.php:40 includes/admin/help-tab.php:131
942
  #, php-format
943
  msgid ""
944
  "<a href=\"%1$s\">Post an issue</a> on <a href=\"%2$s\">GitHub</a> (bug "
945
  "reports only)."
946
  msgstr ""
947
 
948
- #: includes/admin/help-tab.php:49 includes/admin/help-tab.php:140
949
- #: includes/admin/help-tab.php:179 includes/admin/settings-page.php:125
950
  msgid "General"
951
  msgstr ""
952
 
@@ -1036,28 +1089,46 @@ msgstr ""
1036
  msgid "Choose how often to run maintenance and at what time of the day."
1037
  msgstr ""
1038
 
1039
- #: includes/admin/help-tab.php:142
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1040
  msgid ""
1041
  "This screen provides some tools that help maintain certain features of Top "
1042
  "10."
1043
  msgstr ""
1044
 
1045
- #: includes/admin/help-tab.php:143
1046
  msgid ""
1047
  "Clear the cache, reset the popular posts tables plus some miscellaneous "
1048
  "fixes for older versions of Top 10."
1049
  msgstr ""
1050
 
1051
- #: includes/admin/help-tab.php:171
1052
  #, php-format
1053
  msgid "<a href=\"%1$s\">Top 10 Knowledge base</a>"
1054
  msgstr ""
1055
 
1056
- #: includes/admin/help-tab.php:181
1057
  msgid "This screen allows you to import and export the database tables."
1058
  msgstr ""
1059
 
1060
- #: includes/admin/help-tab.php:182
1061
  msgid "Refer to the knowledge base to learn how to use this in detail."
1062
  msgstr ""
1063
 
@@ -1186,7 +1257,7 @@ msgid ""
1186
  "the updated settings"
1187
  msgstr ""
1188
 
1189
- #: includes/admin/save-settings.php:119
1190
  msgid "Settings updated."
1191
  msgstr ""
1192
 
@@ -1202,13 +1273,13 @@ msgstr ""
1202
  msgid "Reset all settings"
1203
  msgstr ""
1204
 
1205
- #: includes/admin/settings-page.php:155
1206
  #, php-format
1207
  msgid ""
1208
  "The callback function used for the <strong>%s</strong> setting is missing."
1209
  msgstr ""
1210
 
1211
- #: includes/admin/settings-page.php:312
1212
  msgid "Modified from default setting"
1213
  msgstr ""
1214
 
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2019-12-07 12:34+0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: WebberZone <plugins@webberzone.com>\n"
13
  "X-Poedit-KeywordsList: __;_e;_c;__ngettext;esc_html__;esc_attr__;esc_html_e;"
14
  "esc_attr_e\n"
15
  "X-Poedit-Basepath: ..\n"
16
+ "X-Generator: Poedit 2.2.3\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: .\n"
44
  msgstr ""
45
 
46
  #: includes/admin/admin-dashboard.php:127 includes/admin/admin.php:40
47
+ #: includes/admin/class-top-ten-network-statistics.php:118
48
  #: includes/admin/class-top-ten-statistics.php:128
49
  msgid "Popular Posts"
50
  msgstr ""
110
  msgid "Top 10 Settings"
111
  msgstr ""
112
 
113
+ #: includes/admin/admin.php:30 includes/admin/admin.php:412
114
  msgid "Top 10"
115
  msgstr ""
116
 
166
  msgid "Contribute"
167
  msgstr ""
168
 
169
+ #: includes/admin/admin.php:412
170
+ msgid "Top 10 - Network Popular Posts"
171
+ msgstr ""
172
+
173
  #: includes/admin/cache.php:21
174
  msgid "Top 10 cache has been cleared"
175
  msgstr ""
176
 
177
+ #: includes/admin/class-top-ten-network-statistics-table.php:36
178
  #: includes/admin/class-top-ten-statistics-table.php:43
179
  msgid "popular_post"
180
  msgstr ""
181
 
182
+ #: includes/admin/class-top-ten-network-statistics-table.php:37
183
  #: includes/admin/class-top-ten-statistics-table.php:44
184
  msgid "popular_posts"
185
  msgstr ""
186
 
187
+ #: includes/admin/class-top-ten-network-statistics-table.php:185
 
 
 
188
  #: includes/admin/class-top-ten-statistics-table.php:215
189
  msgid "No popular posts available."
190
  msgstr ""
191
 
192
+ #: includes/admin/class-top-ten-network-statistics-table.php:254
193
+ #: includes/admin/class-top-ten-statistics-table.php:300
194
+ msgid "Y/m/d"
195
  msgstr ""
196
 
197
+ #: includes/admin/class-top-ten-network-statistics-table.php:291
198
+ #: includes/admin/class-top-ten-statistics-table.php:339
199
+ #: includes/modules/class-top-ten-count-widget.php:53
200
+ #: includes/modules/class-top-ten-widget.php:80
201
+ msgid "Title"
202
  msgstr ""
203
 
204
+ #: includes/admin/class-top-ten-network-statistics-table.php:292
205
+ msgid "Blog"
206
  msgstr ""
207
 
208
+ #: includes/admin/class-top-ten-network-statistics-table.php:293
209
+ #: includes/admin/class-top-ten-statistics-table.php:344
210
+ #: includes/admin/import-export.php:183
211
+ msgid "Date"
212
  msgstr ""
213
 
214
+ #: includes/admin/class-top-ten-network-statistics-table.php:294
215
+ #: includes/admin/class-top-ten-statistics-table.php:340
216
+ msgid "Total visits"
217
  msgstr ""
218
 
219
+ #: includes/admin/class-top-ten-network-statistics-table.php:295
220
+ #: includes/admin/class-top-ten-statistics-table.php:341
221
+ msgid "Daily visits"
222
  msgstr ""
223
 
224
+ #: includes/admin/class-top-ten-network-statistics-table.php:328
225
+ #: includes/admin/class-top-ten-statistics-table.php:378
226
+ msgid "Delete Count"
 
227
  msgstr ""
228
 
229
+ #: includes/admin/class-top-ten-network-statistics-table.php:375
230
+ #: includes/admin/class-top-ten-statistics-table.php:425
231
+ msgid "Are you sure you want to do this"
232
  msgstr ""
233
 
234
+ #: includes/admin/class-top-ten-network-statistics-table.php:418
235
+ #: includes/admin/class-top-ten-statistics-table.php:493
236
+ msgid "Filter"
237
  msgstr ""
238
 
239
+ #: includes/admin/class-top-ten-network-statistics.php:74
240
+ msgid "Top 10 - Network Wide Popular Posts"
241
  msgstr ""
242
 
243
+ #: includes/admin/class-top-ten-statistics-table.php:48
244
+ msgid "All post types"
245
  msgstr ""
246
 
247
+ #: includes/admin/class-top-ten-statistics-table.php:266
248
+ msgid "View"
 
249
  msgstr ""
250
 
251
+ #: includes/admin/class-top-ten-statistics-table.php:267
252
+ msgid "Edit"
253
  msgstr ""
254
 
255
+ #: includes/admin/class-top-ten-statistics-table.php:268
256
+ msgid "Delete"
257
  msgstr ""
258
 
259
+ #: includes/admin/class-top-ten-statistics-table.php:298
260
+ #, php-format
261
+ msgid "%s ago"
262
+ msgstr ""
263
+
264
+ #: includes/admin/class-top-ten-statistics-table.php:342
265
+ msgid "Post type"
266
+ msgstr ""
267
+
268
+ #: includes/admin/class-top-ten-statistics-table.php:343
269
+ msgid "Author"
270
  msgstr ""
271
 
272
  #: includes/admin/class-top-ten-statistics.php:103
273
  msgid "Search Table"
274
  msgstr ""
275
 
276
+ #: includes/admin/default-settings.php:63
277
  msgid "Enable trackers"
278
  msgstr ""
279
 
280
+ #: includes/admin/default-settings.php:72
281
  #: includes/modules/class-top-ten-widget.php:95
282
  msgid "Overall"
283
  msgstr ""
284
 
285
+ #: includes/admin/default-settings.php:73
286
+ #: includes/admin/default-settings.php:720
287
  msgid "Daily"
288
  msgstr ""
289
 
290
+ #: includes/admin/default-settings.php:78
291
  msgid "Enable cache"
292
  msgstr ""
293
 
294
+ #: includes/admin/default-settings.php:79
295
  msgid ""
296
  "If activated, Top 10 will use the Transients API to cache the popular posts "
297
  "output for 1 hour."
298
  msgstr ""
299
 
300
+ #: includes/admin/default-settings.php:85
301
  msgid "Time to cache"
302
  msgstr ""
303
 
304
+ #: includes/admin/default-settings.php:86
305
  msgid "Enter the number of seconds to cache the output."
306
  msgstr ""
307
 
308
+ #: includes/admin/default-settings.php:92
309
  msgid "Start daily counts from midnight"
310
  msgstr ""
311
 
312
+ #: includes/admin/default-settings.php:93
313
  msgid ""
314
  "Daily counter will display number of visits from midnight. This option is "
315
  "checked by default and mimics the way most normal counters work. Turning "
316
  "this off will allow you to use the hourly setting in the next option."
317
  msgstr ""
318
 
319
+ #: includes/admin/default-settings.php:99
320
  msgid "Default custom period range"
321
  msgstr ""
322
 
323
+ #: includes/admin/default-settings.php:100
324
  msgid ""
325
  "The next two options allow you to set the default range for the custom "
326
  "period. This was previously called the daily range. This can be overridden "
327
  "in the widget."
328
  msgstr ""
329
 
330
+ #: includes/admin/default-settings.php:105
331
  msgid "Day(s)"
332
  msgstr ""
333
 
334
+ #: includes/admin/default-settings.php:114
335
  msgid "Hour(s)"
336
  msgstr ""
337
 
338
+ #: includes/admin/default-settings.php:124
339
  msgid "Delete options on uninstall"
340
  msgstr ""
341
 
342
+ #: includes/admin/default-settings.php:125
343
  msgid ""
344
  "If this is checked, all settings related to Top 10 are removed from the "
345
  "database if you choose to uninstall/delete the plugin."
346
  msgstr ""
347
 
348
+ #: includes/admin/default-settings.php:131
349
  msgid "Delete counter data on uninstall"
350
  msgstr ""
351
 
352
+ #: includes/admin/default-settings.php:132
353
  msgid ""
354
  "If this is checked, the tables containing the counter statistics are removed "
355
  "from the database if you choose to uninstall/delete the plugin. Keep this "
357
  "counter data."
358
  msgstr ""
359
 
360
+ #: includes/admin/default-settings.php:138
361
  msgid "Show metabox"
362
  msgstr ""
363
 
364
+ #: includes/admin/default-settings.php:139
365
  msgid ""
366
  "This will add the Top 10 metabox on Edit Posts or Add New Posts screens. "
367
  "Also applies to Pages and Custom Post Types."
368
  msgstr ""
369
 
370
+ #: includes/admin/default-settings.php:145
371
  msgid "Limit meta box to Admins only"
372
  msgstr ""
373
 
374
+ #: includes/admin/default-settings.php:146
375
  msgid ""
376
  "If selected, the meta box will be hidden from anyone who is not an Admin. By "
377
  "default, Contributors and above will be able to see the meta box. Applies "
378
  "only if the above option is selected."
379
  msgstr ""
380
 
381
+ #: includes/admin/default-settings.php:152
382
  msgid "Link to Top 10 plugin page"
383
  msgstr ""
384
 
385
+ #: includes/admin/default-settings.php:153
386
  msgid ""
387
  "A no-follow link to the plugin homepage will be added as the last item of "
388
  "the popular posts."
389
  msgstr ""
390
 
391
+ #: includes/admin/default-settings.php:182
392
  msgid "Display number of views on"
393
  msgstr ""
394
 
395
+ #: includes/admin/default-settings.php:184
396
  #, php-format
397
  msgid ""
398
  "If you choose to disable this, please add %1$s to your template file where "
399
  "you want it displayed"
400
  msgstr ""
401
 
402
+ #: includes/admin/default-settings.php:191
403
  msgid "Posts"
404
  msgstr ""
405
 
406
+ #: includes/admin/default-settings.php:192
407
  msgid "Pages"
408
  msgstr ""
409
 
410
+ #: includes/admin/default-settings.php:193
411
  msgid "Home page"
412
  msgstr ""
413
 
414
+ #: includes/admin/default-settings.php:194
415
  msgid "Feeds"
416
  msgstr ""
417
 
418
+ #: includes/admin/default-settings.php:195
419
  msgid "Category archives"
420
  msgstr ""
421
 
422
+ #: includes/admin/default-settings.php:196
423
  msgid "Tag archives"
424
  msgstr ""
425
 
426
+ #: includes/admin/default-settings.php:197
427
  msgid "Other archives"
428
  msgstr ""
429
 
430
+ #: includes/admin/default-settings.php:202
431
  msgid "Format to display the post views"
432
  msgstr ""
433
 
434
+ #: includes/admin/default-settings.php:204
435
  #, php-format
436
  msgid ""
437
  "Use %1$s to display the total count, %2$s for daily count and %3$s for "
438
  "overall counts across all posts. Default display is %4$s"
439
  msgstr ""
440
 
441
+ #: includes/admin/default-settings.php:210
442
  msgid "What to display when there are no visits?"
443
  msgstr ""
444
 
445
+ #: includes/admin/default-settings.php:212
446
  msgid ""
447
  "This text applies only when there are 0 hits for the post and it isn't a "
448
  "single page. e.g. if you display post views on the homepage or archives then "
450
  "option."
451
  msgstr ""
452
 
453
+ #: includes/admin/default-settings.php:218
454
  msgid "Number format post count"
455
  msgstr ""
456
 
457
+ #: includes/admin/default-settings.php:219
458
  msgid ""
459
  "Activating this option will convert the post counts into a number format "
460
  "based on the locale"
461
  msgstr ""
462
 
463
+ #: includes/admin/default-settings.php:225
464
  msgid "Always display latest post count"
465
  msgstr ""
466
 
467
+ #: includes/admin/default-settings.php:226
468
  msgid ""
469
  "This option uses JavaScript and will increase your page load time. Turn this "
470
  "off if you are not using caching plugins or are OK with displaying older "
471
  "cached counts."
472
  msgstr ""
473
 
474
+ #: includes/admin/default-settings.php:232
475
  msgid "Tracker type"
476
  msgstr ""
477
 
478
+ #: includes/admin/default-settings.php:240
479
  msgid "Load tracker on all pages"
480
  msgstr ""
481
 
482
+ #: includes/admin/default-settings.php:241
483
  msgid ""
484
  "This will load the tracker js on all pages. Helpful if you are running "
485
  "minification/concatenation plugins."
486
  msgstr ""
487
 
488
+ #: includes/admin/default-settings.php:247
489
  msgid "Track user groups"
490
  msgstr ""
491
 
492
+ #: includes/admin/default-settings.php:248
493
  msgid ""
494
  "Uncheck above to disable tracking if the current user falls into any one of "
495
  "these groups."
496
  msgstr ""
497
 
498
+ #: includes/admin/default-settings.php:255
499
  msgid "Authors"
500
  msgstr ""
501
 
502
+ #: includes/admin/default-settings.php:256
503
  msgid "Editors"
504
  msgstr ""
505
 
506
+ #: includes/admin/default-settings.php:257
507
  msgid "Admins"
508
  msgstr ""
509
 
510
+ #: includes/admin/default-settings.php:262
511
  msgid "Track logged-in users"
512
  msgstr ""
513
 
514
+ #: includes/admin/default-settings.php:263
515
  msgid ""
516
  "Uncheck to stop tracking logged in users. Only logged out visitors will be "
517
  "tracked if this is disabled. Unchecking this will override the above setting."
518
  msgstr ""
519
 
520
+ #: includes/admin/default-settings.php:269
521
  msgid "Exclude display on these post IDs"
522
  msgstr ""
523
 
524
+ #: includes/admin/default-settings.php:270
525
  msgid ""
526
  "Comma-separated list of post or page IDs to exclude displaying the top posts "
527
  "on. e.g. 188,320,500"
528
  msgstr ""
529
 
530
+ #: includes/admin/default-settings.php:276
531
  msgid "Page views in admin"
532
  msgstr ""
533
 
534
+ #: includes/admin/default-settings.php:277
535
  msgid ""
536
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
537
  "and All Pages. You can selectively disable these by pulling down the Screen "
538
  "Options from the top right of the respective screens."
539
  msgstr ""
540
 
541
+ #: includes/admin/default-settings.php:283
542
  msgid "Show views to non-admins"
543
  msgstr ""
544
 
545
+ #: includes/admin/default-settings.php:284
546
  msgid ""
547
  "If you disable this then non-admins won't see the above columns or view the "
548
  "independent pages with the top posts."
549
  msgstr ""
550
 
551
+ #: includes/admin/default-settings.php:290
552
  msgid "Debug mode"
553
  msgstr ""
554
 
555
+ #: includes/admin/default-settings.php:291
556
  msgid ""
557
  "Setting this to true will force the tracker to display an output in the "
558
  "browser. This is useful if you are having issues and are seeking support."
559
  msgstr ""
560
 
561
+ #: includes/admin/default-settings.php:320
562
+ #: includes/admin/default-settings.php:769
563
  msgid "Number of posts to display"
564
  msgstr ""
565
 
566
+ #: includes/admin/default-settings.php:321
567
  msgid ""
568
  "Maximum number of posts that will be displayed in the list. This option is "
569
+ "used if you do not specify the number of posts in the widget or shortcodes"
570
  msgstr ""
571
 
572
+ #: includes/admin/default-settings.php:328
573
  msgid "Published age of posts"
574
  msgstr ""
575
 
576
+ #: includes/admin/default-settings.php:329
577
  msgid ""
578
  "This options allows you to only show posts that have been published within "
579
  "the above day range. Applies to both overall posts and daily posts lists. e."
581
  "posts lists. Enter 0 for no restriction."
582
  msgstr ""
583
 
584
+ #: includes/admin/default-settings.php:335
585
  msgid "Post types to include"
586
  msgstr ""
587
 
588
+ #: includes/admin/default-settings.php:336
589
  msgid ""
590
  "At least one option should be selected above. Select which post types you "
591
  "want to include in the list of posts. This field can be overridden using a "
592
  "comma separated list of post types when using the manual display."
593
  msgstr ""
594
 
595
+ #: includes/admin/default-settings.php:342
596
  msgid "Post/page IDs to exclude"
597
  msgstr ""
598
 
599
+ #: includes/admin/default-settings.php:343
600
  msgid ""
601
  "Comma-separated list of post or page IDs to exclude from the list. e.g. "
602
  "188,320,500"
603
  msgstr ""
604
 
605
+ #: includes/admin/default-settings.php:349
606
  msgid "Exclude Categories"
607
  msgstr ""
608
 
609
+ #: includes/admin/default-settings.php:350
610
  msgid ""
611
  "Comma separated list of category slugs. The field above has an autocomplete "
612
  "so simply start typing in the starting letters and it will prompt you with "
613
  "options. Does not support custom taxonomies."
614
  msgstr ""
615
 
616
+ #: includes/admin/default-settings.php:361
617
  msgid "Exclude category IDs"
618
  msgstr ""
619
 
620
+ #: includes/admin/default-settings.php:362
621
  msgid ""
622
  "This is a readonly field that is automatically populated based on the above "
623
  "input when the settings are saved. These might differ from the IDs visible "
625
  "term_taxonomy_id which is unique to this taxonomy."
626
  msgstr ""
627
 
628
+ #: includes/admin/default-settings.php:369
629
  msgid "Customize the output"
630
  msgstr ""
631
 
632
+ #: includes/admin/default-settings.php:375
633
  msgid "Heading of posts"
634
  msgstr ""
635
 
636
+ #: includes/admin/default-settings.php:376
637
+ #: includes/admin/default-settings.php:384
638
  msgid "Displayed before the list of the posts as a the master heading"
639
  msgstr ""
640
 
641
+ #: includes/admin/default-settings.php:378
642
  msgid "Popular posts:"
643
  msgstr ""
644
 
645
+ #: includes/admin/default-settings.php:383
646
  msgid "Heading of posts for daily/custom period lists"
647
  msgstr ""
648
 
649
+ #: includes/admin/default-settings.php:386
650
  msgid "Currently trending:"
651
  msgstr ""
652
 
653
+ #: includes/admin/default-settings.php:391
654
  msgid "Show when no posts are found"
655
  msgstr ""
656
 
657
+ #: includes/admin/default-settings.php:397
658
  msgid "Blank output"
659
  msgstr ""
660
 
661
+ #: includes/admin/default-settings.php:398
662
  msgid "Display custom text"
663
  msgstr ""
664
 
665
+ #: includes/admin/default-settings.php:403
666
  msgid "Custom text"
667
  msgstr ""
668
 
669
+ #: includes/admin/default-settings.php:404
670
  msgid ""
671
  "Enter the custom text that will be displayed if the second option is "
672
  "selected above"
673
  msgstr ""
674
 
675
+ #: includes/admin/default-settings.php:406 includes/deprecated.php:180
676
  msgid "No top posts yet"
677
  msgstr ""
678
 
679
+ #: includes/admin/default-settings.php:410
680
  msgid "Show post excerpt"
681
  msgstr ""
682
 
683
+ #: includes/admin/default-settings.php:417
684
  msgid "Length of excerpt (in words)"
685
  msgstr ""
686
 
687
+ #: includes/admin/default-settings.php:425
688
  msgid "Show date"
689
  msgstr ""
690
 
691
+ #: includes/admin/default-settings.php:432
692
  msgid "Show author"
693
  msgstr ""
694
 
695
+ #: includes/admin/default-settings.php:439
696
  msgid "Show number of views"
697
  msgstr ""
698
 
699
+ #: includes/admin/default-settings.php:446
700
  msgid "Limit post title length (in characters)"
701
  msgstr ""
702
 
703
+ #: includes/admin/default-settings.php:454
704
  msgid "Open links in new window"
705
  msgstr ""
706
 
707
+ #: includes/admin/default-settings.php:461
708
  msgid "Add nofollow to links"
709
  msgstr ""
710
 
711
+ #: includes/admin/default-settings.php:468
712
  msgid "HTML to display"
713
  msgstr ""
714
 
715
+ #: includes/admin/default-settings.php:474
716
  msgid "Before the list of posts"
717
  msgstr ""
718
 
719
+ #: includes/admin/default-settings.php:481
720
  msgid "After the list of posts"
721
  msgstr ""
722
 
723
+ #: includes/admin/default-settings.php:488
724
  msgid "Before each list item"
725
  msgstr ""
726
 
727
+ #: includes/admin/default-settings.php:495
728
  msgid "After each list item"
729
  msgstr ""
730
 
731
+ #: includes/admin/default-settings.php:525
732
  msgid "Location of the post thumbnail"
733
  msgstr ""
734
 
735
+ #: includes/admin/default-settings.php:530
736
  msgid "Display thumbnails inline with posts, before title"
737
  msgstr ""
738
 
739
+ #: includes/admin/default-settings.php:531
740
  msgid "Display thumbnails inline with posts, after title"
741
  msgstr ""
742
 
743
+ #: includes/admin/default-settings.php:532
744
  msgid "Display only thumbnails, no text"
745
  msgstr ""
746
 
747
+ #: includes/admin/default-settings.php:533
748
  msgid "Do not display thumbnails, only text"
749
  msgstr ""
750
 
751
+ #: includes/admin/default-settings.php:538
752
  msgid "Thumbnail size"
753
  msgstr ""
754
 
755
+ #: includes/admin/default-settings.php:540
756
  msgid ""
757
  "You can choose from existing image sizes above or create a custom size. If "
758
  "you have chosen Custom size above, then enter the width, height and crop "
760
  "width and/or height below, existing images will not be automatically resized."
761
  msgstr ""
762
 
763
+ #: includes/admin/default-settings.php:540
764
  #, php-format
765
  msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
766
  msgstr ""
767
 
768
+ #: includes/admin/default-settings.php:547
769
  #: includes/modules/class-top-ten-widget.php:145
770
  msgid "Thumbnail width"
771
  msgstr ""
772
 
773
+ #: includes/admin/default-settings.php:555
774
  #: includes/modules/class-top-ten-widget.php:139
775
  msgid "Thumbnail height"
776
  msgstr ""
777
 
778
+ #: includes/admin/default-settings.php:563
779
  msgid "Hard crop thumbnails"
780
  msgstr ""
781
 
782
+ #: includes/admin/default-settings.php:564
783
  msgid ""
784
  "Check this box to hard crop the thumbnails. i.e. force the width and height "
785
  "above vs. maintaining proportions."
786
  msgstr ""
787
 
788
+ #: includes/admin/default-settings.php:570
789
  msgid "Generate thumbnail sizes"
790
  msgstr ""
791
 
792
+ #: includes/admin/default-settings.php:571
793
  msgid ""
794
  "If you select this option and Custom size is selected above, the plugin will "
795
  "register the image size with WordPress to create new thumbnails. Does not "
796
  "update old images as explained above."
797
  msgstr ""
798
 
799
+ #: includes/admin/default-settings.php:577
800
  msgid "Thumbnail size attributes"
801
  msgstr ""
802
 
803
+ #: includes/admin/default-settings.php:583
804
  #, php-format
805
  msgid "Use CSS to set the width and height: e.g. %s"
806
  msgstr ""
807
 
808
+ #: includes/admin/default-settings.php:585
809
  #, php-format
810
  msgid "Use HTML attributes to set the width and height: e.g. %s"
811
  msgstr ""
812
 
813
+ #: includes/admin/default-settings.php:586
814
  msgid ""
815
  "No width or height set. You will need to use external styles to force any "
816
  "width or height of your choice."
817
  msgstr ""
818
 
819
+ #: includes/admin/default-settings.php:591
820
  msgid "Thumbnail meta field name"
821
  msgstr ""
822
 
823
+ #: includes/admin/default-settings.php:592
824
  msgid ""
825
  "The value of this field should contain the URL of the image and can be set "
826
  "in the metabox in the Edit Post screen"
827
  msgstr ""
828
 
829
+ #: includes/admin/default-settings.php:598
830
  msgid "Get first image"
831
  msgstr ""
832
 
833
+ #: includes/admin/default-settings.php:599
834
  msgid ""
835
  "The plugin will fetch the first image in the post content if this is "
836
  "enabled. This can slow down the loading of your page if the first image in "
837
  "the followed posts is large in file-size."
838
  msgstr ""
839
 
840
+ #: includes/admin/default-settings.php:605
841
  msgid "Use default thumbnail?"
842
  msgstr ""
843
 
844
+ #: includes/admin/default-settings.php:606
845
  msgid ""
846
  "If checked, when no thumbnail is found, show a default one from the URL "
847
  "below. If not checked and no thumbnail is found, no image will be shown."
848
  msgstr ""
849
 
850
+ #: includes/admin/default-settings.php:612 includes/admin/settings-page.php:688
851
  msgid "Default thumbnail"
852
  msgstr ""
853
 
854
+ #: includes/admin/default-settings.php:613
855
  msgid ""
856
  "Enter the full URL of the image that you wish to display if no thumbnail is "
857
  "found. This image will be displayed below."
858
  msgstr ""
859
 
860
+ #: includes/admin/default-settings.php:643
861
  msgid "Popular posts style"
862
  msgstr ""
863
 
864
+ #: includes/admin/default-settings.php:651
865
  msgid "Custom CSS"
866
  msgstr ""
867
 
868
+ #: includes/admin/default-settings.php:653
869
  #, php-format
870
  msgid ""
871
  "Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
872
  "CSS classes to style."
873
  msgstr ""
874
 
875
+ #: includes/admin/default-settings.php:682
876
  msgid "Enable scheduled maintenance"
877
  msgstr ""
878
 
879
+ #: includes/admin/default-settings.php:683
880
  msgid ""
881
  "Cleaning the database at regular intervals could improve performance, "
882
  "especially on high traffic blogs. Enabling maintenance will automatically "
883
  "delete entries older than 90 days in the daily tables."
884
  msgstr ""
885
 
886
+ #: includes/admin/default-settings.php:689
887
  msgid "Time to run maintenance"
888
  msgstr ""
889
 
890
+ #: includes/admin/default-settings.php:690
891
  msgid "The next two options allow you to set the time to run the cron."
892
  msgstr ""
893
 
894
+ #: includes/admin/default-settings.php:695
895
  msgid "Hour"
896
  msgstr ""
897
 
898
+ #: includes/admin/default-settings.php:705
899
  msgid "Minute"
900
  msgstr ""
901
 
902
+ #: includes/admin/default-settings.php:715
903
  msgid "Run maintenance"
904
  msgstr ""
905
 
906
+ #: includes/admin/default-settings.php:721
907
  msgid "Weekly"
908
  msgstr ""
909
 
910
+ #: includes/admin/default-settings.php:722
911
  msgid "Fortnightly"
912
  msgstr ""
913
 
914
+ #: includes/admin/default-settings.php:723
915
  msgid "Monthly"
916
  msgstr ""
917
 
918
+ #: includes/admin/default-settings.php:751
919
+ msgid "Permalink - Overall"
920
+ msgstr ""
921
+
922
+ #: includes/admin/default-settings.php:753
923
+ #, php-format
924
+ msgid ""
925
+ "This will set the path of the custom feed generated by the plugin for "
926
+ "overall popular posts. You might need to %1$srefresh your permalinks%2$s "
927
+ "when changing this option."
928
+ msgstr ""
929
+
930
+ #: includes/admin/default-settings.php:760
931
+ msgid "Permalink - Daily"
932
+ msgstr ""
933
+
934
+ #: includes/admin/default-settings.php:762
935
+ #, php-format
936
+ msgid ""
937
+ "This will set the path of the custom feed generated by the plugin for daily/"
938
+ "custom period popular posts. You might need to %1$srefresh your permalinks"
939
+ "%2$s when changing this option."
940
+ msgstr ""
941
+
942
+ #: includes/admin/default-settings.php:770
943
+ msgid "Maximum number of posts that will be displayed in the custom feed."
944
+ msgstr ""
945
+
946
+ #: includes/admin/default-settings.php:777
947
+ msgid "Custom period in day(s)"
948
+ msgstr ""
949
+
950
+ #: includes/admin/default-settings.php:879
951
  msgid "No styles"
952
  msgstr ""
953
 
954
+ #: includes/admin/default-settings.php:880
955
  msgid "Select this option if you plan to add your own styles"
956
  msgstr ""
957
 
958
+ #: includes/admin/default-settings.php:884
959
  msgid "Text only"
960
  msgstr ""
961
 
962
+ #: includes/admin/default-settings.php:885
963
  msgid ""
964
  "Disable thumbnails and no longer include the default style sheet included in "
965
  "the plugin"
966
  msgstr ""
967
 
968
+ #: includes/admin/default-settings.php:889
969
  msgid "Left thumbnails"
970
  msgstr ""
971
 
972
+ #: includes/admin/default-settings.php:890
973
  msgid ""
974
  "Enabling this option will set the post thumbnail to be before text. "
975
  "Disabling this option will not revert any settings."
976
  msgstr ""
977
 
978
+ #: includes/admin/help-tab.php:35 includes/admin/help-tab.php:136
979
+ #: includes/admin/help-tab.php:176
980
  #, php-format
981
  msgid ""
982
  "For more information or how to get support visit the <a href=\"%1$s"
983
  "\">WebberZone support site</a>."
984
  msgstr ""
985
 
986
+ #: includes/admin/help-tab.php:37 includes/admin/help-tab.php:138
987
+ #: includes/admin/help-tab.php:178
988
  #, php-format
989
  msgid ""
990
  "Support queries should be posted in the <a href=\"%1$s\">WordPress.org "
991
  "support forums</a>."
992
  msgstr ""
993
 
994
+ #: includes/admin/help-tab.php:40 includes/admin/help-tab.php:141
995
  #, php-format
996
  msgid ""
997
  "<a href=\"%1$s\">Post an issue</a> on <a href=\"%2$s\">GitHub</a> (bug "
998
  "reports only)."
999
  msgstr ""
1000
 
1001
+ #: includes/admin/help-tab.php:49 includes/admin/help-tab.php:150
1002
+ #: includes/admin/help-tab.php:189 includes/admin/settings-page.php:125
1003
  msgid "General"
1004
  msgstr ""
1005
 
1089
  msgid "Choose how often to run maintenance and at what time of the day."
1090
  msgstr ""
1091
 
1092
+ #: includes/admin/help-tab.php:109 includes/admin/settings-page.php:131
1093
+ msgid "Feed"
1094
+ msgstr ""
1095
+
1096
+ #: includes/admin/help-tab.php:111
1097
+ msgid ""
1098
+ "This screen provides options to control the custom feeds for the daily and "
1099
+ "overall popular posts. You can access the custom feed at example.com/feed/"
1100
+ "popular-posts/ replacing example.com with your blog domain."
1101
+ msgstr ""
1102
+
1103
+ #: includes/admin/help-tab.php:112
1104
+ msgid ""
1105
+ "You can also change the permalink in the settings below. You will need to "
1106
+ "refresh your permalinks if you change these settings. Alternatively save the "
1107
+ "settings page twice."
1108
+ msgstr ""
1109
+
1110
+ #: includes/admin/help-tab.php:152
1111
  msgid ""
1112
  "This screen provides some tools that help maintain certain features of Top "
1113
  "10."
1114
  msgstr ""
1115
 
1116
+ #: includes/admin/help-tab.php:153
1117
  msgid ""
1118
  "Clear the cache, reset the popular posts tables plus some miscellaneous "
1119
  "fixes for older versions of Top 10."
1120
  msgstr ""
1121
 
1122
+ #: includes/admin/help-tab.php:181
1123
  #, php-format
1124
  msgid "<a href=\"%1$s\">Top 10 Knowledge base</a>"
1125
  msgstr ""
1126
 
1127
+ #: includes/admin/help-tab.php:191
1128
  msgid "This screen allows you to import and export the database tables."
1129
  msgstr ""
1130
 
1131
+ #: includes/admin/help-tab.php:192
1132
  msgid "Refer to the knowledge base to learn how to use this in detail."
1133
  msgstr ""
1134
 
1257
  "the updated settings"
1258
  msgstr ""
1259
 
1260
+ #: includes/admin/save-settings.php:125
1261
  msgid "Settings updated."
1262
  msgstr ""
1263
 
1273
  msgid "Reset all settings"
1274
  msgstr ""
1275
 
1276
+ #: includes/admin/settings-page.php:156
1277
  #, php-format
1278
  msgid ""
1279
  "The callback function used for the <strong>%s</strong> setting is missing."
1280
  msgstr ""
1281
 
1282
+ #: includes/admin/settings-page.php:313
1283
  msgid "Modified from default setting"
1284
  msgstr ""
1285
 
languages/top-10-en_US.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Top 10\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2019-05-27 00:10+0100\n"
7
  "PO-Revision-Date: \n"
8
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
9
  "Language-Team: WebberZone <plugins@webberzone.com>\n"
@@ -14,7 +14,7 @@ msgstr ""
14
  "X-Poedit-KeywordsList: __;_e;_c;__ngettext;esc_html__;esc_attr__;esc_html_e;"
15
  "esc_attr_e\n"
16
  "X-Poedit-Basepath: ..\n"
17
- "X-Generator: Poedit 2.2\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
19
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
  "X-Poedit-SearchPath-0: .\n"
@@ -45,6 +45,7 @@ msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
  #: includes/admin/admin-dashboard.php:127 includes/admin/admin.php:40
 
48
  #: includes/admin/class-top-ten-statistics.php:128
49
  msgid "Popular Posts"
50
  msgstr ""
@@ -110,7 +111,7 @@ msgstr ""
110
  msgid "Top 10 Settings"
111
  msgstr ""
112
 
113
- #: includes/admin/admin.php:30
114
  msgid "Top 10"
115
  msgstr ""
116
 
@@ -166,171 +167,190 @@ msgstr ""
166
  msgid "Contribute"
167
  msgstr ""
168
 
 
 
 
 
169
  #: includes/admin/cache.php:21
170
  msgid "Top 10 cache has been cleared"
171
  msgstr ""
172
 
 
173
  #: includes/admin/class-top-ten-statistics-table.php:43
174
  msgid "popular_post"
175
  msgstr ""
176
 
 
177
  #: includes/admin/class-top-ten-statistics-table.php:44
178
  msgid "popular_posts"
179
  msgstr ""
180
 
181
- #: includes/admin/class-top-ten-statistics-table.php:48
182
- msgid "All post types"
183
- msgstr ""
184
-
185
  #: includes/admin/class-top-ten-statistics-table.php:215
186
  msgid "No popular posts available."
187
  msgstr ""
188
 
189
- #: includes/admin/class-top-ten-statistics-table.php:266
190
- msgid "View"
 
191
  msgstr ""
192
 
193
- #: includes/admin/class-top-ten-statistics-table.php:267
194
- msgid "Edit"
 
 
 
195
  msgstr ""
196
 
197
- #: includes/admin/class-top-ten-statistics-table.php:268
198
- msgid "Delete"
199
  msgstr ""
200
 
201
- #: includes/admin/class-top-ten-statistics-table.php:291
202
- msgid "Y/m/d g:i:s a"
 
 
203
  msgstr ""
204
 
205
- #: includes/admin/class-top-ten-statistics-table.php:299
206
- #, php-format
207
- msgid "%s ago"
208
  msgstr ""
209
 
210
- #: includes/admin/class-top-ten-statistics-table.php:301
211
- msgid "Y/m/d"
 
212
  msgstr ""
213
 
214
- #: includes/admin/class-top-ten-statistics-table.php:340
215
- #: includes/modules/class-top-ten-count-widget.php:53
216
- #: includes/modules/class-top-ten-widget.php:80
217
- msgid "Title"
218
  msgstr ""
219
 
220
- #: includes/admin/class-top-ten-statistics-table.php:341
221
- msgid "Total visits"
 
222
  msgstr ""
223
 
224
- #: includes/admin/class-top-ten-statistics-table.php:342
225
- msgid "Daily visits"
 
226
  msgstr ""
227
 
228
- #: includes/admin/class-top-ten-statistics-table.php:343
229
- msgid "Post type"
230
  msgstr ""
231
 
232
- #: includes/admin/class-top-ten-statistics-table.php:344
233
- msgid "Author"
234
  msgstr ""
235
 
236
- #: includes/admin/class-top-ten-statistics-table.php:345
237
- #: includes/admin/import-export.php:183
238
- msgid "Date"
239
  msgstr ""
240
 
241
- #: includes/admin/class-top-ten-statistics-table.php:379
242
- msgid "Delete Count"
243
  msgstr ""
244
 
245
- #: includes/admin/class-top-ten-statistics-table.php:426
246
- msgid "Are you sure you want to do this"
247
  msgstr ""
248
 
249
- #: includes/admin/class-top-ten-statistics-table.php:494
250
- msgid "Filter"
 
 
 
 
 
 
 
 
 
251
  msgstr ""
252
 
253
  #: includes/admin/class-top-ten-statistics.php:103
254
  msgid "Search Table"
255
  msgstr ""
256
 
257
- #: includes/admin/default-settings.php:62
258
  msgid "Enable trackers"
259
  msgstr ""
260
 
261
- #: includes/admin/default-settings.php:71
262
  #: includes/modules/class-top-ten-widget.php:95
263
  msgid "Overall"
264
  msgstr ""
265
 
266
- #: includes/admin/default-settings.php:72
267
- #: includes/admin/default-settings.php:719
268
  msgid "Daily"
269
  msgstr ""
270
 
271
- #: includes/admin/default-settings.php:77
272
  msgid "Enable cache"
273
  msgstr ""
274
 
275
- #: includes/admin/default-settings.php:78
276
  msgid ""
277
  "If activated, Top 10 will use the Transients API to cache the popular posts "
278
  "output for 1 hour."
279
  msgstr ""
280
 
281
- #: includes/admin/default-settings.php:84
282
  msgid "Time to cache"
283
  msgstr ""
284
 
285
- #: includes/admin/default-settings.php:85
286
  msgid "Enter the number of seconds to cache the output."
287
  msgstr ""
288
 
289
- #: includes/admin/default-settings.php:91
290
  msgid "Start daily counts from midnight"
291
  msgstr ""
292
 
293
- #: includes/admin/default-settings.php:92
294
  msgid ""
295
  "Daily counter will display number of visits from midnight. This option is "
296
  "checked by default and mimics the way most normal counters work. Turning "
297
  "this off will allow you to use the hourly setting in the next option."
298
  msgstr ""
299
 
300
- #: includes/admin/default-settings.php:98
301
  msgid "Default custom period range"
302
  msgstr ""
303
 
304
- #: includes/admin/default-settings.php:99
305
  msgid ""
306
  "The next two options allow you to set the default range for the custom "
307
  "period. This was previously called the daily range. This can be overridden "
308
  "in the widget."
309
  msgstr ""
310
 
311
- #: includes/admin/default-settings.php:104
312
  msgid "Day(s)"
313
  msgstr ""
314
 
315
- #: includes/admin/default-settings.php:113
316
  msgid "Hour(s)"
317
  msgstr ""
318
 
319
- #: includes/admin/default-settings.php:123
320
  msgid "Delete options on uninstall"
321
  msgstr ""
322
 
323
- #: includes/admin/default-settings.php:124
324
  msgid ""
325
  "If this is checked, all settings related to Top 10 are removed from the "
326
  "database if you choose to uninstall/delete the plugin."
327
  msgstr ""
328
 
329
- #: includes/admin/default-settings.php:130
330
  msgid "Delete counter data on uninstall"
331
  msgstr ""
332
 
333
- #: includes/admin/default-settings.php:131
334
  msgid ""
335
  "If this is checked, the tables containing the counter statistics are removed "
336
  "from the database if you choose to uninstall/delete the plugin. Keep this "
@@ -338,92 +358,92 @@ msgid ""
338
  "counter data."
339
  msgstr ""
340
 
341
- #: includes/admin/default-settings.php:137
342
  msgid "Show metabox"
343
  msgstr ""
344
 
345
- #: includes/admin/default-settings.php:138
346
  msgid ""
347
  "This will add the Top 10 metabox on Edit Posts or Add New Posts screens. "
348
  "Also applies to Pages and Custom Post Types."
349
  msgstr ""
350
 
351
- #: includes/admin/default-settings.php:144
352
  msgid "Limit meta box to Admins only"
353
  msgstr ""
354
 
355
- #: includes/admin/default-settings.php:145
356
  msgid ""
357
  "If selected, the meta box will be hidden from anyone who is not an Admin. By "
358
  "default, Contributors and above will be able to see the meta box. Applies "
359
  "only if the above option is selected."
360
  msgstr ""
361
 
362
- #: includes/admin/default-settings.php:151
363
  msgid "Link to Top 10 plugin page"
364
  msgstr ""
365
 
366
- #: includes/admin/default-settings.php:152
367
  msgid ""
368
  "A no-follow link to the plugin homepage will be added as the last item of "
369
  "the popular posts."
370
  msgstr ""
371
 
372
- #: includes/admin/default-settings.php:181
373
  msgid "Display number of views on"
374
  msgstr ""
375
 
376
- #: includes/admin/default-settings.php:183
377
  #, php-format
378
  msgid ""
379
  "If you choose to disable this, please add %1$s to your template file where "
380
  "you want it displayed"
381
  msgstr ""
382
 
383
- #: includes/admin/default-settings.php:190
384
  msgid "Posts"
385
  msgstr ""
386
 
387
- #: includes/admin/default-settings.php:191
388
  msgid "Pages"
389
  msgstr ""
390
 
391
- #: includes/admin/default-settings.php:192
392
  msgid "Home page"
393
  msgstr ""
394
 
395
- #: includes/admin/default-settings.php:193
396
  msgid "Feeds"
397
  msgstr ""
398
 
399
- #: includes/admin/default-settings.php:194
400
  msgid "Category archives"
401
  msgstr ""
402
 
403
- #: includes/admin/default-settings.php:195
404
  msgid "Tag archives"
405
  msgstr ""
406
 
407
- #: includes/admin/default-settings.php:196
408
  msgid "Other archives"
409
  msgstr ""
410
 
411
- #: includes/admin/default-settings.php:201
412
  msgid "Format to display the post views"
413
  msgstr ""
414
 
415
- #: includes/admin/default-settings.php:203
416
  #, php-format
417
  msgid ""
418
  "Use %1$s to display the total count, %2$s for daily count and %3$s for "
419
  "overall counts across all posts. Default display is %4$s"
420
  msgstr ""
421
 
422
- #: includes/admin/default-settings.php:209
423
  msgid "What to display when there are no visits?"
424
  msgstr ""
425
 
426
- #: includes/admin/default-settings.php:211
427
  msgid ""
428
  "This text applies only when there are 0 hits for the post and it isn't a "
429
  "single page. e.g. if you display post views on the homepage or archives then "
@@ -431,129 +451,130 @@ msgid ""
431
  "option."
432
  msgstr ""
433
 
434
- #: includes/admin/default-settings.php:217
435
  msgid "Number format post count"
436
  msgstr ""
437
 
438
- #: includes/admin/default-settings.php:218
439
  msgid ""
440
  "Activating this option will convert the post counts into a number format "
441
  "based on the locale"
442
  msgstr ""
443
 
444
- #: includes/admin/default-settings.php:224
445
  msgid "Always display latest post count"
446
  msgstr ""
447
 
448
- #: includes/admin/default-settings.php:225
449
  msgid ""
450
  "This option uses JavaScript and will increase your page load time. Turn this "
451
  "off if you are not using caching plugins or are OK with displaying older "
452
  "cached counts."
453
  msgstr ""
454
 
455
- #: includes/admin/default-settings.php:231
456
  msgid "Tracker type"
457
  msgstr ""
458
 
459
- #: includes/admin/default-settings.php:239
460
  msgid "Load tracker on all pages"
461
  msgstr ""
462
 
463
- #: includes/admin/default-settings.php:240
464
  msgid ""
465
  "This will load the tracker js on all pages. Helpful if you are running "
466
  "minification/concatenation plugins."
467
  msgstr ""
468
 
469
- #: includes/admin/default-settings.php:246
470
  msgid "Track user groups"
471
  msgstr ""
472
 
473
- #: includes/admin/default-settings.php:247
474
  msgid ""
475
  "Uncheck above to disable tracking if the current user falls into any one of "
476
  "these groups."
477
  msgstr ""
478
 
479
- #: includes/admin/default-settings.php:254
480
  msgid "Authors"
481
  msgstr ""
482
 
483
- #: includes/admin/default-settings.php:255
484
  msgid "Editors"
485
  msgstr ""
486
 
487
- #: includes/admin/default-settings.php:256
488
  msgid "Admins"
489
  msgstr ""
490
 
491
- #: includes/admin/default-settings.php:261
492
  msgid "Track logged-in users"
493
  msgstr ""
494
 
495
- #: includes/admin/default-settings.php:262
496
  msgid ""
497
  "Uncheck to stop tracking logged in users. Only logged out visitors will be "
498
  "tracked if this is disabled. Unchecking this will override the above setting."
499
  msgstr ""
500
 
501
- #: includes/admin/default-settings.php:268
502
  msgid "Exclude display on these post IDs"
503
  msgstr ""
504
 
505
- #: includes/admin/default-settings.php:269
506
  msgid ""
507
  "Comma-separated list of post or page IDs to exclude displaying the top posts "
508
  "on. e.g. 188,320,500"
509
  msgstr ""
510
 
511
- #: includes/admin/default-settings.php:275
512
  msgid "Page views in admin"
513
  msgstr ""
514
 
515
- #: includes/admin/default-settings.php:276
516
  msgid ""
517
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
518
  "and All Pages. You can selectively disable these by pulling down the Screen "
519
  "Options from the top right of the respective screens."
520
  msgstr ""
521
 
522
- #: includes/admin/default-settings.php:282
523
  msgid "Show views to non-admins"
524
  msgstr ""
525
 
526
- #: includes/admin/default-settings.php:283
527
  msgid ""
528
  "If you disable this then non-admins won't see the above columns or view the "
529
  "independent pages with the top posts."
530
  msgstr ""
531
 
532
- #: includes/admin/default-settings.php:289
533
  msgid "Debug mode"
534
  msgstr ""
535
 
536
- #: includes/admin/default-settings.php:290
537
  msgid ""
538
  "Setting this to true will force the tracker to display an output in the "
539
  "browser. This is useful if you are having issues and are seeking support."
540
  msgstr ""
541
 
542
- #: includes/admin/default-settings.php:319
 
543
  msgid "Number of posts to display"
544
  msgstr ""
545
 
546
- #: includes/admin/default-settings.php:320
547
  msgid ""
548
  "Maximum number of posts that will be displayed in the list. This option is "
549
- "used if you don not specify the number of posts in the widget or shortcodes"
550
  msgstr ""
551
 
552
- #: includes/admin/default-settings.php:327
553
  msgid "Published age of posts"
554
  msgstr ""
555
 
556
- #: includes/admin/default-settings.php:328
557
  msgid ""
558
  "This options allows you to only show posts that have been published within "
559
  "the above day range. Applies to both overall posts and daily posts lists. e."
@@ -561,43 +582,43 @@ msgid ""
561
  "posts lists. Enter 0 for no restriction."
562
  msgstr ""
563
 
564
- #: includes/admin/default-settings.php:334
565
  msgid "Post types to include"
566
  msgstr ""
567
 
568
- #: includes/admin/default-settings.php:335
569
  msgid ""
570
  "At least one option should be selected above. Select which post types you "
571
  "want to include in the list of posts. This field can be overridden using a "
572
  "comma separated list of post types when using the manual display."
573
  msgstr ""
574
 
575
- #: includes/admin/default-settings.php:341
576
  msgid "Post/page IDs to exclude"
577
  msgstr ""
578
 
579
- #: includes/admin/default-settings.php:342
580
  msgid ""
581
  "Comma-separated list of post or page IDs to exclude from the list. e.g. "
582
  "188,320,500"
583
  msgstr ""
584
 
585
- #: includes/admin/default-settings.php:348
586
  msgid "Exclude Categories"
587
  msgstr ""
588
 
589
- #: includes/admin/default-settings.php:349
590
  msgid ""
591
  "Comma separated list of category slugs. The field above has an autocomplete "
592
  "so simply start typing in the starting letters and it will prompt you with "
593
  "options. Does not support custom taxonomies."
594
  msgstr ""
595
 
596
- #: includes/admin/default-settings.php:360
597
  msgid "Exclude category IDs"
598
  msgstr ""
599
 
600
- #: includes/admin/default-settings.php:361
601
  msgid ""
602
  "This is a readonly field that is automatically populated based on the above "
603
  "input when the settings are saved. These might differ from the IDs visible "
@@ -605,134 +626,134 @@ msgid ""
605
  "term_taxonomy_id which is unique to this taxonomy."
606
  msgstr ""
607
 
608
- #: includes/admin/default-settings.php:368
609
  msgid "Customize the output"
610
  msgstr ""
611
 
612
- #: includes/admin/default-settings.php:374
613
  msgid "Heading of posts"
614
  msgstr ""
615
 
616
- #: includes/admin/default-settings.php:375
617
- #: includes/admin/default-settings.php:383
618
  msgid "Displayed before the list of the posts as a the master heading"
619
  msgstr ""
620
 
621
- #: includes/admin/default-settings.php:377
622
  msgid "Popular posts:"
623
  msgstr ""
624
 
625
- #: includes/admin/default-settings.php:382
626
  msgid "Heading of posts for daily/custom period lists"
627
  msgstr ""
628
 
629
- #: includes/admin/default-settings.php:385
630
  msgid "Currently trending:"
631
  msgstr ""
632
 
633
- #: includes/admin/default-settings.php:390
634
  msgid "Show when no posts are found"
635
  msgstr ""
636
 
637
- #: includes/admin/default-settings.php:396
638
  msgid "Blank output"
639
  msgstr ""
640
 
641
- #: includes/admin/default-settings.php:397
642
  msgid "Display custom text"
643
  msgstr ""
644
 
645
- #: includes/admin/default-settings.php:402
646
  msgid "Custom text"
647
  msgstr ""
648
 
649
- #: includes/admin/default-settings.php:403
650
  msgid ""
651
  "Enter the custom text that will be displayed if the second option is "
652
  "selected above"
653
  msgstr ""
654
 
655
- #: includes/admin/default-settings.php:405 includes/deprecated.php:180
656
  msgid "No top posts yet"
657
  msgstr ""
658
 
659
- #: includes/admin/default-settings.php:409
660
  msgid "Show post excerpt"
661
  msgstr ""
662
 
663
- #: includes/admin/default-settings.php:416
664
  msgid "Length of excerpt (in words)"
665
  msgstr ""
666
 
667
- #: includes/admin/default-settings.php:424
668
  msgid "Show date"
669
  msgstr ""
670
 
671
- #: includes/admin/default-settings.php:431
672
  msgid "Show author"
673
  msgstr ""
674
 
675
- #: includes/admin/default-settings.php:438
676
  msgid "Show number of views"
677
  msgstr ""
678
 
679
- #: includes/admin/default-settings.php:445
680
  msgid "Limit post title length (in characters)"
681
  msgstr ""
682
 
683
- #: includes/admin/default-settings.php:453
684
  msgid "Open links in new window"
685
  msgstr ""
686
 
687
- #: includes/admin/default-settings.php:460
688
  msgid "Add nofollow to links"
689
  msgstr ""
690
 
691
- #: includes/admin/default-settings.php:467
692
  msgid "HTML to display"
693
  msgstr ""
694
 
695
- #: includes/admin/default-settings.php:473
696
  msgid "Before the list of posts"
697
  msgstr ""
698
 
699
- #: includes/admin/default-settings.php:480
700
  msgid "After the list of posts"
701
  msgstr ""
702
 
703
- #: includes/admin/default-settings.php:487
704
  msgid "Before each list item"
705
  msgstr ""
706
 
707
- #: includes/admin/default-settings.php:494
708
  msgid "After each list item"
709
  msgstr ""
710
 
711
- #: includes/admin/default-settings.php:524
712
  msgid "Location of the post thumbnail"
713
  msgstr ""
714
 
715
- #: includes/admin/default-settings.php:529
716
  msgid "Display thumbnails inline with posts, before title"
717
  msgstr ""
718
 
719
- #: includes/admin/default-settings.php:530
720
  msgid "Display thumbnails inline with posts, after title"
721
  msgstr ""
722
 
723
- #: includes/admin/default-settings.php:531
724
  msgid "Display only thumbnails, no text"
725
  msgstr ""
726
 
727
- #: includes/admin/default-settings.php:532
728
  msgid "Do not display thumbnails, only text"
729
  msgstr ""
730
 
731
- #: includes/admin/default-settings.php:537
732
  msgid "Thumbnail size"
733
  msgstr ""
734
 
735
- #: includes/admin/default-settings.php:539
736
  msgid ""
737
  "You can choose from existing image sizes above or create a custom size. If "
738
  "you have chosen Custom size above, then enter the width, height and crop "
@@ -740,214 +761,246 @@ msgid ""
740
  "width and/or height below, existing images will not be automatically resized."
741
  msgstr ""
742
 
743
- #: includes/admin/default-settings.php:539
744
  #, php-format
745
  msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
746
  msgstr ""
747
 
748
- #: includes/admin/default-settings.php:546
749
  #: includes/modules/class-top-ten-widget.php:145
750
  msgid "Thumbnail width"
751
  msgstr ""
752
 
753
- #: includes/admin/default-settings.php:554
754
  #: includes/modules/class-top-ten-widget.php:139
755
  msgid "Thumbnail height"
756
  msgstr ""
757
 
758
- #: includes/admin/default-settings.php:562
759
  msgid "Hard crop thumbnails"
760
  msgstr ""
761
 
762
- #: includes/admin/default-settings.php:563
763
  msgid ""
764
  "Check this box to hard crop the thumbnails. i.e. force the width and height "
765
  "above vs. maintaining proportions."
766
  msgstr ""
767
 
768
- #: includes/admin/default-settings.php:569
769
  msgid "Generate thumbnail sizes"
770
  msgstr ""
771
 
772
- #: includes/admin/default-settings.php:570
773
  msgid ""
774
  "If you select this option and Custom size is selected above, the plugin will "
775
  "register the image size with WordPress to create new thumbnails. Does not "
776
  "update old images as explained above."
777
  msgstr ""
778
 
779
- #: includes/admin/default-settings.php:576
780
  msgid "Thumbnail size attributes"
781
  msgstr ""
782
 
783
- #: includes/admin/default-settings.php:582
784
  #, php-format
785
  msgid "Use CSS to set the width and height: e.g. %s"
786
  msgstr ""
787
 
788
- #: includes/admin/default-settings.php:584
789
  #, php-format
790
  msgid "Use HTML attributes to set the width and height: e.g. %s"
791
  msgstr ""
792
 
793
- #: includes/admin/default-settings.php:585
794
  msgid ""
795
  "No width or height set. You will need to use external styles to force any "
796
  "width or height of your choice."
797
  msgstr ""
798
 
799
- #: includes/admin/default-settings.php:590
800
  msgid "Thumbnail meta field name"
801
  msgstr ""
802
 
803
- #: includes/admin/default-settings.php:591
804
  msgid ""
805
  "The value of this field should contain the URL of the image and can be set "
806
  "in the metabox in the Edit Post screen"
807
  msgstr ""
808
 
809
- #: includes/admin/default-settings.php:597
810
  msgid "Get first image"
811
  msgstr ""
812
 
813
- #: includes/admin/default-settings.php:598
814
  msgid ""
815
  "The plugin will fetch the first image in the post content if this is "
816
  "enabled. This can slow down the loading of your page if the first image in "
817
  "the followed posts is large in file-size."
818
  msgstr ""
819
 
820
- #: includes/admin/default-settings.php:604
821
  msgid "Use default thumbnail?"
822
  msgstr ""
823
 
824
- #: includes/admin/default-settings.php:605
825
  msgid ""
826
  "If checked, when no thumbnail is found, show a default one from the URL "
827
  "below. If not checked and no thumbnail is found, no image will be shown."
828
  msgstr ""
829
 
830
- #: includes/admin/default-settings.php:611 includes/admin/settings-page.php:687
831
  msgid "Default thumbnail"
832
  msgstr ""
833
 
834
- #: includes/admin/default-settings.php:612
835
  msgid ""
836
  "Enter the full URL of the image that you wish to display if no thumbnail is "
837
  "found. This image will be displayed below."
838
  msgstr ""
839
 
840
- #: includes/admin/default-settings.php:642
841
  msgid "Popular posts style"
842
  msgstr ""
843
 
844
- #: includes/admin/default-settings.php:650
845
  msgid "Custom CSS"
846
  msgstr ""
847
 
848
- #: includes/admin/default-settings.php:652
849
  #, php-format
850
  msgid ""
851
  "Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
852
  "CSS classes to style."
853
  msgstr ""
854
 
855
- #: includes/admin/default-settings.php:681
856
  msgid "Enable scheduled maintenance"
857
  msgstr ""
858
 
859
- #: includes/admin/default-settings.php:682
860
  msgid ""
861
  "Cleaning the database at regular intervals could improve performance, "
862
  "especially on high traffic blogs. Enabling maintenance will automatically "
863
  "delete entries older than 90 days in the daily tables."
864
  msgstr ""
865
 
866
- #: includes/admin/default-settings.php:688
867
  msgid "Time to run maintenance"
868
  msgstr ""
869
 
870
- #: includes/admin/default-settings.php:689
871
  msgid "The next two options allow you to set the time to run the cron."
872
  msgstr ""
873
 
874
- #: includes/admin/default-settings.php:694
875
  msgid "Hour"
876
  msgstr ""
877
 
878
- #: includes/admin/default-settings.php:704
879
  msgid "Minute"
880
  msgstr ""
881
 
882
- #: includes/admin/default-settings.php:714
883
  msgid "Run maintenance"
884
  msgstr ""
885
 
886
- #: includes/admin/default-settings.php:720
887
  msgid "Weekly"
888
  msgstr ""
889
 
890
- #: includes/admin/default-settings.php:721
891
  msgid "Fortnightly"
892
  msgstr ""
893
 
894
- #: includes/admin/default-settings.php:722
895
  msgid "Monthly"
896
  msgstr ""
897
 
898
- #: includes/admin/default-settings.php:820
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
899
  msgid "No styles"
900
  msgstr ""
901
 
902
- #: includes/admin/default-settings.php:821
903
  msgid "Select this option if you plan to add your own styles"
904
  msgstr ""
905
 
906
- #: includes/admin/default-settings.php:825
907
  msgid "Text only"
908
  msgstr ""
909
 
910
- #: includes/admin/default-settings.php:826
911
  msgid ""
912
  "Disable thumbnails and no longer include the default style sheet included in "
913
  "the plugin"
914
  msgstr ""
915
 
916
- #: includes/admin/default-settings.php:830
917
  msgid "Left thumbnails"
918
  msgstr ""
919
 
920
- #: includes/admin/default-settings.php:831
921
  msgid ""
922
  "Enabling this option will set the post thumbnail to be before text. "
923
  "Disabling this option will not revert any settings."
924
  msgstr ""
925
 
926
- #: includes/admin/help-tab.php:35 includes/admin/help-tab.php:126
927
- #: includes/admin/help-tab.php:166
928
  #, php-format
929
  msgid ""
930
  "For more information or how to get support visit the <a href=\"%1$s"
931
  "\">WebberZone support site</a>."
932
  msgstr ""
933
 
934
- #: includes/admin/help-tab.php:37 includes/admin/help-tab.php:128
935
- #: includes/admin/help-tab.php:168
936
  #, php-format
937
  msgid ""
938
  "Support queries should be posted in the <a href=\"%1$s\">WordPress.org "
939
  "support forums</a>."
940
  msgstr ""
941
 
942
- #: includes/admin/help-tab.php:40 includes/admin/help-tab.php:131
943
  #, php-format
944
  msgid ""
945
  "<a href=\"%1$s\">Post an issue</a> on <a href=\"%2$s\">GitHub</a> (bug "
946
  "reports only)."
947
  msgstr ""
948
 
949
- #: includes/admin/help-tab.php:49 includes/admin/help-tab.php:140
950
- #: includes/admin/help-tab.php:179 includes/admin/settings-page.php:125
951
  msgid "General"
952
  msgstr ""
953
 
@@ -1037,28 +1090,46 @@ msgstr ""
1037
  msgid "Choose how often to run maintenance and at what time of the day."
1038
  msgstr ""
1039
 
1040
- #: includes/admin/help-tab.php:142
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1041
  msgid ""
1042
  "This screen provides some tools that help maintain certain features of Top "
1043
  "10."
1044
  msgstr ""
1045
 
1046
- #: includes/admin/help-tab.php:143
1047
  msgid ""
1048
  "Clear the cache, reset the popular posts tables plus some miscellaneous "
1049
  "fixes for older versions of Top 10."
1050
  msgstr ""
1051
 
1052
- #: includes/admin/help-tab.php:171
1053
  #, php-format
1054
  msgid "<a href=\"%1$s\">Top 10 Knowledge base</a>"
1055
  msgstr ""
1056
 
1057
- #: includes/admin/help-tab.php:181
1058
  msgid "This screen allows you to import and export the database tables."
1059
  msgstr ""
1060
 
1061
- #: includes/admin/help-tab.php:182
1062
  msgid "Refer to the knowledge base to learn how to use this in detail."
1063
  msgstr ""
1064
 
@@ -1187,7 +1258,7 @@ msgid ""
1187
  "the updated settings"
1188
  msgstr ""
1189
 
1190
- #: includes/admin/save-settings.php:119
1191
  msgid "Settings updated."
1192
  msgstr ""
1193
 
@@ -1203,13 +1274,13 @@ msgstr ""
1203
  msgid "Reset all settings"
1204
  msgstr ""
1205
 
1206
- #: includes/admin/settings-page.php:155
1207
  #, php-format
1208
  msgid ""
1209
  "The callback function used for the <strong>%s</strong> setting is missing."
1210
  msgstr ""
1211
 
1212
- #: includes/admin/settings-page.php:312
1213
  msgid "Modified from default setting"
1214
  msgstr ""
1215
 
3
  msgstr ""
4
  "Project-Id-Version: Top 10\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2019-12-07 12:34+0000\n"
7
  "PO-Revision-Date: \n"
8
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
9
  "Language-Team: WebberZone <plugins@webberzone.com>\n"
14
  "X-Poedit-KeywordsList: __;_e;_c;__ngettext;esc_html__;esc_attr__;esc_html_e;"
15
  "esc_attr_e\n"
16
  "X-Poedit-Basepath: ..\n"
17
+ "X-Generator: Poedit 2.2.3\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
19
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
  "X-Poedit-SearchPath-0: .\n"
45
  msgstr ""
46
 
47
  #: includes/admin/admin-dashboard.php:127 includes/admin/admin.php:40
48
+ #: includes/admin/class-top-ten-network-statistics.php:118
49
  #: includes/admin/class-top-ten-statistics.php:128
50
  msgid "Popular Posts"
51
  msgstr ""
111
  msgid "Top 10 Settings"
112
  msgstr ""
113
 
114
+ #: includes/admin/admin.php:30 includes/admin/admin.php:412
115
  msgid "Top 10"
116
  msgstr ""
117
 
167
  msgid "Contribute"
168
  msgstr ""
169
 
170
+ #: includes/admin/admin.php:412
171
+ msgid "Top 10 - Network Popular Posts"
172
+ msgstr ""
173
+
174
  #: includes/admin/cache.php:21
175
  msgid "Top 10 cache has been cleared"
176
  msgstr ""
177
 
178
+ #: includes/admin/class-top-ten-network-statistics-table.php:36
179
  #: includes/admin/class-top-ten-statistics-table.php:43
180
  msgid "popular_post"
181
  msgstr ""
182
 
183
+ #: includes/admin/class-top-ten-network-statistics-table.php:37
184
  #: includes/admin/class-top-ten-statistics-table.php:44
185
  msgid "popular_posts"
186
  msgstr ""
187
 
188
+ #: includes/admin/class-top-ten-network-statistics-table.php:185
 
 
 
189
  #: includes/admin/class-top-ten-statistics-table.php:215
190
  msgid "No popular posts available."
191
  msgstr ""
192
 
193
+ #: includes/admin/class-top-ten-network-statistics-table.php:254
194
+ #: includes/admin/class-top-ten-statistics-table.php:300
195
+ msgid "Y/m/d"
196
  msgstr ""
197
 
198
+ #: includes/admin/class-top-ten-network-statistics-table.php:291
199
+ #: includes/admin/class-top-ten-statistics-table.php:339
200
+ #: includes/modules/class-top-ten-count-widget.php:53
201
+ #: includes/modules/class-top-ten-widget.php:80
202
+ msgid "Title"
203
  msgstr ""
204
 
205
+ #: includes/admin/class-top-ten-network-statistics-table.php:292
206
+ msgid "Blog"
207
  msgstr ""
208
 
209
+ #: includes/admin/class-top-ten-network-statistics-table.php:293
210
+ #: includes/admin/class-top-ten-statistics-table.php:344
211
+ #: includes/admin/import-export.php:183
212
+ msgid "Date"
213
  msgstr ""
214
 
215
+ #: includes/admin/class-top-ten-network-statistics-table.php:294
216
+ #: includes/admin/class-top-ten-statistics-table.php:340
217
+ msgid "Total visits"
218
  msgstr ""
219
 
220
+ #: includes/admin/class-top-ten-network-statistics-table.php:295
221
+ #: includes/admin/class-top-ten-statistics-table.php:341
222
+ msgid "Daily visits"
223
  msgstr ""
224
 
225
+ #: includes/admin/class-top-ten-network-statistics-table.php:328
226
+ #: includes/admin/class-top-ten-statistics-table.php:378
227
+ msgid "Delete Count"
 
228
  msgstr ""
229
 
230
+ #: includes/admin/class-top-ten-network-statistics-table.php:375
231
+ #: includes/admin/class-top-ten-statistics-table.php:425
232
+ msgid "Are you sure you want to do this"
233
  msgstr ""
234
 
235
+ #: includes/admin/class-top-ten-network-statistics-table.php:418
236
+ #: includes/admin/class-top-ten-statistics-table.php:493
237
+ msgid "Filter"
238
  msgstr ""
239
 
240
+ #: includes/admin/class-top-ten-network-statistics.php:74
241
+ msgid "Top 10 - Network Wide Popular Posts"
242
  msgstr ""
243
 
244
+ #: includes/admin/class-top-ten-statistics-table.php:48
245
+ msgid "All post types"
246
  msgstr ""
247
 
248
+ #: includes/admin/class-top-ten-statistics-table.php:266
249
+ msgid "View"
 
250
  msgstr ""
251
 
252
+ #: includes/admin/class-top-ten-statistics-table.php:267
253
+ msgid "Edit"
254
  msgstr ""
255
 
256
+ #: includes/admin/class-top-ten-statistics-table.php:268
257
+ msgid "Delete"
258
  msgstr ""
259
 
260
+ #: includes/admin/class-top-ten-statistics-table.php:298
261
+ #, php-format
262
+ msgid "%s ago"
263
+ msgstr ""
264
+
265
+ #: includes/admin/class-top-ten-statistics-table.php:342
266
+ msgid "Post type"
267
+ msgstr ""
268
+
269
+ #: includes/admin/class-top-ten-statistics-table.php:343
270
+ msgid "Author"
271
  msgstr ""
272
 
273
  #: includes/admin/class-top-ten-statistics.php:103
274
  msgid "Search Table"
275
  msgstr ""
276
 
277
+ #: includes/admin/default-settings.php:63
278
  msgid "Enable trackers"
279
  msgstr ""
280
 
281
+ #: includes/admin/default-settings.php:72
282
  #: includes/modules/class-top-ten-widget.php:95
283
  msgid "Overall"
284
  msgstr ""
285
 
286
+ #: includes/admin/default-settings.php:73
287
+ #: includes/admin/default-settings.php:720
288
  msgid "Daily"
289
  msgstr ""
290
 
291
+ #: includes/admin/default-settings.php:78
292
  msgid "Enable cache"
293
  msgstr ""
294
 
295
+ #: includes/admin/default-settings.php:79
296
  msgid ""
297
  "If activated, Top 10 will use the Transients API to cache the popular posts "
298
  "output for 1 hour."
299
  msgstr ""
300
 
301
+ #: includes/admin/default-settings.php:85
302
  msgid "Time to cache"
303
  msgstr ""
304
 
305
+ #: includes/admin/default-settings.php:86
306
  msgid "Enter the number of seconds to cache the output."
307
  msgstr ""
308
 
309
+ #: includes/admin/default-settings.php:92
310
  msgid "Start daily counts from midnight"
311
  msgstr ""
312
 
313
+ #: includes/admin/default-settings.php:93
314
  msgid ""
315
  "Daily counter will display number of visits from midnight. This option is "
316
  "checked by default and mimics the way most normal counters work. Turning "
317
  "this off will allow you to use the hourly setting in the next option."
318
  msgstr ""
319
 
320
+ #: includes/admin/default-settings.php:99
321
  msgid "Default custom period range"
322
  msgstr ""
323
 
324
+ #: includes/admin/default-settings.php:100
325
  msgid ""
326
  "The next two options allow you to set the default range for the custom "
327
  "period. This was previously called the daily range. This can be overridden "
328
  "in the widget."
329
  msgstr ""
330
 
331
+ #: includes/admin/default-settings.php:105
332
  msgid "Day(s)"
333
  msgstr ""
334
 
335
+ #: includes/admin/default-settings.php:114
336
  msgid "Hour(s)"
337
  msgstr ""
338
 
339
+ #: includes/admin/default-settings.php:124
340
  msgid "Delete options on uninstall"
341
  msgstr ""
342
 
343
+ #: includes/admin/default-settings.php:125
344
  msgid ""
345
  "If this is checked, all settings related to Top 10 are removed from the "
346
  "database if you choose to uninstall/delete the plugin."
347
  msgstr ""
348
 
349
+ #: includes/admin/default-settings.php:131
350
  msgid "Delete counter data on uninstall"
351
  msgstr ""
352
 
353
+ #: includes/admin/default-settings.php:132
354
  msgid ""
355
  "If this is checked, the tables containing the counter statistics are removed "
356
  "from the database if you choose to uninstall/delete the plugin. Keep this "
358
  "counter data."
359
  msgstr ""
360
 
361
+ #: includes/admin/default-settings.php:138
362
  msgid "Show metabox"
363
  msgstr ""
364
 
365
+ #: includes/admin/default-settings.php:139
366
  msgid ""
367
  "This will add the Top 10 metabox on Edit Posts or Add New Posts screens. "
368
  "Also applies to Pages and Custom Post Types."
369
  msgstr ""
370
 
371
+ #: includes/admin/default-settings.php:145
372
  msgid "Limit meta box to Admins only"
373
  msgstr ""
374
 
375
+ #: includes/admin/default-settings.php:146
376
  msgid ""
377
  "If selected, the meta box will be hidden from anyone who is not an Admin. By "
378
  "default, Contributors and above will be able to see the meta box. Applies "
379
  "only if the above option is selected."
380
  msgstr ""
381
 
382
+ #: includes/admin/default-settings.php:152
383
  msgid "Link to Top 10 plugin page"
384
  msgstr ""
385
 
386
+ #: includes/admin/default-settings.php:153
387
  msgid ""
388
  "A no-follow link to the plugin homepage will be added as the last item of "
389
  "the popular posts."
390
  msgstr ""
391
 
392
+ #: includes/admin/default-settings.php:182
393
  msgid "Display number of views on"
394
  msgstr ""
395
 
396
+ #: includes/admin/default-settings.php:184
397
  #, php-format
398
  msgid ""
399
  "If you choose to disable this, please add %1$s to your template file where "
400
  "you want it displayed"
401
  msgstr ""
402
 
403
+ #: includes/admin/default-settings.php:191
404
  msgid "Posts"
405
  msgstr ""
406
 
407
+ #: includes/admin/default-settings.php:192
408
  msgid "Pages"
409
  msgstr ""
410
 
411
+ #: includes/admin/default-settings.php:193
412
  msgid "Home page"
413
  msgstr ""
414
 
415
+ #: includes/admin/default-settings.php:194
416
  msgid "Feeds"
417
  msgstr ""
418
 
419
+ #: includes/admin/default-settings.php:195
420
  msgid "Category archives"
421
  msgstr ""
422
 
423
+ #: includes/admin/default-settings.php:196
424
  msgid "Tag archives"
425
  msgstr ""
426
 
427
+ #: includes/admin/default-settings.php:197
428
  msgid "Other archives"
429
  msgstr ""
430
 
431
+ #: includes/admin/default-settings.php:202
432
  msgid "Format to display the post views"
433
  msgstr ""
434
 
435
+ #: includes/admin/default-settings.php:204
436
  #, php-format
437
  msgid ""
438
  "Use %1$s to display the total count, %2$s for daily count and %3$s for "
439
  "overall counts across all posts. Default display is %4$s"
440
  msgstr ""
441
 
442
+ #: includes/admin/default-settings.php:210
443
  msgid "What to display when there are no visits?"
444
  msgstr ""
445
 
446
+ #: includes/admin/default-settings.php:212
447
  msgid ""
448
  "This text applies only when there are 0 hits for the post and it isn't a "
449
  "single page. e.g. if you display post views on the homepage or archives then "
451
  "option."
452
  msgstr ""
453
 
454
+ #: includes/admin/default-settings.php:218
455
  msgid "Number format post count"
456
  msgstr ""
457
 
458
+ #: includes/admin/default-settings.php:219
459
  msgid ""
460
  "Activating this option will convert the post counts into a number format "
461
  "based on the locale"
462
  msgstr ""
463
 
464
+ #: includes/admin/default-settings.php:225
465
  msgid "Always display latest post count"
466
  msgstr ""
467
 
468
+ #: includes/admin/default-settings.php:226
469
  msgid ""
470
  "This option uses JavaScript and will increase your page load time. Turn this "
471
  "off if you are not using caching plugins or are OK with displaying older "
472
  "cached counts."
473
  msgstr ""
474
 
475
+ #: includes/admin/default-settings.php:232
476
  msgid "Tracker type"
477
  msgstr ""
478
 
479
+ #: includes/admin/default-settings.php:240
480
  msgid "Load tracker on all pages"
481
  msgstr ""
482
 
483
+ #: includes/admin/default-settings.php:241
484
  msgid ""
485
  "This will load the tracker js on all pages. Helpful if you are running "
486
  "minification/concatenation plugins."
487
  msgstr ""
488
 
489
+ #: includes/admin/default-settings.php:247
490
  msgid "Track user groups"
491
  msgstr ""
492
 
493
+ #: includes/admin/default-settings.php:248
494
  msgid ""
495
  "Uncheck above to disable tracking if the current user falls into any one of "
496
  "these groups."
497
  msgstr ""
498
 
499
+ #: includes/admin/default-settings.php:255
500
  msgid "Authors"
501
  msgstr ""
502
 
503
+ #: includes/admin/default-settings.php:256
504
  msgid "Editors"
505
  msgstr ""
506
 
507
+ #: includes/admin/default-settings.php:257
508
  msgid "Admins"
509
  msgstr ""
510
 
511
+ #: includes/admin/default-settings.php:262
512
  msgid "Track logged-in users"
513
  msgstr ""
514
 
515
+ #: includes/admin/default-settings.php:263
516
  msgid ""
517
  "Uncheck to stop tracking logged in users. Only logged out visitors will be "
518
  "tracked if this is disabled. Unchecking this will override the above setting."
519
  msgstr ""
520
 
521
+ #: includes/admin/default-settings.php:269
522
  msgid "Exclude display on these post IDs"
523
  msgstr ""
524
 
525
+ #: includes/admin/default-settings.php:270
526
  msgid ""
527
  "Comma-separated list of post or page IDs to exclude displaying the top posts "
528
  "on. e.g. 188,320,500"
529
  msgstr ""
530
 
531
+ #: includes/admin/default-settings.php:276
532
  msgid "Page views in admin"
533
  msgstr ""
534
 
535
+ #: includes/admin/default-settings.php:277
536
  msgid ""
537
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
538
  "and All Pages. You can selectively disable these by pulling down the Screen "
539
  "Options from the top right of the respective screens."
540
  msgstr ""
541
 
542
+ #: includes/admin/default-settings.php:283
543
  msgid "Show views to non-admins"
544
  msgstr ""
545
 
546
+ #: includes/admin/default-settings.php:284
547
  msgid ""
548
  "If you disable this then non-admins won't see the above columns or view the "
549
  "independent pages with the top posts."
550
  msgstr ""
551
 
552
+ #: includes/admin/default-settings.php:290
553
  msgid "Debug mode"
554
  msgstr ""
555
 
556
+ #: includes/admin/default-settings.php:291
557
  msgid ""
558
  "Setting this to true will force the tracker to display an output in the "
559
  "browser. This is useful if you are having issues and are seeking support."
560
  msgstr ""
561
 
562
+ #: includes/admin/default-settings.php:320
563
+ #: includes/admin/default-settings.php:769
564
  msgid "Number of posts to display"
565
  msgstr ""
566
 
567
+ #: includes/admin/default-settings.php:321
568
  msgid ""
569
  "Maximum number of posts that will be displayed in the list. This option is "
570
+ "used if you do not specify the number of posts in the widget or shortcodes"
571
  msgstr ""
572
 
573
+ #: includes/admin/default-settings.php:328
574
  msgid "Published age of posts"
575
  msgstr ""
576
 
577
+ #: includes/admin/default-settings.php:329
578
  msgid ""
579
  "This options allows you to only show posts that have been published within "
580
  "the above day range. Applies to both overall posts and daily posts lists. e."
582
  "posts lists. Enter 0 for no restriction."
583
  msgstr ""
584
 
585
+ #: includes/admin/default-settings.php:335
586
  msgid "Post types to include"
587
  msgstr ""
588
 
589
+ #: includes/admin/default-settings.php:336
590
  msgid ""
591
  "At least one option should be selected above. Select which post types you "
592
  "want to include in the list of posts. This field can be overridden using a "
593
  "comma separated list of post types when using the manual display."
594
  msgstr ""
595
 
596
+ #: includes/admin/default-settings.php:342
597
  msgid "Post/page IDs to exclude"
598
  msgstr ""
599
 
600
+ #: includes/admin/default-settings.php:343
601
  msgid ""
602
  "Comma-separated list of post or page IDs to exclude from the list. e.g. "
603
  "188,320,500"
604
  msgstr ""
605
 
606
+ #: includes/admin/default-settings.php:349
607
  msgid "Exclude Categories"
608
  msgstr ""
609
 
610
+ #: includes/admin/default-settings.php:350
611
  msgid ""
612
  "Comma separated list of category slugs. The field above has an autocomplete "
613
  "so simply start typing in the starting letters and it will prompt you with "
614
  "options. Does not support custom taxonomies."
615
  msgstr ""
616
 
617
+ #: includes/admin/default-settings.php:361
618
  msgid "Exclude category IDs"
619
  msgstr ""
620
 
621
+ #: includes/admin/default-settings.php:362
622
  msgid ""
623
  "This is a readonly field that is automatically populated based on the above "
624
  "input when the settings are saved. These might differ from the IDs visible "
626
  "term_taxonomy_id which is unique to this taxonomy."
627
  msgstr ""
628
 
629
+ #: includes/admin/default-settings.php:369
630
  msgid "Customize the output"
631
  msgstr ""
632
 
633
+ #: includes/admin/default-settings.php:375
634
  msgid "Heading of posts"
635
  msgstr ""
636
 
637
+ #: includes/admin/default-settings.php:376
638
+ #: includes/admin/default-settings.php:384
639
  msgid "Displayed before the list of the posts as a the master heading"
640
  msgstr ""
641
 
642
+ #: includes/admin/default-settings.php:378
643
  msgid "Popular posts:"
644
  msgstr ""
645
 
646
+ #: includes/admin/default-settings.php:383
647
  msgid "Heading of posts for daily/custom period lists"
648
  msgstr ""
649
 
650
+ #: includes/admin/default-settings.php:386
651
  msgid "Currently trending:"
652
  msgstr ""
653
 
654
+ #: includes/admin/default-settings.php:391
655
  msgid "Show when no posts are found"
656
  msgstr ""
657
 
658
+ #: includes/admin/default-settings.php:397
659
  msgid "Blank output"
660
  msgstr ""
661
 
662
+ #: includes/admin/default-settings.php:398
663
  msgid "Display custom text"
664
  msgstr ""
665
 
666
+ #: includes/admin/default-settings.php:403
667
  msgid "Custom text"
668
  msgstr ""
669
 
670
+ #: includes/admin/default-settings.php:404
671
  msgid ""
672
  "Enter the custom text that will be displayed if the second option is "
673
  "selected above"
674
  msgstr ""
675
 
676
+ #: includes/admin/default-settings.php:406 includes/deprecated.php:180
677
  msgid "No top posts yet"
678
  msgstr ""
679
 
680
+ #: includes/admin/default-settings.php:410
681
  msgid "Show post excerpt"
682
  msgstr ""
683
 
684
+ #: includes/admin/default-settings.php:417
685
  msgid "Length of excerpt (in words)"
686
  msgstr ""
687
 
688
+ #: includes/admin/default-settings.php:425
689
  msgid "Show date"
690
  msgstr ""
691
 
692
+ #: includes/admin/default-settings.php:432
693
  msgid "Show author"
694
  msgstr ""
695
 
696
+ #: includes/admin/default-settings.php:439
697
  msgid "Show number of views"
698
  msgstr ""
699
 
700
+ #: includes/admin/default-settings.php:446
701
  msgid "Limit post title length (in characters)"
702
  msgstr ""
703
 
704
+ #: includes/admin/default-settings.php:454
705
  msgid "Open links in new window"
706
  msgstr ""
707
 
708
+ #: includes/admin/default-settings.php:461
709
  msgid "Add nofollow to links"
710
  msgstr ""
711
 
712
+ #: includes/admin/default-settings.php:468
713
  msgid "HTML to display"
714
  msgstr ""
715
 
716
+ #: includes/admin/default-settings.php:474
717
  msgid "Before the list of posts"
718
  msgstr ""
719
 
720
+ #: includes/admin/default-settings.php:481
721
  msgid "After the list of posts"
722
  msgstr ""
723
 
724
+ #: includes/admin/default-settings.php:488
725
  msgid "Before each list item"
726
  msgstr ""
727
 
728
+ #: includes/admin/default-settings.php:495
729
  msgid "After each list item"
730
  msgstr ""
731
 
732
+ #: includes/admin/default-settings.php:525
733
  msgid "Location of the post thumbnail"
734
  msgstr ""
735
 
736
+ #: includes/admin/default-settings.php:530
737
  msgid "Display thumbnails inline with posts, before title"
738
  msgstr ""
739
 
740
+ #: includes/admin/default-settings.php:531
741
  msgid "Display thumbnails inline with posts, after title"
742
  msgstr ""
743
 
744
+ #: includes/admin/default-settings.php:532
745
  msgid "Display only thumbnails, no text"
746
  msgstr ""
747
 
748
+ #: includes/admin/default-settings.php:533
749
  msgid "Do not display thumbnails, only text"
750
  msgstr ""
751
 
752
+ #: includes/admin/default-settings.php:538
753
  msgid "Thumbnail size"
754
  msgstr ""
755
 
756
+ #: includes/admin/default-settings.php:540
757
  msgid ""
758
  "You can choose from existing image sizes above or create a custom size. If "
759
  "you have chosen Custom size above, then enter the width, height and crop "
761
  "width and/or height below, existing images will not be automatically resized."
762
  msgstr ""
763
 
764
+ #: includes/admin/default-settings.php:540
765
  #, php-format
766
  msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
767
  msgstr ""
768
 
769
+ #: includes/admin/default-settings.php:547
770
  #: includes/modules/class-top-ten-widget.php:145
771
  msgid "Thumbnail width"
772
  msgstr ""
773
 
774
+ #: includes/admin/default-settings.php:555
775
  #: includes/modules/class-top-ten-widget.php:139
776
  msgid "Thumbnail height"
777
  msgstr ""
778
 
779
+ #: includes/admin/default-settings.php:563
780
  msgid "Hard crop thumbnails"
781
  msgstr ""
782
 
783
+ #: includes/admin/default-settings.php:564
784
  msgid ""
785
  "Check this box to hard crop the thumbnails. i.e. force the width and height "
786
  "above vs. maintaining proportions."
787
  msgstr ""
788
 
789
+ #: includes/admin/default-settings.php:570
790
  msgid "Generate thumbnail sizes"
791
  msgstr ""
792
 
793
+ #: includes/admin/default-settings.php:571
794
  msgid ""
795
  "If you select this option and Custom size is selected above, the plugin will "
796
  "register the image size with WordPress to create new thumbnails. Does not "
797
  "update old images as explained above."
798
  msgstr ""
799
 
800
+ #: includes/admin/default-settings.php:577
801
  msgid "Thumbnail size attributes"
802
  msgstr ""
803
 
804
+ #: includes/admin/default-settings.php:583
805
  #, php-format
806
  msgid "Use CSS to set the width and height: e.g. %s"
807
  msgstr ""
808
 
809
+ #: includes/admin/default-settings.php:585
810
  #, php-format
811
  msgid "Use HTML attributes to set the width and height: e.g. %s"
812
  msgstr ""
813
 
814
+ #: includes/admin/default-settings.php:586
815
  msgid ""
816
  "No width or height set. You will need to use external styles to force any "
817
  "width or height of your choice."
818
  msgstr ""
819
 
820
+ #: includes/admin/default-settings.php:591
821
  msgid "Thumbnail meta field name"
822
  msgstr ""
823
 
824
+ #: includes/admin/default-settings.php:592
825
  msgid ""
826
  "The value of this field should contain the URL of the image and can be set "
827
  "in the metabox in the Edit Post screen"
828
  msgstr ""
829
 
830
+ #: includes/admin/default-settings.php:598
831
  msgid "Get first image"
832
  msgstr ""
833
 
834
+ #: includes/admin/default-settings.php:599
835
  msgid ""
836
  "The plugin will fetch the first image in the post content if this is "
837
  "enabled. This can slow down the loading of your page if the first image in "
838
  "the followed posts is large in file-size."
839
  msgstr ""
840
 
841
+ #: includes/admin/default-settings.php:605
842
  msgid "Use default thumbnail?"
843
  msgstr ""
844
 
845
+ #: includes/admin/default-settings.php:606
846
  msgid ""
847
  "If checked, when no thumbnail is found, show a default one from the URL "
848
  "below. If not checked and no thumbnail is found, no image will be shown."
849
  msgstr ""
850
 
851
+ #: includes/admin/default-settings.php:612 includes/admin/settings-page.php:688
852
  msgid "Default thumbnail"
853
  msgstr ""
854
 
855
+ #: includes/admin/default-settings.php:613
856
  msgid ""
857
  "Enter the full URL of the image that you wish to display if no thumbnail is "
858
  "found. This image will be displayed below."
859
  msgstr ""
860
 
861
+ #: includes/admin/default-settings.php:643
862
  msgid "Popular posts style"
863
  msgstr ""
864
 
865
+ #: includes/admin/default-settings.php:651
866
  msgid "Custom CSS"
867
  msgstr ""
868
 
869
+ #: includes/admin/default-settings.php:653
870
  #, php-format
871
  msgid ""
872
  "Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
873
  "CSS classes to style."
874
  msgstr ""
875
 
876
+ #: includes/admin/default-settings.php:682
877
  msgid "Enable scheduled maintenance"
878
  msgstr ""
879
 
880
+ #: includes/admin/default-settings.php:683
881
  msgid ""
882
  "Cleaning the database at regular intervals could improve performance, "
883
  "especially on high traffic blogs. Enabling maintenance will automatically "
884
  "delete entries older than 90 days in the daily tables."
885
  msgstr ""
886
 
887
+ #: includes/admin/default-settings.php:689
888
  msgid "Time to run maintenance"
889
  msgstr ""
890
 
891
+ #: includes/admin/default-settings.php:690
892
  msgid "The next two options allow you to set the time to run the cron."
893
  msgstr ""
894
 
895
+ #: includes/admin/default-settings.php:695
896
  msgid "Hour"
897
  msgstr ""
898
 
899
+ #: includes/admin/default-settings.php:705
900
  msgid "Minute"
901
  msgstr ""
902
 
903
+ #: includes/admin/default-settings.php:715
904
  msgid "Run maintenance"
905
  msgstr ""
906
 
907
+ #: includes/admin/default-settings.php:721
908
  msgid "Weekly"
909
  msgstr ""
910
 
911
+ #: includes/admin/default-settings.php:722
912
  msgid "Fortnightly"
913
  msgstr ""
914
 
915
+ #: includes/admin/default-settings.php:723
916
  msgid "Monthly"
917
  msgstr ""
918
 
919
+ #: includes/admin/default-settings.php:751
920
+ msgid "Permalink - Overall"
921
+ msgstr ""
922
+
923
+ #: includes/admin/default-settings.php:753
924
+ #, php-format
925
+ msgid ""
926
+ "This will set the path of the custom feed generated by the plugin for "
927
+ "overall popular posts. You might need to %1$srefresh your permalinks%2$s "
928
+ "when changing this option."
929
+ msgstr ""
930
+
931
+ #: includes/admin/default-settings.php:760
932
+ msgid "Permalink - Daily"
933
+ msgstr ""
934
+
935
+ #: includes/admin/default-settings.php:762
936
+ #, php-format
937
+ msgid ""
938
+ "This will set the path of the custom feed generated by the plugin for daily/"
939
+ "custom period popular posts. You might need to %1$srefresh your permalinks"
940
+ "%2$s when changing this option."
941
+ msgstr ""
942
+
943
+ #: includes/admin/default-settings.php:770
944
+ msgid "Maximum number of posts that will be displayed in the custom feed."
945
+ msgstr ""
946
+
947
+ #: includes/admin/default-settings.php:777
948
+ msgid "Custom period in day(s)"
949
+ msgstr ""
950
+
951
+ #: includes/admin/default-settings.php:879
952
  msgid "No styles"
953
  msgstr ""
954
 
955
+ #: includes/admin/default-settings.php:880
956
  msgid "Select this option if you plan to add your own styles"
957
  msgstr ""
958
 
959
+ #: includes/admin/default-settings.php:884
960
  msgid "Text only"
961
  msgstr ""
962
 
963
+ #: includes/admin/default-settings.php:885
964
  msgid ""
965
  "Disable thumbnails and no longer include the default style sheet included in "
966
  "the plugin"
967
  msgstr ""
968
 
969
+ #: includes/admin/default-settings.php:889
970
  msgid "Left thumbnails"
971
  msgstr ""
972
 
973
+ #: includes/admin/default-settings.php:890
974
  msgid ""
975
  "Enabling this option will set the post thumbnail to be before text. "
976
  "Disabling this option will not revert any settings."
977
  msgstr ""
978
 
979
+ #: includes/admin/help-tab.php:35 includes/admin/help-tab.php:136
980
+ #: includes/admin/help-tab.php:176
981
  #, php-format
982
  msgid ""
983
  "For more information or how to get support visit the <a href=\"%1$s"
984
  "\">WebberZone support site</a>."
985
  msgstr ""
986
 
987
+ #: includes/admin/help-tab.php:37 includes/admin/help-tab.php:138
988
+ #: includes/admin/help-tab.php:178
989
  #, php-format
990
  msgid ""
991
  "Support queries should be posted in the <a href=\"%1$s\">WordPress.org "
992
  "support forums</a>."
993
  msgstr ""
994
 
995
+ #: includes/admin/help-tab.php:40 includes/admin/help-tab.php:141
996
  #, php-format
997
  msgid ""
998
  "<a href=\"%1$s\">Post an issue</a> on <a href=\"%2$s\">GitHub</a> (bug "
999
  "reports only)."
1000
  msgstr ""
1001
 
1002
+ #: includes/admin/help-tab.php:49 includes/admin/help-tab.php:150
1003
+ #: includes/admin/help-tab.php:189 includes/admin/settings-page.php:125
1004
  msgid "General"
1005
  msgstr ""
1006
 
1090
  msgid "Choose how often to run maintenance and at what time of the day."
1091
  msgstr ""
1092
 
1093
+ #: includes/admin/help-tab.php:109 includes/admin/settings-page.php:131
1094
+ msgid "Feed"
1095
+ msgstr ""
1096
+
1097
+ #: includes/admin/help-tab.php:111
1098
+ msgid ""
1099
+ "This screen provides options to control the custom feeds for the daily and "
1100
+ "overall popular posts. You can access the custom feed at example.com/feed/"
1101
+ "popular-posts/ replacing example.com with your blog domain."
1102
+ msgstr ""
1103
+
1104
+ #: includes/admin/help-tab.php:112
1105
+ msgid ""
1106
+ "You can also change the permalink in the settings below. You will need to "
1107
+ "refresh your permalinks if you change these settings. Alternatively save the "
1108
+ "settings page twice."
1109
+ msgstr ""
1110
+
1111
+ #: includes/admin/help-tab.php:152
1112
  msgid ""
1113
  "This screen provides some tools that help maintain certain features of Top "
1114
  "10."
1115
  msgstr ""
1116
 
1117
+ #: includes/admin/help-tab.php:153
1118
  msgid ""
1119
  "Clear the cache, reset the popular posts tables plus some miscellaneous "
1120
  "fixes for older versions of Top 10."
1121
  msgstr ""
1122
 
1123
+ #: includes/admin/help-tab.php:181
1124
  #, php-format
1125
  msgid "<a href=\"%1$s\">Top 10 Knowledge base</a>"
1126
  msgstr ""
1127
 
1128
+ #: includes/admin/help-tab.php:191
1129
  msgid "This screen allows you to import and export the database tables."
1130
  msgstr ""
1131
 
1132
+ #: includes/admin/help-tab.php:192
1133
  msgid "Refer to the knowledge base to learn how to use this in detail."
1134
  msgstr ""
1135
 
1258
  "the updated settings"
1259
  msgstr ""
1260
 
1261
+ #: includes/admin/save-settings.php:125
1262
  msgid "Settings updated."
1263
  msgstr ""
1264
 
1274
  msgid "Reset all settings"
1275
  msgstr ""
1276
 
1277
+ #: includes/admin/settings-page.php:156
1278
  #, php-format
1279
  msgid ""
1280
  "The callback function used for the <strong>%s</strong> setting is missing."
1281
  msgstr ""
1282
 
1283
+ #: includes/admin/settings-page.php:313
1284
  msgid "Modified from default setting"
1285
  msgstr ""
1286
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Tags: popular posts, top 10, counter, top posts, daily popular, page views, stat
3
  Contributors: webberzone, Ajay
4
  Donate link: https://ajaydsouza.com/donate/
5
  Stable tag: trunk
6
- Requires at least: 4.7
7
- Tested up to: 5.2
8
  License: GPLv2 or later
9
 
10
  Track daily and total visits on your blog posts. Display the count as well as popular and trending posts.
@@ -63,11 +63,13 @@ So, if you've got some cool feature that you'd like to implement into the plugin
63
  4. Top 10 options - Thumbnail options
64
  5. Top 10 options - Styles
65
  6. Top 10 options - Maintenance
66
- 7. Top 10 widget options
67
- 8. Top 10 Meta box on the Edit Post screen
68
- 9. Top 10 Tools page
69
- 10. Top 10 - Popular posts view in Admin
70
- 11. Top 10 Export/Import interface
 
 
71
 
72
  == Installation ==
73
 
@@ -158,6 +160,15 @@ add_filter( 'manage_edit-projects_sortable_columns', 'tptn_column_register_sorta
158
 
159
  == Changelog ==
160
 
 
 
 
 
 
 
 
 
 
161
  = 2.7.0 =
162
 
163
  Release post: [https://wzn.io/2HWbtwr](https://wzn.io/2HWbtwr)
@@ -287,7 +298,7 @@ For previous changelog entries, please refer to the separate changelog.txt file
287
 
288
  == Upgrade Notice ==
289
 
290
- = 2.7.0 =
291
- * New admin interface to import and export settings and the counts table.
292
  Check the Changelog for more details
293
 
3
  Contributors: webberzone, Ajay
4
  Donate link: https://ajaydsouza.com/donate/
5
  Stable tag: trunk
6
+ Requires at least: 4.8
7
+ Tested up to: 5.3
8
  License: GPLv2 or later
9
 
10
  Track daily and total visits on your blog posts. Display the count as well as popular and trending posts.
63
  4. Top 10 options - Thumbnail options
64
  5. Top 10 options - Styles
65
  6. Top 10 options - Maintenance
66
+ 7. Top 10 options - Feed
67
+ 8. Top 10 widget options
68
+ 9. Top 10 Meta box on the Edit Post screen
69
+ 10. Top 10 Tools page
70
+ 11. Top 10 - Popular posts view in Admin
71
+ 12. Top 10 Export/Import interface
72
+ 13. Top 10 - Popular posts view in Network Admin
73
 
74
  == Installation ==
75
 
160
 
161
  == Changelog ==
162
 
163
+ = 2.8.0 =
164
+
165
+ Release post: [https://wzn.io/34VvWMe](https://wzn.io/34VvWMe)
166
+
167
+ * Features:
168
+ * Custom feed for popular posts: Find new options under a new tab called Feed in the settings page where you can set the URL for the overall and daily feeds
169
+ * New page in the network admin menu to view the popular posts across the network
170
+ * Also delete transients and other settings on uninstall
171
+
172
  = 2.7.0 =
173
 
174
  Release post: [https://wzn.io/2HWbtwr](https://wzn.io/2HWbtwr)
298
 
299
  == Upgrade Notice ==
300
 
301
+ = 2.6.3 =
302
+ * Bug fix release! Please verify your settings after upgrade.
303
  Check the Changelog for more details
304
 
top-10.php CHANGED
@@ -14,7 +14,7 @@
14
  * Plugin Name: Top 10
15
  * Plugin URI: https://webberzone.com/plugins/top-10/
16
  * Description: Count daily and total visits per post and display the most popular posts based on the number of views
17
- * Version: 2.7.0
18
  * Author: Ajay D'Souza
19
  * Author URI: https://webberzone.com
20
  * License: GPL-2.0+
@@ -155,6 +155,8 @@ if ( is_admin() || ( defined( 'WP_CLI' ) && WP_CLI ) ) {
155
  require_once TOP_TEN_PLUGIN_DIR . 'includes/admin/admin-dashboard.php';
156
  require_once TOP_TEN_PLUGIN_DIR . 'includes/admin/class-top-ten-statistics.php';
157
  require_once TOP_TEN_PLUGIN_DIR . 'includes/admin/class-top-ten-statistics-table.php';
 
 
158
  require_once TOP_TEN_PLUGIN_DIR . 'includes/admin/cache.php';
159
 
160
  } // End admin.inc
14
  * Plugin Name: Top 10
15
  * Plugin URI: https://webberzone.com/plugins/top-10/
16
  * Description: Count daily and total visits per post and display the most popular posts based on the number of views
17
+ * Version: 2.8.0
18
  * Author: Ajay D'Souza
19
  * Author URI: https://webberzone.com
20
  * License: GPL-2.0+
155
  require_once TOP_TEN_PLUGIN_DIR . 'includes/admin/admin-dashboard.php';
156
  require_once TOP_TEN_PLUGIN_DIR . 'includes/admin/class-top-ten-statistics.php';
157
  require_once TOP_TEN_PLUGIN_DIR . 'includes/admin/class-top-ten-statistics-table.php';
158
+ require_once TOP_TEN_PLUGIN_DIR . 'includes/admin/class-top-ten-network-statistics.php';
159
+ require_once TOP_TEN_PLUGIN_DIR . 'includes/admin/class-top-ten-network-statistics-table.php';
160
  require_once TOP_TEN_PLUGIN_DIR . 'includes/admin/cache.php';
161
 
162
  } // End admin.inc
uninstall.php CHANGED
@@ -10,7 +10,7 @@
10
  */
11
 
12
  // If this file is called directly, abort.
13
- if ( ! defined( 'WPINC' ) ) {
14
  die;
15
  }
16
 
@@ -36,5 +36,12 @@ if ( $tptn_settings['uninstall_clean_options'] ) {
36
  }
37
  delete_option( 'ald_tptn_settings' );
38
  delete_option( 'tptn_settings' );
 
 
 
 
 
 
 
39
  }
40
 
10
  */
11
 
12
  // If this file is called directly, abort.
13
+ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
14
  die;
15
  }
16
 
36
  }
37
  delete_option( 'ald_tptn_settings' );
38
  delete_option( 'tptn_settings' );
39
+
40
+ $wpdb->query( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange
41
+ "
42
+ DELETE FROM {$wpdb->options}
43
+ WHERE option_name LIKE '%tptn%'
44
+ "
45
+ );
46
  }
47