Contextual Related Posts - Version 3.1.1

Version Description

Release post: https://webberzone.com/blog/contextual-related-posts-v3-1-0/

  • Enhancements:

    • Don't clear cache when saving settings. The cache can be cleared in the Tools page
    • Default thumbnail is now prioritized over the site icon
  • Bug fixes:

    • Limiting of characters didn't work properly
    • Fixed link to Tools menu under Settings. Tools button link is better displayed
    • Fixed activation when new blog is created on multisite
Download this release

Release Info

Developer Ajay
Plugin Icon 128x128 Contextual Related Posts
Version 3.1.1
Comparing to
See all releases

Code changes from version 3.1.0 to 3.1.1

README.md CHANGED
@@ -6,9 +6,9 @@
6
  [![Required PHP](https://img.shields.io/wordpress/plugin/required-php/contextual-related-posts?style=flat-square)](https://wordpress.org/plugins/contextual-related-posts/)
7
  [![Active installs](https://img.shields.io/wordpress/plugin/installs/contextual-related-posts?style=flat-square)](https://wordpress.org/plugins/contextual-related-posts/)
8
 
9
- __Requires:__ 5.3
10
 
11
- __Tested up to:__ 5.9
12
 
13
  __License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
14
 
6
  [![Required PHP](https://img.shields.io/wordpress/plugin/required-php/contextual-related-posts?style=flat-square)](https://wordpress.org/plugins/contextual-related-posts/)
7
  [![Active installs](https://img.shields.io/wordpress/plugin/installs/contextual-related-posts?style=flat-square)](https://wordpress.org/plugins/contextual-related-posts/)
8
 
9
+ __Requires:__ 5.1
10
 
11
+ __Tested up to:__ 5.8
12
 
13
  __License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
14
 
contextual-related-posts.php CHANGED
@@ -9,13 +9,13 @@
9
  * @author Ajay D'Souza
10
  * @license GPL-2.0+
11
  * @link https://webberzone.com
12
- * @copyright 2009-2021 Ajay D'Souza
13
  *
14
  * @wordpress-plugin
15
  * Plugin Name: Contextual Related Posts
16
  * Plugin URI: https://webberzone.com/plugins/contextual-related-posts/
17
  * Description: Display a set of related posts on your website or in your feed. Increase reader retention and reduce bounce rates
18
- * Version: 3.1.0
19
  * Author: WebberZone
20
  * Author URI: https://webberzone.com
21
  * License: GPL-2.0+
9
  * @author Ajay D'Souza
10
  * @license GPL-2.0+
11
  * @link https://webberzone.com
12
+ * @copyright 2009-2022 Ajay D'Souza
13
  *
14
  * @wordpress-plugin
15
  * Plugin Name: Contextual Related Posts
16
  * Plugin URI: https://webberzone.com/plugins/contextual-related-posts/
17
  * Description: Display a set of related posts on your website or in your feed. Increase reader retention and reduce bounce rates
18
+ * Version: 3.1.1
19
  * Author: WebberZone
20
  * Author URI: https://webberzone.com
21
  * License: GPL-2.0+
includes/admin/admin.php CHANGED
@@ -36,8 +36,7 @@ function crp_add_admin_pages_links() {
36
  );
37
  add_action( "load-$crp_settings_page", 'crp_settings_help' ); // Load the settings contextual help.
38
 
39
- $crp_settings_tools = add_submenu_page(
40
- $crp_settings_page,
41
  esc_html__( 'Contextual Related Posts Tools', 'contextual-related-posts' ),
42
  esc_html__( 'Tools', 'contextual-related-posts' ),
43
  'manage_options',
@@ -158,3 +157,37 @@ function crp_enqueue_scripts_widgets( $hook ) {
158
  }
159
  add_action( 'admin_enqueue_scripts', 'crp_enqueue_scripts_widgets', 99 );
160
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  );
37
  add_action( "load-$crp_settings_page", 'crp_settings_help' ); // Load the settings contextual help.
38
 
39
+ $crp_settings_tools = add_options_page(
 
40
  esc_html__( 'Contextual Related Posts Tools', 'contextual-related-posts' ),
41
  esc_html__( 'Tools', 'contextual-related-posts' ),
42
  'manage_options',
157
  }
158
  add_action( 'admin_enqueue_scripts', 'crp_enqueue_scripts_widgets', 99 );
159
 
160
+ /**
161
+ * Adds minor CSS styles to the admin menu.
162
+ *
163
+ * @since 3.1.1
164
+ */
165
+ function crp_admin_css() {
166
+
167
+ if ( ! is_customize_preview() ) {
168
+ $css = '
169
+ <style type="text/css">
170
+ #adminmenu a[href="options-general.php?page=crp_tools_page"]:before {
171
+ content: "\21B3";
172
+ margin-right: 0.5em;
173
+ opacity: 0.5;
174
+ }
175
+ a.crp_button {
176
+ background: green;
177
+ padding: 10px;
178
+ color: white;
179
+ text-decoration: none;
180
+ text-shadow: none;
181
+ border-radius: 3px;
182
+ transition: all 0.3s ease 0s;
183
+ border: 1px solid green;
184
+ }
185
+ a.crp_button:hover {
186
+ box-shadow: 3px 3px 10px #666;
187
+ }
188
+ </style>';
189
+
190
+ echo $css; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
191
+ }
192
+ }
193
+ add_action( 'admin_head', 'crp_admin_css' );
includes/admin/default-settings.php CHANGED
@@ -270,6 +270,7 @@ function crp_settings_output() {
270
  'desc' => esc_html__( 'Any title longer than the number of characters set above will be cut and appended with an ellipsis (&hellip;)', 'contextual-related-posts' ),
271
  'type' => 'number',
272
  'options' => '60',
 
273
  'size' => 'small',
274
  ),
275
  'link_new_window' => array(
270
  'desc' => esc_html__( 'Any title longer than the number of characters set above will be cut and appended with an ellipsis (&hellip;)', 'contextual-related-posts' ),
271
  'type' => 'number',
272
  'options' => '60',
273
+ 'min' => '0',
274
  'size' => 'small',
275
  ),
276
  'link_new_window' => array(
includes/admin/modules/tools.php CHANGED
@@ -54,7 +54,7 @@ function crp_tools_page() {
54
  <h1><?php esc_html_e( 'Contextual Related Posts Tools', 'contextual-related-posts' ); ?></h1>
55
 
56
  <p>
57
- <a href="<?php echo admin_url( 'options-general.php?page=crp_options_page' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
58
  <?php esc_html_e( 'Visit the Settings page', 'autoclose' ); ?>
59
  </a>
60
  <p>
54
  <h1><?php esc_html_e( 'Contextual Related Posts Tools', 'contextual-related-posts' ); ?></h1>
55
 
56
  <p>
57
+ <a class="crp_button" href="<?php echo admin_url( 'options-general.php?page=crp_options_page' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
58
  <?php esc_html_e( 'Visit the Settings page', 'autoclose' ); ?>
59
  </a>
60
  <p>
includes/admin/save-settings.php CHANGED
@@ -367,9 +367,6 @@ function crp_change_settings_on_save( $settings ) {
367
  $settings['post_thumb_op'] = 'text_only';
368
  }
369
 
370
- // Delete the cache.
371
- crp_cache_delete();
372
-
373
  return $settings;
374
  }
375
  add_filter( 'crp_settings_sanitize', 'crp_change_settings_on_save' );
367
  $settings['post_thumb_op'] = 'text_only';
368
  }
369
 
 
 
 
370
  return $settings;
371
  }
372
  add_filter( 'crp_settings_sanitize', 'crp_change_settings_on_save' );
includes/admin/settings-page.php CHANGED
@@ -32,7 +32,7 @@ function crp_options_page() {
32
  <h1><?php esc_html_e( 'Contextual Related Posts Settings', 'contextual-related-posts' ); ?></h1>
33
 
34
  <p>
35
- <a href="<?php echo admin_url( 'admin.php?page=crp_tools_page' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
36
  <?php esc_html_e( 'Visit the Tools page', 'autoclose' ); ?>
37
  </a>
38
  <p>
@@ -451,17 +451,17 @@ function crp_thumbsizes_callback( $args ) {
451
  );
452
  }
453
 
454
- foreach ( $args['options'] as $option ) {
455
  $checked = false;
456
 
457
- if ( isset( $crp_settings[ $args['id'] ] ) && $crp_settings[ $args['id'] ] === $option['name'] ) {
458
  $checked = true;
459
- } elseif ( isset( $args['default'] ) && $args['default'] === $option['name'] && ! isset( $crp_settings[ $args['id'] ] ) ) {
460
  $checked = true;
461
  }
462
 
463
- $html .= sprintf( '<input name="crp_settings[%1$s]" id="crp_settings[%1$s][%2$s]" type="radio" value="%2$s" %3$s /> ', sanitize_key( $args['id'] ), $option['name'], checked( true, $checked, false ) );
464
- $html .= sprintf( '<label for="crp_settings[%1$s][%2$s]">%3$s</label> <br />', sanitize_key( $args['id'] ), $option['name'], $option['name'] . ' (' . $option['width'] . 'x' . $option['height'] . ')' );
465
  }
466
 
467
  $html .= '<p class="description">' . wp_kses_post( $args['desc'] ) . '</p>';
32
  <h1><?php esc_html_e( 'Contextual Related Posts Settings', 'contextual-related-posts' ); ?></h1>
33
 
34
  <p>
35
+ <a class="crp_button" href="<?php echo admin_url( 'options-general.php?page=crp_tools_page' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
36
  <?php esc_html_e( 'Visit the Tools page', 'autoclose' ); ?>
37
  </a>
38
  <p>
451
  );
452
  }
453
 
454
+ foreach ( $args['options'] as $name => $option ) {
455
  $checked = false;
456
 
457
+ if ( isset( $crp_settings[ $args['id'] ] ) && $crp_settings[ $args['id'] ] === $name ) {
458
  $checked = true;
459
+ } elseif ( isset( $args['default'] ) && $args['default'] === $name && ! isset( $crp_settings[ $args['id'] ] ) ) {
460
  $checked = true;
461
  }
462
 
463
+ $html .= sprintf( '<input name="crp_settings[%1$s]" id="crp_settings[%1$s][%2$s]" type="radio" value="%2$s" %3$s /> ', sanitize_key( $args['id'] ), $name, checked( true, $checked, false ) );
464
+ $html .= sprintf( '<label for="crp_settings[%1$s][%2$s]">%3$s</label> <br />', sanitize_key( $args['id'] ), $name, $name . ' (' . $option['width'] . 'x' . $option['height'] . ')' );
465
  }
466
 
467
  $html .= '<p class="description">' . wp_kses_post( $args['desc'] ) . '</p>';
includes/main-query.php CHANGED
@@ -77,7 +77,7 @@ function get_crp( $args = array() ) {
77
  }
78
 
79
  // Get thumbnail size.
80
- list( $args['thumb_width'], $args['thumb_height'] ) = crp_get_thumb_size( $args );
81
 
82
  // Retrieve the list of posts.
83
  $results = get_crp_posts(
77
  }
78
 
79
  // Get thumbnail size.
80
+ list( $args['thumb_width'], $args['thumb_height'] ) = crp_get_thumb_size( $args['thumb_size'] );
81
 
82
  // Retrieve the list of posts.
83
  $results = get_crp_posts(
includes/media.php CHANGED
@@ -153,7 +153,13 @@ function crp_get_the_post_thumbnail( $args = array() ) {
153
  $pick = 'video_thumb';
154
  }
155
 
156
- // If no thumb found and settings permit, use site icon.
 
 
 
 
 
 
157
  if ( ! $postimage ) {
158
  $postimage = get_site_icon_url( max( $args['thumb_width'], $args['thumb_height'] ) );
159
  $pick = 'site_icon_max';
@@ -164,12 +170,6 @@ function crp_get_the_post_thumbnail( $args = array() ) {
164
  $pick = 'site_icon_min';
165
  }
166
 
167
- // If no thumb found and settings permit, use default thumb.
168
- if ( ! $postimage && $args['thumb_default_show'] ) {
169
- $postimage = $args['thumb_default'];
170
- $pick = 'default_thumb';
171
- }
172
-
173
  // Hopefully, we've found a thumbnail by now. If so, run it through the custom filter, check for SSL and create the image tag.
174
  if ( $postimage ) {
175
 
153
  $pick = 'video_thumb';
154
  }
155
 
156
+ // If no thumb found and settings permit, use default thumb.
157
+ if ( ! $postimage && $args['thumb_default_show'] ) {
158
+ $postimage = $args['thumb_default'];
159
+ $pick = 'default_thumb';
160
+ }
161
+
162
+ // If no thumb found, use site icon.
163
  if ( ! $postimage ) {
164
  $postimage = get_site_icon_url( max( $args['thumb_width'], $args['thumb_height'] ) );
165
  $pick = 'site_icon_max';
170
  $pick = 'site_icon_min';
171
  }
172
 
 
 
 
 
 
 
173
  // Hopefully, we've found a thumbnail by now. If so, run it through the custom filter, check for SSL and create the image tag.
174
  if ( $postimage ) {
175
 
includes/plugin-activator.php CHANGED
@@ -110,18 +110,20 @@ function crp_single_deactivate() {
110
  *
111
  * @since 2.0.0
112
  *
113
- * @param int $blog_id ID of the new blog.
114
  */
115
- function crp_activate_new_site( $blog_id ) {
116
 
117
- if ( 1 !== did_action( 'wpmu_new_blog' ) ) {
118
- return;
119
  }
120
 
121
- switch_to_blog( $blog_id );
122
  crp_single_activate();
123
  restore_current_blog();
124
-
125
  }
126
- add_action( 'wpmu_new_blog', 'crp_activate_new_site' );
127
-
 
 
 
110
  *
111
  * @since 2.0.0
112
  *
113
+ * @param int|WP_Site $blog WordPress 5.1 passes a WP_Site object.
114
  */
115
+ function crp_activate_new_site( $blog ) {
116
 
117
+ if ( ! is_int( $blog ) ) {
118
+ $blog = $blog->id;
119
  }
120
 
121
+ switch_to_blog( $blog );
122
  crp_single_activate();
123
  restore_current_blog();
 
124
  }
125
+ if ( version_compare( get_bloginfo( 'version' ), '5.1', '>=' ) ) {
126
+ add_action( 'wp_initialize_site', 'crp_activate_new_site' );
127
+ } else {
128
+ add_action( 'wpmu_new_blog', 'crp_activate_new_site' );
129
+ }
includes/tools.php CHANGED
@@ -131,9 +131,9 @@ function crp_excerpt( $post, $excerpt_length = 0, $use_excerpt = true, $more_lin
131
  *
132
  * @since 2.4.0
133
  *
134
- * @param string $string String to truncate.
135
- * @param int $count Maximum number of characters to take.
136
- * @param string $more What to append if $string needs to be trimmed.
137
  * @param bool $break_words Optionally choose to break words.
138
  * @return string Truncated string.
139
  */
@@ -142,13 +142,11 @@ function crp_trim_char( $string, $count = 60, $more = '&hellip;', $break_words =
142
  $string = wp_strip_all_tags( $string, true );
143
  $count = absint( $count );
144
 
145
- if ( 0 === $count ) {
146
- return '';
147
  }
148
 
149
  if ( mb_strlen( $string ) > $count && $count > 0 ) {
150
- $count -= min( $count, mb_strlen( $more ) );
151
-
152
  if ( ! $break_words ) {
153
  $string = preg_replace( '/\s+?(\S+)?$/u', '', mb_substr( $string, 0, $count + 1 ) );
154
  }
131
  *
132
  * @since 2.4.0
133
  *
134
+ * @param string $string String to truncate.
135
+ * @param int $count Maximum number of characters to take.
136
+ * @param string $more What to append if $string needs to be trimmed.
137
  * @param bool $break_words Optionally choose to break words.
138
  * @return string Truncated string.
139
  */
142
  $string = wp_strip_all_tags( $string, true );
143
  $count = absint( $count );
144
 
145
+ if ( $count <= 0 ) {
146
+ return $string;
147
  }
148
 
149
  if ( mb_strlen( $string ) > $count && $count > 0 ) {
 
 
150
  if ( ! $break_words ) {
151
  $string = preg_replace( '/\s+?(\S+)?$/u', '', mb_substr( $string, 0, $count + 1 ) );
152
  }
languages/contextual-related-posts-en_US.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2021-11-27 21:42+0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza\n"
8
  "Language-Team: WebberZone\n"
@@ -28,15 +28,15 @@ msgstr ""
28
  msgid "Related Posts"
29
  msgstr ""
30
 
31
- #: includes/admin/admin.php:41 includes/admin/modules/tools.php:54
32
  msgid "Contextual Related Posts Tools"
33
  msgstr ""
34
 
35
- #: includes/admin/admin.php:42 includes/admin/help-tab.php:57
36
  msgid "Tools"
37
  msgstr ""
38
 
39
- #: includes/admin/admin.php:70
40
  #, php-format
41
  msgid ""
42
  "Thank you for using <a href=\"%1$s\" target=\"_blank\">Contextual Related "
@@ -137,7 +137,7 @@ msgstr ""
137
 
138
  #: includes/admin/blocks/related-posts/index.js:200
139
  #: includes/admin/blocks/related-posts/index.min.js:1
140
- #: includes/admin/default-settings.php:405
141
  msgid "Randomize posts"
142
  msgstr ""
143
 
@@ -382,7 +382,7 @@ msgid "No related posts found"
382
  msgstr ""
383
 
384
  #: includes/admin/default-settings.php:239
385
- #: includes/admin/default-settings.php:693
386
  msgid "Show post excerpt"
387
  msgstr ""
388
 
@@ -412,96 +412,96 @@ msgid ""
412
  "appended with an ellipsis (&hellip;)"
413
  msgstr ""
414
 
415
- #: includes/admin/default-settings.php:277
416
  msgid "Open links in new window"
417
  msgstr ""
418
 
419
- #: includes/admin/default-settings.php:284
420
  msgid "Add nofollow to links"
421
  msgstr ""
422
 
423
- #: includes/admin/default-settings.php:291
424
  msgid "Exclusion settings"
425
  msgstr ""
426
 
427
- #: includes/admin/default-settings.php:297
428
  msgid "Exclude display on these posts"
429
  msgstr ""
430
 
431
- #: includes/admin/default-settings.php:298
432
  msgid ""
433
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
434
  msgstr ""
435
 
436
- #: includes/admin/default-settings.php:304
437
  msgid "Exclude display on these post types"
438
  msgstr ""
439
 
440
- #: includes/admin/default-settings.php:305
441
  msgid ""
442
  "The related posts will not display on any of the above selected post types."
443
  msgstr ""
444
 
445
- #: includes/admin/default-settings.php:311
446
  msgid "Exclude on Categories"
447
  msgstr ""
448
 
449
- #: includes/admin/default-settings.php:312
450
- #: includes/admin/default-settings.php:458
451
  msgid ""
452
  "Comma separated list of category slugs. The field above has an autocomplete "
453
  "so simply start typing in the starting letters and it will prompt you with "
454
  "options. Does not support custom taxonomies."
455
  msgstr ""
456
 
457
- #: includes/admin/default-settings.php:323
458
  msgid "HTML to display"
459
  msgstr ""
460
 
461
- #: includes/admin/default-settings.php:329
462
  msgid "Before the list of posts"
463
  msgstr ""
464
 
465
- #: includes/admin/default-settings.php:336
466
  msgid "After the list of posts"
467
  msgstr ""
468
 
469
- #: includes/admin/default-settings.php:343
470
  msgid "Before each list item"
471
  msgstr ""
472
 
473
- #: includes/admin/default-settings.php:350
474
  msgid "After each list item"
475
  msgstr ""
476
 
477
- #: includes/admin/default-settings.php:380
478
- #: includes/admin/default-settings.php:684
479
  msgid "Number of posts to display"
480
  msgstr ""
481
 
482
- #: includes/admin/default-settings.php:381
483
  msgid ""
484
  "Maximum number of posts that will be displayed in the list. This option is "
485
  "used if you do not specify the number of posts in the widget or shortcodes"
486
  msgstr ""
487
 
488
- #: includes/admin/default-settings.php:389
489
  msgid "Related posts should be newer than"
490
  msgstr ""
491
 
492
- #: includes/admin/default-settings.php:390
493
  msgid ""
494
  "This sets the cut-off period for which posts will be displayed. e.g. setting "
495
  "it to 365 will show related posts from the last year only. Set to 0 to "
496
  "disable limiting posts by date."
497
  msgstr ""
498
 
499
- #: includes/admin/default-settings.php:397
500
  #: includes/modules/class-crp-widget.php:129
501
  msgid "Order posts"
502
  msgstr ""
503
 
504
- #: includes/admin/default-settings.php:406
505
  msgid ""
506
  "This shuffles the selected related posts. If you select to order by date in "
507
  "the previous option, then the related posts will first be sorted by date and "
@@ -509,79 +509,79 @@ msgid ""
509
  "enabled."
510
  msgstr ""
511
 
512
- #: includes/admin/default-settings.php:412
513
  msgid "Related posts based on title and content"
514
  msgstr ""
515
 
516
- #: includes/admin/default-settings.php:413
517
  msgid ""
518
  "If unchecked, only posts titles are used. Enable the cache if enabling this "
519
  "option for better performance. Each site is different, so toggle this option "
520
  "to see which setting gives you better quality related posts."
521
  msgstr ""
522
 
523
- #: includes/admin/default-settings.php:419
524
  msgid "Limit content to be compared"
525
  msgstr ""
526
 
527
- #: includes/admin/default-settings.php:421
528
  #, php-format
529
  msgid ""
530
  "This sets the maximum words of the content that will be matched. Set to 0 "
531
  "for no limit. Max value: %1$s. Only applies if you activate the above option."
532
  msgstr ""
533
 
534
- #: includes/admin/default-settings.php:429
535
  #: includes/modules/class-crp-widget.php:153
536
  msgid "Post types to include"
537
  msgstr ""
538
 
539
- #: includes/admin/default-settings.php:430
540
  msgid ""
541
  "At least one option should be selected above. Select which post types you "
542
  "want to include in the list of posts. This field can be overridden using a "
543
  "comma separated list of post types when using the manual display."
544
  msgstr ""
545
 
546
- #: includes/admin/default-settings.php:436
547
  msgid "Limit to same post type"
548
  msgstr ""
549
 
550
- #: includes/admin/default-settings.php:437
551
  msgid ""
552
  "If checked, the related posts will only be selected from the same post type "
553
  "of the current post."
554
  msgstr ""
555
 
556
- #: includes/admin/default-settings.php:443
557
  msgid "Limit to same author"
558
  msgstr ""
559
 
560
- #: includes/admin/default-settings.php:444
561
  msgid ""
562
  "If checked, the related posts will only be selected from the same author of "
563
  "the current post."
564
  msgstr ""
565
 
566
- #: includes/admin/default-settings.php:450
567
  msgid "Post/page IDs to exclude"
568
  msgstr ""
569
 
570
- #: includes/admin/default-settings.php:451
571
  msgid ""
572
  "Comma-separated list of post or page IDs to exclude from the list. e.g. "
573
  "188,320,500"
574
  msgstr ""
575
 
576
- #: includes/admin/default-settings.php:457
577
  msgid "Exclude Categories"
578
  msgstr ""
579
 
580
- #: includes/admin/default-settings.php:469
581
  msgid "Exclude category IDs"
582
  msgstr ""
583
 
584
- #: includes/admin/default-settings.php:470
585
  msgid ""
586
  "This is a readonly field that is automatically populated based on the above "
587
  "input when the settings are saved. These might differ from the IDs visible "
@@ -589,11 +589,11 @@ msgid ""
589
  "the term_taxonomy_id which is unique to this taxonomy."
590
  msgstr ""
591
 
592
- #: includes/admin/default-settings.php:477
593
  msgid "Disable contextual matching"
594
  msgstr ""
595
 
596
- #: includes/admin/default-settings.php:478
597
  msgid ""
598
  "Selecting this option will turn off contextual matching. This is only useful "
599
  "if you activate the option: \"Only from same\" from the General tab. "
@@ -601,47 +601,47 @@ msgid ""
601
  "with no relevance."
602
  msgstr ""
603
 
604
- #: includes/admin/default-settings.php:484
605
  msgid "Disable contextual matching ONLY on attachments and custom post types"
606
  msgstr ""
607
 
608
- #: includes/admin/default-settings.php:485
609
  msgid ""
610
  "Applies only if the previous option is checked. Selecting this option will "
611
  "retain contextual matching for posts and pages but disable this on any "
612
  "custom post types."
613
  msgstr ""
614
 
615
- #: includes/admin/default-settings.php:514
616
- #: includes/admin/default-settings.php:700
617
  msgid "Location of the post thumbnail"
618
  msgstr ""
619
 
620
- #: includes/admin/default-settings.php:519
621
- #: includes/admin/default-settings.php:705
622
- msgid "Display thumbnails inline with posts, before title"
623
- msgstr ""
624
-
625
  #: includes/admin/default-settings.php:520
626
  #: includes/admin/default-settings.php:706
627
- msgid "Display thumbnails inline with posts, after title"
628
  msgstr ""
629
 
630
  #: includes/admin/default-settings.php:521
631
  #: includes/admin/default-settings.php:707
632
- msgid "Display only thumbnails, no text"
633
  msgstr ""
634
 
635
  #: includes/admin/default-settings.php:522
636
  #: includes/admin/default-settings.php:708
 
 
 
 
 
637
  msgid "Do not display thumbnails, only text"
638
  msgstr ""
639
 
640
- #: includes/admin/default-settings.php:527
641
  msgid "Thumbnail size"
642
  msgstr ""
643
 
644
- #: includes/admin/default-settings.php:528
645
  msgid ""
646
  "You can choose from existing image sizes above or create a custom size. If "
647
  "you have chosen Custom size above, then enter the width, height and crop "
@@ -649,125 +649,125 @@ msgid ""
649
  "width and/or height below, existing images will not be automatically resized."
650
  msgstr ""
651
 
652
- #: includes/admin/default-settings.php:530
653
  #, php-format
654
  msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
655
  msgstr ""
656
 
657
- #: includes/admin/default-settings.php:540
658
- #: includes/admin/default-settings.php:713
659
  #: includes/modules/class-crp-widget.php:126
660
  msgid "Thumbnail width"
661
  msgstr ""
662
 
663
- #: includes/admin/default-settings.php:549
664
- #: includes/admin/default-settings.php:722
665
  #: includes/modules/class-crp-widget.php:121
666
  msgid "Thumbnail height"
667
  msgstr ""
668
 
669
- #: includes/admin/default-settings.php:558
670
  msgid "Hard crop thumbnails"
671
  msgstr ""
672
 
673
- #: includes/admin/default-settings.php:559
674
  msgid ""
675
  "Check this box to hard crop the thumbnails. i.e. force the width and height "
676
  "above vs. maintaining proportions."
677
  msgstr ""
678
 
679
- #: includes/admin/default-settings.php:565
680
  msgid "Generate thumbnail sizes"
681
  msgstr ""
682
 
683
- #: includes/admin/default-settings.php:566
684
  msgid ""
685
  "If you select this option and Custom size is selected above, the plugin will "
686
  "register the image size with WordPress to create new thumbnails. Does not "
687
  "update old images as explained above."
688
  msgstr ""
689
 
690
- #: includes/admin/default-settings.php:572
691
  msgid "Thumbnail size attributes"
692
  msgstr ""
693
 
694
- #: includes/admin/default-settings.php:578
695
  #, php-format
696
  msgid "Use CSS to set the width and height: e.g. %s"
697
  msgstr ""
698
 
699
- #: includes/admin/default-settings.php:580
700
  #, php-format
701
  msgid "Use HTML attributes to set the width and height: e.g. %s"
702
  msgstr ""
703
 
704
- #: includes/admin/default-settings.php:581
705
  msgid ""
706
  "No width or height set. You will need to use external styles to force any "
707
  "width or height of your choice."
708
  msgstr ""
709
 
710
- #: includes/admin/default-settings.php:586
711
  msgid "Thumbnail meta field name"
712
  msgstr ""
713
 
714
- #: includes/admin/default-settings.php:587
715
  msgid ""
716
  "The value of this field should contain the URL of the image and can be set "
717
  "in the metabox in the Edit Post screen"
718
  msgstr ""
719
 
720
- #: includes/admin/default-settings.php:593
721
  msgid "Get first image"
722
  msgstr ""
723
 
724
- #: includes/admin/default-settings.php:594
725
  msgid ""
726
  "The plugin will fetch the first image in the post content if this is "
727
  "enabled. This can slow down the loading of your page if the first image in "
728
  "the followed posts is large in file-size."
729
  msgstr ""
730
 
731
- #: includes/admin/default-settings.php:600
732
  msgid "Use default thumbnail?"
733
  msgstr ""
734
 
735
- #: includes/admin/default-settings.php:601
736
  msgid ""
737
  "If checked, when no thumbnail is found, show a default one from the URL "
738
  "below. If not checked and no thumbnail is found, no image will be shown."
739
  msgstr ""
740
 
741
- #: includes/admin/default-settings.php:607 includes/admin/settings-page.php:747
742
  msgid "Default thumbnail"
743
  msgstr ""
744
 
745
- #: includes/admin/default-settings.php:608
746
  msgid ""
747
  "Enter the full URL of the image that you wish to display if no thumbnail is "
748
  "found. This image will be displayed below."
749
  msgstr ""
750
 
751
- #: includes/admin/default-settings.php:638
752
  msgid "Related Posts style"
753
  msgstr ""
754
 
755
- #: includes/admin/default-settings.php:646
756
  msgid "Custom CSS"
757
  msgstr ""
758
 
759
- #: includes/admin/default-settings.php:648
760
  #, php-format
761
  msgid ""
762
  "Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
763
  "CSS classes to style."
764
  msgstr ""
765
 
766
- #: includes/admin/default-settings.php:678
767
  msgid "About this tab"
768
  msgstr ""
769
 
770
- #: includes/admin/default-settings.php:679
771
  msgid ""
772
  "Below options override the related posts settings for your blog feed. These "
773
  "only apply if you have selected to add related posts to Feeds in the General "
@@ -775,68 +775,68 @@ msgid ""
775
  "way to style the related posts in the feed."
776
  msgstr ""
777
 
778
- #: includes/admin/default-settings.php:799
779
  msgid "No styles"
780
  msgstr ""
781
 
782
- #: includes/admin/default-settings.php:800
783
  msgid "Select this option if you plan to add your own styles"
784
  msgstr ""
785
 
786
- #: includes/admin/default-settings.php:804
787
  msgid "Text only"
788
  msgstr ""
789
 
790
- #: includes/admin/default-settings.php:805
791
  msgid "Disable thumbnails and no longer include the default style sheet"
792
  msgstr ""
793
 
794
- #: includes/admin/default-settings.php:809
795
  msgid "Rounded thumbnails"
796
  msgstr ""
797
 
798
- #: includes/admin/default-settings.php:810
799
  msgid ""
800
  "Enabling this option will turn on the thumbnails. It will also turn off the "
801
  "display of the author, excerpt and date if already enabled. Disabling this "
802
  "option will not revert any settings."
803
  msgstr ""
804
 
805
- #: includes/admin/default-settings.php:814
806
  msgid "Masonry"
807
  msgstr ""
808
 
809
- #: includes/admin/default-settings.php:815
810
  msgid "Enables a masonry style layout similar to one made famous by Pinterest."
811
  msgstr ""
812
 
813
- #: includes/admin/default-settings.php:819
814
  msgid "Grid"
815
  msgstr ""
816
 
817
- #: includes/admin/default-settings.php:820
818
  msgid "Uses CSS Grid for display. Might not work on older browsers."
819
  msgstr ""
820
 
821
- #: includes/admin/default-settings.php:824
822
  msgid "Rounded thumbnails with CSS grid"
823
  msgstr ""
824
 
825
- #: includes/admin/default-settings.php:825
826
  msgid ""
827
  "Uses CSS grid. It will also turn off the display of the author, excerpt and "
828
  "date if already enabled. Disabling this option will not revert any settings."
829
  msgstr ""
830
 
831
- #: includes/admin/default-settings.php:848
832
  msgid "By relevance"
833
  msgstr ""
834
 
835
- #: includes/admin/default-settings.php:849
836
  msgid "Randomly"
837
  msgstr ""
838
 
839
- #: includes/admin/default-settings.php:850
840
  msgid "By date"
841
  msgstr ""
842
 
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2022-01-29 14:35+0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza\n"
8
  "Language-Team: WebberZone\n"
28
  msgid "Related Posts"
29
  msgstr ""
30
 
31
+ #: includes/admin/admin.php:40 includes/admin/modules/tools.php:54
32
  msgid "Contextual Related Posts Tools"
33
  msgstr ""
34
 
35
+ #: includes/admin/admin.php:41 includes/admin/help-tab.php:57
36
  msgid "Tools"
37
  msgstr ""
38
 
39
+ #: includes/admin/admin.php:69
40
  #, php-format
41
  msgid ""
42
  "Thank you for using <a href=\"%1$s\" target=\"_blank\">Contextual Related "
137
 
138
  #: includes/admin/blocks/related-posts/index.js:200
139
  #: includes/admin/blocks/related-posts/index.min.js:1
140
+ #: includes/admin/default-settings.php:406
141
  msgid "Randomize posts"
142
  msgstr ""
143
 
382
  msgstr ""
383
 
384
  #: includes/admin/default-settings.php:239
385
+ #: includes/admin/default-settings.php:694
386
  msgid "Show post excerpt"
387
  msgstr ""
388
 
412
  "appended with an ellipsis (&hellip;)"
413
  msgstr ""
414
 
415
+ #: includes/admin/default-settings.php:278
416
  msgid "Open links in new window"
417
  msgstr ""
418
 
419
+ #: includes/admin/default-settings.php:285
420
  msgid "Add nofollow to links"
421
  msgstr ""
422
 
423
+ #: includes/admin/default-settings.php:292
424
  msgid "Exclusion settings"
425
  msgstr ""
426
 
427
+ #: includes/admin/default-settings.php:298
428
  msgid "Exclude display on these posts"
429
  msgstr ""
430
 
431
+ #: includes/admin/default-settings.php:299
432
  msgid ""
433
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
434
  msgstr ""
435
 
436
+ #: includes/admin/default-settings.php:305
437
  msgid "Exclude display on these post types"
438
  msgstr ""
439
 
440
+ #: includes/admin/default-settings.php:306
441
  msgid ""
442
  "The related posts will not display on any of the above selected post types."
443
  msgstr ""
444
 
445
+ #: includes/admin/default-settings.php:312
446
  msgid "Exclude on Categories"
447
  msgstr ""
448
 
449
+ #: includes/admin/default-settings.php:313
450
+ #: includes/admin/default-settings.php:459
451
  msgid ""
452
  "Comma separated list of category slugs. The field above has an autocomplete "
453
  "so simply start typing in the starting letters and it will prompt you with "
454
  "options. Does not support custom taxonomies."
455
  msgstr ""
456
 
457
+ #: includes/admin/default-settings.php:324
458
  msgid "HTML to display"
459
  msgstr ""
460
 
461
+ #: includes/admin/default-settings.php:330
462
  msgid "Before the list of posts"
463
  msgstr ""
464
 
465
+ #: includes/admin/default-settings.php:337
466
  msgid "After the list of posts"
467
  msgstr ""
468
 
469
+ #: includes/admin/default-settings.php:344
470
  msgid "Before each list item"
471
  msgstr ""
472
 
473
+ #: includes/admin/default-settings.php:351
474
  msgid "After each list item"
475
  msgstr ""
476
 
477
+ #: includes/admin/default-settings.php:381
478
+ #: includes/admin/default-settings.php:685
479
  msgid "Number of posts to display"
480
  msgstr ""
481
 
482
+ #: includes/admin/default-settings.php:382
483
  msgid ""
484
  "Maximum number of posts that will be displayed in the list. This option is "
485
  "used if you do not specify the number of posts in the widget or shortcodes"
486
  msgstr ""
487
 
488
+ #: includes/admin/default-settings.php:390
489
  msgid "Related posts should be newer than"
490
  msgstr ""
491
 
492
+ #: includes/admin/default-settings.php:391
493
  msgid ""
494
  "This sets the cut-off period for which posts will be displayed. e.g. setting "
495
  "it to 365 will show related posts from the last year only. Set to 0 to "
496
  "disable limiting posts by date."
497
  msgstr ""
498
 
499
+ #: includes/admin/default-settings.php:398
500
  #: includes/modules/class-crp-widget.php:129
501
  msgid "Order posts"
502
  msgstr ""
503
 
504
+ #: includes/admin/default-settings.php:407
505
  msgid ""
506
  "This shuffles the selected related posts. If you select to order by date in "
507
  "the previous option, then the related posts will first be sorted by date and "
509
  "enabled."
510
  msgstr ""
511
 
512
+ #: includes/admin/default-settings.php:413
513
  msgid "Related posts based on title and content"
514
  msgstr ""
515
 
516
+ #: includes/admin/default-settings.php:414
517
  msgid ""
518
  "If unchecked, only posts titles are used. Enable the cache if enabling this "
519
  "option for better performance. Each site is different, so toggle this option "
520
  "to see which setting gives you better quality related posts."
521
  msgstr ""
522
 
523
+ #: includes/admin/default-settings.php:420
524
  msgid "Limit content to be compared"
525
  msgstr ""
526
 
527
+ #: includes/admin/default-settings.php:422
528
  #, php-format
529
  msgid ""
530
  "This sets the maximum words of the content that will be matched. Set to 0 "
531
  "for no limit. Max value: %1$s. Only applies if you activate the above option."
532
  msgstr ""
533
 
534
+ #: includes/admin/default-settings.php:430
535
  #: includes/modules/class-crp-widget.php:153
536
  msgid "Post types to include"
537
  msgstr ""
538
 
539
+ #: includes/admin/default-settings.php:431
540
  msgid ""
541
  "At least one option should be selected above. Select which post types you "
542
  "want to include in the list of posts. This field can be overridden using a "
543
  "comma separated list of post types when using the manual display."
544
  msgstr ""
545
 
546
+ #: includes/admin/default-settings.php:437
547
  msgid "Limit to same post type"
548
  msgstr ""
549
 
550
+ #: includes/admin/default-settings.php:438
551
  msgid ""
552
  "If checked, the related posts will only be selected from the same post type "
553
  "of the current post."
554
  msgstr ""
555
 
556
+ #: includes/admin/default-settings.php:444
557
  msgid "Limit to same author"
558
  msgstr ""
559
 
560
+ #: includes/admin/default-settings.php:445
561
  msgid ""
562
  "If checked, the related posts will only be selected from the same author of "
563
  "the current post."
564
  msgstr ""
565
 
566
+ #: includes/admin/default-settings.php:451
567
  msgid "Post/page IDs to exclude"
568
  msgstr ""
569
 
570
+ #: includes/admin/default-settings.php:452
571
  msgid ""
572
  "Comma-separated list of post or page IDs to exclude from the list. e.g. "
573
  "188,320,500"
574
  msgstr ""
575
 
576
+ #: includes/admin/default-settings.php:458
577
  msgid "Exclude Categories"
578
  msgstr ""
579
 
580
+ #: includes/admin/default-settings.php:470
581
  msgid "Exclude category IDs"
582
  msgstr ""
583
 
584
+ #: includes/admin/default-settings.php:471
585
  msgid ""
586
  "This is a readonly field that is automatically populated based on the above "
587
  "input when the settings are saved. These might differ from the IDs visible "
589
  "the term_taxonomy_id which is unique to this taxonomy."
590
  msgstr ""
591
 
592
+ #: includes/admin/default-settings.php:478
593
  msgid "Disable contextual matching"
594
  msgstr ""
595
 
596
+ #: includes/admin/default-settings.php:479
597
  msgid ""
598
  "Selecting this option will turn off contextual matching. This is only useful "
599
  "if you activate the option: \"Only from same\" from the General tab. "
601
  "with no relevance."
602
  msgstr ""
603
 
604
+ #: includes/admin/default-settings.php:485
605
  msgid "Disable contextual matching ONLY on attachments and custom post types"
606
  msgstr ""
607
 
608
+ #: includes/admin/default-settings.php:486
609
  msgid ""
610
  "Applies only if the previous option is checked. Selecting this option will "
611
  "retain contextual matching for posts and pages but disable this on any "
612
  "custom post types."
613
  msgstr ""
614
 
615
+ #: includes/admin/default-settings.php:515
616
+ #: includes/admin/default-settings.php:701
617
  msgid "Location of the post thumbnail"
618
  msgstr ""
619
 
 
 
 
 
 
620
  #: includes/admin/default-settings.php:520
621
  #: includes/admin/default-settings.php:706
622
+ msgid "Display thumbnails inline with posts, before title"
623
  msgstr ""
624
 
625
  #: includes/admin/default-settings.php:521
626
  #: includes/admin/default-settings.php:707
627
+ msgid "Display thumbnails inline with posts, after title"
628
  msgstr ""
629
 
630
  #: includes/admin/default-settings.php:522
631
  #: includes/admin/default-settings.php:708
632
+ msgid "Display only thumbnails, no text"
633
+ msgstr ""
634
+
635
+ #: includes/admin/default-settings.php:523
636
+ #: includes/admin/default-settings.php:709
637
  msgid "Do not display thumbnails, only text"
638
  msgstr ""
639
 
640
+ #: includes/admin/default-settings.php:528
641
  msgid "Thumbnail size"
642
  msgstr ""
643
 
644
+ #: includes/admin/default-settings.php:529
645
  msgid ""
646
  "You can choose from existing image sizes above or create a custom size. If "
647
  "you have chosen Custom size above, then enter the width, height and crop "
649
  "width and/or height below, existing images will not be automatically resized."
650
  msgstr ""
651
 
652
+ #: includes/admin/default-settings.php:531
653
  #, php-format
654
  msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
655
  msgstr ""
656
 
657
+ #: includes/admin/default-settings.php:541
658
+ #: includes/admin/default-settings.php:714
659
  #: includes/modules/class-crp-widget.php:126
660
  msgid "Thumbnail width"
661
  msgstr ""
662
 
663
+ #: includes/admin/default-settings.php:550
664
+ #: includes/admin/default-settings.php:723
665
  #: includes/modules/class-crp-widget.php:121
666
  msgid "Thumbnail height"
667
  msgstr ""
668
 
669
+ #: includes/admin/default-settings.php:559
670
  msgid "Hard crop thumbnails"
671
  msgstr ""
672
 
673
+ #: includes/admin/default-settings.php:560
674
  msgid ""
675
  "Check this box to hard crop the thumbnails. i.e. force the width and height "
676
  "above vs. maintaining proportions."
677
  msgstr ""
678
 
679
+ #: includes/admin/default-settings.php:566
680
  msgid "Generate thumbnail sizes"
681
  msgstr ""
682
 
683
+ #: includes/admin/default-settings.php:567
684
  msgid ""
685
  "If you select this option and Custom size is selected above, the plugin will "
686
  "register the image size with WordPress to create new thumbnails. Does not "
687
  "update old images as explained above."
688
  msgstr ""
689
 
690
+ #: includes/admin/default-settings.php:573
691
  msgid "Thumbnail size attributes"
692
  msgstr ""
693
 
694
+ #: includes/admin/default-settings.php:579
695
  #, php-format
696
  msgid "Use CSS to set the width and height: e.g. %s"
697
  msgstr ""
698
 
699
+ #: includes/admin/default-settings.php:581
700
  #, php-format
701
  msgid "Use HTML attributes to set the width and height: e.g. %s"
702
  msgstr ""
703
 
704
+ #: includes/admin/default-settings.php:582
705
  msgid ""
706
  "No width or height set. You will need to use external styles to force any "
707
  "width or height of your choice."
708
  msgstr ""
709
 
710
+ #: includes/admin/default-settings.php:587
711
  msgid "Thumbnail meta field name"
712
  msgstr ""
713
 
714
+ #: includes/admin/default-settings.php:588
715
  msgid ""
716
  "The value of this field should contain the URL of the image and can be set "
717
  "in the metabox in the Edit Post screen"
718
  msgstr ""
719
 
720
+ #: includes/admin/default-settings.php:594
721
  msgid "Get first image"
722
  msgstr ""
723
 
724
+ #: includes/admin/default-settings.php:595
725
  msgid ""
726
  "The plugin will fetch the first image in the post content if this is "
727
  "enabled. This can slow down the loading of your page if the first image in "
728
  "the followed posts is large in file-size."
729
  msgstr ""
730
 
731
+ #: includes/admin/default-settings.php:601
732
  msgid "Use default thumbnail?"
733
  msgstr ""
734
 
735
+ #: includes/admin/default-settings.php:602
736
  msgid ""
737
  "If checked, when no thumbnail is found, show a default one from the URL "
738
  "below. If not checked and no thumbnail is found, no image will be shown."
739
  msgstr ""
740
 
741
+ #: includes/admin/default-settings.php:608 includes/admin/settings-page.php:747
742
  msgid "Default thumbnail"
743
  msgstr ""
744
 
745
+ #: includes/admin/default-settings.php:609
746
  msgid ""
747
  "Enter the full URL of the image that you wish to display if no thumbnail is "
748
  "found. This image will be displayed below."
749
  msgstr ""
750
 
751
+ #: includes/admin/default-settings.php:639
752
  msgid "Related Posts style"
753
  msgstr ""
754
 
755
+ #: includes/admin/default-settings.php:647
756
  msgid "Custom CSS"
757
  msgstr ""
758
 
759
+ #: includes/admin/default-settings.php:649
760
  #, php-format
761
  msgid ""
762
  "Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
763
  "CSS classes to style."
764
  msgstr ""
765
 
766
+ #: includes/admin/default-settings.php:679
767
  msgid "About this tab"
768
  msgstr ""
769
 
770
+ #: includes/admin/default-settings.php:680
771
  msgid ""
772
  "Below options override the related posts settings for your blog feed. These "
773
  "only apply if you have selected to add related posts to Feeds in the General "
775
  "way to style the related posts in the feed."
776
  msgstr ""
777
 
778
+ #: includes/admin/default-settings.php:800
779
  msgid "No styles"
780
  msgstr ""
781
 
782
+ #: includes/admin/default-settings.php:801
783
  msgid "Select this option if you plan to add your own styles"
784
  msgstr ""
785
 
786
+ #: includes/admin/default-settings.php:805
787
  msgid "Text only"
788
  msgstr ""
789
 
790
+ #: includes/admin/default-settings.php:806
791
  msgid "Disable thumbnails and no longer include the default style sheet"
792
  msgstr ""
793
 
794
+ #: includes/admin/default-settings.php:810
795
  msgid "Rounded thumbnails"
796
  msgstr ""
797
 
798
+ #: includes/admin/default-settings.php:811
799
  msgid ""
800
  "Enabling this option will turn on the thumbnails. It will also turn off the "
801
  "display of the author, excerpt and date if already enabled. Disabling this "
802
  "option will not revert any settings."
803
  msgstr ""
804
 
805
+ #: includes/admin/default-settings.php:815
806
  msgid "Masonry"
807
  msgstr ""
808
 
809
+ #: includes/admin/default-settings.php:816
810
  msgid "Enables a masonry style layout similar to one made famous by Pinterest."
811
  msgstr ""
812
 
813
+ #: includes/admin/default-settings.php:820
814
  msgid "Grid"
815
  msgstr ""
816
 
817
+ #: includes/admin/default-settings.php:821
818
  msgid "Uses CSS Grid for display. Might not work on older browsers."
819
  msgstr ""
820
 
821
+ #: includes/admin/default-settings.php:825
822
  msgid "Rounded thumbnails with CSS grid"
823
  msgstr ""
824
 
825
+ #: includes/admin/default-settings.php:826
826
  msgid ""
827
  "Uses CSS grid. It will also turn off the display of the author, excerpt and "
828
  "date if already enabled. Disabling this option will not revert any settings."
829
  msgstr ""
830
 
831
+ #: includes/admin/default-settings.php:849
832
  msgid "By relevance"
833
  msgstr ""
834
 
835
+ #: includes/admin/default-settings.php:850
836
  msgid "Randomly"
837
  msgstr ""
838
 
839
+ #: includes/admin/default-settings.php:851
840
  msgid "By date"
841
  msgstr ""
842
 
languages/contextual-related-posts-en_US.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Contextual Related Posts\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2021-11-27 21:42+0000\n"
7
  "PO-Revision-Date: \n"
8
  "Last-Translator: Ajay D'Souza\n"
9
  "Language-Team: WebberZone\n"
@@ -29,15 +29,15 @@ msgstr ""
29
  msgid "Related Posts"
30
  msgstr ""
31
 
32
- #: includes/admin/admin.php:41 includes/admin/modules/tools.php:54
33
  msgid "Contextual Related Posts Tools"
34
  msgstr ""
35
 
36
- #: includes/admin/admin.php:42 includes/admin/help-tab.php:57
37
  msgid "Tools"
38
  msgstr ""
39
 
40
- #: includes/admin/admin.php:70
41
  #, php-format
42
  msgid ""
43
  "Thank you for using <a href=\"%1$s\" target=\"_blank\">Contextual Related "
@@ -138,7 +138,7 @@ msgstr ""
138
 
139
  #: includes/admin/blocks/related-posts/index.js:200
140
  #: includes/admin/blocks/related-posts/index.min.js:1
141
- #: includes/admin/default-settings.php:405
142
  msgid "Randomize posts"
143
  msgstr ""
144
 
@@ -383,7 +383,7 @@ msgid "No related posts found"
383
  msgstr ""
384
 
385
  #: includes/admin/default-settings.php:239
386
- #: includes/admin/default-settings.php:693
387
  msgid "Show post excerpt"
388
  msgstr ""
389
 
@@ -413,96 +413,96 @@ msgid ""
413
  "appended with an ellipsis (&hellip;)"
414
  msgstr ""
415
 
416
- #: includes/admin/default-settings.php:277
417
  msgid "Open links in new window"
418
  msgstr ""
419
 
420
- #: includes/admin/default-settings.php:284
421
  msgid "Add nofollow to links"
422
  msgstr ""
423
 
424
- #: includes/admin/default-settings.php:291
425
  msgid "Exclusion settings"
426
  msgstr ""
427
 
428
- #: includes/admin/default-settings.php:297
429
  msgid "Exclude display on these posts"
430
  msgstr ""
431
 
432
- #: includes/admin/default-settings.php:298
433
  msgid ""
434
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
435
  msgstr ""
436
 
437
- #: includes/admin/default-settings.php:304
438
  msgid "Exclude display on these post types"
439
  msgstr ""
440
 
441
- #: includes/admin/default-settings.php:305
442
  msgid ""
443
  "The related posts will not display on any of the above selected post types."
444
  msgstr ""
445
 
446
- #: includes/admin/default-settings.php:311
447
  msgid "Exclude on Categories"
448
  msgstr ""
449
 
450
- #: includes/admin/default-settings.php:312
451
- #: includes/admin/default-settings.php:458
452
  msgid ""
453
  "Comma separated list of category slugs. The field above has an autocomplete "
454
  "so simply start typing in the starting letters and it will prompt you with "
455
  "options. Does not support custom taxonomies."
456
  msgstr ""
457
 
458
- #: includes/admin/default-settings.php:323
459
  msgid "HTML to display"
460
  msgstr ""
461
 
462
- #: includes/admin/default-settings.php:329
463
  msgid "Before the list of posts"
464
  msgstr ""
465
 
466
- #: includes/admin/default-settings.php:336
467
  msgid "After the list of posts"
468
  msgstr ""
469
 
470
- #: includes/admin/default-settings.php:343
471
  msgid "Before each list item"
472
  msgstr ""
473
 
474
- #: includes/admin/default-settings.php:350
475
  msgid "After each list item"
476
  msgstr ""
477
 
478
- #: includes/admin/default-settings.php:380
479
- #: includes/admin/default-settings.php:684
480
  msgid "Number of posts to display"
481
  msgstr ""
482
 
483
- #: includes/admin/default-settings.php:381
484
  msgid ""
485
  "Maximum number of posts that will be displayed in the list. This option is "
486
  "used if you do not specify the number of posts in the widget or shortcodes"
487
  msgstr ""
488
 
489
- #: includes/admin/default-settings.php:389
490
  msgid "Related posts should be newer than"
491
  msgstr ""
492
 
493
- #: includes/admin/default-settings.php:390
494
  msgid ""
495
  "This sets the cut-off period for which posts will be displayed. e.g. setting "
496
  "it to 365 will show related posts from the last year only. Set to 0 to "
497
  "disable limiting posts by date."
498
  msgstr ""
499
 
500
- #: includes/admin/default-settings.php:397
501
  #: includes/modules/class-crp-widget.php:129
502
  msgid "Order posts"
503
  msgstr ""
504
 
505
- #: includes/admin/default-settings.php:406
506
  msgid ""
507
  "This shuffles the selected related posts. If you select to order by date in "
508
  "the previous option, then the related posts will first be sorted by date and "
@@ -510,79 +510,79 @@ msgid ""
510
  "enabled."
511
  msgstr ""
512
 
513
- #: includes/admin/default-settings.php:412
514
  msgid "Related posts based on title and content"
515
  msgstr ""
516
 
517
- #: includes/admin/default-settings.php:413
518
  msgid ""
519
  "If unchecked, only posts titles are used. Enable the cache if enabling this "
520
  "option for better performance. Each site is different, so toggle this option "
521
  "to see which setting gives you better quality related posts."
522
  msgstr ""
523
 
524
- #: includes/admin/default-settings.php:419
525
  msgid "Limit content to be compared"
526
  msgstr ""
527
 
528
- #: includes/admin/default-settings.php:421
529
  #, php-format
530
  msgid ""
531
  "This sets the maximum words of the content that will be matched. Set to 0 "
532
  "for no limit. Max value: %1$s. Only applies if you activate the above option."
533
  msgstr ""
534
 
535
- #: includes/admin/default-settings.php:429
536
  #: includes/modules/class-crp-widget.php:153
537
  msgid "Post types to include"
538
  msgstr ""
539
 
540
- #: includes/admin/default-settings.php:430
541
  msgid ""
542
  "At least one option should be selected above. Select which post types you "
543
  "want to include in the list of posts. This field can be overridden using a "
544
  "comma separated list of post types when using the manual display."
545
  msgstr ""
546
 
547
- #: includes/admin/default-settings.php:436
548
  msgid "Limit to same post type"
549
  msgstr ""
550
 
551
- #: includes/admin/default-settings.php:437
552
  msgid ""
553
  "If checked, the related posts will only be selected from the same post type "
554
  "of the current post."
555
  msgstr ""
556
 
557
- #: includes/admin/default-settings.php:443
558
  msgid "Limit to same author"
559
  msgstr ""
560
 
561
- #: includes/admin/default-settings.php:444
562
  msgid ""
563
  "If checked, the related posts will only be selected from the same author of "
564
  "the current post."
565
  msgstr ""
566
 
567
- #: includes/admin/default-settings.php:450
568
  msgid "Post/page IDs to exclude"
569
  msgstr ""
570
 
571
- #: includes/admin/default-settings.php:451
572
  msgid ""
573
  "Comma-separated list of post or page IDs to exclude from the list. e.g. "
574
  "188,320,500"
575
  msgstr ""
576
 
577
- #: includes/admin/default-settings.php:457
578
  msgid "Exclude Categories"
579
  msgstr ""
580
 
581
- #: includes/admin/default-settings.php:469
582
  msgid "Exclude category IDs"
583
  msgstr ""
584
 
585
- #: includes/admin/default-settings.php:470
586
  msgid ""
587
  "This is a readonly field that is automatically populated based on the above "
588
  "input when the settings are saved. These might differ from the IDs visible "
@@ -590,11 +590,11 @@ msgid ""
590
  "the term_taxonomy_id which is unique to this taxonomy."
591
  msgstr ""
592
 
593
- #: includes/admin/default-settings.php:477
594
  msgid "Disable contextual matching"
595
  msgstr ""
596
 
597
- #: includes/admin/default-settings.php:478
598
  msgid ""
599
  "Selecting this option will turn off contextual matching. This is only useful "
600
  "if you activate the option: \"Only from same\" from the General tab. "
@@ -602,47 +602,47 @@ msgid ""
602
  "with no relevance."
603
  msgstr ""
604
 
605
- #: includes/admin/default-settings.php:484
606
  msgid "Disable contextual matching ONLY on attachments and custom post types"
607
  msgstr ""
608
 
609
- #: includes/admin/default-settings.php:485
610
  msgid ""
611
  "Applies only if the previous option is checked. Selecting this option will "
612
  "retain contextual matching for posts and pages but disable this on any "
613
  "custom post types."
614
  msgstr ""
615
 
616
- #: includes/admin/default-settings.php:514
617
- #: includes/admin/default-settings.php:700
618
  msgid "Location of the post thumbnail"
619
  msgstr ""
620
 
621
- #: includes/admin/default-settings.php:519
622
- #: includes/admin/default-settings.php:705
623
- msgid "Display thumbnails inline with posts, before title"
624
- msgstr ""
625
-
626
  #: includes/admin/default-settings.php:520
627
  #: includes/admin/default-settings.php:706
628
- msgid "Display thumbnails inline with posts, after title"
629
  msgstr ""
630
 
631
  #: includes/admin/default-settings.php:521
632
  #: includes/admin/default-settings.php:707
633
- msgid "Display only thumbnails, no text"
634
  msgstr ""
635
 
636
  #: includes/admin/default-settings.php:522
637
  #: includes/admin/default-settings.php:708
 
 
 
 
 
638
  msgid "Do not display thumbnails, only text"
639
  msgstr ""
640
 
641
- #: includes/admin/default-settings.php:527
642
  msgid "Thumbnail size"
643
  msgstr ""
644
 
645
- #: includes/admin/default-settings.php:528
646
  msgid ""
647
  "You can choose from existing image sizes above or create a custom size. If "
648
  "you have chosen Custom size above, then enter the width, height and crop "
@@ -650,125 +650,125 @@ msgid ""
650
  "width and/or height below, existing images will not be automatically resized."
651
  msgstr ""
652
 
653
- #: includes/admin/default-settings.php:530
654
  #, php-format
655
  msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
656
  msgstr ""
657
 
658
- #: includes/admin/default-settings.php:540
659
- #: includes/admin/default-settings.php:713
660
  #: includes/modules/class-crp-widget.php:126
661
  msgid "Thumbnail width"
662
  msgstr ""
663
 
664
- #: includes/admin/default-settings.php:549
665
- #: includes/admin/default-settings.php:722
666
  #: includes/modules/class-crp-widget.php:121
667
  msgid "Thumbnail height"
668
  msgstr ""
669
 
670
- #: includes/admin/default-settings.php:558
671
  msgid "Hard crop thumbnails"
672
  msgstr ""
673
 
674
- #: includes/admin/default-settings.php:559
675
  msgid ""
676
  "Check this box to hard crop the thumbnails. i.e. force the width and height "
677
  "above vs. maintaining proportions."
678
  msgstr ""
679
 
680
- #: includes/admin/default-settings.php:565
681
  msgid "Generate thumbnail sizes"
682
  msgstr ""
683
 
684
- #: includes/admin/default-settings.php:566
685
  msgid ""
686
  "If you select this option and Custom size is selected above, the plugin will "
687
  "register the image size with WordPress to create new thumbnails. Does not "
688
  "update old images as explained above."
689
  msgstr ""
690
 
691
- #: includes/admin/default-settings.php:572
692
  msgid "Thumbnail size attributes"
693
  msgstr ""
694
 
695
- #: includes/admin/default-settings.php:578
696
  #, php-format
697
  msgid "Use CSS to set the width and height: e.g. %s"
698
  msgstr ""
699
 
700
- #: includes/admin/default-settings.php:580
701
  #, php-format
702
  msgid "Use HTML attributes to set the width and height: e.g. %s"
703
  msgstr ""
704
 
705
- #: includes/admin/default-settings.php:581
706
  msgid ""
707
  "No width or height set. You will need to use external styles to force any "
708
  "width or height of your choice."
709
  msgstr ""
710
 
711
- #: includes/admin/default-settings.php:586
712
  msgid "Thumbnail meta field name"
713
  msgstr ""
714
 
715
- #: includes/admin/default-settings.php:587
716
  msgid ""
717
  "The value of this field should contain the URL of the image and can be set "
718
  "in the metabox in the Edit Post screen"
719
  msgstr ""
720
 
721
- #: includes/admin/default-settings.php:593
722
  msgid "Get first image"
723
  msgstr ""
724
 
725
- #: includes/admin/default-settings.php:594
726
  msgid ""
727
  "The plugin will fetch the first image in the post content if this is "
728
  "enabled. This can slow down the loading of your page if the first image in "
729
  "the followed posts is large in file-size."
730
  msgstr ""
731
 
732
- #: includes/admin/default-settings.php:600
733
  msgid "Use default thumbnail?"
734
  msgstr ""
735
 
736
- #: includes/admin/default-settings.php:601
737
  msgid ""
738
  "If checked, when no thumbnail is found, show a default one from the URL "
739
  "below. If not checked and no thumbnail is found, no image will be shown."
740
  msgstr ""
741
 
742
- #: includes/admin/default-settings.php:607 includes/admin/settings-page.php:747
743
  msgid "Default thumbnail"
744
  msgstr ""
745
 
746
- #: includes/admin/default-settings.php:608
747
  msgid ""
748
  "Enter the full URL of the image that you wish to display if no thumbnail is "
749
  "found. This image will be displayed below."
750
  msgstr ""
751
 
752
- #: includes/admin/default-settings.php:638
753
  msgid "Related Posts style"
754
  msgstr ""
755
 
756
- #: includes/admin/default-settings.php:646
757
  msgid "Custom CSS"
758
  msgstr ""
759
 
760
- #: includes/admin/default-settings.php:648
761
  #, php-format
762
  msgid ""
763
  "Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
764
  "CSS classes to style."
765
  msgstr ""
766
 
767
- #: includes/admin/default-settings.php:678
768
  msgid "About this tab"
769
  msgstr ""
770
 
771
- #: includes/admin/default-settings.php:679
772
  msgid ""
773
  "Below options override the related posts settings for your blog feed. These "
774
  "only apply if you have selected to add related posts to Feeds in the General "
@@ -776,68 +776,68 @@ msgid ""
776
  "way to style the related posts in the feed."
777
  msgstr ""
778
 
779
- #: includes/admin/default-settings.php:799
780
  msgid "No styles"
781
  msgstr ""
782
 
783
- #: includes/admin/default-settings.php:800
784
  msgid "Select this option if you plan to add your own styles"
785
  msgstr ""
786
 
787
- #: includes/admin/default-settings.php:804
788
  msgid "Text only"
789
  msgstr ""
790
 
791
- #: includes/admin/default-settings.php:805
792
  msgid "Disable thumbnails and no longer include the default style sheet"
793
  msgstr ""
794
 
795
- #: includes/admin/default-settings.php:809
796
  msgid "Rounded thumbnails"
797
  msgstr ""
798
 
799
- #: includes/admin/default-settings.php:810
800
  msgid ""
801
  "Enabling this option will turn on the thumbnails. It will also turn off the "
802
  "display of the author, excerpt and date if already enabled. Disabling this "
803
  "option will not revert any settings."
804
  msgstr ""
805
 
806
- #: includes/admin/default-settings.php:814
807
  msgid "Masonry"
808
  msgstr ""
809
 
810
- #: includes/admin/default-settings.php:815
811
  msgid "Enables a masonry style layout similar to one made famous by Pinterest."
812
  msgstr ""
813
 
814
- #: includes/admin/default-settings.php:819
815
  msgid "Grid"
816
  msgstr ""
817
 
818
- #: includes/admin/default-settings.php:820
819
  msgid "Uses CSS Grid for display. Might not work on older browsers."
820
  msgstr ""
821
 
822
- #: includes/admin/default-settings.php:824
823
  msgid "Rounded thumbnails with CSS grid"
824
  msgstr ""
825
 
826
- #: includes/admin/default-settings.php:825
827
  msgid ""
828
  "Uses CSS grid. It will also turn off the display of the author, excerpt and "
829
  "date if already enabled. Disabling this option will not revert any settings."
830
  msgstr ""
831
 
832
- #: includes/admin/default-settings.php:848
833
  msgid "By relevance"
834
  msgstr ""
835
 
836
- #: includes/admin/default-settings.php:849
837
  msgid "Randomly"
838
  msgstr ""
839
 
840
- #: includes/admin/default-settings.php:850
841
  msgid "By date"
842
  msgstr ""
843
 
3
  msgstr ""
4
  "Project-Id-Version: Contextual Related Posts\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2022-01-29 14:35+0000\n"
7
  "PO-Revision-Date: \n"
8
  "Last-Translator: Ajay D'Souza\n"
9
  "Language-Team: WebberZone\n"
29
  msgid "Related Posts"
30
  msgstr ""
31
 
32
+ #: includes/admin/admin.php:40 includes/admin/modules/tools.php:54
33
  msgid "Contextual Related Posts Tools"
34
  msgstr ""
35
 
36
+ #: includes/admin/admin.php:41 includes/admin/help-tab.php:57
37
  msgid "Tools"
38
  msgstr ""
39
 
40
+ #: includes/admin/admin.php:69
41
  #, php-format
42
  msgid ""
43
  "Thank you for using <a href=\"%1$s\" target=\"_blank\">Contextual Related "
138
 
139
  #: includes/admin/blocks/related-posts/index.js:200
140
  #: includes/admin/blocks/related-posts/index.min.js:1
141
+ #: includes/admin/default-settings.php:406
142
  msgid "Randomize posts"
143
  msgstr ""
144
 
383
  msgstr ""
384
 
385
  #: includes/admin/default-settings.php:239
386
+ #: includes/admin/default-settings.php:694
387
  msgid "Show post excerpt"
388
  msgstr ""
389
 
413
  "appended with an ellipsis (&hellip;)"
414
  msgstr ""
415
 
416
+ #: includes/admin/default-settings.php:278
417
  msgid "Open links in new window"
418
  msgstr ""
419
 
420
+ #: includes/admin/default-settings.php:285
421
  msgid "Add nofollow to links"
422
  msgstr ""
423
 
424
+ #: includes/admin/default-settings.php:292
425
  msgid "Exclusion settings"
426
  msgstr ""
427
 
428
+ #: includes/admin/default-settings.php:298
429
  msgid "Exclude display on these posts"
430
  msgstr ""
431
 
432
+ #: includes/admin/default-settings.php:299
433
  msgid ""
434
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
435
  msgstr ""
436
 
437
+ #: includes/admin/default-settings.php:305
438
  msgid "Exclude display on these post types"
439
  msgstr ""
440
 
441
+ #: includes/admin/default-settings.php:306
442
  msgid ""
443
  "The related posts will not display on any of the above selected post types."
444
  msgstr ""
445
 
446
+ #: includes/admin/default-settings.php:312
447
  msgid "Exclude on Categories"
448
  msgstr ""
449
 
450
+ #: includes/admin/default-settings.php:313
451
+ #: includes/admin/default-settings.php:459
452
  msgid ""
453
  "Comma separated list of category slugs. The field above has an autocomplete "
454
  "so simply start typing in the starting letters and it will prompt you with "
455
  "options. Does not support custom taxonomies."
456
  msgstr ""
457
 
458
+ #: includes/admin/default-settings.php:324
459
  msgid "HTML to display"
460
  msgstr ""
461
 
462
+ #: includes/admin/default-settings.php:330
463
  msgid "Before the list of posts"
464
  msgstr ""
465
 
466
+ #: includes/admin/default-settings.php:337
467
  msgid "After the list of posts"
468
  msgstr ""
469
 
470
+ #: includes/admin/default-settings.php:344
471
  msgid "Before each list item"
472
  msgstr ""
473
 
474
+ #: includes/admin/default-settings.php:351
475
  msgid "After each list item"
476
  msgstr ""
477
 
478
+ #: includes/admin/default-settings.php:381
479
+ #: includes/admin/default-settings.php:685
480
  msgid "Number of posts to display"
481
  msgstr ""
482
 
483
+ #: includes/admin/default-settings.php:382
484
  msgid ""
485
  "Maximum number of posts that will be displayed in the list. This option is "
486
  "used if you do not specify the number of posts in the widget or shortcodes"
487
  msgstr ""
488
 
489
+ #: includes/admin/default-settings.php:390
490
  msgid "Related posts should be newer than"
491
  msgstr ""
492
 
493
+ #: includes/admin/default-settings.php:391
494
  msgid ""
495
  "This sets the cut-off period for which posts will be displayed. e.g. setting "
496
  "it to 365 will show related posts from the last year only. Set to 0 to "
497
  "disable limiting posts by date."
498
  msgstr ""
499
 
500
+ #: includes/admin/default-settings.php:398
501
  #: includes/modules/class-crp-widget.php:129
502
  msgid "Order posts"
503
  msgstr ""
504
 
505
+ #: includes/admin/default-settings.php:407
506
  msgid ""
507
  "This shuffles the selected related posts. If you select to order by date in "
508
  "the previous option, then the related posts will first be sorted by date and "
510
  "enabled."
511
  msgstr ""
512
 
513
+ #: includes/admin/default-settings.php:413
514
  msgid "Related posts based on title and content"
515
  msgstr ""
516
 
517
+ #: includes/admin/default-settings.php:414
518
  msgid ""
519
  "If unchecked, only posts titles are used. Enable the cache if enabling this "
520
  "option for better performance. Each site is different, so toggle this option "
521
  "to see which setting gives you better quality related posts."
522
  msgstr ""
523
 
524
+ #: includes/admin/default-settings.php:420
525
  msgid "Limit content to be compared"
526
  msgstr ""
527
 
528
+ #: includes/admin/default-settings.php:422
529
  #, php-format
530
  msgid ""
531
  "This sets the maximum words of the content that will be matched. Set to 0 "
532
  "for no limit. Max value: %1$s. Only applies if you activate the above option."
533
  msgstr ""
534
 
535
+ #: includes/admin/default-settings.php:430
536
  #: includes/modules/class-crp-widget.php:153
537
  msgid "Post types to include"
538
  msgstr ""
539
 
540
+ #: includes/admin/default-settings.php:431
541
  msgid ""
542
  "At least one option should be selected above. Select which post types you "
543
  "want to include in the list of posts. This field can be overridden using a "
544
  "comma separated list of post types when using the manual display."
545
  msgstr ""
546
 
547
+ #: includes/admin/default-settings.php:437
548
  msgid "Limit to same post type"
549
  msgstr ""
550
 
551
+ #: includes/admin/default-settings.php:438
552
  msgid ""
553
  "If checked, the related posts will only be selected from the same post type "
554
  "of the current post."
555
  msgstr ""
556
 
557
+ #: includes/admin/default-settings.php:444
558
  msgid "Limit to same author"
559
  msgstr ""
560
 
561
+ #: includes/admin/default-settings.php:445
562
  msgid ""
563
  "If checked, the related posts will only be selected from the same author of "
564
  "the current post."
565
  msgstr ""
566
 
567
+ #: includes/admin/default-settings.php:451
568
  msgid "Post/page IDs to exclude"
569
  msgstr ""
570
 
571
+ #: includes/admin/default-settings.php:452
572
  msgid ""
573
  "Comma-separated list of post or page IDs to exclude from the list. e.g. "
574
  "188,320,500"
575
  msgstr ""
576
 
577
+ #: includes/admin/default-settings.php:458
578
  msgid "Exclude Categories"
579
  msgstr ""
580
 
581
+ #: includes/admin/default-settings.php:470
582
  msgid "Exclude category IDs"
583
  msgstr ""
584
 
585
+ #: includes/admin/default-settings.php:471
586
  msgid ""
587
  "This is a readonly field that is automatically populated based on the above "
588
  "input when the settings are saved. These might differ from the IDs visible "
590
  "the term_taxonomy_id which is unique to this taxonomy."
591
  msgstr ""
592
 
593
+ #: includes/admin/default-settings.php:478
594
  msgid "Disable contextual matching"
595
  msgstr ""
596
 
597
+ #: includes/admin/default-settings.php:479
598
  msgid ""
599
  "Selecting this option will turn off contextual matching. This is only useful "
600
  "if you activate the option: \"Only from same\" from the General tab. "
602
  "with no relevance."
603
  msgstr ""
604
 
605
+ #: includes/admin/default-settings.php:485
606
  msgid "Disable contextual matching ONLY on attachments and custom post types"
607
  msgstr ""
608
 
609
+ #: includes/admin/default-settings.php:486
610
  msgid ""
611
  "Applies only if the previous option is checked. Selecting this option will "
612
  "retain contextual matching for posts and pages but disable this on any "
613
  "custom post types."
614
  msgstr ""
615
 
616
+ #: includes/admin/default-settings.php:515
617
+ #: includes/admin/default-settings.php:701
618
  msgid "Location of the post thumbnail"
619
  msgstr ""
620
 
 
 
 
 
 
621
  #: includes/admin/default-settings.php:520
622
  #: includes/admin/default-settings.php:706
623
+ msgid "Display thumbnails inline with posts, before title"
624
  msgstr ""
625
 
626
  #: includes/admin/default-settings.php:521
627
  #: includes/admin/default-settings.php:707
628
+ msgid "Display thumbnails inline with posts, after title"
629
  msgstr ""
630
 
631
  #: includes/admin/default-settings.php:522
632
  #: includes/admin/default-settings.php:708
633
+ msgid "Display only thumbnails, no text"
634
+ msgstr ""
635
+
636
+ #: includes/admin/default-settings.php:523
637
+ #: includes/admin/default-settings.php:709
638
  msgid "Do not display thumbnails, only text"
639
  msgstr ""
640
 
641
+ #: includes/admin/default-settings.php:528
642
  msgid "Thumbnail size"
643
  msgstr ""
644
 
645
+ #: includes/admin/default-settings.php:529
646
  msgid ""
647
  "You can choose from existing image sizes above or create a custom size. If "
648
  "you have chosen Custom size above, then enter the width, height and crop "
650
  "width and/or height below, existing images will not be automatically resized."
651
  msgstr ""
652
 
653
+ #: includes/admin/default-settings.php:531
654
  #, php-format
655
  msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
656
  msgstr ""
657
 
658
+ #: includes/admin/default-settings.php:541
659
+ #: includes/admin/default-settings.php:714
660
  #: includes/modules/class-crp-widget.php:126
661
  msgid "Thumbnail width"
662
  msgstr ""
663
 
664
+ #: includes/admin/default-settings.php:550
665
+ #: includes/admin/default-settings.php:723
666
  #: includes/modules/class-crp-widget.php:121
667
  msgid "Thumbnail height"
668
  msgstr ""
669
 
670
+ #: includes/admin/default-settings.php:559
671
  msgid "Hard crop thumbnails"
672
  msgstr ""
673
 
674
+ #: includes/admin/default-settings.php:560
675
  msgid ""
676
  "Check this box to hard crop the thumbnails. i.e. force the width and height "
677
  "above vs. maintaining proportions."
678
  msgstr ""
679
 
680
+ #: includes/admin/default-settings.php:566
681
  msgid "Generate thumbnail sizes"
682
  msgstr ""
683
 
684
+ #: includes/admin/default-settings.php:567
685
  msgid ""
686
  "If you select this option and Custom size is selected above, the plugin will "
687
  "register the image size with WordPress to create new thumbnails. Does not "
688
  "update old images as explained above."
689
  msgstr ""
690
 
691
+ #: includes/admin/default-settings.php:573
692
  msgid "Thumbnail size attributes"
693
  msgstr ""
694
 
695
+ #: includes/admin/default-settings.php:579
696
  #, php-format
697
  msgid "Use CSS to set the width and height: e.g. %s"
698
  msgstr ""
699
 
700
+ #: includes/admin/default-settings.php:581
701
  #, php-format
702
  msgid "Use HTML attributes to set the width and height: e.g. %s"
703
  msgstr ""
704
 
705
+ #: includes/admin/default-settings.php:582
706
  msgid ""
707
  "No width or height set. You will need to use external styles to force any "
708
  "width or height of your choice."
709
  msgstr ""
710
 
711
+ #: includes/admin/default-settings.php:587
712
  msgid "Thumbnail meta field name"
713
  msgstr ""
714
 
715
+ #: includes/admin/default-settings.php:588
716
  msgid ""
717
  "The value of this field should contain the URL of the image and can be set "
718
  "in the metabox in the Edit Post screen"
719
  msgstr ""
720
 
721
+ #: includes/admin/default-settings.php:594
722
  msgid "Get first image"
723
  msgstr ""
724
 
725
+ #: includes/admin/default-settings.php:595
726
  msgid ""
727
  "The plugin will fetch the first image in the post content if this is "
728
  "enabled. This can slow down the loading of your page if the first image in "
729
  "the followed posts is large in file-size."
730
  msgstr ""
731
 
732
+ #: includes/admin/default-settings.php:601
733
  msgid "Use default thumbnail?"
734
  msgstr ""
735
 
736
+ #: includes/admin/default-settings.php:602
737
  msgid ""
738
  "If checked, when no thumbnail is found, show a default one from the URL "
739
  "below. If not checked and no thumbnail is found, no image will be shown."
740
  msgstr ""
741
 
742
+ #: includes/admin/default-settings.php:608 includes/admin/settings-page.php:747
743
  msgid "Default thumbnail"
744
  msgstr ""
745
 
746
+ #: includes/admin/default-settings.php:609
747
  msgid ""
748
  "Enter the full URL of the image that you wish to display if no thumbnail is "
749
  "found. This image will be displayed below."
750
  msgstr ""
751
 
752
+ #: includes/admin/default-settings.php:639
753
  msgid "Related Posts style"
754
  msgstr ""
755
 
756
+ #: includes/admin/default-settings.php:647
757
  msgid "Custom CSS"
758
  msgstr ""
759
 
760
+ #: includes/admin/default-settings.php:649
761
  #, php-format
762
  msgid ""
763
  "Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
764
  "CSS classes to style."
765
  msgstr ""
766
 
767
+ #: includes/admin/default-settings.php:679
768
  msgid "About this tab"
769
  msgstr ""
770
 
771
+ #: includes/admin/default-settings.php:680
772
  msgid ""
773
  "Below options override the related posts settings for your blog feed. These "
774
  "only apply if you have selected to add related posts to Feeds in the General "
776
  "way to style the related posts in the feed."
777
  msgstr ""
778
 
779
+ #: includes/admin/default-settings.php:800
780
  msgid "No styles"
781
  msgstr ""
782
 
783
+ #: includes/admin/default-settings.php:801
784
  msgid "Select this option if you plan to add your own styles"
785
  msgstr ""
786
 
787
+ #: includes/admin/default-settings.php:805
788
  msgid "Text only"
789
  msgstr ""
790
 
791
+ #: includes/admin/default-settings.php:806
792
  msgid "Disable thumbnails and no longer include the default style sheet"
793
  msgstr ""
794
 
795
+ #: includes/admin/default-settings.php:810
796
  msgid "Rounded thumbnails"
797
  msgstr ""
798
 
799
+ #: includes/admin/default-settings.php:811
800
  msgid ""
801
  "Enabling this option will turn on the thumbnails. It will also turn off the "
802
  "display of the author, excerpt and date if already enabled. Disabling this "
803
  "option will not revert any settings."
804
  msgstr ""
805
 
806
+ #: includes/admin/default-settings.php:815
807
  msgid "Masonry"
808
  msgstr ""
809
 
810
+ #: includes/admin/default-settings.php:816
811
  msgid "Enables a masonry style layout similar to one made famous by Pinterest."
812
  msgstr ""
813
 
814
+ #: includes/admin/default-settings.php:820
815
  msgid "Grid"
816
  msgstr ""
817
 
818
+ #: includes/admin/default-settings.php:821
819
  msgid "Uses CSS Grid for display. Might not work on older browsers."
820
  msgstr ""
821
 
822
+ #: includes/admin/default-settings.php:825
823
  msgid "Rounded thumbnails with CSS grid"
824
  msgstr ""
825
 
826
+ #: includes/admin/default-settings.php:826
827
  msgid ""
828
  "Uses CSS grid. It will also turn off the display of the author, excerpt and "
829
  "date if already enabled. Disabling this option will not revert any settings."
830
  msgstr ""
831
 
832
+ #: includes/admin/default-settings.php:849
833
  msgid "By relevance"
834
  msgstr ""
835
 
836
+ #: includes/admin/default-settings.php:850
837
  msgid "Randomly"
838
  msgstr ""
839
 
840
+ #: includes/admin/default-settings.php:851
841
  msgid "By date"
842
  msgstr ""
843
 
phpcs.xml.dist DELETED
@@ -1,37 +0,0 @@
1
- <?xml version="1.0"?>
2
- <ruleset name="WordPress Coding Standards for Plugins">
3
- <description>Generally-applicable sniffs for WordPress plugins</description>
4
-
5
- <file>.</file>
6
- <exclude-pattern>*/node_modules/*</exclude-pattern>
7
- <exclude-pattern>*/phpunit/*</exclude-pattern>
8
- <exclude-pattern>*/vendor/*</exclude-pattern>
9
- <exclude-pattern>*/tests/*</exclude-pattern>
10
- <exclude-pattern>*/index.php</exclude-pattern>
11
-
12
- <!-- Only check PHP files. -->
13
- <arg name="extensions" value="php"/>
14
-
15
- <!-- Show progress, show the error codes for each message (source). -->
16
- <arg value="ps"/>
17
-
18
- <!-- Strip the filepaths down to the relevant bit. -->
19
- <arg name="basepath" value="./"/>
20
-
21
- <!-- Check up to 8 files simultaneously. -->
22
- <arg name="parallel" value="8"/>
23
-
24
- <!-- Use WordPress ruleset. -->
25
- <rule ref="WordPress">
26
- <exclude name="WordPress.WP.I18n" />
27
- </rule>
28
- <rule ref="WordPress.Files.FileName">
29
- <exclude-pattern>*/phpunit/tests/*\.php$</exclude-pattern>
30
- </rule>
31
-
32
- <!-- Add in some extra rules from other standards. -->
33
- <rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/>
34
- <rule ref="Generic.Commenting.Todo"/>
35
- <rule ref="Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed"/>
36
-
37
- </ruleset>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Tags: related posts, related, related articles, contextual related posts, similar posts, related posts widget
3
  Contributors: webberzone, Ajay
4
  Donate link: https://ajaydsouza.com/donate/
5
- Stable tag: 3.1.0
6
  Requires at least: 5.3
7
  Tested up to: 5.9
8
  Requires PHP: 7.1
@@ -163,10 +163,21 @@ You can insert the related posts anywhere in your post using the `[crp]` shortco
163
 
164
  == Changelog ==
165
 
166
- = 3.1.0 =
167
 
168
  Release post: [https://webberzone.com/blog/contextual-related-posts-v3-1-0/](https://webberzone.com/blog/contextual-related-posts-v3-1-0/)
169
 
 
 
 
 
 
 
 
 
 
 
 
170
  * Features:
171
  * REST API support - you can now fetch the related posts via the REST API. Fetch posts at `/contextual-related-posts/v1/posts/<id>`
172
  * New setting in the metabox to exclude specific terms
@@ -189,5 +200,5 @@ For the changelog of earlier versions, please refer to the separate changelog.tx
189
 
190
  == Upgrade Notice ==
191
 
192
- = 3.1.0 =
193
- WP REST API support. Please read the release post on https://webberzone.com
2
  Tags: related posts, related, related articles, contextual related posts, similar posts, related posts widget
3
  Contributors: webberzone, Ajay
4
  Donate link: https://ajaydsouza.com/donate/
5
+ Stable tag: 3.1.1
6
  Requires at least: 5.3
7
  Tested up to: 5.9
8
  Requires PHP: 7.1
163
 
164
  == Changelog ==
165
 
166
+ = 3.1.1 =
167
 
168
  Release post: [https://webberzone.com/blog/contextual-related-posts-v3-1-0/](https://webberzone.com/blog/contextual-related-posts-v3-1-0/)
169
 
170
+ * Enhancements:
171
+ * Don't clear cache when saving settings. The cache can be cleared in the Tools page
172
+ * Default thumbnail is now prioritized over the site icon
173
+
174
+ * Bug fixes:
175
+ * Limiting of characters didn't work properly
176
+ * Fixed link to Tools menu under Settings. Tools button link is better displayed
177
+ * Fixed activation when new blog is created on multisite
178
+
179
+ = 3.1.0 =
180
+
181
  * Features:
182
  * REST API support - you can now fetch the related posts via the REST API. Fetch posts at `/contextual-related-posts/v1/posts/<id>`
183
  * New setting in the metabox to exclude specific terms
200
 
201
  == Upgrade Notice ==
202
 
203
+ = 3.1.1 =
204
+ Bug fixes. Please read the release post on https://webberzone.com