Contextual Related Posts - Version 2.3.0

Version Description

  • Features:

    • Shortcode and the widget now have an added parameter for 'offset'. This is useful if you would like to display different widgets/shortcodes but not always start from the first post
    • New option in metabox: "Exclude this post from the related posts list"
    • New option: Insert after nth paragraph
  • Enhancements:

    • The generated HTML code uses a single a href tag rather than two separate ones per item which is usually better for SEO. If you're not using the Rounded Thumbnail style and using your own custom style, then you might need to reconfigure this
    • New constant CRP_MAX_WORDS (default 500) limits the post content to be compared. Add this to your wp-config.php file to overwrite
  • Bug fixes:

    • Language files initialisation had the wrong text domain
    • Stop updating the thumb settings if the existing value isn't found. Caused incorrect changes in certain installations
    • Force link text to white when using Rounded Thumb style
    • The plugin will no longer generate any notices if post author is missing
  • Deprecated:

    • Removed wick for exclude categories auto-suggest. Plugin now uses jQuery Suggest that is included in WordPress. When you re-save plugin options, the field will convert the slugs to the category name
    • Deprecated $crp_url. Use the new constants CRP_PLUGIN_DIR, CRP_PLUGIN_URL and CRP_PLUGIN_FILE
Download this release

Release Info

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

Code changes from version 2.2.3 to 2.3.0

Files changed (54) hide show
  1. README.md +2 -2
  2. admin/admin.php +105 -113
  3. admin/cache.php +3 -3
  4. admin/images/fb.png +0 -0
  5. admin/images/twitter.jpg +0 -0
  6. admin/loader.php +8 -30
  7. admin/main-view.php +242 -214
  8. admin/metabox.php +65 -51
  9. admin/sidebar-view.php +28 -43
  10. admin/wick/index.php +0 -1
  11. admin/wick/wick.css +0 -50
  12. admin/wick/wick.js +0 -485
  13. contextual-related-posts.php +344 -269
  14. css/default-style.css +15 -16
  15. includes/deprecated.php +16 -7
  16. includes/i10n.php +57 -0
  17. includes/media.php +39 -41
  18. includes/{class-crp-widget.php → modules/class-crp-widget.php} +53 -38
  19. includes/modules/exclusions.php +34 -0
  20. includes/modules/manual-posts.php +3 -3
  21. includes/modules/shortcode.php +3 -2
  22. includes/modules/taxonomies.php +3 -5
  23. includes/output-generator.php +36 -32
  24. includes/plugin-activator.php +3 -3
  25. includes/tools.php +34 -17
  26. languages/contextual-related-posts-da_DK.mo +0 -0
  27. languages/contextual-related-posts-da_DK.po +0 -966
  28. languages/contextual-related-posts-de_DE.mo +0 -0
  29. languages/contextual-related-posts-de_DE.po +0 -1105
  30. languages/contextual-related-posts-el_GR.mo +0 -0
  31. languages/contextual-related-posts-el_GR.po +0 -926
  32. languages/contextual-related-posts-en_US.mo +0 -0
  33. languages/contextual-related-posts-en_US.po +268 -222
  34. languages/contextual-related-posts-en_US.pot +268 -222
  35. languages/contextual-related-posts-es_ES.mo +0 -0
  36. languages/contextual-related-posts-es_ES.po +0 -1012
  37. languages/contextual-related-posts-fr_FR.mo +0 -0
  38. languages/contextual-related-posts-fr_FR.po +0 -1010
  39. languages/contextual-related-posts-it_IT.mo +0 -0
  40. languages/contextual-related-posts-it_IT.po +0 -1037
  41. languages/contextual-related-posts-lt_LT.mo +0 -0
  42. languages/contextual-related-posts-lt_LT.po +0 -1010
  43. languages/contextual-related-posts-nl_NL.mo +0 -0
  44. languages/contextual-related-posts-nl_NL.po +0 -1033
  45. languages/contextual-related-posts-pt_BR.mo +0 -0
  46. languages/contextual-related-posts-pt_BR.po +0 -887
  47. languages/contextual-related-posts-ro_RO.mo +0 -0
  48. languages/contextual-related-posts-ro_RO.po +0 -918
  49. languages/contextual-related-posts-ru_RU.mo +0 -0
  50. languages/contextual-related-posts-ru_RU.po +0 -1038
  51. languages/contextual-related-posts-zh_CN.mo +0 -0
  52. languages/contextual-related-posts-zh_CN.po +0 -1004
  53. readme.txt +317 -296
  54. uninstall.php +2 -2
README.md CHANGED
@@ -2,9 +2,9 @@
2
 
3
  # Contextual Related Posts
4
 
5
- __Requires:__ 3.5
6
 
7
- __Tested up to:__ 4.4
8
 
9
  __License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
10
 
2
 
3
  # Contextual Related Posts
4
 
5
+ __Requires:__ 4.1
6
 
7
+ __Tested up to:__ 4.7
8
 
9
  __License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
10
 
admin/admin.php CHANGED
@@ -24,7 +24,7 @@ if ( ! defined( 'WPINC' ) ) {
24
  */
25
  function crp_options() {
26
 
27
- global $wpdb, $crp_url;
28
 
29
  $crp_settings = crp_read_options();
30
 
@@ -37,25 +37,25 @@ function crp_options() {
37
  parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types );
38
  $posts_types_excl = array_intersect( $wp_post_types, $exclude_on_post_types );
39
 
40
- // Temporary check if default styles are off and rounded thumbnails are selected - will be eventually deprecated
41
- // This is a mismatch, so we force it to no style
42
- if ( ( false == $crp_settings['include_default_style'] ) && ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) ) {
43
  $crp_settings['crp_styles'] = 'no_style';
44
  update_option( 'ald_crp_settings', $crp_settings );
45
  }
46
- if ( ( true == $crp_settings['include_default_style'] ) && ( 'rounded_thumbs' != $crp_settings['crp_styles'] ) ) {
47
  $crp_settings['crp_styles'] = 'rounded_thumbs';
48
  update_option( 'ald_crp_settings', $crp_settings );
49
  }
50
 
51
- if ( ( isset( $_POST['crp_save'] ) ) && ( check_admin_referer( 'crp-plugin-settings' ) ) ) {
52
 
53
  /**** General options ***/
54
- $crp_settings['cache'] = ( isset( $_POST['cache'] ) ? true : false );
55
- $crp_settings['limit'] = intval( $_POST['limit'] );
56
- $crp_settings['daily_range'] = intval( $_POST['daily_range'] );
57
- $crp_settings['match_content'] = ( isset( $_POST['match_content'] ) ? true : false );
58
- $crp_settings['match_content_words'] = intval( $_POST['match_content_words'] );
59
 
60
  $crp_settings['add_to_content'] = ( isset( $_POST['add_to_content'] ) ? true : false );
61
  $crp_settings['add_to_page'] = ( isset( $_POST['add_to_page'] ) ? true : false );
@@ -65,76 +65,77 @@ function crp_options() {
65
  $crp_settings['add_to_tag_archives'] = ( isset( $_POST['add_to_tag_archives'] ) ? true : false );
66
  $crp_settings['add_to_archives'] = ( isset( $_POST['add_to_archives'] ) ? true : false );
67
 
68
- $crp_settings['content_filter_priority'] = intval( $_POST['content_filter_priority'] );
 
69
  $crp_settings['show_metabox'] = ( isset( $_POST['show_metabox'] ) ? true : false );
70
  $crp_settings['show_metabox_admins'] = ( isset( $_POST['show_metabox_admins'] ) ? true : false );
71
  $crp_settings['show_credit'] = ( isset( $_POST['show_credit'] ) ? true : false );
72
 
73
  /**** Output options ****/
74
- $crp_settings['title'] = wp_kses_post( $_POST['title'] );
75
- $crp_settings['blank_output'] = ( ( $_POST['blank_output'] == 'blank' ) ? true : false );
76
- $crp_settings['blank_output_text'] = wp_kses_post( $_POST['blank_output_text'] );
77
 
78
  $crp_settings['show_excerpt'] = ( isset( $_POST['show_excerpt'] ) ? true : false );
79
  $crp_settings['show_date'] = ( isset( $_POST['show_date'] ) ? true : false );
80
  $crp_settings['show_author'] = ( isset( $_POST['show_author'] ) ? true : false );
81
- $crp_settings['excerpt_length'] = intval( $_POST['excerpt_length'] );
82
- $crp_settings['title_length'] = intval( $_POST['title_length'] );
83
 
84
  $crp_settings['link_new_window'] = ( isset( $_POST['link_new_window'] ) ? true : false );
85
  $crp_settings['link_nofollow'] = ( isset( $_POST['link_nofollow'] ) ? true : false );
86
 
87
- $crp_settings['before_list'] = wp_kses_post( $_POST['before_list'] );
88
- $crp_settings['after_list'] = wp_kses_post( $_POST['after_list'] );
89
- $crp_settings['before_list_item'] = wp_kses_post( $_POST['before_list_item'] );
90
- $crp_settings['after_list_item'] = wp_kses_post( $_POST['after_list_item'] );
91
 
92
- $crp_settings['exclude_on_post_ids'] = $_POST['exclude_on_post_ids'] == '' ? '' : implode( ',', array_map( 'intval', explode( ',', $_POST['exclude_on_post_ids'] ) ) );
93
- $crp_settings['exclude_post_ids'] = $_POST['exclude_post_ids'] == '' ? '' : implode( ',', array_map( 'intval', explode( ',', $_POST['exclude_post_ids'] ) ) );
94
 
95
  /**** Thumbnail options ****/
96
- $crp_settings['post_thumb_op'] = wp_kses_post( $_POST['post_thumb_op'] );
97
 
98
- $crp_settings['thumb_size'] = $_POST['thumb_size'];
99
 
100
- if ( 'crp_thumbnail' != $crp_settings['thumb_size'] ) {
101
  $crp_thumb_size = crp_get_all_image_sizes( $crp_settings['thumb_size'] );
102
 
103
- $crp_settings['thumb_height'] = intval( $crp_thumb_size['height'] );
104
- $crp_settings['thumb_width'] = intval( $crp_thumb_size['width'] );
105
  $crp_settings['thumb_crop'] = $crp_thumb_size['crop'];
106
  } else {
107
- $crp_settings['thumb_height'] = intval( $_POST['thumb_height'] );
108
- $crp_settings['thumb_width'] = intval( $_POST['thumb_width'] );
109
  $crp_settings['thumb_crop'] = ( isset( $_POST['thumb_crop'] ) ? true : false );
110
  }
111
 
112
- $crp_settings['thumb_html'] = $_POST['thumb_html'];
113
 
114
- $crp_settings['thumb_meta'] = ( '' == $_POST['thumb_meta'] ? 'post-image' : wp_kses_post( $_POST['thumb_meta'] ) );
115
  $crp_settings['scan_images'] = ( isset( $_POST['scan_images'] ) ? true : false );
116
- $crp_settings['thumb_default'] = ( ( '' == $_POST['thumb_default'] ) || ( '/default.png' == $_POST['thumb_default'] ) ) ? $crp_url . '/default.png' : $_POST['thumb_default'];
117
  $crp_settings['thumb_default_show'] = ( isset( $_POST['thumb_default_show'] ) ? true : false );
118
 
119
  /**** Feed options ****/
120
- $crp_settings['limit_feed'] = intval( $_POST['limit_feed'] );
121
- $crp_settings['post_thumb_op_feed'] = wp_kses_post( $_POST['post_thumb_op_feed'] );
122
- $crp_settings['thumb_height_feed'] = intval( $_POST['thumb_height_feed'] );
123
- $crp_settings['thumb_width_feed'] = intval( $_POST['thumb_width_feed'] );
124
  $crp_settings['show_excerpt_feed'] = ( isset( $_POST['show_excerpt_feed'] ) ? true : false );
125
 
126
  /**** Styles ****/
127
- $crp_settings['custom_CSS'] = wp_kses_post( $_POST['custom_CSS'] );
128
 
129
- $crp_settings['crp_styles'] = wp_kses_post( $_POST['crp_styles'] );
130
 
131
- if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) {
132
  $crp_settings['include_default_style'] = true;
133
  $crp_settings['post_thumb_op'] = 'inline';
134
  $crp_settings['show_excerpt'] = false;
135
  $crp_settings['show_author'] = false;
136
  $crp_settings['show_date'] = false;
137
- } elseif ( 'text_only' == $crp_settings['crp_styles'] ) {
138
  $crp_settings['include_default_style'] = false;
139
  $crp_settings['post_thumb_op'] = 'text_only';
140
  } else {
@@ -142,20 +143,28 @@ function crp_options() {
142
  }
143
 
144
  /**** Exclude categories ****/
145
- $exclude_categories_slugs = array_map( 'trim', explode( ',', wp_kses_post( $_POST['exclude_cat_slugs'] ) ) );
146
- $crp_settings['exclude_cat_slugs'] = implode( ', ', $exclude_categories_slugs );
147
 
148
  foreach ( $exclude_categories_slugs as $exclude_categories_slug ) {
149
- $catObj = get_category_by_slug( $exclude_categories_slug );
150
- if ( isset( $catObj->term_taxonomy_id ) ) { $exclude_categories[] = $catObj->term_taxonomy_id; }
 
 
 
 
 
 
 
 
151
  }
152
- $crp_settings['exclude_categories'] = ( isset( $exclude_categories ) ) ? join( ',', $exclude_categories ) : '';
 
153
 
154
  /**** Post types to include ****/
155
  $wp_post_types = get_post_types( array(
156
  'public' => true,
157
  ) );
158
- $post_types_arr = ( isset( $_POST['post_types'] ) && is_array( $_POST['post_types'] ) ) ? $_POST['post_types'] : array( 'post' => 'post' );
159
  $post_types = array_intersect( $wp_post_types, $post_types_arr );
160
  $crp_settings['post_types'] = http_build_query( $post_types, '', '&' );
161
 
@@ -184,25 +193,25 @@ function crp_options() {
184
  parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types );
185
  $posts_types_excl = array_intersect( $wp_post_types, $exclude_on_post_types );
186
 
187
- // Delete the cache
188
  crp_cache_delete();
189
 
190
  /* Echo a success message */
191
- $str = '<div id="message" class="notice is-dismissible updated"><p>'. __( 'Options saved successfully. If enabled, the cache has been cleared.', 'contextual-related-posts' ) . '</p>';
192
 
193
- if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) {
194
- $str .= '<p>'. __( 'Rounded Thumbnails style selected. Author, Excerpt and Date will not be displayed.', 'contextual-related-posts' ) . '</p>';
195
  }
196
- if ( 'text_only' == $crp_settings['crp_styles'] ) {
197
- $str .= '<p>'. __( 'Text Only style selected. Thumbnails will not be displayed.', 'contextual-related-posts' ) . '</p>';
198
  }
199
- if ( 'crp_thumbnail' != $crp_settings['thumb_size'] ) {
200
- $str .= '<p>'. sprintf( __( 'Pre-built thumbnail size selected. Thumbnail set to %d x %d.', 'contextual-related-posts' ), $crp_settings['thumb_width'], $crp_settings['thumb_height'] ) . '</p>';
201
  }
202
 
203
  $str .= '</div>';
204
 
205
- echo $str;
206
  }
207
 
208
  if ( ( isset( $_POST['crp_default'] ) ) && ( check_admin_referer( 'crp-plugin-settings' ) ) ) {
@@ -221,8 +230,8 @@ function crp_options() {
221
  parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types );
222
  $posts_types_excl = array_intersect( $wp_post_types, $exclude_on_post_types );
223
 
224
- $str = '<div id="message" class="updated fade"><p>'. __( 'Options set to Default.', 'contextual-related-posts' ) .'</p></div>';
225
- echo $str;
226
  }
227
 
228
  if ( ( isset( $_POST['crp_recreate'] ) ) && ( check_admin_referer( 'crp-plugin-settings' ) ) ) {
@@ -230,8 +239,8 @@ function crp_options() {
230
  crp_delete_index();
231
  crp_create_index();
232
 
233
- $str = '<div id="message" class="updated fade"><p>'. __( 'Index recreated', 'contextual-related-posts' ) .'</p></div>';
234
- echo $str;
235
  }
236
 
237
  /**** Include the views page ****/
@@ -252,7 +261,7 @@ function crp_adminmenu() {
252
  'crp_options',
253
  'crp_options'
254
  );
255
- add_action( 'admin_head-'. $plugin_page, 'crp_adminhead' );
256
  }
257
  add_action( 'admin_menu', 'crp_adminmenu' );
258
 
@@ -263,40 +272,41 @@ add_action( 'admin_menu', 'crp_adminmenu' );
263
  * @since 1.2
264
  */
265
  function crp_adminhead() {
266
- global $crp_url;
267
  wp_enqueue_script( 'common' );
268
  wp_enqueue_script( 'wp-lists' );
269
  wp_enqueue_script( 'postbox' );
270
  wp_enqueue_script( 'plugin-install' );
 
271
 
272
  add_thickbox();
273
 
274
  ?>
275
  <style type="text/css">
276
- .postbox .handlediv:before {
277
- right:12px;
278
- font:400 20px/1 dashicons;
279
- speak:none;
280
- display:inline-block;
281
- top:0;
282
- position:relative;
283
- -webkit-font-smoothing:antialiased;
284
- -moz-osx-font-smoothing:grayscale;
285
- text-decoration:none!important;
286
- content:'\f142';
287
- padding:8px 10px;
288
- }
289
- .postbox.closed .handlediv:before {
290
- content: '\f140';
291
- }
292
- .wrap h1:before {
293
- content: "\f237";
294
- display: inline-block;
295
- -webkit-font-smoothing: antialiased;
296
- font: normal 29px/1 'dashicons';
297
- vertical-align: middle;
298
- margin-right: 0.3em;
299
- }
300
  </style>
301
 
302
  <script type="text/javascript">
@@ -307,45 +317,27 @@ function crp_adminhead() {
307
  /**** postboxes setup ****/
308
  postboxes.add_postbox_toggles('crp_options');
309
  });
310
- //]]>
311
- </script>
312
 
313
- <link rel="stylesheet" type="text/css" href="<?php echo $crp_url ?>/admin/wick/wick.css" />
314
- <script type="text/javascript" language="JavaScript">
315
- //<![CDATA[
 
 
316
  function clearCache() {
317
- /**** since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php ****/
318
  jQuery.post(ajaxurl, {action: 'crp_clear_cache'}, function(response, textStatus, jqXHR) {
319
  alert( response.message );
320
  }, 'json');
321
  }
322
 
323
  function checkForm() {
324
- answer = true;
325
- if (siw && siw.selectingSomething)
326
- answer = false;
327
- return answer;
328
  }//
329
 
330
- <?php
331
- function wick_data() {
332
- global $wpdb;
333
-
334
- $categories = get_categories( 'hide_empty=0' );
335
- $str = 'collection = [';
336
- foreach ( $categories as $cat ) {
337
- $str .= "'" . $cat->slug . "',";
338
- }
339
- $str = substr( $str, 0, -1 ); // Remove trailing comma
340
- $str .= '];';
341
-
342
- echo $str;
343
- }
344
- wick_data();
345
- ?>
346
  //]]>
347
  </script>
348
- <script type="text/javascript" src="<?php echo $crp_url ?>/admin/wick/wick.js"></script>
349
  <?php
350
  }
351
 
24
  */
25
  function crp_options() {
26
 
27
+ global $wpdb;
28
 
29
  $crp_settings = crp_read_options();
30
 
37
  parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types );
38
  $posts_types_excl = array_intersect( $wp_post_types, $exclude_on_post_types );
39
 
40
+ // Temporary check if default styles are off and rounded thumbnails are selected - will be eventually deprecated.
41
+ // This is a mismatch, so we force it to no style.
42
+ if ( ( ! $crp_settings['include_default_style'] ) && ( 'rounded_thumbs' === $crp_settings['crp_styles'] ) ) {
43
  $crp_settings['crp_styles'] = 'no_style';
44
  update_option( 'ald_crp_settings', $crp_settings );
45
  }
46
+ if ( ( $crp_settings['include_default_style'] ) && ( 'rounded_thumbs' !== $crp_settings['crp_styles'] ) ) {
47
  $crp_settings['crp_styles'] = 'rounded_thumbs';
48
  update_option( 'ald_crp_settings', $crp_settings );
49
  }
50
 
51
+ if ( ( isset( $_POST['crp_save'] ) ) && ( check_admin_referer( 'crp-plugin-settings' ) ) ) { // Input var okay.
52
 
53
  /**** General options ***/
54
+ $crp_settings['cache'] = isset( $_POST['cache'] ) ? true : false;
55
+ $crp_settings['limit'] = absint( $_POST['limit'] );
56
+ $crp_settings['daily_range'] = absint( $_POST['daily_range'] );
57
+ $crp_settings['match_content'] = isset( $_POST['match_content'] ) ? true : false;
58
+ $crp_settings['match_content_words'] = min( CRP_MAX_WORDS, absint( $_POST['match_content_words'] ) );
59
 
60
  $crp_settings['add_to_content'] = ( isset( $_POST['add_to_content'] ) ? true : false );
61
  $crp_settings['add_to_page'] = ( isset( $_POST['add_to_page'] ) ? true : false );
65
  $crp_settings['add_to_tag_archives'] = ( isset( $_POST['add_to_tag_archives'] ) ? true : false );
66
  $crp_settings['add_to_archives'] = ( isset( $_POST['add_to_archives'] ) ? true : false );
67
 
68
+ $crp_settings['content_filter_priority'] = absint( $_POST['content_filter_priority'] );
69
+ $crp_settings['insert_after_paragraph'] = ( -1 === $_POST['insert_after_paragraph'] || '' === $_POST['insert_after_paragraph'] ) ? -1 : intval( $_POST['insert_after_paragraph'] );
70
  $crp_settings['show_metabox'] = ( isset( $_POST['show_metabox'] ) ? true : false );
71
  $crp_settings['show_metabox_admins'] = ( isset( $_POST['show_metabox_admins'] ) ? true : false );
72
  $crp_settings['show_credit'] = ( isset( $_POST['show_credit'] ) ? true : false );
73
 
74
  /**** Output options ****/
75
+ $crp_settings['title'] = wp_kses_post( wp_unslash( $_POST['title'] ) );
76
+ $crp_settings['blank_output'] = 'blank' === $_POST['blank_output'] ? true : false;
77
+ $crp_settings['blank_output_text'] = wp_kses_post( wp_unslash( $_POST['blank_output_text'] ) );
78
 
79
  $crp_settings['show_excerpt'] = ( isset( $_POST['show_excerpt'] ) ? true : false );
80
  $crp_settings['show_date'] = ( isset( $_POST['show_date'] ) ? true : false );
81
  $crp_settings['show_author'] = ( isset( $_POST['show_author'] ) ? true : false );
82
+ $crp_settings['excerpt_length'] = absint( $_POST['excerpt_length'] );
83
+ $crp_settings['title_length'] = absint( $_POST['title_length'] );
84
 
85
  $crp_settings['link_new_window'] = ( isset( $_POST['link_new_window'] ) ? true : false );
86
  $crp_settings['link_nofollow'] = ( isset( $_POST['link_nofollow'] ) ? true : false );
87
 
88
+ $crp_settings['before_list'] = wp_kses_post( wp_unslash( $_POST['before_list'] ) );
89
+ $crp_settings['after_list'] = wp_kses_post( wp_unslash( $_POST['after_list'] ) );
90
+ $crp_settings['before_list_item'] = wp_kses_post( wp_unslash( $_POST['before_list_item'] ) );
91
+ $crp_settings['after_list_item'] = wp_kses_post( wp_unslash( $_POST['after_list_item'] ) );
92
 
93
+ $crp_settings['exclude_on_post_ids'] = empty( $_POST['exclude_on_post_ids'] ) ? '' : implode( ',', array_map( 'absint', explode( ',', sanitize_text_field( wp_unslash( $_POST['exclude_on_post_ids'] ) ) ) ) );
94
+ $crp_settings['exclude_post_ids'] = empty( $_POST['exclude_post_ids'] ) ? '' : implode( ',', array_map( 'absint', explode( ',', sanitize_text_field( wp_unslash( $_POST['exclude_post_ids'] ) ) ) ) );
95
 
96
  /**** Thumbnail options ****/
97
+ $crp_settings['post_thumb_op'] = sanitize_text_field( wp_unslash( $_POST['post_thumb_op'] ) );
98
 
99
+ $crp_settings['thumb_size'] = sanitize_text_field( wp_unslash( $_POST['thumb_size'] ) );
100
 
101
+ if ( 'crp_thumbnail' !== $crp_settings['thumb_size'] ) {
102
  $crp_thumb_size = crp_get_all_image_sizes( $crp_settings['thumb_size'] );
103
 
104
+ $crp_settings['thumb_height'] = absint( $crp_thumb_size['height'] );
105
+ $crp_settings['thumb_width'] = absint( $crp_thumb_size['width'] );
106
  $crp_settings['thumb_crop'] = $crp_thumb_size['crop'];
107
  } else {
108
+ $crp_settings['thumb_height'] = absint( $_POST['thumb_height'] );
109
+ $crp_settings['thumb_width'] = absint( $_POST['thumb_width'] );
110
  $crp_settings['thumb_crop'] = ( isset( $_POST['thumb_crop'] ) ? true : false );
111
  }
112
 
113
+ $crp_settings['thumb_html'] = sanitize_text_field( wp_unslash( $_POST['thumb_html'] ) );
114
 
115
+ $crp_settings['thumb_meta'] = empty( $_POST['thumb_meta'] ) ? 'post-image' : sanitize_text_field( wp_unslash( $_POST['thumb_meta'] ) );
116
  $crp_settings['scan_images'] = ( isset( $_POST['scan_images'] ) ? true : false );
117
+ $crp_settings['thumb_default'] = ( ( '' === esc_url_raw( $_POST['thumb_default'] ) ) || ( '/default.png' === esc_url_raw( $_POST['thumb_default'] ) ) ) ? CRP_PLUGIN_URL . '/default.png' : esc_url_raw( $_POST['thumb_default'] );
118
  $crp_settings['thumb_default_show'] = ( isset( $_POST['thumb_default_show'] ) ? true : false );
119
 
120
  /**** Feed options ****/
121
+ $crp_settings['limit_feed'] = absint( $_POST['limit_feed'] );
122
+ $crp_settings['post_thumb_op_feed'] = sanitize_text_field( wp_unslash( $_POST['post_thumb_op_feed'] ) );
123
+ $crp_settings['thumb_height_feed'] = absint( $_POST['thumb_height_feed'] );
124
+ $crp_settings['thumb_width_feed'] = absint( $_POST['thumb_width_feed'] );
125
  $crp_settings['show_excerpt_feed'] = ( isset( $_POST['show_excerpt_feed'] ) ? true : false );
126
 
127
  /**** Styles ****/
128
+ $crp_settings['custom_CSS'] = wp_kses_post( wp_unslash( $_POST['custom_CSS'] ) );
129
 
130
+ $crp_settings['crp_styles'] = sanitize_text_field( wp_unslash( $_POST['crp_styles'] ) );
131
 
132
+ if ( 'rounded_thumbs' === $crp_settings['crp_styles'] ) {
133
  $crp_settings['include_default_style'] = true;
134
  $crp_settings['post_thumb_op'] = 'inline';
135
  $crp_settings['show_excerpt'] = false;
136
  $crp_settings['show_author'] = false;
137
  $crp_settings['show_date'] = false;
138
+ } elseif ( 'text_only' === $crp_settings['crp_styles'] ) {
139
  $crp_settings['include_default_style'] = false;
140
  $crp_settings['post_thumb_op'] = 'text_only';
141
  } else {
143
  }
144
 
145
  /**** Exclude categories ****/
146
+ $exclude_categories_slugs = array_map( 'trim', explode( ',', sanitize_text_field( wp_unslash( $_POST['exclude_cat_slugs'] ) ) ) );
 
147
 
148
  foreach ( $exclude_categories_slugs as $exclude_categories_slug ) {
149
+ $category_obj = get_term_by( 'name', $exclude_categories_slug, 'category' );
150
+
151
+ // Fall back to slugs since that was the default format before v2.4.0.
152
+ if ( false === $category_obj ) {
153
+ $category_obj = get_term_by( 'slug', $exclude_categories_slug, 'category' );
154
+ }
155
+ if ( isset( $category_obj->term_taxonomy_id ) ) {
156
+ $exclude_categories[] = $category_obj->term_taxonomy_id;
157
+ $exclude_cat_slugs[] = $category_obj->name;
158
+ }
159
  }
160
+ $crp_settings['exclude_categories'] = isset( $exclude_categories ) ? join( ',', $exclude_categories ) : '';
161
+ $crp_settings['exclude_cat_slugs'] = isset( $exclude_cat_slugs ) ? join( ',', $exclude_cat_slugs ) : '';
162
 
163
  /**** Post types to include ****/
164
  $wp_post_types = get_post_types( array(
165
  'public' => true,
166
  ) );
167
+ $post_types_arr = ( isset( $_POST['post_types'] ) && is_array( $_POST['post_types'] ) ) ? array_map( 'sanitize_text_field', wp_unslash( $_POST['post_types'] ) ) : array( 'post' => 'post' );
168
  $post_types = array_intersect( $wp_post_types, $post_types_arr );
169
  $crp_settings['post_types'] = http_build_query( $post_types, '', '&' );
170
 
193
  parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types );
194
  $posts_types_excl = array_intersect( $wp_post_types, $exclude_on_post_types );
195
 
196
+ // Delete the cache.
197
  crp_cache_delete();
198
 
199
  /* Echo a success message */
200
+ $str = '<div id="message" class="notice is-dismissible updated"><p>' . __( 'Options saved successfully. If enabled, the cache has been cleared.', 'contextual-related-posts' ) . '</p>';
201
 
202
+ if ( 'rounded_thumbs' === $crp_settings['crp_styles'] ) {
203
+ $str .= '<p>' . __( 'Rounded Thumbnails style selected. Author, Excerpt and Date will not be displayed.', 'contextual-related-posts' ) . '</p>';
204
  }
205
+ if ( 'text_only' === $crp_settings['crp_styles'] ) {
206
+ $str .= '<p>' . __( 'Text Only style selected. Thumbnails will not be displayed.', 'contextual-related-posts' ) . '</p>';
207
  }
208
+ if ( 'crp_thumbnail' !== $crp_settings['thumb_size'] ) {
209
+ $str .= '<p>' . sprintf( __( 'Pre-built thumbnail size selected. Thumbnail set to %1$d x %1$d.', 'contextual-related-posts' ), $crp_settings['thumb_width'], $crp_settings['thumb_height'] ) . '</p>';
210
  }
211
 
212
  $str .= '</div>';
213
 
214
+ echo $str; // WPCS: XSS OK.
215
  }
216
 
217
  if ( ( isset( $_POST['crp_default'] ) ) && ( check_admin_referer( 'crp-plugin-settings' ) ) ) {
230
  parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types );
231
  $posts_types_excl = array_intersect( $wp_post_types, $exclude_on_post_types );
232
 
233
+ $str = '<div id="message" class="updated fade"><p>' . __( 'Options set to Default.', 'contextual-related-posts' ) . '</p></div>';
234
+ echo $str; // WPCS: XSS ok.
235
  }
236
 
237
  if ( ( isset( $_POST['crp_recreate'] ) ) && ( check_admin_referer( 'crp-plugin-settings' ) ) ) {
239
  crp_delete_index();
240
  crp_create_index();
241
 
242
+ $str = '<div id="message" class="updated fade"><p>' . __( 'Index recreated', 'contextual-related-posts' ) . '</p></div>';
243
+ echo $str; // WPCS: XSS ok.
244
  }
245
 
246
  /**** Include the views page ****/
261
  'crp_options',
262
  'crp_options'
263
  );
264
+ add_action( 'admin_head-' . $plugin_page, 'crp_adminhead' );
265
  }
266
  add_action( 'admin_menu', 'crp_adminmenu' );
267
 
272
  * @since 1.2
273
  */
274
  function crp_adminhead() {
275
+
276
  wp_enqueue_script( 'common' );
277
  wp_enqueue_script( 'wp-lists' );
278
  wp_enqueue_script( 'postbox' );
279
  wp_enqueue_script( 'plugin-install' );
280
+ wp_enqueue_script( 'suggest' );
281
 
282
  add_thickbox();
283
 
284
  ?>
285
  <style type="text/css">
286
+ .postbox .handlediv:before {
287
+ right:12px;
288
+ font:400 20px/1 dashicons;
289
+ speak:none;
290
+ display:inline-block;
291
+ top:0;
292
+ position:relative;
293
+ -webkit-font-smoothing:antialiased;
294
+ -moz-osx-font-smoothing:grayscale;
295
+ text-decoration:none!important;
296
+ content:'\f142';
297
+ padding:8px 10px;
298
+ }
299
+ .postbox.closed .handlediv:before {
300
+ content: '\f140';
301
+ }
302
+ .wrap h1:before {
303
+ content: "\f237";
304
+ display: inline-block;
305
+ -webkit-font-smoothing: antialiased;
306
+ font: normal 29px/1 'dashicons';
307
+ vertical-align: middle;
308
+ margin-right: 0.3em;
309
+ }
310
  </style>
311
 
312
  <script type="text/javascript">
317
  /**** postboxes setup ****/
318
  postboxes.add_postbox_toggles('crp_options');
319
  });
 
 
320
 
321
+ // Function to add auto suggest.
322
+ function setSuggest( id, taxonomy ) {
323
+ jQuery('#' + id).suggest("<?php echo admin_url( 'admin-ajax.php?action=ajax-tag-search&tax=' ); ?>" + taxonomy, {multiple:true, multipleSep: ","});
324
+ }
325
+
326
  function clearCache() {
 
327
  jQuery.post(ajaxurl, {action: 'crp_clear_cache'}, function(response, textStatus, jqXHR) {
328
  alert( response.message );
329
  }, 'json');
330
  }
331
 
332
  function checkForm() {
333
+ answer = true;
334
+ if (siw && siw.selectingSomething)
335
+ answer = false;
336
+ return answer;
337
  }//
338
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
339
  //]]>
340
  </script>
 
341
  <?php
342
  }
343
 
admin/cache.php CHANGED
@@ -37,12 +37,12 @@ function crp_ajax_clearcache() {
37
 
38
  /**** Did an error occur? ****/
39
  if ( $error ) {
40
- exit( json_encode( array(
41
  'success' => 0,
42
  'message' => __( 'An error occurred clearing the cache. Please contact your site administrator.\n\nError message:\n', 'contextual-related-posts' ) . $wpdb->print_error(),
43
  ) ) );
44
- } else { // No error, return the number of
45
- exit( json_encode( array(
46
  'success' => 1,
47
  'message' => ( array_sum( $counter ) ) . __( ' cached row(s) cleared', 'contextual-related-posts' ),
48
  ) ) );
37
 
38
  /**** Did an error occur? ****/
39
  if ( $error ) {
40
+ exit( wp_json_encode( array(
41
  'success' => 0,
42
  'message' => __( 'An error occurred clearing the cache. Please contact your site administrator.\n\nError message:\n', 'contextual-related-posts' ) . $wpdb->print_error(),
43
  ) ) );
44
+ } else { // No error, return the number of.
45
+ exit( wp_json_encode( array(
46
  'success' => 1,
47
  'message' => ( array_sum( $counter ) ) . __( ' cached row(s) cleared', 'contextual-related-posts' ),
48
  ) ) );
admin/images/fb.png ADDED
Binary file
admin/images/twitter.jpg ADDED
Binary file
admin/loader.php CHANGED
@@ -9,20 +9,19 @@
9
  * @copyright 2009-2015 Ajay D'Souza
10
  */
11
 
12
-
13
  /**
14
  * Add link to WordPress plugin action links.
15
  *
16
  * @version 1.8.10
17
  *
18
- * @param array $links
19
  * @return array Links array with our settings link added
20
  */
21
  function crp_plugin_actions_links( $links ) {
22
 
23
  return array_merge( array(
24
- 'settings' => '<a href="' . admin_url( 'options-general.php?page=crp_options' ) . '">' . __( 'Settings', 'contextual-related-posts' ) . '</a>',
25
- ), $links );
26
 
27
  }
28
  add_filter( 'plugin_action_links_' . plugin_basename( plugin_dir_path( __DIR__ ) . 'contextual-related-posts.php' ), 'crp_plugin_actions_links' );
@@ -33,42 +32,21 @@ add_filter( 'plugin_action_links_' . plugin_basename( plugin_dir_path( __DIR__ )
33
  *
34
  * @since 1.4
35
  *
36
- * @param array $links
37
- * @param array $file
38
- * @return array Links array with our links added
39
  */
40
  function crp_plugin_actions( $links, $file ) {
41
 
42
  $plugin = plugin_basename( plugin_dir_path( __DIR__ ) . 'contextual-related-posts.php' );
43
 
44
  /**** Add links ****/
45
- if ( $file == $plugin ) {
46
  $links[] = '<a href="http://wordpress.org/support/plugin/contextual-related-posts">' . __( 'Support', 'contextual-related-posts' ) . '</a>';
47
  $links[] = '<a href="https://ajaydsouza.com/donate/">' . __( 'Donate', 'contextual-related-posts' ) . '</a>';
48
  $links[] = '<a href="https://github.com/WebberZone/contextual-related-posts">' . __( 'Contribute', 'contextual-related-posts' ) . '</a>';
49
  }
50
  return $links;
51
  }
52
- add_filter( 'plugin_row_meta', 'crp_plugin_actions', 10, 2 ); // only 2.8 and higher
53
-
54
-
55
-
56
- /**
57
- * Function to add a notice to the admin page.
58
- *
59
- * @since 1.8
60
- *
61
- * @return string Echoed string
62
- */
63
- function crp_admin_notice() {
64
- $plugin_settings_page = '<a href="' . admin_url( 'options-general.php?page=crp_options' ) . '">' . __( 'plugin settings page', 'contextual-related-posts' ) . '</a>';
65
-
66
- if ( ! current_user_can( 'manage_options' ) ) { return; }
67
-
68
- echo '<div class="error">
69
- <p>' . __( "Contextual Related Posts plugin has just been installed / upgraded. Please visit the {$plugin_settings_page} to configure.", 'contextual-related-posts' ).'</p>
70
- </div>';
71
- }
72
- // add_action( 'admin_notices', 'crp_admin_notice' );
73
-
74
 
9
  * @copyright 2009-2015 Ajay D'Souza
10
  */
11
 
 
12
  /**
13
  * Add link to WordPress plugin action links.
14
  *
15
  * @version 1.8.10
16
  *
17
+ * @param array $links Links array.
18
  * @return array Links array with our settings link added
19
  */
20
  function crp_plugin_actions_links( $links ) {
21
 
22
  return array_merge( array(
23
+ 'settings' => '<a href="' . admin_url( 'options-general.php?page=crp_options' ) . '">' . __( 'Settings', 'contextual-related-posts' ) . '</a>',
24
+ ), $links );
25
 
26
  }
27
  add_filter( 'plugin_action_links_' . plugin_basename( plugin_dir_path( __DIR__ ) . 'contextual-related-posts.php' ), 'crp_plugin_actions_links' );
32
  *
33
  * @since 1.4
34
  *
35
+ * @param array $links Links array.
36
+ * @param string $file Plugin file name.
37
+ * @return array Links array with our links added
38
  */
39
  function crp_plugin_actions( $links, $file ) {
40
 
41
  $plugin = plugin_basename( plugin_dir_path( __DIR__ ) . 'contextual-related-posts.php' );
42
 
43
  /**** Add links ****/
44
+ if ( $file === $plugin ) {
45
  $links[] = '<a href="http://wordpress.org/support/plugin/contextual-related-posts">' . __( 'Support', 'contextual-related-posts' ) . '</a>';
46
  $links[] = '<a href="https://ajaydsouza.com/donate/">' . __( 'Donate', 'contextual-related-posts' ) . '</a>';
47
  $links[] = '<a href="https://github.com/WebberZone/contextual-related-posts">' . __( 'Contribute', 'contextual-related-posts' ) . '</a>';
48
  }
49
  return $links;
50
  }
51
+ add_filter( 'plugin_row_meta', 'crp_plugin_actions', 10, 2 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
 
admin/main-view.php CHANGED
@@ -29,12 +29,12 @@ if ( ! defined( 'WPINC' ) ) {
29
  do_action( 'crp_admin_nav_bar_before' )
30
  ?>
31
 
32
- <li><a href="#genopdiv"><?php _e( 'General options', 'contextual-related-posts' ); ?></a> | </li>
33
- <li><a href="#tuneopdiv"><?php _e( 'List tuning options', 'contextual-related-posts' ); ?></a> | </li>
34
- <li><a href="#outputopdiv"><?php _e( 'Output options', 'contextual-related-posts' ); ?></a> | </li>
35
- <li><a href="#thumbopdiv"><?php _e( 'Thumbnail options', 'contextual-related-posts' ); ?></a> | </li>
36
- <li><a href="#customcssdiv"><?php _e( 'Styles', 'contextual-related-posts' ); ?></a> | </li>
37
- <li><a href="#feedopdiv"><?php _e( 'Feed options', 'contextual-related-posts' ); ?></a></li>
38
 
39
  <?php
40
  /**
@@ -51,8 +51,8 @@ if ( ! defined( 'WPINC' ) ) {
51
  <div id="post-body-content">
52
  <form method="post" id="crp_options" name="crp_options" onsubmit="return checkForm()">
53
 
54
- <div id="genopdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
55
- <h3 class='hndle'><span><?php _e( 'General options', 'contextual-related-posts' ); ?></span></h3>
56
  <div class="inside">
57
 
58
  <table class="form-table">
@@ -68,53 +68,60 @@ if ( ! defined( 'WPINC' ) ) {
68
  do_action( 'crp_admin_general_options_before', $crp_settings );
69
  ?>
70
 
71
- <tr><th scope="row"><label for="cache"><?php _e( 'Cache output?', 'contextual-related-posts' ); ?></label></th>
72
- <td><input type="checkbox" name="cache" id="cache" <?php if ( $crp_settings['cache'] ) { echo 'checked="checked"'; } ?> />
73
- <p class="description"><?php _e( 'Enabling this option will cache the related posts output when the post is visited the first time. The cache is cleaned when you save this page.', 'contextual-related-posts' ); ?></p>
74
- <p class="description"><?php _e( 'The CRP cache works independently and in addition to any of your caching plugins like WP Super Cache or W3 Total Cache. It is recommended that you enable this on your blog.', 'contextual-related-posts' ); ?></p>
75
- <p><input type="button" value="<?php _e( 'Clear cache', 'contextual-related-posts' ) ?>" onclick="return clearCache();" class="button-secondary" /></p>
76
  </td>
77
  </tr>
78
 
79
- <tr><th scope="row"><?php _e( 'Automatically add related posts to:', 'contextual-related-posts' ); ?></th>
80
  <td>
81
- <label><input type="checkbox" name="add_to_content" id="add_to_content" <?php if ( $crp_settings['add_to_content'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Posts', 'contextual-related-posts' ); ?></label><br />
82
- <label><input type="checkbox" name="add_to_page" id="add_to_page" <?php if ( $crp_settings['add_to_page'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Pages', 'contextual-related-posts' ); ?></label><br />
83
- <label><input type="checkbox" name="add_to_home" id="add_to_home" <?php if ( $crp_settings['add_to_home'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Home page', 'contextual-related-posts' ); ?></label></label><br />
84
- <label><input type="checkbox" name="add_to_feed" id="add_to_feed" <?php if ( $crp_settings['add_to_feed'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Feeds', 'contextual-related-posts' ); ?></label></label><br />
85
- <label><input type="checkbox" name="add_to_category_archives" id="add_to_category_archives" <?php if ( $crp_settings['add_to_category_archives'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Category archives', 'contextual-related-posts' ); ?></label><br />
86
- <label><input type="checkbox" name="add_to_tag_archives" id="add_to_tag_archives" <?php if ( $crp_settings['add_to_tag_archives'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Tag archives', 'contextual-related-posts' ); ?></label></label><br />
87
- <label><input type="checkbox" name="add_to_archives" id="add_to_archives" <?php if ( $crp_settings['add_to_archives'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Other archives', 'contextual-related-posts' ); ?></label></label>
88
- <p class="description"><?php _e( "If you choose to disable this, please add <code>&lt;?php if ( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your template file where you want it displayed", 'contextual-related-posts' ); ?></p>
89
  </td>
90
  </tr>
91
 
92
- <tr><th scope="row"><label for="content_filter_priority"><?php _e( 'Display location priority:', 'contextual-related-posts' ); ?></label></th>
93
  <td>
94
- <input type="textbox" name="content_filter_priority" id="content_filter_priority" value="<?php echo esc_attr( stripslashes( $crp_settings['content_filter_priority'] ) ); ?>" />
95
- <p class="description"><?php _e( 'If you select to automatically add the related posts, CRP will hook into the Content Filter at a priority as specified in this option.', 'contextual-related-posts' ); ?></p>
96
- <p class="description"><?php _e( 'A higher number will cause the related posts to be processed later and move their display further down after the post content. Any number below 10 is not recommended.', 'contextual-related-posts' ); ?></p>
97
  </td>
98
  </tr>
99
 
100
- <tr><th scope="row"><label for="show_metabox"><?php _e( 'Show metabox:', 'contextual-related-posts' ); ?></label></th>
101
  <td>
102
- <input type="checkbox" name="show_metabox" id="show_metabox" <?php if ( $crp_settings['show_metabox'] ) { echo 'checked="checked"'; } ?> />
103
- <p class="description"><?php _e( 'This will add the Contextual Related Posts metabox on Edit Posts or Add New Posts screens. Also applies to Pages and Custom Post Types.', 'contextual-related-posts' ); ?></p>
104
  </td>
105
  </tr>
106
 
107
- <tr><th scope="row"><label for="show_metabox_admins"><?php _e( 'Limit metabox to Admins only:', 'contextual-related-posts' ); ?></label></th>
108
  <td>
109
- <input type="checkbox" name="show_metabox_admins" id="show_metabox_admins" <?php if ( $crp_settings['show_metabox_admins'] ) { echo 'checked="checked"'; } ?> />
110
- <p class="description"><?php _e( 'If this is selected, the metabox will be hidden from anyone who is not an Admin. Otherwise, by default, Contributors and above will be able to see the metabox. This applies only if the above option is selected.', 'contextual-related-posts' ); ?></p>
111
  </td>
112
  </tr>
113
 
114
- <tr><th scope="row"><label for="show_credit"><?php _e( "Tell the world you're using Contextual Related Posts:", 'contextual-related-posts' ); ?></label></th>
115
  <td>
116
- <input type="checkbox" name="show_credit" id="show_credit" <?php if ( $crp_settings['show_credit'] ) { echo 'checked="checked"'; } ?> /> <?php _e( ' <em>Optional</em>', 'contextual-related-posts' ); ?>
117
- <p class="description"><?php _e( 'Adds a nofollow link to Contextual Related Posts homepage as the last time in the list.', 'contextual-related-posts' ); ?></p>
 
 
 
 
 
 
 
118
  </td>
119
  </tr>
120
 
@@ -132,14 +139,14 @@ if ( ! defined( 'WPINC' ) ) {
132
  </table>
133
 
134
  <p>
135
- <input type="submit" name="crp_save" id="crp_genop_save" value="<?php _e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
136
  </p>
137
 
138
  </div> <!-- // inside -->
139
  </div> <!-- // genopdiv -->
140
 
141
- <div id="tuneopdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
142
- <h3 class='hndle'><span><?php _e( 'List tuning options', 'contextual-related-posts' ); ?></span></h3>
143
  <div class="inside">
144
 
145
  <table class="form-table">
@@ -155,71 +162,62 @@ if ( ! defined( 'WPINC' ) ) {
155
  do_action( 'crp_admin_tuning_options_before', $crp_settings );
156
  ?>
157
 
158
- <tr><th scope="row"><label for="limit"><?php _e( 'Number of related posts to display: ', 'contextual-related-posts' ); ?></label></th>
159
  <td>
160
  <input type="textbox" name="limit" id="limit" value="<?php echo esc_attr( stripslashes( $crp_settings['limit'] ) ); ?>">
161
- <p class="description"><?php _e( 'Maximum number of posts that will be displayed. The actual number may be smaller if less related posts are found.', 'contextual-related-posts' ); ?></p>
162
  </td>
163
  </tr>
164
 
165
- <tr><th scope="row"><label for="daily_range"><?php _e( 'Related posts should be newer than:', 'contextual-related-posts' ); ?></label></th>
166
  <td>
167
- <input type="textbox" name="daily_range" id="daily_range" value="<?php echo esc_attr( stripslashes( $crp_settings['daily_range'] ) ); ?>"><?php _e( 'days', 'contextual-related-posts' ); ?>
168
- <p class="description"><?php _e( 'This sets the cutoff period for which posts will be displayed. e.g. setting it to 365 will show related posts from the last year only. Set to 0 to disable limiting posts by date.', 'contextual-related-posts' ); ?></p>
169
  </td>
170
  </tr>
171
 
172
- <tr><th scope="row"><label for="match_content"><?php _e( 'Find related posts based on content as well as title:', 'contextual-related-posts' ); ?></label></th>
173
- <td><input type="checkbox" name="match_content" id="match_content" <?php if ( $crp_settings['match_content'] ) { echo 'checked="checked"'; } ?> />
174
- <p class="description"><?php _e( 'If unchecked, only posts titles are used. I recommend using a caching plugin or enabling "Cache output" above if you enable this. Each site is different, so toggle this option to see which setting gives you better quality related posts.', 'contextual-related-posts' ); ?></p>
175
  </td>
176
  </tr>
177
 
178
- <tr><th scope="row"><label for="match_content_words"><?php _e( 'Limit content to be compared:', 'contextual-related-posts' ); ?></label></th>
179
  <td><input type="textbox" name="match_content_words" id="match_content_words" value="<?php echo esc_attr( stripslashes( $crp_settings['match_content_words'] ) ); ?>">
180
- <p class="description"><?php _e( 'This sets the maximum words of the content that will be matched. Set to 0 for no limit. Only applies if you active the above option.', 'contextual-related-posts' ); ?></p>
181
  </td>
182
  </tr>
183
 
184
- <tr><th scope="row"><?php _e( 'Post types to include in results:', 'contextual-related-posts' ); ?></th>
185
  <td>
186
  <?php foreach ( $wp_post_types as $wp_post_type ) { ?>
187
  <label>
188
- <input type="checkbox" name="post_types[]" value="<?php echo $wp_post_type; ?>" <?php if ( in_array( $wp_post_type, $posts_types_inc ) ) { echo ' checked="checked" '; } ?> /><?php echo $wp_post_type; ?>
189
  </label>&nbsp;&nbsp;
190
  <?php } ?>
191
- <p class="description"><?php _e( 'These post types will be displayed in the list. Includes custom post types.', 'contextual-related-posts' ); ?></p>
192
  </td>
193
  </tr>
194
 
195
- <tr><th scope="row"><label for="exclude_post_ids"><?php _e( 'List of post or page IDs to exclude from the results:', 'contextual-related-posts' ); ?></label></th>
196
  <td><input type="textbox" name="exclude_post_ids" id="exclude_post_ids" value="<?php echo esc_attr( stripslashes( $crp_settings['exclude_post_ids'] ) ); ?>" style="width:250px">
197
- <p class="description"><?php _e( 'Comma separated list of post, page or custom post type IDs. e.g. 188,320,500', 'contextual-related-posts' ); ?></p>
198
  </td>
199
  </tr>
200
 
201
- <tr><th scope="row"><label for="exclude_cat_slugs"><?php _e( 'Categories to exclude from the results: ', 'contextual-related-posts' ); ?></label></th>
202
  <td>
203
- <div style="position:relative;text-align:left">
204
- <table id="MYCUSTOMFLOATER" class="myCustomFloater" style="position:absolute;top:50px;left:0;background-color:#cecece;display:none;visibility:hidden">
205
- <tr><td>
206
- <div class="myCustomFloaterContent">
207
- you should never be seeing this
208
- </div>
209
- </td></tr>
210
- </table>
211
- <textarea class="wickEnabled:MYCUSTOMFLOATER" cols="50" rows="3" wrap="virtual" name="exclude_cat_slugs"><?php echo ( stripslashes( $crp_settings['exclude_cat_slugs'] ) ); ?></textarea>
212
- </div>
213
- <p class="description"><?php _e( 'Comma separated list of category slugs. The field above has an autocomplete so simply start typing in the beginning of your category name and it will prompt you with options.', 'contextual-related-posts' ); ?></p>
214
  <p class="description highlight">
215
  <?php
216
- _e( 'Excluded category IDs are:', 'contextual-related-posts' );
217
- echo ' ' . $crp_settings['exclude_categories'];
218
  ?>
219
  </p>
220
  <p class="description">
221
  <?php
222
- _e( 'These might differ from the IDs visible in the Categories page which use the <code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is unique to this taxonomy.', 'contextual-related-posts' );
223
  ?>
224
  </p>
225
  </td>
@@ -239,14 +237,14 @@ if ( ! defined( 'WPINC' ) ) {
239
  </table>
240
 
241
  <p>
242
- <input type="submit" name="crp_save" id="crp_tuneop_save" value="<?php _e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
243
  </p>
244
 
245
  </div> <!-- // inside -->
246
  </div> <!-- // tuneopdiv -->
247
 
248
- <div id="outputopdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
249
- <h3 class='hndle'><span><?php _e( 'Output options', 'contextual-related-posts' ); ?></span></h3>
250
  <div class="inside">
251
 
252
  <table class="form-table">
@@ -262,83 +260,83 @@ if ( ! defined( 'WPINC' ) ) {
262
  do_action( 'crp_admin_output_options_before', $crp_settings );
263
  ?>
264
 
265
- <tr><th scope="row"><label for="title"><?php _e( 'Title of related posts:', 'contextual-related-posts' ); ?></label></th>
266
  <td>
267
  <input type="textbox" name="title" id="title" value="<?php echo esc_attr( stripslashes( $crp_settings['title'] ) ); ?>" style="width:250px" />
268
- <p class="description"><?php _e( 'This is the main heading of the related posts. You can also display the current post title by using <code>%postname%</code>. e.g. <code>Related Posts to %postname%</code>', 'contextual-related-posts' ); ?></p>
269
  </td>
270
  </tr>
271
 
272
- <tr><th scope="row"><label for="blank_output"><?php _e( 'When there are no posts, what should be shown?', 'contextual-related-posts' ); ?></label></th>
273
  <td>
274
  <label>
275
- <input type="radio" name="blank_output" value="blank" id="blank_output_0" <?php if ( $crp_settings['blank_output'] ) { echo 'checked="checked"'; } ?> />
276
- <?php _e( 'Blank Output', 'contextual-related-posts' ); ?>
277
  </label>
278
  <br />
279
  <label>
280
- <input type="radio" name="blank_output" value="customs" id="blank_output_1" <?php if ( ! $crp_settings['blank_output'] ) { echo 'checked="checked"'; } ?> />
281
- <?php _e( 'Display:', 'contextual-related-posts' ); ?>
282
  </label>
283
  <input type="textbox" name="blank_output_text" id="blank_output_text" value="<?php echo esc_attr( stripslashes( $crp_settings['blank_output_text'] ) ); ?>" style="width:250px" />
284
  </td>
285
  </tr>
286
 
287
- <tr><th scope="row"><label for="show_excerpt"><?php _e( 'Show post excerpt in list?', 'contextual-related-posts' ); ?></label></th>
288
  <td>
289
- <input type="checkbox" name="show_excerpt" id="show_excerpt" <?php if ( $crp_settings['show_excerpt'] ) { echo 'checked="checked"'; } ?> />
290
- <p class="description"><?php printf( __( "Displays the excerpt of the post. If you do not provide an explicit excerpt to a post (in the post editor's optional excerpt field), it will display an automatic excerpt which refers to the first %d words of the post's content", 'contextual-related-posts' ), $crp_settings['excerpt_length'] ); ?></p>
291
 
292
- <?php if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) { ?>
293
- <p style="color: #F00"><?php _e( 'Rounded Thumbnails style selected under the Custom Styles. Excerpt display is disabled.', 'contextual-related-posts' ); ?></p>
294
  <?php } ?>
295
  </td>
296
  </tr>
297
 
298
- <tr><th scope="row"><label for="excerpt_length"><?php _e( 'Length of excerpt (in words):', 'contextual-related-posts' ); ?></label></th>
299
  <td>
300
- <input type="textbox" name="excerpt_length" id="excerpt_length" value="<?php echo stripslashes( $crp_settings['excerpt_length'] ); ?>" />
301
  </td>
302
  </tr>
303
 
304
- <tr><th scope="row"><label for="show_author"><?php _e( 'Show post author in list?', 'contextual-related-posts' ); ?></label></th>
305
  <td>
306
- <input type="checkbox" name="show_author" id="show_author" <?php if ( $crp_settings['show_author'] ) { echo 'checked="checked"'; } ?> />
307
- <p class="description"><?php _e( 'Displays the author name prefixed with "by". e.g. by John Doe', 'contextual-related-posts' ); ?></p>
308
 
309
- <?php if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) { ?>
310
- <p style="color: #F00"><?php _e( 'Rounded Thumbnails style selected under the Custom Styles. Author display is disabled.', 'contextual-related-posts' ); ?></p>
311
  <?php } ?>
312
  </td>
313
  </tr>
314
 
315
- <tr><th scope="row"><label for="show_date"><?php _e( 'Show post date in list?', 'contextual-related-posts' ); ?></label></th>
316
  <td>
317
- <input type="checkbox" name="show_date" id="show_date" <?php if ( $crp_settings['show_date'] ) { echo 'checked="checked"'; } ?> />
318
- <p class="description"><?php _e( 'Displays the date of the post. Uses the same date format set in General Options', 'contextual-related-posts' ); ?></p>
319
 
320
- <?php if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) { ?>
321
- <p style="color: #F00"><?php _e( 'Rounded Thumbnails style selected under the Custom Styles. Date display is disabled.', 'contextual-related-posts' ); ?></p>
322
  <?php } ?>
323
  </td>
324
  </tr>
325
 
326
- <tr><th scope="row"><label for="title_length"><?php _e( 'Limit post title length (in characters)', 'contextual-related-posts' ); ?></label></th>
327
  <td>
328
- <input type="textbox" name="title_length" id="title_length" value="<?php echo stripslashes( $crp_settings['title_length'] ); ?>" />
329
- <p class="description"><?php _e( 'Any title longer than the number of characters set above will be cut and appended with an ellipsis (&hellip;)', 'contextual-related-posts' ); ?></p>
330
  </td>
331
  </tr>
332
 
333
- <tr><th scope="row"><label for="link_new_window"><?php _e( 'Open links in new window', 'contextual-related-posts' ); ?></label></th>
334
  <td>
335
- <input type="checkbox" name="link_new_window" id="link_new_window" <?php if ( $crp_settings['link_new_window'] ) { echo 'checked="checked"'; } ?> /
336
  ></td>
337
  </tr>
338
 
339
- <tr><th scope="row"><label for="link_nofollow"><?php _e( 'Add nofollow attribute to links in the list', 'contextual-related-posts' ); ?></label></th>
340
  <td>
341
- <input type="checkbox" name="link_nofollow" id="link_nofollow" <?php if ( $crp_settings['link_nofollow'] ) { echo 'checked="checked"'; } ?> />
342
  </td>
343
  </tr>
344
 
@@ -369,22 +367,22 @@ if ( ! defined( 'WPINC' ) ) {
369
  ?>
370
 
371
  <tr>
372
- <th scope="row" colspan="2" style="background: #eee; padding-left: 5px;"><?php _e( 'Exclusion settings:', 'contextual-related-posts' ); ?></th>
373
  </tr>
374
- <tr><th scope="row"><label for="exclude_on_post_ids"><?php _e( 'Exclude display of related posts on these posts / pages', 'contextual-related-posts' ); ?></label></th>
375
  <td>
376
- <input type="textbox" name="exclude_on_post_ids" id="exclude_on_post_ids" value="<?php echo esc_attr( stripslashes( $crp_settings['exclude_on_post_ids'] ) ); ?>" style="width:250px">
377
- <p class="description"><?php _e( 'Comma separated list of post, page or custom post type IDs. e.g. 188,320,500', 'contextual-related-posts' ); ?></p>
378
  </td>
379
  </tr>
380
- <tr><th scope="row"><?php _e( 'Exclude display of related posts on these post types.', 'contextual-related-posts' ); ?></th>
381
  <td>
382
  <?php foreach ( $wp_post_types as $wp_post_type ) { ?>
383
  <label>
384
- <input type="checkbox" name="exclude_on_post_types[]" value="<?php echo $wp_post_type; ?>" <?php if ( in_array( $wp_post_type, $posts_types_excl ) ) { echo ' checked="checked" '; } ?> /><?php echo $wp_post_type; ?>
385
  </label>&nbsp;&nbsp;
386
  <?php } ?>
387
- <p class="description"><?php _e( 'The related posts will not display on any of the above selected post types', 'contextual-related-posts' ); ?></p>
388
  </td>
389
  </tr>
390
 
@@ -414,19 +412,19 @@ if ( ! defined( 'WPINC' ) ) {
414
  do_action( 'crp_admin_customize_options_before', $crp_settings );
415
  ?>
416
 
417
- <tr><th scope="row" colspan="2" style="background: #eee; padding-left: 5px;"><?php _e( 'Customize the output:', 'contextual-related-posts' ); ?></th>
418
  </tr>
419
- <tr><th scope="row"><label for="before_list"><?php _e( 'HTML to display before the list of posts: ', 'contextual-related-posts' ); ?></label></th>
420
- <td><input type="textbox" name="before_list" id="before_list" value="<?php echo esc_attr( stripslashes( $crp_settings['before_list'] ) ); ?>" style="width:250px" /></td>
421
  </tr>
422
- <tr><th scope="row"><label for="before_list_item"><?php _e( 'HTML to display before each list item: ', 'contextual-related-posts' ); ?></label></th>
423
- <td><input type="textbox" name="before_list_item" id="before_list_item" value="<?php echo esc_attr( stripslashes( $crp_settings['before_list_item'] ) ); ?>" style="width:250px" /></td>
424
  </tr>
425
- <tr><th scope="row"><label for="after_list_item"><?php _e( 'HTML to display after each list item: ', 'contextual-related-posts' ); ?></label></th>
426
- <td><input type="textbox" name="after_list_item" id="after_list_item" value="<?php echo esc_attr( stripslashes( $crp_settings['after_list_item'] ) ); ?>" style="width:250px" /></td>
427
  </tr>
428
- <tr><th scope="row"><label for="after_list"><?php _e( 'HTML to display after the list of posts: ', 'contextual-related-posts' ); ?></label></th>
429
- <td><input type="textbox" name="after_list" id="after_list" value="<?php echo esc_attr( stripslashes( $crp_settings['after_list'] ) ); ?>" style="width:250px" /></td>
430
  </tr>
431
 
432
  <?php
@@ -443,14 +441,14 @@ if ( ! defined( 'WPINC' ) ) {
443
  </table>
444
 
445
  <p>
446
- <input type="submit" name="crp_save" id="crp_outputop_save" value="<?php _e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
447
  </p>
448
 
449
  </div> <!-- // inside -->
450
  </div> <!-- // outputopdiv -->
451
 
452
- <div id="thumbopdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
453
- <h3 class='hndle'><span><?php _e( 'Thumbnail options', 'contextual-related-posts' ); ?></span></h3>
454
  <div class="inside">
455
 
456
  <table class="form-table">
@@ -466,33 +464,38 @@ if ( ! defined( 'WPINC' ) ) {
466
  do_action( 'crp_admin_thumb_options_before', $crp_settings );
467
  ?>
468
 
469
- <tr><th scope="row"><label for="post_thumb_op"><?php _e( 'Location of post thumbnail:', 'contextual-related-posts' ); ?></label></th>
470
  <td>
471
  <label>
472
- <input type="radio" name="post_thumb_op" value="inline" id="post_thumb_op_0" <?php if ( 'inline' == $crp_settings['post_thumb_op'] ) { echo 'checked="checked"'; } ?> />
473
- <?php _e( 'Display thumbnails inline with posts, before title', 'contextual-related-posts' ); ?></label>
 
474
  <br />
475
  <label>
476
- <input type="radio" name="post_thumb_op" value="after" id="post_thumb_op_1" <?php if ( 'after' == $crp_settings['post_thumb_op'] ) { echo 'checked="checked"'; } ?> />
477
- <?php _e( 'Display thumbnails inline with posts, after title', 'contextual-related-posts' ); ?></label>
 
478
  <br />
479
  <label>
480
- <input type="radio" name="post_thumb_op" value="thumbs_only" id="post_thumb_op_2" <?php if ( 'thumbs_only' == $crp_settings['post_thumb_op'] ) { echo 'checked="checked"'; } ?> />
481
- <?php _e( 'Display only thumbnails, no text', 'contextual-related-posts' ); ?></label>
 
482
  <br />
483
  <label>
484
- <input type="radio" name="post_thumb_op" value="text_only" id="post_thumb_op_3" <?php if ( 'text_only' == $crp_settings['post_thumb_op'] ) { echo 'checked="checked"'; } ?> />
485
- <?php _e( 'Do not display thumbnails, only text.', 'contextual-related-posts' ); ?></label>
 
486
 
487
- <?php if ( 'no_style' != $crp_settings['crp_styles'] ) { ?>
488
- <p style="color: #F00"><?php _e( 'This setting cannot be changed because an inbuilt style has been selected under the Styles section. If you would like to change this option, please select <strong>No styles</strong> under the Styles section.', 'contextual-related-posts' ); ?></p>
489
  <?php } ?>
490
  </td>
491
  </tr>
492
- <tr><th scope="row"><?php _e( 'Thumbnail size:', 'contextual-related-posts' ); ?></th>
493
  <td>
494
  <?php
495
- $crp_get_all_image_sizes = crp_get_all_image_sizes();
 
496
  if ( isset( $crp_get_all_image_sizes['crp_thumbnail'] ) ) {
497
  unset( $crp_get_all_image_sizes['crp_thumbnail'] );
498
  }
@@ -500,8 +503,8 @@ if ( ! defined( 'WPINC' ) ) {
500
  foreach ( $crp_get_all_image_sizes as $size ) :
501
  ?>
502
  <label>
503
- <input type="radio" name="thumb_size" value="<?php echo $size['name'] ?>" id="<?php echo $size['name'] ?>" <?php if ( $crp_settings['thumb_size'] == $size['name'] ) { echo 'checked="checked"'; } ?> />
504
- <?php echo $size['name']; ?> ( <?php echo $size['width']; ?>x<?php echo $size['height']; ?>
505
  <?php
506
  if ( $size['crop'] ) {
507
  echo 'cropped';
@@ -513,74 +516,81 @@ if ( ! defined( 'WPINC' ) ) {
513
  <?php endforeach; ?>
514
 
515
  <label>
516
- <input type="radio" name="thumb_size" value="crp_thumbnail" id="crp_thumbnail" <?php if ( $crp_settings['thumb_size'] == 'crp_thumbnail' ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Custom size', 'contextual-related-posts' ); ?>
517
  </label>
518
  <p class="description">
519
- <?php _e( 'You can choose from existing image sizes above or create a custom size.', 'contextual-related-posts' ); ?><br /><br />
520
- <?php _e( 'If you choose an existing size, then the width, height and crop mode settings in the three options below will be automatically updated to reflect the correct dimensions of the setting.', 'contextual-related-posts' ); ?><br />
521
- <?php _e( 'If you have chosen Custom size above, then enter the width, height and crop settings below. For best results, use a cropped image with the same width and height. The default setting is 150x150 cropped image.', 'contextual-related-posts' ); ?><br /><br />
522
- <?php _e( "Any changes to the thumbnail settings doesn't automatically resize existing images.", 'contextual-related-posts' ); ?>
523
- <?php printf( __( "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate all image sizes.", 'contextual-related-posts' ), self_admin_url( 'plugin-install.php?tab=plugin-information&amp;plugin=otf-regenerate-thumbnails&amp;TB_iframe=true&amp;width=600&amp;height=550' ), self_admin_url( 'plugin-install.php?tab=plugin-information&amp;plugin=regenerate-thumbnails&amp;TB_iframe=true&amp;width=600&amp;height=550' ) ); ?>
 
 
 
 
524
  </p>
525
  </td>
526
  </tr>
527
- <tr><th scope="row"><label for="thumb_width"><?php _e( 'Width of the thumbnail:', 'contextual-related-posts' ); ?></label></th>
528
- <td><input type="textbox" name="thumb_width" id="thumb_width" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_width'] ) ); ?>" style="width:50px" />px</td>
529
  </tr>
530
- <tr><th scope="row"><label for="thumb_height"><?php _e( 'Height of the thumbnail: ', 'contextual-related-posts' ); ?></label></th>
531
  <td>
532
- <input type="textbox" name="thumb_height" id="thumb_height" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_height'] ) ); ?>" style="width:50px" />px
533
  </td>
534
  </tr>
535
- <tr><th scope="row"><label for="thumb_crop"><?php _e( 'Crop mode:', 'contextual-related-posts' ); ?></label></th>
536
  <td>
537
- <input type="checkbox" name="thumb_crop" id="thumb_crop" <?php if ( $crp_settings['thumb_crop'] ) { echo 'checked="checked"'; } ?> />
538
  <p class="description">
539
- <?php _e( 'By default, thumbnails will be hard cropped. Uncheck this box to proportionately/soft crop the thumbnails.', 'contextual-related-posts' ); ?>
540
- <?php printf( __( "<a href='%s' target='_blank'>Difference between soft and hard crop</a>", 'contextual-related-posts' ), 'http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/' ); ?>
541
  </p>
542
  </td>
543
  </tr>
544
- <tr><th scope="row"><label for="thumb_html"><?php _e( 'Image size attributes:', 'contextual-related-posts' ); ?></label></th>
545
  <td>
546
  <label>
547
- <input type="radio" name="thumb_html" value="css" id="thumb_html_0" <?php if ( 'css' == $crp_settings['thumb_html'] ) { echo 'checked="checked"'; } ?> />
548
- <?php _e( 'Style attributes are used for width and height.', 'contextual-related-posts' );
549
- echo ' <code>style="max-width:' . $crp_settings['thumb_width'] . 'px;max-height:' . $crp_settings['thumb_height'] . 'px;"</code>'; ?>
550
  </label>
551
  <br />
552
  <label>
553
- <input type="radio" name="thumb_html" value="html" id="thumb_html_1" <?php if ( 'html' == $crp_settings['thumb_html'] ) { echo 'checked="checked"'; } ?> />
554
- <?php _e( 'HTML width and height attributes are used for width and height.', 'contextual-related-posts' );
555
- echo ' <code>width="' . $crp_settings['thumb_width'] . '" height="' . $crp_settings['thumb_height'] . '"</code>'; ?>
556
  </label>
557
  <br />
558
  <label>
559
- <input type="radio" name="thumb_html" value="none" id="thumb_html_1" <?php if ( 'none' == $crp_settings['thumb_html'] ) { echo 'checked="checked"'; } ?> />
560
- <?php _e( 'No HTML or Style attributes set for width and height', 'contextual-related-posts' ); ?>
561
  </label>
562
  <br />
563
  </td>
564
  </tr>
565
- <tr><th scope="row"><label for="thumb_meta"><?php _e( 'Post thumbnail meta field name:', 'contextual-related-posts' ); ?></label></th>
566
- <td><input type="textbox" name="thumb_meta" id="thumb_meta" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_meta'] ) ); ?>">
567
- <p class="description"><?php _e( 'The value of this field should contain a direct link to the image. This is set in the meta box in the <em>Add New Post</em> screen.', 'contextual-related-posts' ); ?></p>
568
  </td>
569
  </tr>
570
- <tr><th scope="row"><label for="scan_images"><?php _e( 'Extract the first image from the post?', 'contextual-related-posts' ); ?></label></th>
571
- <td><input type="checkbox" name="scan_images" id="scan_images" <?php if ( $crp_settings['scan_images'] ) { echo 'checked="checked"'; } ?> />
572
- <p class="description"><?php _e( 'This will only happen if there is no post thumbnail set and no image URL is specified in the meta field.', 'contextual-related-posts' ); ?></p>
573
  </td>
574
  </tr>
575
- <tr><th scope="row"><label for="thumb_default_show"><?php _e( 'Use default thumbnail?', 'contextual-related-posts' ); ?></label></th>
576
- <td><input type="checkbox" name="thumb_default_show" id="thumb_default_show" <?php if ( $crp_settings['thumb_default_show'] ) { echo 'checked="checked"'; } ?> />
577
- <p class="description"><?php _e( 'If checked, when no thumbnail is found, show a default one from the URL below. If not checked and no thumbnail is found, no image will be shown.', 'contextual-related-posts' ); ?></p>
578
  </td>
579
  </tr>
580
- <tr><th scope="row"><label for="thumb_default"><?php _e( 'Default thumbnail:', 'contextual-related-posts' ); ?></label></th>
581
- <td><input type="textbox" name="thumb_default" id="thumb_default" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_default'] ) ); ?>" style="width:100%">
582
- <?php if ( '' != $crp_settings['thumb_default'] ) { echo "<img src='{$crp_settings['thumb_default']}' style='max-width:200px' />"; } ?>
583
- <p class="description"><?php _e( "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified above.", 'contextual-related-posts' ); ?></p>
 
 
 
 
584
  </td>
585
  </tr>
586
 
@@ -598,14 +608,14 @@ if ( ! defined( 'WPINC' ) ) {
598
  </table>
599
 
600
  <p>
601
- <input type="submit" name="crp_save" id="crp_thumbop_save" value="<?php _e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
602
  </p>
603
 
604
  </div> <!-- // inside -->
605
  </div> <!-- // outputopdiv -->
606
 
607
- <div id="customcssdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
608
- <h3 class='hndle'><span><?php _e( 'Styles', 'contextual-related-posts' ); ?></span></h3>
609
  <div class="inside">
610
 
611
  <table class="form-table">
@@ -621,26 +631,29 @@ if ( ! defined( 'WPINC' ) ) {
621
  do_action( 'crp_admin_custom_styles_before', $crp_settings );
622
  ?>
623
 
624
- <tr><th scope="row"><?php _e( 'Style of the related posts:', 'contextual-related-posts' ); ?></th>
625
  <td>
626
  <label>
627
- <input type="radio" name="crp_styles" value="no_style" id="crp_styles_1" <?php if ( 'no_style' == $crp_settings['crp_styles'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'No styles', 'contextual-related-posts' ); ?>
628
  </label>
629
- <p class="description"><?php _e( 'Select this option if you plan to add your own styles', 'contextual-related-posts' ); ?></p>
630
  <br />
631
 
632
  <label>
633
- <input type="radio" name="crp_styles" value="rounded_thumbs" id="crp_styles_0" <?php if ( $crp_settings['include_default_style'] && ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Rounded Thumbnails', 'contextual-related-posts' ); ?>
634
  </label>
635
- <p class="description"><img src="<?php echo plugins_url( 'admin/images/crp-rounded-thumbs.png', dirname( __FILE__ ) ); ?>" /></p>
636
- <p class="description"><?php _e( 'Enabling this option will turn on the thumbnails and set their width and height to 150px. It will also turn off the display of the author, excerpt and date if already enabled. Disabling this option will not revert any settings.', 'contextual-related-posts' ); ?></p>
637
- <p class="description"><?php printf( __( 'You can view the default style at <a href="%1$s" target="_blank">%1$s</a>', 'contextual-related-posts' ), esc_url( 'https://github.com/WebberZone/contextual-related-posts/blob/master/css/default-style.css' ) ); ?></p>
 
 
 
638
  <br />
639
 
640
  <label>
641
- <input type="radio" name="crp_styles" value="text_only" id="crp_styles_1" <?php if ( 'text_only' == $crp_settings['crp_styles'] ) { echo 'checked="checked"'; } ?> /> <?php _e( 'Text only', 'contextual-related-posts' ); ?>
642
  </label>
643
- <p class="description"><?php _e( 'Enabling this option will disable thumbnails and no longer include the default style sheet included in the plugin.', 'contextual-related-posts' ); ?></p>
644
 
645
  <?php
646
  /**
@@ -655,12 +668,14 @@ if ( ! defined( 'WPINC' ) ) {
655
 
656
  </td>
657
  </tr>
658
- <tr><th scope="row" colspan="2"><?php _e( 'Custom CSS to add to header:', 'contextual-related-posts' ); ?></th>
659
  </tr>
660
  <tr>
661
- <td scope="row" colspan="2"><textarea name="custom_CSS" id="custom_CSS" rows="15" cols="80" style="width:100%"><?php echo stripslashes( $crp_settings['custom_CSS'] ); ?></textarea>
662
- <p class="description"><?php _e( 'Do not include <code>style</code> tags. Check out the <a href="http://wordpress.org/extend/plugins/contextual-related-posts/faq/" target="_blank">FAQ</a> for available CSS classes to style.', 'contextual-related-posts' ); ?></p>
663
- </td></tr>
 
 
664
 
665
  <?php
666
  /**
@@ -676,14 +691,14 @@ if ( ! defined( 'WPINC' ) ) {
676
  </table>
677
 
678
  <p>
679
- <input type="submit" name="crp_save" id="crp_customcss_save" value="<?php _e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
680
  </p>
681
 
682
  </div> <!-- // inside -->
683
  </div> <!-- // customcssdiv -->
684
 
685
- <div id="feedopdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
686
- <h3 class='hndle'><span><?php _e( 'Feed options', 'contextual-related-posts' ); ?></span></h3>
687
  <div class="inside">
688
 
689
  <table class="form-table">
@@ -699,39 +714,39 @@ if ( ! defined( 'WPINC' ) ) {
699
  do_action( 'crp_admin_feed_options_before', $crp_settings );
700
  ?>
701
 
702
- <tr><th scope="row" colspan="2"><?php _e( 'Below options override the related posts settings for your blog feed. These only apply if you have selected to add related posts to Feeds in the General Options tab.', 'contextual-related-posts' ); ?></th>
703
  </tr>
704
- <tr><th scope="row"><label for="limit_feed"><?php _e( 'Number of related posts to display: ', 'contextual-related-posts' ); ?></label></th>
705
- <td><input type="textbox" name="limit_feed" id="limit_feed" value="<?php echo esc_attr( stripslashes( $crp_settings['limit_feed'] ) ); ?>"></td>
706
  </tr>
707
- <tr><th scope="row"><label for="show_excerpt_feed"><?php _e( 'Show post excerpt in list?', 'contextual-related-posts' ); ?></label></th>
708
- <td><input type="checkbox" name="show_excerpt_feed" id="show_excerpt_feed" <?php if ( $crp_settings['show_excerpt_feed'] ) { echo 'checked="checked"'; } ?> /></td>
709
  </tr>
710
- <tr><th scope="row"><label for="post_thumb_op_feed"><?php _e( 'Location of post thumbnail:', 'contextual-related-posts' ); ?></label></th>
711
  <td>
712
  <label>
713
- <input type="radio" name="post_thumb_op_feed" value="inline" id="post_thumb_op_feed_0" <?php if ( 'inline' == $crp_settings['post_thumb_op_feed'] ) { echo 'checked="checked"'; } ?> />
714
- <?php _e( 'Display thumbnails inline with posts, before title', 'contextual-related-posts' ); ?></label>
715
  <br />
716
  <label>
717
- <input type="radio" name="post_thumb_op_feed" value="after" id="post_thumb_op_feed_1" <?php if ( 'after' == $crp_settings['post_thumb_op_feed'] ) { echo 'checked="checked"'; } ?> />
718
- <?php _e( 'Display thumbnails inline with posts, after title', 'contextual-related-posts' ); ?></label>
719
  <br />
720
  <label>
721
- <input type="radio" name="post_thumb_op_feed" value="thumbs_only" id="post_thumb_op_feed_2" <?php if ( 'thumbs_only' == $crp_settings['post_thumb_op_feed'] ) { echo 'checked="checked"'; } ?> />
722
- <?php _e( 'Display only thumbnails, no text', 'contextual-related-posts' ); ?></label>
723
  <br />
724
  <label>
725
- <input type="radio" name="post_thumb_op_feed" value="text_only" id="post_thumb_op_feed_3" <?php if ( 'text_only' == $crp_settings['post_thumb_op_feed'] ) { echo 'checked="checked"'; } ?> />
726
- <?php _e( 'Do not display thumbnails, only text.', 'contextual-related-posts' ); ?></label>
727
  <br />
728
  </td>
729
  </tr>
730
- <tr><th scope="row"><label for="thumb_width_feed"><?php _e( 'Maximum width of the thumbnail: ', 'contextual-related-posts' ); ?></label></th>
731
- <td><input type="textbox" name="thumb_width_feed" id="thumb_width_feed" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_width_feed'] ) ); ?>" style="width:50px" />px</td>
732
  </tr>
733
- <tr><th scope="row"><label for="thumb_height_feed"><?php _e( 'Maximum height of the thumbnail: ', 'contextual-related-posts' ); ?></label></th>
734
- <td><input type="textbox" name="thumb_height_feed" id="thumb_height_feed" value="<?php echo esc_attr( stripslashes( $crp_settings['thumb_height_feed'] ) ); ?>" style="width:50px" />px</td>
735
  </tr>
736
 
737
  <?php
@@ -748,7 +763,7 @@ if ( ! defined( 'WPINC' ) ) {
748
  </table>
749
 
750
  <p>
751
- <input type="submit" name="crp_save" id="crp_feedop_save" value="<?php _e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
752
  </p>
753
 
754
  </div> <!-- // inside -->
@@ -764,16 +779,29 @@ if ( ! defined( 'WPINC' ) ) {
764
  ?>
765
 
766
  <p>
767
- <input type="submit" name="crp_save" id="crp_save" value="<?php _e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
768
- <input name="crp_default" type="submit" id="crp_default" value="<?php _e( 'Default Options', 'contextual-related-posts' ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( 'Do you want to set options to Default?', 'contextual-related-posts' ); ?>')) return false;" />
769
- <input name="crp_recreate" type="submit" id="crp_recreate" value="<?php _e( 'Recreate Index', 'contextual-related-posts' ); ?>" class="button button-secondary" onclick="if (!confirm('<?php _e( 'Are you sure you want to recreate the index?', 'contextual-related-posts' ); ?>')) return false;" />
770
  </p>
771
 
772
  <?php if ( ! $wpdb->get_results( "SHOW INDEX FROM {$wpdb->posts} where Key_name = 'crp_related'" ) || ! $wpdb->get_results( "SHOW INDEX FROM {$wpdb->posts} where Key_name = 'crp_related_title'" ) || ! $wpdb->get_results( "SHOW INDEX FROM {$wpdb->posts} where Key_name = 'crp_related_content'" ) ) { ?>
773
  <div class="notice error">
774
- <?php _e( 'One or more FULLTEXT indices are missing. Please hit the <a href="#crp_recreate">Recreate Index button</a> at the bottom of the page to fix this.', 'contextual-related-posts' ); ?>
775
  </div>
776
  <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
777
  <?php wp_nonce_field( 'crp-plugin-settings' ) ?>
778
  </form>
779
  </div><!-- /post-body-content -->
29
  do_action( 'crp_admin_nav_bar_before' )
30
  ?>
31
 
32
+ <li><a href="#genopdiv"><?php esc_html_e( 'General options', 'contextual-related-posts' ); ?></a> | </li>
33
+ <li><a href="#tuneopdiv"><?php esc_html_e( 'List tuning options', 'contextual-related-posts' ); ?></a> | </li>
34
+ <li><a href="#outputopdiv"><?php esc_html_e( 'Output options', 'contextual-related-posts' ); ?></a> | </li>
35
+ <li><a href="#thumbopdiv"><?php esc_html_e( 'Thumbnail options', 'contextual-related-posts' ); ?></a> | </li>
36
+ <li><a href="#customcssdiv"><?php esc_html_e( 'Styles', 'contextual-related-posts' ); ?></a> | </li>
37
+ <li><a href="#feedopdiv"><?php esc_html_e( 'Feed options', 'contextual-related-posts' ); ?></a></li>
38
 
39
  <?php
40
  /**
51
  <div id="post-body-content">
52
  <form method="post" id="crp_options" name="crp_options" onsubmit="return checkForm()">
53
 
54
+ <div id="genopdiv" class="postbox"><div class="handlediv" title="<?php esc_attr_e( 'Click to toggle', 'contextual-related-posts' ); ?>"><br /></div>
55
+ <h3 class='hndle'><span><?php esc_html_e( 'General options', 'contextual-related-posts' ); ?></span></h3>
56
  <div class="inside">
57
 
58
  <table class="form-table">
68
  do_action( 'crp_admin_general_options_before', $crp_settings );
69
  ?>
70
 
71
+ <tr><th scope="row"><label for="cache"><?php esc_html_e( 'Cache output?', 'contextual-related-posts' ); ?></label></th>
72
+ <td><input type="checkbox" name="cache" id="cache" <?php checked( true, $crp_settings['cache'] ); ?> />
73
+ <p class="description"><?php esc_html_e( 'Enabling this option will cache the related posts output when the post is visited the first time. The cache is cleaned when you save this page.', 'contextual-related-posts' ); ?></p>
74
+ <p class="description"><?php esc_html_e( 'The CRP cache works independently and in addition to any of your caching plugins like WP Super Cache or W3 Total Cache. It is recommended that you enable this on your blog.', 'contextual-related-posts' ); ?></p>
75
+ <p><input type="button" value="<?php esc_html_e( 'Clear cache', 'contextual-related-posts' ) ?>" onclick="return clearCache();" class="button-secondary" /></p>
76
  </td>
77
  </tr>
78
 
79
+ <tr><th scope="row"><?php esc_html_e( 'Automatically add related posts to:', 'contextual-related-posts' ); ?></th>
80
  <td>
81
+ <label><input type="checkbox" name="add_to_content" id="add_to_content" <?php checked( true, $crp_settings['add_to_content'] ); ?> /> <?php esc_html_e( 'Posts', 'contextual-related-posts' ); ?></label><br />
82
+ <label><input type="checkbox" name="add_to_page" id="add_to_page" <?php checked( true, $crp_settings['add_to_page'] ); ?> /> <?php esc_html_e( 'Pages', 'contextual-related-posts' ); ?></label><br />
83
+ <label><input type="checkbox" name="add_to_home" id="add_to_home" <?php checked( true, $crp_settings['add_to_home'] ); ?> /> <?php esc_html_e( 'Home page', 'contextual-related-posts' ); ?></label></label><br />
84
+ <label><input type="checkbox" name="add_to_feed" id="add_to_feed" <?php checked( true, $crp_settings['add_to_feed'] ); ?> /> <?php esc_html_e( 'Feeds', 'contextual-related-posts' ); ?></label></label><br />
85
+ <label><input type="checkbox" name="add_to_category_archives" id="add_to_category_archives" <?php checked( true, $crp_settings['add_to_category_archives'] ); ?> /> <?php esc_html_e( 'Category archives', 'contextual-related-posts' ); ?></label><br />
86
+ <label><input type="checkbox" name="add_to_tag_archives" id="add_to_tag_archives" <?php checked( true, $crp_settings['add_to_tag_archives'] ); ?> /> <?php esc_html_e( 'Tag archives', 'contextual-related-posts' ); ?></label></label><br />
87
+ <label><input type="checkbox" name="add_to_archives" id="add_to_archives" <?php checked( true, $crp_settings['add_to_archives'] ); ?> /> <?php esc_html_e( 'Other archives', 'contextual-related-posts' ); ?></label></label>
88
+ <p class="description"><?php printf( esc_html__( 'If you choose to disable this, please add %1$s to your template file where you want it displayed', 'contextual-related-posts' ), "<code>&lt;?php if ( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code>" ); ?></p>
89
  </td>
90
  </tr>
91
 
92
+ <tr><th scope="row"><label for="content_filter_priority"><?php esc_html_e( 'Display location priority:', 'contextual-related-posts' ); ?></label></th>
93
  <td>
94
+ <input type="textbox" name="content_filter_priority" id="content_filter_priority" value="<?php echo esc_attr( $crp_settings['content_filter_priority'] ); ?>" />
95
+ <p class="description"><?php esc_html_e( 'If you select to automatically add the related posts, CRP will hook into the Content Filter at a priority as specified in this option.', 'contextual-related-posts' ); ?></p>
96
+ <p class="description"><?php esc_html_e( 'A higher number will cause the related posts to be processed later and move their display further down after the post content. Any number below 10 is not recommended.', 'contextual-related-posts' ); ?></p>
97
  </td>
98
  </tr>
99
 
100
+ <tr><th scope="row"><label for="insert_after_paragraph"><?php esc_html_e( 'Insert after paragraph number', 'contextual-related-posts' ); ?>:</label></th>
101
  <td>
102
+ <input type="textbox" name="insert_after_paragraph" id="insert_after_paragraph" value="<?php echo esc_attr( $crp_settings['insert_after_paragraph'] ); ?>" />
103
+ <p class="description"><?php esc_html_e( 'Enter 0 to display the related posts before the post content, -1 to display this at the end or a number to insert it after that paragraph number. If your post has less paragraphs, related posts will be displayed at the end.', 'contextual-related-posts' ); ?></p>
104
  </td>
105
  </tr>
106
 
107
+ <tr><th scope="row"><label for="show_metabox"><?php esc_html_e( 'Show metabox:', 'contextual-related-posts' ); ?></label></th>
108
  <td>
109
+ <input type="checkbox" name="show_metabox" id="show_metabox" <?php checked( true, $crp_settings['show_metabox'] ); ?> />
110
+ <p class="description"><?php esc_html_e( 'This will add the Contextual Related Posts metabox on Edit Posts or Add New Posts screens. Also applies to Pages and Custom Post Types.', 'contextual-related-posts' ); ?></p>
111
  </td>
112
  </tr>
113
 
114
+ <tr><th scope="row"><label for="show_metabox_admins"><?php esc_html_e( 'Limit metabox to Admins only:', 'contextual-related-posts' ); ?></label></th>
115
  <td>
116
+ <input type="checkbox" name="show_metabox_admins" id="show_metabox_admins" <?php checked( true, $crp_settings['show_metabox_admins'] ); ?> />
117
+ <p class="description"><?php esc_html_e( 'If this is selected, the metabox will be hidden from anyone who is not an Admin. Otherwise, by default, Contributors and above will be able to see the metabox. This applies only if the above option is selected.', 'contextual-related-posts' ); ?></p>
118
+ </td>
119
+ </tr>
120
+
121
+ <tr><th scope="row"><label for="show_credit"><?php esc_html_e( "Tell the world you're using Contextual Related Posts:", 'contextual-related-posts' ); ?></label></th>
122
+ <td>
123
+ <input type="checkbox" name="show_credit" id="show_credit" <?php checked( true, $crp_settings['show_credit'] ); ?> /> <em><?php esc_html_e( 'Optional', 'contextual-related-posts' ); ?></em>
124
+ <p class="description"><?php esc_html_e( 'Adds a nofollow link to Contextual Related Posts homepage as the last time in the list.', 'contextual-related-posts' ); ?></p>
125
  </td>
126
  </tr>
127
 
139
  </table>
140
 
141
  <p>
142
+ <input type="submit" name="crp_save" id="crp_genop_save" value="<?php esc_attr_e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
143
  </p>
144
 
145
  </div> <!-- // inside -->
146
  </div> <!-- // genopdiv -->
147
 
148
+ <div id="tuneopdiv" class="postbox"><div class="handlediv" title="<?php esc_attr_e( 'Click to toggle', 'contextual-related-posts' ); ?>"><br /></div>
149
+ <h3 class='hndle'><span><?php esc_html_e( 'List tuning options', 'contextual-related-posts' ); ?></span></h3>
150
  <div class="inside">
151
 
152
  <table class="form-table">
162
  do_action( 'crp_admin_tuning_options_before', $crp_settings );
163
  ?>
164
 
165
+ <tr><th scope="row"><label for="limit"><?php esc_html_e( 'Number of related posts to display: ', 'contextual-related-posts' ); ?></label></th>
166
  <td>
167
  <input type="textbox" name="limit" id="limit" value="<?php echo esc_attr( stripslashes( $crp_settings['limit'] ) ); ?>">
168
+ <p class="description"><?php esc_html_e( 'Maximum number of posts that will be displayed. The actual number may be smaller if less related posts are found.', 'contextual-related-posts' ); ?></p>
169
  </td>
170
  </tr>
171
 
172
+ <tr><th scope="row"><label for="daily_range"><?php esc_html_e( 'Related posts should be newer than:', 'contextual-related-posts' ); ?></label></th>
173
  <td>
174
+ <input type="textbox" name="daily_range" id="daily_range" value="<?php echo esc_attr( stripslashes( $crp_settings['daily_range'] ) ); ?>"><?php esc_html_e( 'days', 'contextual-related-posts' ); ?>
175
+ <p class="description"><?php esc_html_e( 'This sets the cutoff period for which posts will be displayed. e.g. setting it to 365 will show related posts from the last year only. Set to 0 to disable limiting posts by date.', 'contextual-related-posts' ); ?></p>
176
  </td>
177
  </tr>
178
 
179
+ <tr><th scope="row"><label for="match_content"><?php esc_html_e( 'Find related posts based on content as well as title:', 'contextual-related-posts' ); ?></label></th>
180
+ <td><input type="checkbox" name="match_content" id="match_content" <?php checked( $crp_settings['match_content'] ); ?> />
181
+ <p class="description"><?php esc_html_e( 'If unchecked, only posts titles are used. I recommend using a caching plugin or enabling "Cache output" above if you enable this. Each site is different, so toggle this option to see which setting gives you better quality related posts.', 'contextual-related-posts' ); ?></p>
182
  </td>
183
  </tr>
184
 
185
+ <tr><th scope="row"><label for="match_content_words"><?php esc_html_e( 'Limit content to be compared:', 'contextual-related-posts' ); ?></label></th>
186
  <td><input type="textbox" name="match_content_words" id="match_content_words" value="<?php echo esc_attr( stripslashes( $crp_settings['match_content_words'] ) ); ?>">
187
+ <p class="description"><?php esc_html_e( 'This sets the maximum words of the content that will be matched. Set to 0 for no limit. Max value: 2,000. Only applies if you activate the above option.', 'contextual-related-posts' ); ?></p>
188
  </td>
189
  </tr>
190
 
191
+ <tr><th scope="row"><?php esc_html_e( 'Post types to include in results:', 'contextual-related-posts' ); ?></th>
192
  <td>
193
  <?php foreach ( $wp_post_types as $wp_post_type ) { ?>
194
  <label>
195
+ <input type="checkbox" name="post_types[]" value="<?php echo esc_attr( $wp_post_type ); ?>" <?php checked( true, in_array( $wp_post_type, $posts_types_inc, true ) ); ?> /><?php echo esc_attr( $wp_post_type ); ?>
196
  </label>&nbsp;&nbsp;
197
  <?php } ?>
198
+ <p class="description"><?php esc_html_e( 'These post types will be displayed in the list. Includes custom post types.', 'contextual-related-posts' ); ?></p>
199
  </td>
200
  </tr>
201
 
202
+ <tr><th scope="row"><label for="exclude_post_ids"><?php esc_html_e( 'List of post or page IDs to exclude from the results:', 'contextual-related-posts' ); ?></label></th>
203
  <td><input type="textbox" name="exclude_post_ids" id="exclude_post_ids" value="<?php echo esc_attr( stripslashes( $crp_settings['exclude_post_ids'] ) ); ?>" style="width:250px">
204
+ <p class="description"><?php esc_html_e( 'Comma separated list of post, page or custom post type IDs. e.g. 188,320,500', 'contextual-related-posts' ); ?></p>
205
  </td>
206
  </tr>
207
 
208
+ <tr><th scope="row"><label for="exclude_cat_slugs"><?php esc_html_e( 'Categories to exclude from the results: ', 'contextual-related-posts' ); ?></label></th>
209
  <td>
210
+ <label><input type="textbox" name="exclude_cat_slugs" id="exclude_cat_slugs" value="<?php echo esc_attr( $crp_settings['exclude_cat_slugs'] ); ?>" onfocus="setSuggest('exclude_cat_slugs', 'category');" class="widefat"></label>
211
+ <p class="description"><?php esc_html_e( 'Comma separated list of category slugs. The field above has an autocomplete so simply start typing in the beginning of your category name and it will prompt you with options.', 'contextual-related-posts' ); ?></p>
 
 
 
 
 
 
 
 
 
212
  <p class="description highlight">
213
  <?php
214
+ esc_html_e( 'Excluded category IDs are:', 'contextual-related-posts' );
215
+ esc_html_e( ' ' . $crp_settings['exclude_categories'] );
216
  ?>
217
  </p>
218
  <p class="description">
219
  <?php
220
+ printf( esc_html__( 'These might differ from the IDs visible in the Categories page which use the %1$s. CRP uses the %2$s which is unique to this taxonomy.', 'contextual-related-posts' ), '<code>term_id</code>', '<code>term_taxonomy_id</code>' );
221
  ?>
222
  </p>
223
  </td>
237
  </table>
238
 
239
  <p>
240
+ <input type="submit" name="crp_save" id="crp_tuneop_save" value="<?php esc_attr_e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
241
  </p>
242
 
243
  </div> <!-- // inside -->
244
  </div> <!-- // tuneopdiv -->
245
 
246
+ <div id="outputopdiv" class="postbox"><div class="handlediv" title="<?php esc_attr_e( 'Click to toggle', 'contextual-related-posts' ); ?>"><br /></div>
247
+ <h3 class='hndle'><span><?php esc_html_e( 'Output options', 'contextual-related-posts' ); ?></span></h3>
248
  <div class="inside">
249
 
250
  <table class="form-table">
260
  do_action( 'crp_admin_output_options_before', $crp_settings );
261
  ?>
262
 
263
+ <tr><th scope="row"><label for="title"><?php esc_html_e( 'Title of related posts:', 'contextual-related-posts' ); ?></label></th>
264
  <td>
265
  <input type="textbox" name="title" id="title" value="<?php echo esc_attr( stripslashes( $crp_settings['title'] ) ); ?>" style="width:250px" />
266
+ <p class="description"><?php printf( esc_html__( 'This is the main heading of the related posts. You can also display the current post title by using %1$s', 'contextual-related-posts' ), '<code>%postname%</code>' ); ?></p>
267
  </td>
268
  </tr>
269
 
270
+ <tr><th scope="row"><label for="blank_output"><?php esc_html_e( 'When there are no posts, what should be shown?', 'contextual-related-posts' ); ?></label></th>
271
  <td>
272
  <label>
273
+ <input type="radio" name="blank_output" value="blank" id="blank_output_0" <?php checked( true, $crp_settings['blank_output'] ); ?> />
274
+ <?php esc_html_e( 'Blank Output', 'contextual-related-posts' ); ?>
275
  </label>
276
  <br />
277
  <label>
278
+ <input type="radio" name="blank_output" value="customs" id="blank_output_1" <?php checked( false, $crp_settings['blank_output'] ); ?> />
279
+ <?php esc_html_e( 'Display:', 'contextual-related-posts' ); ?>
280
  </label>
281
  <input type="textbox" name="blank_output_text" id="blank_output_text" value="<?php echo esc_attr( stripslashes( $crp_settings['blank_output_text'] ) ); ?>" style="width:250px" />
282
  </td>
283
  </tr>
284
 
285
+ <tr><th scope="row"><label for="show_excerpt"><?php esc_html_e( 'Show post excerpt in list?', 'contextual-related-posts' ); ?></label></th>
286
  <td>
287
+ <input type="checkbox" name="show_excerpt" id="show_excerpt" <?php checked( true, $crp_settings['show_excerpt'] ); ?> />
288
+ <p class="description"><?php printf( esc_html__( "Displays the excerpt of the post. If you do not provide an explicit excerpt to a post (in the post editor's optional excerpt field), it will display an automatic excerpt which refers to the first %d words of the post's content", 'contextual-related-posts' ), esc_html_e( $crp_settings['excerpt_length'] ) ); ?></p>
289
 
290
+ <?php if ( 'rounded_thumbs' === $crp_settings['crp_styles'] ) { ?>
291
+ <p style="color: #F00"><?php esc_html_e( 'Rounded Thumbnails style selected under the Custom Styles. Excerpt display is disabled.', 'contextual-related-posts' ); ?></p>
292
  <?php } ?>
293
  </td>
294
  </tr>
295
 
296
+ <tr><th scope="row"><label for="excerpt_length"><?php esc_html_e( 'Length of excerpt (in words):', 'contextual-related-posts' ); ?></label></th>
297
  <td>
298
+ <input type="textbox" name="excerpt_length" id="excerpt_length" value="<?php echo esc_attr( $crp_settings['excerpt_length'] ); ?>" />
299
  </td>
300
  </tr>
301
 
302
+ <tr><th scope="row"><label for="show_author"><?php esc_html_e( 'Show post author in list?', 'contextual-related-posts' ); ?></label></th>
303
  <td>
304
+ <input type="checkbox" name="show_author" id="show_author" <?php checked( true, $crp_settings['show_author'] ); ?> />
305
+ <p class="description"><?php esc_html_e( 'Displays the author name prefixed with "by". e.g. by John Doe', 'contextual-related-posts' ); ?></p>
306
 
307
+ <?php if ( 'rounded_thumbs' === $crp_settings['crp_styles'] ) { ?>
308
+ <p style="color: #F00"><?php esc_html_e( 'Rounded Thumbnails style selected under the Custom Styles. Author display is disabled.', 'contextual-related-posts' ); ?></p>
309
  <?php } ?>
310
  </td>
311
  </tr>
312
 
313
+ <tr><th scope="row"><label for="show_date"><?php esc_html_e( 'Show post date in list?', 'contextual-related-posts' ); ?></label></th>
314
  <td>
315
+ <input type="checkbox" name="show_date" id="show_date" <?php checked( true, $crp_settings['show_date'] ); ?> />
316
+ <p class="description"><?php esc_html_e( 'Displays the date of the post. Uses the same date format set in General Options', 'contextual-related-posts' ); ?></p>
317
 
318
+ <?php if ( 'rounded_thumbs' === $crp_settings['crp_styles'] ) { ?>
319
+ <p style="color: #F00"><?php esc_html_e( 'Rounded Thumbnails style selected under the Custom Styles. Date display is disabled.', 'contextual-related-posts' ); ?></p>
320
  <?php } ?>
321
  </td>
322
  </tr>
323
 
324
+ <tr><th scope="row"><label for="title_length"><?php esc_html_e( 'Limit post title length (in characters)', 'contextual-related-posts' ); ?></label></th>
325
  <td>
326
+ <input type="textbox" name="title_length" id="title_length" value="<?php echo esc_attr( $crp_settings['title_length'] ); ?>" />
327
+ <p class="description"><?php esc_html_e( 'Any title longer than the number of characters set above will be cut and appended with an ellipsis (&hellip;)', 'contextual-related-posts' ); ?></p>
328
  </td>
329
  </tr>
330
 
331
+ <tr><th scope="row"><label for="link_new_window"><?php esc_html_e( 'Open links in new window', 'contextual-related-posts' ); ?></label></th>
332
  <td>
333
+ <input type="checkbox" name="link_new_window" id="link_new_window" <?php checked( true, $crp_settings['link_new_window'] ); ?> /
334
  ></td>
335
  </tr>
336
 
337
+ <tr><th scope="row"><label for="link_nofollow"><?php esc_html_e( 'Add nofollow attribute to links in the list', 'contextual-related-posts' ); ?></label></th>
338
  <td>
339
+ <input type="checkbox" name="link_nofollow" id="link_nofollow" <?php checked( true, $crp_settings['link_nofollow'] ); ?> />
340
  </td>
341
  </tr>
342
 
367
  ?>
368
 
369
  <tr>
370
+ <th scope="row" colspan="2" style="background: #eee; padding-left: 5px;"><?php esc_html_e( 'Exclusion settings:', 'contextual-related-posts' ); ?></th>
371
  </tr>
372
+ <tr><th scope="row"><label for="exclude_on_post_ids"><?php esc_html_e( 'Exclude display of related posts on these posts / pages', 'contextual-related-posts' ); ?></label></th>
373
  <td>
374
+ <input type="textbox" name="exclude_on_post_ids" id="exclude_on_post_ids" value="<?php echo esc_attr( $crp_settings['exclude_on_post_ids'] ); ?>" style="width:250px">
375
+ <p class="description"><?php esc_html_e( 'Comma separated list of post, page or custom post type IDs. e.g. 188,320,500', 'contextual-related-posts' ); ?></p>
376
  </td>
377
  </tr>
378
+ <tr><th scope="row"><?php esc_html_e( 'Exclude display of related posts on these post types.', 'contextual-related-posts' ); ?></th>
379
  <td>
380
  <?php foreach ( $wp_post_types as $wp_post_type ) { ?>
381
  <label>
382
+ <input type="checkbox" name="exclude_on_post_types[]" value="<?php echo esc_attr( $wp_post_type ); ?>" <?php checked( true, in_array( $wp_post_type, $posts_types_excl, true ) ); ?> /><?php echo esc_attr( $wp_post_type ); ?>
383
  </label>&nbsp;&nbsp;
384
  <?php } ?>
385
+ <p class="description"><?php esc_html_e( 'The related posts will not display on any of the above selected post types', 'contextual-related-posts' ); ?></p>
386
  </td>
387
  </tr>
388
 
412
  do_action( 'crp_admin_customize_options_before', $crp_settings );
413
  ?>
414
 
415
+ <tr><th scope="row" colspan="2" style="background: #eee; padding-left: 5px;"><?php esc_html_e( 'Customize the output:', 'contextual-related-posts' ); ?></th>
416
  </tr>
417
+ <tr><th scope="row"><label for="before_list"><?php esc_html_e( 'HTML to display before the list of posts: ', 'contextual-related-posts' ); ?></label></th>
418
+ <td><input type="textbox" name="before_list" id="before_list" value="<?php echo esc_attr( $crp_settings['before_list'] ); ?>" style="width:250px" /></td>
419
  </tr>
420
+ <tr><th scope="row"><label for="before_list_item"><?php esc_html_e( 'HTML to display before each list item: ', 'contextual-related-posts' ); ?></label></th>
421
+ <td><input type="textbox" name="before_list_item" id="before_list_item" value="<?php echo esc_attr( $crp_settings['before_list_item'] ); ?>" style="width:250px" /></td>
422
  </tr>
423
+ <tr><th scope="row"><label for="after_list_item"><?php esc_html_e( 'HTML to display after each list item: ', 'contextual-related-posts' ); ?></label></th>
424
+ <td><input type="textbox" name="after_list_item" id="after_list_item" value="<?php echo esc_attr( $crp_settings['after_list_item'] ); ?>" style="width:250px" /></td>
425
  </tr>
426
+ <tr><th scope="row"><label for="after_list"><?php esc_html_e( 'HTML to display after the list of posts: ', 'contextual-related-posts' ); ?></label></th>
427
+ <td><input type="textbox" name="after_list" id="after_list" value="<?php echo esc_attr( $crp_settings['after_list'] ); ?>" style="width:250px" /></td>
428
  </tr>
429
 
430
  <?php
441
  </table>
442
 
443
  <p>
444
+ <input type="submit" name="crp_save" id="crp_outputop_save" value="<?php esc_attr_e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
445
  </p>
446
 
447
  </div> <!-- // inside -->
448
  </div> <!-- // outputopdiv -->
449
 
450
+ <div id="thumbopdiv" class="postbox"><div class="handlediv" title="<?php esc_attr_e( 'Click to toggle', 'contextual-related-posts' ); ?>"><br /></div>
451
+ <h3 class='hndle'><span><?php esc_html_e( 'Thumbnail options', 'contextual-related-posts' ); ?></span></h3>
452
  <div class="inside">
453
 
454
  <table class="form-table">
464
  do_action( 'crp_admin_thumb_options_before', $crp_settings );
465
  ?>
466
 
467
+ <tr><th scope="row"><label for="post_thumb_op"><?php esc_html_e( 'Location of post thumbnail:', 'contextual-related-posts' ); ?></label></th>
468
  <td>
469
  <label>
470
+ <input type="radio" name="post_thumb_op" value="inline" id="post_thumb_op_0" <?php checked( 'inline', $crp_settings['post_thumb_op'], true ); ?> />
471
+ <?php esc_html_e( 'Display thumbnails inline with posts, before title', 'contextual-related-posts' ); ?>
472
+ </label>
473
  <br />
474
  <label>
475
+ <input type="radio" name="post_thumb_op" value="after" id="post_thumb_op_1" <?php checked( 'after', $crp_settings['post_thumb_op'], true ); ?> />
476
+ <?php esc_html_e( 'Display thumbnails inline with posts, after title', 'contextual-related-posts' ); ?>
477
+ </label>
478
  <br />
479
  <label>
480
+ <input type="radio" name="post_thumb_op" value="thumbs_only" id="post_thumb_op_2" <?php checked( 'thumbs_only', $crp_settings['post_thumb_op'], true ); ?> />
481
+ <?php esc_html_e( 'Display only thumbnails, no text', 'contextual-related-posts' ); ?>
482
+ </label>
483
  <br />
484
  <label>
485
+ <input type="radio" name="post_thumb_op" value="text_only" id="post_thumb_op_3" <?php checked( 'text_only', $crp_settings['post_thumb_op'], true ); ?> />
486
+ <?php esc_html_e( 'Do not display thumbnails, only text.', 'contextual-related-posts' ); ?>
487
+ </label>
488
 
489
+ <?php if ( 'no_style' !== $crp_settings['crp_styles'] ) { ?>
490
+ <p style="color: #F00"><?php printf( esc_html__( 'This setting cannot be changed because an inbuilt style has been selected under the Styles section. If you would like to change this option, please select %1$s under the Styles section.', 'contextual-related-posts' ), '<strong>' . esc_html__( 'No styles', 'contextual-related-posts' ) . '</strong>' ); ?></p>
491
  <?php } ?>
492
  </td>
493
  </tr>
494
+ <tr><th scope="row"><?php esc_html_e( 'Thumbnail size:', 'contextual-related-posts' ); ?></th>
495
  <td>
496
  <?php
497
+ $crp_get_all_image_sizes = crp_get_all_image_sizes();
498
+
499
  if ( isset( $crp_get_all_image_sizes['crp_thumbnail'] ) ) {
500
  unset( $crp_get_all_image_sizes['crp_thumbnail'] );
501
  }
503
  foreach ( $crp_get_all_image_sizes as $size ) :
504
  ?>
505
  <label>
506
+ <input type="radio" name="thumb_size" value="<?php esc_attr_e( $size['name'] ) ?>" id="<?php esc_attr_e( $size['name'] ) ?>" <?php checked( $crp_settings['thumb_size'], $size['name'] ); ?> />
507
+ <?php esc_html_e( $size['name'] ); ?> ( <?php esc_html_e( $size['width'] ); ?>x<?php esc_html_e( $size['height'] ); ?>
508
  <?php
509
  if ( $size['crop'] ) {
510
  echo 'cropped';
516
  <?php endforeach; ?>
517
 
518
  <label>
519
+ <input type="radio" name="thumb_size" value="crp_thumbnail" id="crp_thumbnail" <?php checked( $crp_settings['thumb_size'], 'crp_thumbnail' ); ?> /> <?php esc_html_e( 'Custom size', 'contextual-related-posts' ); ?>
520
  </label>
521
  <p class="description">
522
+ <?php esc_html_e( 'You can choose from existing image sizes above or create a custom size.', 'contextual-related-posts' ); ?><br /><br />
523
+ <?php esc_html_e( 'If you choose an existing size, then the width, height and crop mode settings in the three options below will be automatically updated to reflect the correct dimensions of the setting.', 'contextual-related-posts' ); ?><br />
524
+ <?php esc_html_e( 'If you have chosen Custom size above, then enter the width, height and crop settings below. For best results, use a cropped image with the same width and height. The default setting is 150x150 cropped image.', 'contextual-related-posts' ); ?><br /><br />
525
+ <?php esc_html_e( "Any changes to the thumbnail settings doesn't automatically resize existing images.", 'contextual-related-posts' ); ?>
526
+ <?php printf(
527
+ esc_html__( 'I recommend using %1$s or %2$s to regenerate all image sizes.', 'contextual-related-posts' ),
528
+ '<a href="' . esc_url( network_admin_url( 'plugin-install.php?tab=plugin-information&amp;plugin=otf-regenerate-thumbnails&amp;TB_iframe=true&amp;width=600&amp;height=550' ) ) . '" class="thickbox">OTF Regenerate Thumbnails</a>',
529
+ '<a href="' . esc_url( network_admin_url( 'plugin-install.php?tab=plugin-information&amp;plugin=regenerate-thumbnails&amp;TB_iframe=true&amp;width=600&amp;height=550' ) ) . '" class="thickbox">Regenerate Thumbnails</a>'
530
+ ); ?>
531
  </p>
532
  </td>
533
  </tr>
534
+ <tr><th scope="row"><label for="thumb_width"><?php esc_html_e( 'Width of the thumbnail:', 'contextual-related-posts' ); ?></label></th>
535
+ <td><input type="textbox" name="thumb_width" id="thumb_width" value="<?php echo esc_attr( $crp_settings['thumb_width'] ); ?>" style="width:50px" />px</td>
536
  </tr>
537
+ <tr><th scope="row"><label for="thumb_height"><?php esc_html_e( 'Height of the thumbnail: ', 'contextual-related-posts' ); ?></label></th>
538
  <td>
539
+ <input type="textbox" name="thumb_height" id="thumb_height" value="<?php echo esc_attr( $crp_settings['thumb_height'] ); ?>" style="width:50px" />px
540
  </td>
541
  </tr>
542
+ <tr><th scope="row"><label for="thumb_crop"><?php esc_html_e( 'Crop mode:', 'contextual-related-posts' ); ?></label></th>
543
  <td>
544
+ <input type="checkbox" name="thumb_crop" id="thumb_crop" <?php checked( true, $crp_settings['thumb_crop'] ); ?> />
545
  <p class="description">
546
+ <?php esc_html_e( 'By default, thumbnails will be hard cropped. Uncheck this box to proportionately/soft crop the thumbnails.', 'contextual-related-posts' ); ?>
 
547
  </p>
548
  </td>
549
  </tr>
550
+ <tr><th scope="row"><label for="thumb_html"><?php esc_html_e( 'Image size attributes:', 'contextual-related-posts' ); ?></label></th>
551
  <td>
552
  <label>
553
+ <input type="radio" name="thumb_html" value="css" id="thumb_html_0" <?php checked( 'css', $crp_settings['thumb_html'], true ); ?> />
554
+ <?php esc_html_e( 'Style attributes. e.g.', 'contextual-related-posts' );
555
+ echo ' <code>style="max-width:' . esc_attr( $crp_settings['thumb_width'] ) . 'px;max-height:' . esc_attr( $crp_settings['thumb_height'] ) . 'px;"</code>'; ?>
556
  </label>
557
  <br />
558
  <label>
559
+ <input type="radio" name="thumb_html" value="html" id="thumb_html_1" <?php checked( 'html', $crp_settings['thumb_html'], true ); ?> />
560
+ <?php esc_html_e( 'HTML width and height attributes. e.g.', 'contextual-related-posts' );
561
+ echo ' <code>width="' . esc_attr( $crp_settings['thumb_width'] ) . '" height="' . esc_attr( $crp_settings['thumb_height'] ) . '"</code>' ?>
562
  </label>
563
  <br />
564
  <label>
565
+ <input type="radio" name="thumb_html" value="none" id="thumb_html_1" <?php checked( 'none', $crp_settings['thumb_html'], true ); ?> />
566
+ <?php esc_html_e( 'No HTML or Style attributes', 'contextual-related-posts' ); ?>
567
  </label>
568
  <br />
569
  </td>
570
  </tr>
571
+ <tr><th scope="row"><label for="thumb_meta"><?php esc_html_e( 'Post thumbnail meta field name:', 'contextual-related-posts' ); ?></label></th>
572
+ <td><input type="textbox" name="thumb_meta" id="thumb_meta" value="<?php echo esc_attr( $crp_settings['thumb_meta'] ); ?>">
573
+ <p class="description"><?php printf( esc_html__( 'The value of this field should contain a direct link to the image. This is set in the meta box in the %1$s screen.', 'contextual-related-posts' ), '<strong>' . esc_html__( 'Add New Post', 'contextual-related-posts' ) . '</strong>' ); ?></p>
574
  </td>
575
  </tr>
576
+ <tr><th scope="row"><label for="scan_images"><?php esc_html_e( 'Extract the first image from the post?', 'contextual-related-posts' ); ?></label></th>
577
+ <td><input type="checkbox" name="scan_images" id="scan_images" <?php checked( true, $crp_settings['scan_images'] ); ?> />
578
+ <p class="description"><?php esc_html_e( 'This will only happen if there is no post thumbnail set and no image URL is specified in the meta field.', 'contextual-related-posts' ); ?></p>
579
  </td>
580
  </tr>
581
+ <tr><th scope="row"><label for="thumb_default_show"><?php esc_html_e( 'Use default thumbnail?', 'contextual-related-posts' ); ?></label></th>
582
+ <td><input type="checkbox" name="thumb_default_show" id="thumb_default_show" <?php checked( true, $crp_settings['thumb_default_show'] ); ?> />
583
+ <p class="description"><?php esc_html_e( 'If checked, when no thumbnail is found, show a default one from the URL below. If not checked and no thumbnail is found, no image will be shown.', 'contextual-related-posts' ); ?></p>
584
  </td>
585
  </tr>
586
+ <tr><th scope="row"><label for="thumb_default"><?php esc_html_e( 'Default thumbnail:', 'contextual-related-posts' ); ?></label></th>
587
+ <td><input type="textbox" name="thumb_default" id="thumb_default" value="<?php echo esc_attr( $crp_settings['thumb_default'] ); ?>" style="width:100%">
588
+ <?php
589
+ if ( ! empty( $crp_settings['thumb_default'] ) ) {
590
+ printf( '<img src="%1$s" style="max-width:200px" />', esc_url( $crp_settings['thumb_default'] ) );
591
+ }
592
+ ?>
593
+ <p class="description"><?php esc_html_e( "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified above.", 'contextual-related-posts' ); ?></p>
594
  </td>
595
  </tr>
596
 
608
  </table>
609
 
610
  <p>
611
+ <input type="submit" name="crp_save" id="crp_thumbop_save" value="<?php esc_attr_e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
612
  </p>
613
 
614
  </div> <!-- // inside -->
615
  </div> <!-- // outputopdiv -->
616
 
617
+ <div id="customcssdiv" class="postbox"><div class="handlediv" title="<?php esc_attr_e( 'Click to toggle', 'contextual-related-posts' ); ?>"><br /></div>
618
+ <h3 class='hndle'><span><?php esc_html_e( 'Styles', 'contextual-related-posts' ); ?></span></h3>
619
  <div class="inside">
620
 
621
  <table class="form-table">
631
  do_action( 'crp_admin_custom_styles_before', $crp_settings );
632
  ?>
633
 
634
+ <tr><th scope="row"><?php esc_html_e( 'Style of the related posts:', 'contextual-related-posts' ); ?></th>
635
  <td>
636
  <label>
637
+ <input type="radio" name="crp_styles" value="no_style" id="crp_styles_1" <?php checked( 'no_style', $crp_settings['crp_styles'] ); ?> /> <?php esc_html_e( 'No styles', 'contextual-related-posts' ); ?>
638
  </label>
639
+ <p class="description"><?php esc_html_e( 'Select this option if you plan to add your own styles', 'contextual-related-posts' ); ?></p>
640
  <br />
641
 
642
  <label>
643
+ <input type="radio" name="crp_styles" value="rounded_thumbs" id="crp_styles_0" <?php if ( $crp_settings['include_default_style'] && ( 'rounded_thumbs' === $crp_settings['crp_styles'] ) ) { echo 'checked="checked"'; } ?> /> <?php esc_html_e( 'Rounded Thumbnails', 'contextual-related-posts' ); ?>
644
  </label>
645
+ <p class="description"><img src="<?php echo esc_url( plugins_url( 'admin/images/crp-rounded-thumbs.png', CRP_PLUGIN_FILE ) ); ?>" /></p>
646
+ <p class="description"><?php esc_html_e( 'Enabling this option will turn on the thumbnails and set their width and height to 150px. It will also turn off the display of the author, excerpt and date if already enabled. Disabling this option will not revert any settings.', 'contextual-related-posts' ); ?></p>
647
+ <p class="description"><?php printf(
648
+ esc_html__( 'You can view the default style at %s', 'contextual-related-posts' ),
649
+ '<a href="' . esc_url( 'https://github.com/WebberZone/contextual-related-posts/blob/master/css/default-style.css' ) . '" target="_blank">' . esc_url( 'https://github.com/WebberZone/contextual-related-posts/blob/master/css/default-style.css' ) . '</a>'
650
+ ); ?></p>
651
  <br />
652
 
653
  <label>
654
+ <input type="radio" name="crp_styles" value="text_only" id="crp_styles_1" <?php checked( 'text_only', $crp_settings['crp_styles'] ); ?> /> <?php esc_html_e( 'Text only', 'contextual-related-posts' ); ?>
655
  </label>
656
+ <p class="description"><?php esc_html_e( 'Enabling this option will disable thumbnails and no longer include the default style sheet included in the plugin.', 'contextual-related-posts' ); ?></p>
657
 
658
  <?php
659
  /**
668
 
669
  </td>
670
  </tr>
671
+ <tr><th scope="row" colspan="2"><?php esc_html_e( 'Custom CSS to add to header:', 'contextual-related-posts' ); ?></th>
672
  </tr>
673
  <tr>
674
+ <td scope="row" colspan="2">
675
+ <textarea name="custom_CSS" id="custom_CSS" rows="15" cols="80" style="width:100%"><?php esc_html_e( $crp_settings['custom_CSS'] ); ?></textarea>
676
+ <p class="description"><?php printf( esc_html__( 'Do not include %1$s tags. Check out the %2$s for available CSS classes to style.', 'contextual-related-posts' ), '<code>style</code>', '<a href="http://wordpress.org/extend/plugins/contextual-related-posts/faq/" target="_blank">FAQ</a>' ); ?></p>
677
+ </td>
678
+ </tr>
679
 
680
  <?php
681
  /**
691
  </table>
692
 
693
  <p>
694
+ <input type="submit" name="crp_save" id="crp_customcss_save" value="<?php esc_attr_e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
695
  </p>
696
 
697
  </div> <!-- // inside -->
698
  </div> <!-- // customcssdiv -->
699
 
700
+ <div id="feedopdiv" class="postbox"><div class="handlediv" title="<?php esc_attr_e( 'Click to toggle', 'contextual-related-posts' ); ?>"><br /></div>
701
+ <h3 class='hndle'><span><?php esc_html_e( 'Feed options', 'contextual-related-posts' ); ?></span></h3>
702
  <div class="inside">
703
 
704
  <table class="form-table">
714
  do_action( 'crp_admin_feed_options_before', $crp_settings );
715
  ?>
716
 
717
+ <tr><th scope="row" colspan="2"><?php esc_html_e( 'Below options override the related posts settings for your blog feed. These only apply if you have selected to add related posts to Feeds in the General Options tab.', 'contextual-related-posts' ); ?></th>
718
  </tr>
719
+ <tr><th scope="row"><label for="limit_feed"><?php esc_html_e( 'Number of related posts to display: ', 'contextual-related-posts' ); ?></label></th>
720
+ <td><input type="textbox" name="limit_feed" id="limit_feed" value="<?php echo esc_attr( $crp_settings['limit_feed'] ); ?>"></td>
721
  </tr>
722
+ <tr><th scope="row"><label for="show_excerpt_feed"><?php esc_html_e( 'Show post excerpt in list?', 'contextual-related-posts' ); ?></label></th>
723
+ <td><input type="checkbox" name="show_excerpt_feed" id="show_excerpt_feed" <?php checked( true, $crp_settings['show_excerpt_feed'] ); ?> /></td>
724
  </tr>
725
+ <tr><th scope="row"><label for="post_thumb_op_feed"><?php esc_html_e( 'Location of post thumbnail:', 'contextual-related-posts' ); ?></label></th>
726
  <td>
727
  <label>
728
+ <input type="radio" name="post_thumb_op_feed" value="inline" id="post_thumb_op_feed_0" <?php checked( 'inline', $crp_settings['post_thumb_op_feed'] ); ?> />
729
+ <?php esc_html_e( 'Display thumbnails inline with posts, before title', 'contextual-related-posts' ); ?></label>
730
  <br />
731
  <label>
732
+ <input type="radio" name="post_thumb_op_feed" value="after" id="post_thumb_op_feed_1" <?php checked( 'after', $crp_settings['post_thumb_op_feed'] ); ?> />
733
+ <?php esc_html_e( 'Display thumbnails inline with posts, after title', 'contextual-related-posts' ); ?></label>
734
  <br />
735
  <label>
736
+ <input type="radio" name="post_thumb_op_feed" value="thumbs_only" id="post_thumb_op_feed_2" <?php checked( 'thumbs_only', $crp_settings['post_thumb_op_feed'] ); ?> />
737
+ <?php esc_html_e( 'Display only thumbnails, no text', 'contextual-related-posts' ); ?></label>
738
  <br />
739
  <label>
740
+ <input type="radio" name="post_thumb_op_feed" value="text_only" id="post_thumb_op_feed_3" <?php checked( 'text_only', $crp_settings['post_thumb_op_feed'] ); ?> />
741
+ <?php esc_html_e( 'Do not display thumbnails, only text.', 'contextual-related-posts' ); ?></label>
742
  <br />
743
  </td>
744
  </tr>
745
+ <tr><th scope="row"><label for="thumb_width_feed"><?php esc_html_e( 'Maximum width of the thumbnail: ', 'contextual-related-posts' ); ?></label></th>
746
+ <td><input type="textbox" name="thumb_width_feed" id="thumb_width_feed" value="<?php echo esc_attr( $crp_settings['thumb_width_feed'] ); ?>" style="width:50px" />px</td>
747
  </tr>
748
+ <tr><th scope="row"><label for="thumb_height_feed"><?php esc_html_e( 'Maximum height of the thumbnail: ', 'contextual-related-posts' ); ?></label></th>
749
+ <td><input type="textbox" name="thumb_height_feed" id="thumb_height_feed" value="<?php echo esc_attr( $crp_settings['thumb_height_feed'] ); ?>" style="width:50px" />px</td>
750
  </tr>
751
 
752
  <?php
763
  </table>
764
 
765
  <p>
766
+ <input type="submit" name="crp_save" id="crp_feedop_save" value="<?php esc_attr_e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
767
  </p>
768
 
769
  </div> <!-- // inside -->
779
  ?>
780
 
781
  <p>
782
+ <input type="submit" name="crp_save" id="crp_save" value="<?php esc_attr_e( 'Save Options', 'contextual-related-posts' ); ?>" class="button button-primary" />
783
+ <input name="crp_default" type="submit" id="crp_default" value="<?php esc_attr_e( 'Default Options', 'contextual-related-posts' ); ?>" class="button button-secondary" onclick="if (!confirm('<?php esc_attr_e( 'Do you want to set options to Default?', 'contextual-related-posts' ); ?>')) return false;" />
784
+ <input name="crp_recreate" type="submit" id="crp_recreate" value="<?php esc_attr_e( 'Recreate Index', 'contextual-related-posts' ); ?>" class="button button-secondary" onclick="if (!confirm('<?php esc_attr_e( 'Are you sure you want to recreate the index?', 'contextual-related-posts' ); ?>')) return false;" />
785
  </p>
786
 
787
  <?php if ( ! $wpdb->get_results( "SHOW INDEX FROM {$wpdb->posts} where Key_name = 'crp_related'" ) || ! $wpdb->get_results( "SHOW INDEX FROM {$wpdb->posts} where Key_name = 'crp_related_title'" ) || ! $wpdb->get_results( "SHOW INDEX FROM {$wpdb->posts} where Key_name = 'crp_related_content'" ) ) { ?>
788
  <div class="notice error">
789
+ <?php printf( esc_html__( 'One or more FULLTEXT indices are missing. Please hit the %1$s at the bottom of the page to fix this.', 'contextual-related-posts' ), '<a href="#crp_recreate">' . esc_html__( 'Recreate Index button', 'contextual-related-posts' ) . '</a>' ); ?>
790
  </div>
791
  <?php } ?>
792
+
793
+ <div class="inside">
794
+ <p><?php esc_html_e( 'If the Recreate Index button fails, please run the following queries in phpMyAdmin or Adminer', 'contextual-related-posts' ); ?></p>
795
+ <p>
796
+ <code>ALTER TABLE <?php esc_attr_e( $wpdb->posts ); ?> DROP INDEX crp_related;</code><br />
797
+ <code>ALTER TABLE <?php esc_attr_e( $wpdb->posts ); ?> DROP INDEX crp_related_title;</code><br />
798
+ <code>ALTER TABLE <?php esc_attr_e( $wpdb->posts ); ?> DROP INDEX crp_related_content;</code><br />
799
+ <code>ALTER TABLE <?php esc_attr_e( $wpdb->posts ); ?> ADD FULLTEXT crp_related (post_title, post_content);</code><br />
800
+ <code>ALTER TABLE <?php esc_attr_e( $wpdb->posts ); ?> ADD FULLTEXT crp_related_title (post_title);</code><br />
801
+ <code>ALTER TABLE <?php esc_attr_e( $wpdb->posts ); ?> ADD FULLTEXT crp_related_content (post_content);</code><br />
802
+ </p>
803
+ </div>
804
+
805
  <?php wp_nonce_field( 'crp-plugin-settings' ) ?>
806
  </form>
807
  </div><!-- /post-body-content -->
admin/metabox.php CHANGED
@@ -19,16 +19,16 @@ if ( ! defined( 'WPINC' ) ) {
19
  *
20
  * @since 1.9.1
21
  *
22
- * @param text $post_type
23
- * @param object $post
24
  */
25
  function crp_add_meta_box( $post_type, $post ) {
26
  global $crp_settings;
27
 
28
- // If metaboxes are disabled, then exit
29
  if ( ! $crp_settings['show_metabox'] ) { return; }
30
 
31
- // If current user isn't an admin and we're restricting metaboxes to admins only, then exit
32
  if ( ! current_user_can( 'manage_options' ) && $crp_settings['show_metabox_admins'] ) { return; }
33
 
34
  $args = array(
@@ -71,21 +71,27 @@ function crp_call_meta_box() {
71
  /**** Add an nonce field so we can check for it later. ****/
72
  wp_nonce_field( 'crp_meta_box', 'crp_meta_box_nonce' );
73
 
74
- /**** Get the thumbnail settings. The name of the meta key is defined in thumb_meta parameter of the CRP Settings array ****/
75
  $crp_thumb_meta = get_post_meta( $post->ID, $crp_settings['thumb_meta'], true );
76
  $value = ( $crp_thumb_meta ) ? $crp_thumb_meta : '';
77
 
78
- /**** Get related posts specific meta ****/
79
  $crp_post_meta = get_post_meta( $post->ID, 'crp_post_meta', true );
80
 
81
- // Disable option
82
  if ( isset( $crp_post_meta['crp_disable_here'] ) ) {
83
- $crp_disable_here = $crp_post_meta['crp_disable_here'];
84
  } else {
85
- $crp_disable_here = 0;
86
  }
87
 
88
- // Manual related
 
 
 
 
 
 
89
  if ( isset( $crp_post_meta['manual_related'] ) ) {
90
  $manual_related = $crp_post_meta['manual_related'];
91
  } else {
@@ -95,23 +101,29 @@ function crp_call_meta_box() {
95
 
96
  ?>
97
  <p>
98
- <label for="crp_disable_here"><strong><?php _e( 'Disable Related Posts display:', 'contextual-related-posts' ); ?></strong></label>
99
- <input type="checkbox" id="crp_disable_here" name="crp_disable_here" <?php if ( 1 == $crp_disable_here ) { echo ' checked="checked" '; } ?> />
100
  <br />
101
- <em><?php _e( 'If this is checked, then Contextual Related Posts will not automatically insert the related posts at the end of post content.', 'contextual-related-posts' ); ?></em>
102
  </p>
103
 
 
 
 
 
 
 
104
 
105
  <p>
106
- <label for="thumb_meta"><strong><?php _e( 'Manual related posts:', 'contextual-related-posts' ); ?></strong></label>
107
  <input type="text" id="manual_related" name="manual_related" value="<?php echo esc_attr( $manual_related ) ?>" style="width:100%" />
108
- <em><?php _e( 'Comma separated list of post, page or custom post type IDs. e.g. 188,320,500. These will be given preference over the related posts generated by the plugin.', 'contextual-related-posts' ); ?></em>
109
- <em><?php _e( 'Once you enter the list above and save this page, the plugin will display the titles of the posts below for your reference. Only IDs corresponding to published posts or custom post types will be retained.', 'contextual-related-posts' ); ?></em>
110
  </p>
111
 
112
  <?php if ( ! empty( $manual_related ) ) { ?>
113
 
114
- <strong><?php _e( 'Manual related posts:', 'contextual-related-posts' ); ?></strong>
115
  <ol>
116
  <?php
117
  foreach ( $manual_related_array as $manual_related_post ) {
@@ -119,9 +131,11 @@ function crp_call_meta_box() {
119
  echo '<li>';
120
 
121
  $title = get_the_title( $manual_related_post );
122
- echo '<a href="' . get_permalink( $manual_related_post ) . '" target="_blank" title="' . $title . '" class="wherego_title">' . $title . '</a>. ';
123
- _e( 'This post type is:' );
124
- echo ' <em>' . get_post_type( $manual_related_post ) . '</em>';
 
 
125
 
126
  echo '</li>';
127
  }
@@ -130,21 +144,21 @@ function crp_call_meta_box() {
130
  <?php } ?>
131
 
132
  <p>
133
- <label for="thumb_meta"><strong><?php _e( 'Location of thumbnail:', 'contextual-related-posts' ); ?></strong></label>
134
- <input type="text" id="thumb_meta" name="thumb_meta" value="<?php echo esc_attr( $value ) ?>" style="width:100%" />
135
- <em><?php _e( "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This image will be used for the post. It will be resized to the thumbnail size set under Settings &raquo; Related Posts &raquo; Output Options", 'contextual-related-posts' ); ?></em>
136
- <em><?php _e( 'The URL above is saved in the meta field:', 'contextual-related-posts' ); ?></em> <strong><?php echo $crp_settings['thumb_meta']; ?></strong>
137
  </p>
138
 
139
  <p>
140
  <?php if ( function_exists( 'tptn_add_viewed_count' ) ) { ?>
141
- <em style="color:red"><?php _e( "You have Top 10 WordPress Plugin installed. If you are trying to modify the thumbnail, then you'll need to make the same change in the Top 10 meta box on this page.", 'contextual-related-posts' ); ?></em>
142
  <?php } ?>
143
  </p>
144
 
145
  <?php
146
  if ( $crp_thumb_meta ) {
147
- echo '<img src="' . $value . '" style="max-width:100%" />';
148
  }
149
  ?>
150
 
@@ -165,57 +179,57 @@ function crp_call_meta_box() {
165
  *
166
  * @since 1.9.1
167
  *
168
- * @param mixed $post_id
169
  */
170
  function crp_save_meta_box( $post_id ) {
171
  global $crp_settings;
172
 
173
  $crp_post_meta = array();
174
 
175
- /**** Bail if we're doing an auto save ****/
176
  if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) { return; }
177
 
178
- /**** if our nonce isn't there, or we can't verify it, bail ****/
179
- if ( ! isset( $_POST['crp_meta_box_nonce'] ) || ! wp_verify_nonce( $_POST['crp_meta_box_nonce'], 'crp_meta_box' ) ) { return; }
180
-
181
- /**** if our current user can't edit this post, bail ****/
182
- if ( ! current_user_can( 'edit_posts' ) ) { return; }
183
-
184
- /**** Now we can start saving ****/
185
- if ( isset( $_POST['thumb_meta'] ) ) {
186
- $thumb_meta = $_POST['thumb_meta'] == '' ? '' : ( $_POST['thumb_meta'] );
187
  }
188
 
189
- $crp_thumb_meta = get_post_meta( $post_id, $crp_settings['thumb_meta'], true );
 
 
 
190
 
191
- if ( $crp_thumb_meta && '' != $crp_thumb_meta ) {
192
- $gotmeta = true;
193
- } else {
194
- $gotmeta = false;
195
  }
196
 
197
- if ( $gotmeta && '' != $thumb_meta ) {
198
  update_post_meta( $post_id, $crp_settings['thumb_meta'], $thumb_meta );
199
- } elseif ( ! $gotmeta && '' != $thumb_meta ) {
200
- add_post_meta( $post_id, $crp_settings['thumb_meta'], $thumb_meta );
201
  } else {
202
  delete_post_meta( $post_id, $crp_settings['thumb_meta'] );
203
  }
204
 
205
- // Disable posts
206
- if ( isset( $_POST['crp_disable_here'] ) ) {
207
  $crp_post_meta['crp_disable_here'] = 1;
208
  } else {
209
  $crp_post_meta['crp_disable_here'] = 0;
210
  }
211
 
212
- // Save Manual related posts
 
 
 
 
 
 
213
  if ( isset( $_POST['manual_related'] ) ) {
214
 
215
- $manual_related_array = array_map( 'intval', explode( ',', $_POST['manual_related'] ) );
216
 
217
  foreach ( $manual_related_array as $key => $value ) {
218
- if ( 'publish' != get_post_status( $value ) ) {
219
  unset( $manual_related_array[ $key ] );
220
  }
221
  }
@@ -238,7 +252,7 @@ function crp_save_meta_box( $post_id ) {
238
  if ( empty( $crp_post_meta_filtered ) ) { // Checks if all the array items are 0 or empty
239
  delete_post_meta( $post_id, 'crp_post_meta' ); // Delete the post meta if no options are set
240
  } else {
241
- update_post_meta( $post_id, 'crp_post_meta', $crp_post_meta );
242
  }
243
 
244
  /**
19
  *
20
  * @since 1.9.1
21
  *
22
+ * @param text $post_type Post Type.
23
+ * @param object $post Post object.
24
  */
25
  function crp_add_meta_box( $post_type, $post ) {
26
  global $crp_settings;
27
 
28
+ // If metaboxes are disabled, then exit.
29
  if ( ! $crp_settings['show_metabox'] ) { return; }
30
 
31
+ // If current user isn't an admin and we're restricting metaboxes to admins only, then exit.
32
  if ( ! current_user_can( 'manage_options' ) && $crp_settings['show_metabox_admins'] ) { return; }
33
 
34
  $args = array(
71
  /**** Add an nonce field so we can check for it later. ****/
72
  wp_nonce_field( 'crp_meta_box', 'crp_meta_box_nonce' );
73
 
74
+ // Get the thumbnail settings. The name of the meta key is defined in thumb_meta parameter of the CRP Settings array.
75
  $crp_thumb_meta = get_post_meta( $post->ID, $crp_settings['thumb_meta'], true );
76
  $value = ( $crp_thumb_meta ) ? $crp_thumb_meta : '';
77
 
78
+ // Get related posts specific meta.
79
  $crp_post_meta = get_post_meta( $post->ID, 'crp_post_meta', true );
80
 
81
+ // Disable display option.
82
  if ( isset( $crp_post_meta['crp_disable_here'] ) ) {
83
+ $disable_here = $crp_post_meta['crp_disable_here'];
84
  } else {
85
+ $disable_here = 0;
86
  }
87
 
88
+ if ( isset( $crp_post_meta['exclude_this_post'] ) ) {
89
+ $exclude_this_post = $crp_post_meta['exclude_this_post'];
90
+ } else {
91
+ $exclude_this_post = 0;
92
+ }
93
+
94
+ // Manual related.
95
  if ( isset( $crp_post_meta['manual_related'] ) ) {
96
  $manual_related = $crp_post_meta['manual_related'];
97
  } else {
101
 
102
  ?>
103
  <p>
104
+ <label for="crp_disable_here"><strong><?php esc_html_e( 'Disable Related Posts display:', 'contextual-related-posts' ); ?></strong></label>
105
+ <input type="checkbox" id="crp_disable_here" name="crp_disable_here" <?php checked( 1, $disable_here, true ); ?> />
106
  <br />
107
+ <em><?php esc_html_e( 'If this is checked, then Contextual Related Posts will not automatically insert the related posts at the end of post content.', 'contextual-related-posts' ); ?></em>
108
  </p>
109
 
110
+ <p>
111
+ <label for="crp_exclude_this_post"><strong><?php esc_html_e( 'Exclude this post from the related posts list:', 'contextual-related-posts' ); ?></strong></label>
112
+ <input type="checkbox" id="crp_exclude_this_post" name="crp_exclude_this_post" <?php checked( 1, $exclude_this_post, true ); ?> />
113
+ <br />
114
+ <em><?php esc_html_e( 'If this is checked, then this post will be excluded from the popular posts list.', 'contextual-related-posts' ); ?></em>
115
+ </p>
116
 
117
  <p>
118
+ <label for="manual_related"><strong><?php esc_html_e( 'Manual related posts:', 'contextual-related-posts' ); ?></strong></label>
119
  <input type="text" id="manual_related" name="manual_related" value="<?php echo esc_attr( $manual_related ) ?>" style="width:100%" />
120
+ <em><?php esc_html_e( 'Comma separated list of post, page or custom post type IDs. e.g. 188,320,500. These will be given preference over the related posts generated by the plugin.', 'contextual-related-posts' ); ?></em>
121
+ <em><?php esc_html_e( 'Once you enter the list above and save this page, the plugin will display the titles of the posts below for your reference. Only IDs corresponding to published posts or custom post types will be retained.', 'contextual-related-posts' ); ?></em>
122
  </p>
123
 
124
  <?php if ( ! empty( $manual_related ) ) { ?>
125
 
126
+ <strong><?php esc_html_e( 'Manual related posts:', 'contextual-related-posts' ); ?></strong>
127
  <ol>
128
  <?php
129
  foreach ( $manual_related_array as $manual_related_post ) {
131
  echo '<li>';
132
 
133
  $title = get_the_title( $manual_related_post );
134
+ echo '<a href="' . esc_url( get_permalink( $manual_related_post ) ) . '" target="_blank" title="' . esc_attr( $title ) . '" class="wherego_title">' . esc_attr( $title ) . '</a>. ';
135
+ printf(
136
+ esc_html__( 'This post type is: %s', 'contextual-related-posts' ),
137
+ '<em>' . esc_html__( get_post_type( $manual_related_post ) ) . '</em>'
138
+ );
139
 
140
  echo '</li>';
141
  }
144
  <?php } ?>
145
 
146
  <p>
147
+ <label for="crp_thumb_meta"><strong><?php esc_html_e( 'Location of thumbnail', 'contextual-related-posts' ); ?>:</strong></label>
148
+ <input type="text" id="crp_thumb_meta" name="crp_thumb_meta" value="<?php echo esc_attr( $value ) ?>" style="width:100%" />
149
+ <em><?php esc_html_e( "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This image will be used for the post. It will be resized to the thumbnail size set under Settings &raquo; Related Posts &raquo; Output Options", 'contextual-related-posts' ); ?></em>
150
+ <em><?php esc_html_e( 'The URL above is saved in the meta field:', 'contextual-related-posts' ); ?></em> <strong><?php esc_html_e( $crp_settings['thumb_meta'] ); ?></strong>
151
  </p>
152
 
153
  <p>
154
  <?php if ( function_exists( 'tptn_add_viewed_count' ) ) { ?>
155
+ <em style="color:red"><?php esc_html_e( "You have Top 10 WordPress Plugin installed. If you are trying to modify the thumbnail, then you'll need to make the same change in the Top 10 meta box on this page.", 'contextual-related-posts' ); ?></em>
156
  <?php } ?>
157
  </p>
158
 
159
  <?php
160
  if ( $crp_thumb_meta ) {
161
+ echo '<img src="' . esc_attr( $value ) . '" style="max-width:100%" />';
162
  }
163
  ?>
164
 
179
  *
180
  * @since 1.9.1
181
  *
182
+ * @param mixed $post_id Post ID.
183
  */
184
  function crp_save_meta_box( $post_id ) {
185
  global $crp_settings;
186
 
187
  $crp_post_meta = array();
188
 
189
+ // Bail if we're doing an auto save.
190
  if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) { return; }
191
 
192
+ // If our nonce isn't there, or we can't verify it, bail.
193
+ if ( ! isset( $_POST['crp_meta_box_nonce'] ) || ! wp_verify_nonce( sanitize_key( $_POST['crp_meta_box_nonce'] ), 'crp_meta_box' ) ) { // Input var okay.
194
+ return;
 
 
 
 
 
 
195
  }
196
 
197
+ // If our current user can't edit this post, bail.
198
+ if ( ! current_user_can( 'edit_post', $post_id ) ) {
199
+ return;
200
+ }
201
 
202
+ // Update the thumbnail URL.
203
+ if ( isset( $_POST['crp_thumb_meta'] ) ) {
204
+ $thumb_meta = empty( $_POST['crp_thumb_meta'] ) ? '' : sanitize_text_field( wp_unslash( $_POST['crp_thumb_meta'] ) ); // Input var okay.
 
205
  }
206
 
207
+ if ( ! empty( $thumb_meta ) ) {
208
  update_post_meta( $post_id, $crp_settings['thumb_meta'], $thumb_meta );
 
 
209
  } else {
210
  delete_post_meta( $post_id, $crp_settings['thumb_meta'] );
211
  }
212
 
213
+ // Disable posts.
214
+ if ( isset( $_POST['crp_disable_here'] ) ) { // Input var okay.
215
  $crp_post_meta['crp_disable_here'] = 1;
216
  } else {
217
  $crp_post_meta['crp_disable_here'] = 0;
218
  }
219
 
220
+ if ( isset( $_POST['crp_exclude_this_post'] ) ) { // Input var okay.
221
+ $crp_post_meta['exclude_this_post'] = 1;
222
+ } else {
223
+ $crp_post_meta['exclude_this_post'] = 0;
224
+ }
225
+
226
+ // Save Manual related posts.
227
  if ( isset( $_POST['manual_related'] ) ) {
228
 
229
+ $manual_related_array = array_map( 'absint', explode( ',', $_POST['manual_related'] ) );
230
 
231
  foreach ( $manual_related_array as $key => $value ) {
232
+ if ( 'publish' !== get_post_status( $value ) ) {
233
  unset( $manual_related_array[ $key ] );
234
  }
235
  }
252
  if ( empty( $crp_post_meta_filtered ) ) { // Checks if all the array items are 0 or empty
253
  delete_post_meta( $post_id, 'crp_post_meta' ); // Delete the post meta if no options are set
254
  } else {
255
+ update_post_meta( $post_id, 'crp_post_meta', $crp_post_meta_filtered );
256
  }
257
 
258
  /**
admin/sidebar-view.php CHANGED
@@ -16,65 +16,50 @@ if ( ! defined( 'WPINC' ) ) {
16
 
17
  ?>
18
 
19
- <div id="donatediv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
20
- <h3 class='hndle'><span><?php _e( 'Support the development', 'contextual-related-posts' ); ?></span></h3>
21
- <div class="inside">
22
  <div id="donate-form">
23
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
24
  <input type="hidden" name="cmd" value="_xclick">
25
  <input type="hidden" name="business" value="donate@ajaydsouza.com">
26
  <input type="hidden" name="lc" value="IN">
27
- <input type="hidden" name="item_name" value="<?php _e( 'Donation for Contextual Related Posts', 'contextual-related-posts' ); ?>">
28
  <input type="hidden" name="item_number" value="crp_plugin_settings">
29
- <strong><?php _e( 'Enter amount in USD:', 'contextual-related-posts' ); ?></strong> <input name="amount" value="10.00" size="6" type="text"><br />
30
  <input type="hidden" name="currency_code" value="USD">
31
  <input type="hidden" name="button_subtype" value="services">
32
  <input type="hidden" name="bn" value="PP-BuyNowBF:btn_donate_LG.gif:NonHosted">
33
- <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="<?php _e( 'Send your donation to the author of', 'contextual-related-posts' ); ?> Contextual Related Posts?">
34
  <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
35
  </form>
36
  </div>
37
- </div>
38
  </div>
39
 
40
- <div id="followdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
41
- <h3 class='hndle'><span><?php _e( 'Follow me', 'contextual-related-posts' ); ?></span></h3>
42
- <div class="inside">
43
- <div id="twitter">
44
- <div style="text-align:center"><a href="https://twitter.com/WebberZoneWP" class="twitter-follow-button" data-show-count="false" data-size="large" data-dnt="true">Follow @WebberZoneWP</a>
45
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></div>
 
 
 
 
 
 
 
 
46
  </div>
47
- <div id="facebook">
48
- <div id="fb-root"></div>
49
- <script>
50
- //<![CDATA[
51
- (function(d, s, id) {
52
- var js, fjs = d.getElementsByTagName(s)[0];
53
- if (d.getElementById(id)) return;
54
- js = d.createElement(s); js.id = id;
55
- js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.4&appId=458036114376706";
56
- fjs.parentNode.insertBefore(js, fjs);
57
- }(document, 'script', 'facebook-jssdk'));
58
- //]]>
59
- </script>
60
- <div class="fb-page" data-href="https://www.facebook.com/WebberZone" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false" data-show-posts="false"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/WebberZone"><a href="https://www.facebook.com/WebberZone">WebberZone</a></blockquote></div></div>
61
  </div>
62
- </div>
63
  </div>
64
 
65
- <div id="qlinksdiv" class="postbox"><div class="handlediv" title="Click to toggle"><br /></div>
66
- <h3 class='hndle'><span><?php _e( 'Quick links', 'contextual-related-posts' ); ?></span></h3>
67
- <div class="inside">
68
- <div id="quick-links">
69
- <ul>
70
- <li><a href="https://webberzone.com/plugins/contextual-related-posts/"><?php _e( 'Plugin homepage', 'contextual-related-posts' ); ?></a></li>
71
- <li><a href="https://wordpress.org/plugins/contextual-related-posts/faq/"><?php _e( 'FAQ', 'contextual-related-posts' ); ?></a></li>
72
- <li><a href="http://wordpress.org/support/plugin/contextual-related-posts"><?php _e( 'Support', 'contextual-related-posts' ); ?></a></li>
73
- <li><a href="https://wordpress.org/support/view/plugin-reviews/contextual-related-posts"><?php _e( 'Reviews', 'contextual-related-posts' ); ?></a></li>
74
- <li><a href="https://github.com/WebberZone/contextual-related-posts"><?php _e( 'Github repository', 'contextual-related-posts' ); ?></a></li>
75
- <li><a href="https://webberzone.com/plugins/"><?php _e( 'Other plugins', 'contextual-related-posts' ); ?></a></li>
76
- <li><a href="https://webberzone.com/"><?php _e( "Ajay's blog", 'contextual-related-posts' ); ?></a></li>
77
- </ul>
78
- </div>
79
- </div>
80
  </div>
 
16
 
17
  ?>
18
 
19
+ <div id="donatediv" class="postbox"><div class="handlediv" title="<?php esc_html_e( 'Click to toggle', 'contextual-related-posts' ); ?>"><br /></div>
20
+ <h3 class='hndle'><span><?php esc_html_e( 'Support the development', 'contextual-related-posts' ); ?></span></h3>
21
+ <div class="inside">
22
  <div id="donate-form">
23
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
24
  <input type="hidden" name="cmd" value="_xclick">
25
  <input type="hidden" name="business" value="donate@ajaydsouza.com">
26
  <input type="hidden" name="lc" value="IN">
27
+ <input type="hidden" name="item_name" value="<?php esc_attr_e( 'Donation for Contextual Related Posts', 'contextual-related-posts' ); ?>">
28
  <input type="hidden" name="item_number" value="crp_plugin_settings">
29
+ <strong><?php esc_html_e( 'Enter amount in USD:', 'contextual-related-posts' ); ?></strong> <input name="amount" value="10.00" size="6" type="text"><br />
30
  <input type="hidden" name="currency_code" value="USD">
31
  <input type="hidden" name="button_subtype" value="services">
32
  <input type="hidden" name="bn" value="PP-BuyNowBF:btn_donate_LG.gif:NonHosted">
33
+ <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="<?php esc_attr_e( 'Send your donation to the author of', 'contextual-related-posts' ); ?> Contextual Related Posts?">
34
  <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
35
  </form>
36
  </div>
37
+ </div>
38
  </div>
39
 
40
+ <div id="qlinksdiv" class="postbox"><div class="handlediv" title="<?php esc_html_e( 'Click to toggle', 'contextual-related-posts' ); ?>"><br /></div>
41
+ <h3 class='hndle'><span><?php esc_html_e( 'Quick links', 'contextual-related-posts' ); ?></span></h3>
42
+ <div class="inside">
43
+ <div id="quick-links">
44
+ <ul>
45
+ <li><a href="https://webberzone.com/"><?php esc_html_e( 'WebberZone', 'contextual-related-posts' ); ?></a></li>
46
+ <li><a href="https://webberzone.com/plugins/contextual-related-posts/"><?php esc_html_e( 'Plugin homepage', 'contextual-related-posts' ); ?></a></li>
47
+ <li><a href="https://wordpress.org/plugins/contextual-related-posts/faq/"><?php esc_html_e( 'FAQ', 'contextual-related-posts' ); ?></a></li>
48
+ <li><a href="http://wordpress.org/support/plugin/contextual-related-posts"><?php esc_html_e( 'Support', 'contextual-related-posts' ); ?></a></li>
49
+ <li><a href="https://wordpress.org/support/view/plugin-reviews/contextual-related-posts"><?php esc_html_e( 'Reviews', 'contextual-related-posts' ); ?></a></li>
50
+ <li><a href="https://github.com/WebberZone/contextual-related-posts"><?php esc_html_e( 'Github repository', 'contextual-related-posts' ); ?></a></li>
51
+ <li><a href="https://webberzone.com/plugins/"><?php esc_html_e( 'Other plugins', 'contextual-related-posts' ); ?></a></li>
52
+ <li><a href="https://webberzone.com/"><?php esc_html_e( "Ajay's blog", 'contextual-related-posts' ); ?></a></li>
53
+ </ul>
54
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  </div>
 
56
  </div>
57
 
58
+ <div id="followdiv" class="postbox"><div class="handlediv" title="<?php esc_html_e( 'Click to toggle', 'contextual-related-posts' ); ?>"><br /></div>
59
+ <h3 class='hndle'><span><?php esc_html_e( 'Follow us', 'contextual-related-posts' ); ?></span></h3>
60
+ <div class="inside">
61
+ <a href="https://facebook.com/webberzone/" target="_blank"><img src="<?php echo esc_url( CRP_PLUGIN_URL . '/admin/images/fb.png' ); ?>" width="100" height="100" /></a>
62
+ <a href="https://twitter.com/webberzonewp/" target="_blank"><img src="<?php echo esc_url( CRP_PLUGIN_URL . '/admin/images/twitter.jpg' ); ?>" width="100" height="100" /></a>
63
+ </div>
 
 
 
 
 
 
 
 
 
64
  </div>
65
+
admin/wick/index.php DELETED
@@ -1 +0,0 @@
1
- <?php // Silence is golden
 
admin/wick/wick.css DELETED
@@ -1,50 +0,0 @@
1
- /*
2
- WICK: Web Input Completion Kit
3
- http://wick.sourceforge.net/
4
- Copyright (c) 2004, Christopher T. Holland,
5
- All rights reserved.
6
-
7
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
8
-
9
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
10
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
11
- Neither the name of the Christopher T. Holland, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
12
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13
-
14
- */
15
-
16
- .floater {
17
- position:absolute;
18
- z-index:2;
19
- bottom:0;
20
- right:0;
21
- display:none;
22
- padding:0;
23
- }
24
-
25
- .floater td {
26
- font-family: Gill, Helvetica, sans-serif;
27
- background-color:white;
28
- border:1px inset #979797;
29
- color:black;
30
- }
31
-
32
- .matchedSmartInputItem {
33
- font-size:0.8em;
34
- padding: 5px 10px 1px 5px;
35
- margin:0;
36
- cursor:pointer;
37
- }
38
-
39
- .selectedSmartInputItem {
40
- color:white;
41
- background-color:#3875D7;
42
- }
43
-
44
- #smartInputResults {
45
- padding:0;margin:0;
46
- }
47
-
48
- .siwCredit {
49
- margin:0;padding:0;margin-top:10px;font-size:0.7em;color:black;
50
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/wick/wick.js DELETED
@@ -1,485 +0,0 @@
1
- /*
2
- WICK: Web Input Completion Kit
3
- http://wick.sourceforge.net/
4
- Copyright (c) 2004, Christopher T. Holland
5
- All rights reserved.
6
-
7
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
8
-
9
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
10
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
11
- Neither the name of the Christopher T. Holland, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
12
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13
-
14
- */
15
- /* start dhtml building blocks */
16
- function freezeEvent(e) {
17
- if (e.preventDefault) { e.preventDefault(); }
18
- e.returnValue = false;
19
- e.cancelBubble = true;
20
- if (e.stopPropagation) { e.stopPropagation(); }
21
- return false;
22
- }//freezeEvent
23
-
24
- function isWithinNode(e,i,c,t,obj) {
25
- answer = false;
26
- te = e;
27
- while (te && ! answer) {
28
- if ((te.id && (te.id == i)) || (te.className && (te.className == i + "Class"))
29
- || ( ! t && c && te.className && (te.className == c))
30
- || ( ! t && c && te.className && (te.className.indexOf( c ) != -1))
31
- || (t && te.tagName && (te.tagName.toLowerCase() == t))
32
- || (obj && (te == obj))
33
- ) {
34
- answer = te;
35
- } else {
36
- te = te.parentNode;
37
- }
38
- }
39
- return te;
40
- }//isWithinNode
41
-
42
- function getEvent(event) {
43
- return (event ? event : window.event);
44
- }//getEvent()
45
-
46
- function getEventElement(e) {
47
- return (e.srcElement ? e.srcElement: (e.target ? e.target : e.currentTarget));
48
- }//getEventElement()
49
-
50
- function findElementPosX(obj) {
51
- curleft = 0;
52
- if (obj.offsetParent) {
53
- while (obj.offsetParent) {
54
- curleft += obj.offsetLeft;
55
- obj = obj.offsetParent;
56
- }
57
- } //if offsetParent exists
58
- else if (obj.x) {
59
- curleft += obj.x
60
- return curleft; }
61
- }//findElementPosX
62
-
63
- function findElementPosY(obj) {
64
- curtop = 0;
65
- if (obj.offsetParent) {
66
- while (obj.offsetParent) {
67
- curtop += obj.offsetTop;
68
- obj = obj.offsetParent;
69
- }
70
- } //if offsetParent exists
71
- else if (obj.y) {
72
- curtop += obj.y
73
- return curtop; }
74
- }//findElementPosY
75
-
76
- /* end dhtml building blocks */
77
-
78
- function handleKeyPress(event) {
79
- e = getEvent( event );
80
- eL = getEventElement( e );
81
-
82
- upEl = isWithinNode( eL,null,"wickEnabled",null,null );
83
-
84
- kc = e["keyCode"];
85
-
86
- if (siw && ((kc == 13) || (kc == 9))) {
87
- siw.selectingSomething = true;
88
- if (siw.isSafari) { siw.inputBox.blur(); // hack to "wake up" safari
89
- } siw.inputBox.focus();
90
- siw.inputBox.value = siw.inputBox.value.replace( /[ \r\n\t\f\s]+$/gi,' ' );
91
- hideSmartInputFloater();
92
- } else if (upEl && (kc != 38) && (kc != 40) && (kc != 37) && (kc != 39) && (kc != 13) && (kc != 27)) {
93
- if ( ! siw || (siw && ! siw.selectingSomething)) {
94
- processSmartInput( upEl );
95
- }
96
- } else if (siw && siw.inputBox) {
97
- siw.inputBox.focus(); // kinda part of the hack.
98
- }
99
-
100
- }//handleKeyPress()
101
-
102
-
103
- function handleKeyDown(event) {
104
- e = getEvent( event );
105
- eL = getEventElement( e );
106
-
107
- if (siw && (kc = e["keyCode"])) {
108
- if (kc == 40) {
109
- siw.selectingSomething = true;
110
- freezeEvent( e );
111
- if (siw.isGecko) { siw.inputBox.blur(); } /* Gecko hack */
112
- selectNextSmartInputMatchItem();
113
- } else if (kc == 38) {
114
- siw.selectingSomething = true;
115
- freezeEvent( e );
116
- if (siw.isGecko) { siw.inputBox.blur(); }
117
- selectPreviousSmartInputMatchItem();
118
- } else if ((kc == 13) || (kc == 9)) {
119
- siw.selectingSomething = true;
120
- activateCurrentSmartInputMatch();
121
- freezeEvent( e );
122
- } else if (kc == 27) {
123
- hideSmartInputFloater();
124
- freezeEvent( e );
125
- } else {
126
- siw.selectingSomething = false;
127
- }
128
- }
129
-
130
- }//handleKeyDown()
131
-
132
- function handleFocus(event) {
133
- e = getEvent( event );
134
- eL = getEventElement( e );
135
- if (focEl = isWithinNode( eL,null,"wickEnabled",null,null )) {
136
- if ( ! siw || (siw && ! siw.selectingSomething)) { processSmartInput( focEl ); }
137
- }
138
- }//handleFocus()
139
-
140
- function handleBlur(event) {
141
- e = getEvent( event );
142
- eL = getEventElement( e );
143
- if (blurEl = isWithinNode( eL,null,"wickEnabled",null,null )) {
144
- if (siw && ! siw.selectingSomething) { hideSmartInputFloater(); }
145
- }
146
- }//handleBlur()
147
-
148
- function handleClick(event) {
149
- e2 = getEvent( event );
150
- eL2 = getEventElement( e2 );
151
- if (siw && siw.selectingSomething) {
152
- selectFromMouseClick();
153
- }
154
- }//handleClick()
155
-
156
- function handleMouseOver(event) {
157
- e = getEvent( event );
158
- eL = getEventElement( e );
159
- if (siw && (mEl = isWithinNode( eL,null,"matchedSmartInputItem",null,null ))) {
160
- siw.selectingSomething = true;
161
- selectFromMouseOver( mEl );
162
- } else if (isWithinNode( eL,null,"siwCredit",null,null )) {
163
- siw.selectingSomething = true;
164
- } else if (siw) {
165
- siw.selectingSomething = false;
166
- }
167
- }//handleMouseOver
168
-
169
- function showSmartInputFloater() {
170
- if ( ! siw.floater.style.display || (siw.floater.style.display == "none")) {
171
- if ( ! siw.customFloater) {
172
- x = findElementPosX( siw.inputBox );
173
- y = findElementPosY( siw.inputBox ) + siw.inputBox.offsetHeight;
174
- // hack: browser-specific adjustments.
175
- if ( ! siw.isGecko && ! siw.isWinIE) { x += 8; }
176
- if ( ! siw.isGecko && ! siw.isWinIE) { y += 10; }
177
- siw.floater.style.left = x;
178
- siw.floater.style.top = y;
179
- } else {
180
- // you may
181
- // do additional things for your custom floater
182
- // beyond setting display and visibility
183
- }
184
- siw.floater.style.display = "block";
185
- siw.floater.style.visibility = "visible";
186
- }
187
- }//showSmartInputFloater()
188
-
189
- function hideSmartInputFloater() {
190
- if (siw) {
191
- siw.floater.style.display = "none";
192
- siw.floater.style.visibility = "hidden";
193
- siw = null;
194
- }//siw exists
195
- }//hideSmartInputFloater
196
-
197
- function processSmartInput(inputBox) {
198
- if ( ! siw) { siw = new smartInputWindow(); }
199
- siw.inputBox = inputBox;
200
-
201
- classData = inputBox.className.split( " " );
202
- siwDirectives = null;
203
- for (i = 0;( ! siwDirectives && classData[i]);i++) {
204
- if (classData[i].indexOf( "wickEnabled" ) != -1) {
205
- siwDirectives = classData[i]; }
206
- }
207
-
208
- if (siwDirectives && (siwDirectives.indexOf( ":" ) != -1)) {
209
- siw.customFloater = true;
210
- newFloaterId = siwDirectives.split( ":" )[1];
211
- siw.floater = document.getElementById( newFloaterId );
212
- siw.floaterContent = siw.floater.getElementsByTagName( "div" )[0];
213
- }
214
-
215
- setSmartInputData();
216
- if (siw.matchCollection && (siw.matchCollection.length > 0)) { selectSmartInputMatchItem( 0 ); }
217
- content = getSmartInputBoxContent();
218
- if (content) {
219
- modifySmartInputBoxContent( content );
220
- showSmartInputFloater();
221
- } else { hideSmartInputFloater(); }
222
- }//processSmartInput()
223
-
224
- function smartInputMatch(cleanValue, value) {
225
- this.cleanValue = cleanValue;
226
- this.value = value;
227
- this.isSelected = false;
228
- }//smartInputMatch
229
-
230
- function simplify(s) {
231
- return s.toLowerCase().replace( /^[ \s\f\t\n\r]+/,'' ).replace( /[ \s\f\t\n\r]+$/,'' );
232
- // .replace(/[�,�,�,�,\u00E9,\u00E8,\u00EA,\u00EB]/gi,"e").replace(/[�,�,\u00E0,\u00E2]/gi,"a").
233
- }//simplify
234
-
235
- function getUserInputToMatch(s) {
236
- a = s;
237
- fields = s.split( "," );
238
- if (fields.length > 0) { a = fields[fields.length - 1]; }
239
- return a;
240
- }//getUserInputToMatch
241
-
242
- function getUserInputBase() {
243
- s = siw.inputBox.value;
244
- a = s;
245
- if ((lastComma = s.lastIndexOf( "," )) != -1) {
246
- a = a.replace( /^(.*\,[ \r\n\t\f\s]*).*$/i,'$1' );
247
- } else { a = ""; }
248
- return a;
249
- }//getUserInputBase()
250
-
251
- function runMatchingLogic(userInput, standalone) {
252
- userInput = simplify( userInput );
253
- uifc = userInput.charAt( 0 ).toLowerCase();
254
- if (uifc == '"') { uifc = (n = userInput.charAt( 1 )) ? n.toLowerCase() : "z"; }
255
- if (standalone) { userInput = uifc; }
256
- if (siw) { siw.matchCollection = new Array(); }
257
- pointerToCollectionToUse = collection;
258
- if (siw && siw.revisedCollection && (siw.revisedCollection.length > 0) && siw.lastUserInput && (userInput.indexOf( siw.lastUserInput ) == 0)) {
259
- pointerToCollectionToUse = siw.revisedCollection;
260
- } else if (collectionIndex[userInput] && (collectionIndex[userInput].length > 0)) {
261
- pointerToCollectionToUse = collectionIndex[userInput];
262
- } else if (collectionIndex[uifc] && (collectionIndex[uifc].length > 0)) {
263
- pointerToCollectionToUse = collectionIndex[uifc];
264
- } else if (siw && (userInput.length == 1) && ( ! collectionIndex[uifc])) {
265
- siw.buildIndex = true;
266
- } else if (siw) {
267
- siw.buildIndex = false;
268
- }
269
-
270
- tempCollection = new Array();
271
-
272
- re1m = new RegExp( "^([ \"\>\<\-]*)(" + userInput + ")","i" );
273
- re2m = new RegExp( "([ \"\>\<\-]+)(" + userInput + ")","i" );
274
- re1 = new RegExp( "^([ \"\}\{\-]*)(" + userInput + ")","gi" );
275
- re2 = new RegExp( "([ \"\}\{\-]+)(" + userInput + ")","gi" );
276
-
277
- for (i = 0,j = 0;(i < pointerToCollectionToUse.length);i++) {
278
- displayMatches = (( ! standalone) && (j < siw.MAX_MATCHES));
279
- entry = pointerToCollectionToUse[i];
280
- mEntry = simplify( entry );
281
- if ( ! standalone && (mEntry.indexOf( userInput ) == 0)) {
282
- userInput = userInput.replace( /\>/gi,'\\}' ).replace( /\< ?/gi,'\\{' );
283
- re = new RegExp( "(" + userInput + ")","i" );
284
- if (displayMatches) {
285
- siw.matchCollection[j] = new smartInputMatch( entry, mEntry.replace( /\>/gi,'}' ).replace( /\< ?/gi,'{' ).replace( re,"<b>$1</b>" ) );
286
- }
287
- tempCollection[j] = entry;
288
- j++;
289
- } else if (mEntry.match( re1m ) || mEntry.match( re2m )) {
290
- if ( ! standalone && displayMatches) {
291
- siw.matchCollection[j] = new smartInputMatch( entry, mEntry.replace( /\>/gi,'}' ).replace( /\</gi,'{' ).replace( re1,"$1<b>$2</b>" ).replace( re2,"$1<b>$2</b>" ) );
292
- }
293
- tempCollection[j] = entry;
294
- j++;
295
- }
296
- }//loop thru collection
297
- if (siw) {
298
- siw.lastUserInput = userInput;
299
- siw.revisedCollection = tempCollection.join( "," ).split( "," );
300
- collectionIndex[userInput] = tempCollection.join( "," ).split( "," );
301
- }
302
- if (standalone || siw.buildIndex) {
303
- collectionIndex[uifc] = tempCollection.join( "," ).split( "," );
304
- if (siw) { siw.buildIndex = false; }
305
- }
306
- }//runMatchingLogic
307
-
308
- function setSmartInputData() {
309
- if (siw) {
310
- orgUserInput = siw.inputBox.value;
311
- orgUserInput = getUserInputToMatch( orgUserInput );
312
- userInput = orgUserInput.toLowerCase().replace( /[\r\n\t\f\s]+/gi,' ' ).replace( /^ +/gi,'' ).replace( / +$/gi,'' ).replace( / +/gi,' ' ).replace( /\\/gi,'' ).replace( /\[/gi,'' ).replace( /\(/gi,'' ).replace( /\./gi,'\.' ).replace( /\?/gi,'' );
313
- if (userInput && (userInput != "") && (userInput != '"')) {
314
- runMatchingLogic( userInput );
315
- } //if userinput not blank and is meaningful
316
- else {
317
- siw.matchCollection = null;
318
- }
319
- }//siw exists ... uhmkaaayyyyy
320
- }//setSmartInputData
321
-
322
- function getSmartInputBoxContent() {
323
- a = null;
324
- if (siw && siw.matchCollection && (siw.matchCollection.length > 0)) {
325
- a = '';
326
- for (i = 0;i < siw.matchCollection.length; i++) {
327
- selectedString = siw.matchCollection[i].isSelected ? ' selectedSmartInputItem' : '';
328
- a += '<p class="matchedSmartInputItem' + selectedString + '">' + siw.matchCollection[i].value.replace( /\{ */gi,"&lt;" ).replace( /\} */gi,"&gt;" ) + '</p>';
329
- }//
330
- }//siw exists
331
- return a;
332
- }//getSmartInputBoxContent
333
-
334
- function modifySmartInputBoxContent(content) {
335
- // todo: remove credits 'cuz no one gives a shit ;] - done
336
- siw.floaterContent.innerHTML = '<div id="smartInputResults">' + content + (siw.showCredit ? ('<p class="siwCredit">Powered By: <a target="PhrawgBlog" href="http://chrisholland.blogspot.com/?from=smartinput&ref=' + escape( location.href ) + '">Chris Holland</a></p>') : '') + '</div>';
337
- siw.matchListDisplay = document.getElementById( "smartInputResults" );
338
- }//modifySmartInputBoxContent()
339
-
340
- function selectFromMouseOver(o) {
341
- currentIndex = getCurrentlySelectedSmartInputItem();
342
- if (currentIndex != null) { deSelectSmartInputMatchItem( currentIndex ); }
343
- newIndex = getIndexFromElement( o );
344
- selectSmartInputMatchItem( newIndex );
345
- modifySmartInputBoxContent( getSmartInputBoxContent() );
346
- }//selectFromMouseOver
347
-
348
- function selectFromMouseClick() {
349
- activateCurrentSmartInputMatch();
350
- siw.inputBox.focus();
351
- hideSmartInputFloater();
352
- }//selectFromMouseClick
353
-
354
- function getIndexFromElement(o) {
355
- index = 0;
356
- while (o = o.previousSibling) {
357
- index++;
358
- }//
359
- return index;
360
- }//getIndexFromElement
361
-
362
- function getCurrentlySelectedSmartInputItem() {
363
- answer = null;
364
- for (i = 0; ((i < siw.matchCollection.length) && ! answer) ; i++) {
365
- if (siw.matchCollection[i].isSelected) {
366
- answer = i; }
367
- }//
368
- return answer;
369
- }//getCurrentlySelectedSmartInputItem
370
-
371
- function selectSmartInputMatchItem(index) {
372
- siw.matchCollection[index].isSelected = true;
373
- }//selectSmartInputMatchItem()
374
-
375
- function deSelectSmartInputMatchItem(index) {
376
- siw.matchCollection[index].isSelected = false;
377
- }//deSelectSmartInputMatchItem()
378
-
379
- function selectNextSmartInputMatchItem() {
380
- currentIndex = getCurrentlySelectedSmartInputItem();
381
- if (currentIndex != null) {
382
- deSelectSmartInputMatchItem( currentIndex );
383
- if ((currentIndex + 1) < siw.matchCollection.length) {
384
- selectSmartInputMatchItem( currentIndex + 1 ); } else { selectSmartInputMatchItem( 0 ); }
385
- } else {
386
- selectSmartInputMatchItem( 0 );
387
- }
388
- modifySmartInputBoxContent( getSmartInputBoxContent() );
389
- }//selectNextSmartInputMatchItem
390
-
391
- function selectPreviousSmartInputMatchItem() {
392
- currentIndex = getCurrentlySelectedSmartInputItem();
393
- if (currentIndex != null) {
394
- deSelectSmartInputMatchItem( currentIndex );
395
- if ((currentIndex - 1) >= 0) {
396
- selectSmartInputMatchItem( currentIndex - 1 ); } else { selectSmartInputMatchItem( siw.matchCollection.length - 1 ); }
397
- } else {
398
- selectSmartInputMatchItem( siw.matchCollection.length - 1 );
399
- }
400
- modifySmartInputBoxContent( getSmartInputBoxContent() );
401
- }//selectPreviousSmartInputMatchItem
402
-
403
- function activateCurrentSmartInputMatch() {
404
- baseValue = getUserInputBase();
405
- if ((selIndex = getCurrentlySelectedSmartInputItem()) != null) {
406
- addedValue = siw.matchCollection[selIndex].cleanValue;
407
- theString = (baseValue ? baseValue : "") + addedValue + ", ";
408
- siw.inputBox.value = theString;
409
- runMatchingLogic( addedValue, true );
410
- }
411
- }//activateCurrentSmartInputMatch
412
-
413
- function smartInputWindow () {
414
- this.customFloater = false;
415
- this.floater = document.getElementById( "smartInputFloater" );
416
- this.floaterContent = document.getElementById( "smartInputFloaterContent" );
417
- this.selectedSmartInputItem = null;
418
- this.MAX_MATCHES = 15;
419
- this.isGecko = (navigator.userAgent.indexOf( "Gecko/200" ) != -1);
420
- this.isSafari = (navigator.userAgent.indexOf( "Safari" ) != -1);
421
- this.isWinIE = ((navigator.userAgent.indexOf( "Win" ) != -1 ) && (navigator.userAgent.indexOf( "MSIE" ) != -1 ));
422
- this.showCredit = false;
423
- }//smartInputWindow Object
424
-
425
- function registerSmartInputListeners() {
426
- inputs = document.getElementsByTagName( "input" );
427
- texts = document.getElementsByTagName( "textarea" );
428
- allinputs = new Array();
429
- z = 0;
430
- y = 0;
431
- while (inputs[z]) {
432
- allinputs[z] = inputs[z];
433
- z++;
434
- }//
435
- while (texts[y]) {
436
- allinputs[z] = texts[y];
437
- z++;
438
- y++;
439
- }//
440
-
441
- for (i = 0; i < allinputs.length;i++) {
442
- if ((c = allinputs[i].className) && (c == "wickEnabled")) {
443
- allinputs[i].setAttribute( "autocomplete","OFF" );
444
- allinputs[i].onfocus = handleFocus;
445
- allinputs[i].onblur = handleBlur;
446
- allinputs[i].onkeydown = handleKeyDown;
447
- allinputs[i].onkeyup = handleKeyPress;
448
- }
449
- }//loop thru inputs
450
- }//registerSmartInputListeners
451
-
452
- siw = null;
453
-
454
- if (document.addEventListener) {
455
- document.addEventListener( "keydown", handleKeyDown, false );
456
- document.addEventListener( "keyup", handleKeyPress, false );
457
- document.addEventListener( "mouseup", handleClick, false );
458
- document.addEventListener( "mouseover", handleMouseOver, false );
459
- } else {
460
- document.onkeydown = handleKeyDown;
461
- document.onkeyup = handleKeyPress;
462
- document.onmouseup = handleClick;
463
- document.onmouseover = handleMouseOver;
464
- }
465
-
466
- registerSmartInputListeners();
467
-
468
- document.write(
469
- '<table id="smartInputFloater" class="floater" cellpadding="0" cellspacing="0"><tr><td id="smartInputFloaterContent" nowrap="nowrap">'
470
- + '<\/td><\/tr><\/table>'
471
- );
472
-
473
- // note: instruct users to the fact that no commas should be present in entries.
474
- // it would make things insanely messy.
475
- // this is why i'm filtering commas here:
476
- for (x = 0;x < collection.length;x++) {
477
- collection[x] = collection[x].replace( /\,/gi,'' );
478
- }//
479
-
480
- collectionIndex = new Array();
481
-
482
- ds = "";
483
- function debug(s) {
484
- ds += ( s + "\n");
485
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
contextual-related-posts.php CHANGED
@@ -15,7 +15,7 @@
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: 2.2.3
19
  * Author: WebberZone
20
  * Author URI: https://webberzone.com
21
  * License: GPL-2.0+
@@ -32,50 +32,60 @@ if ( ! defined( 'WPINC' ) ) {
32
 
33
 
34
  /**
35
- * Holds the text domain.
36
  *
37
- * @since 1.4
 
 
38
  */
39
- define( 'CRP_LOCAL_NAME', 'crp' );
 
 
40
 
41
  /**
42
- * Holds the filesystem directory path (with trailing slash) for CRP
43
  *
44
- * @since 1.2
45
  *
46
- * @var string
47
  */
48
- $crp_path = plugin_dir_path( __FILE__ );
 
 
49
 
50
  /**
51
- * Holds the URL for CRP
52
  *
53
- * @since 1.2
54
  *
55
- * @var string
56
  */
57
- $crp_url = plugins_url() . '/' . plugin_basename( dirname( __FILE__ ) );
 
 
 
58
 
59
  /**
60
- * Global variable holding the current settings for Contextual Related Posts
61
  *
62
- * @since 1.8.10
63
  *
64
- * @var array
65
  */
66
- global $crp_settings;
67
- $crp_settings = crp_read_options();
 
68
 
69
 
70
  /**
71
- * Initialises text domain for l10n.
 
 
72
  *
73
- * @since 2.2.0
74
  */
75
- function crp_lang_init() {
76
- load_plugin_textdomain( CRP_LOCAL_NAME, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
77
- }
78
- add_action( 'plugins_loaded', 'crp_lang_init' );
79
 
80
 
81
  /**
@@ -83,13 +93,13 @@ add_action( 'plugins_loaded', 'crp_lang_init' );
83
  *
84
  * @since 1.0.1
85
  *
86
- * @param array $args Parameters in a query string format
87
- * @return string HTML formatted list of related posts
88
  */
89
  function get_crp( $args = array() ) {
90
- global $wpdb, $post, $crp_settings;
91
 
92
- // if set, save $exclude_categories
93
  if ( isset( $args['exclude_categories'] ) && '' != $args['exclude_categories'] ) {
94
  $exclude_categories = explode( ',', $args['exclude_categories'] );
95
  $args['strict_limit'] = false;
@@ -100,10 +110,11 @@ function get_crp( $args = array() ) {
100
  'is_manual' => false,
101
  'echo' => true,
102
  'heading' => true,
 
103
  );
104
  $defaults = array_merge( $defaults, $crp_settings );
105
 
106
- // Parse incomming $args into an array and merge it with $defaults
107
  $args = wp_parse_args( $args, $defaults );
108
 
109
  // WPML support.
@@ -111,7 +122,7 @@ function get_crp( $args = array() ) {
111
  $args['strict_limit'] = false;
112
  }
113
 
114
- // Support caching to speed up retrieval
115
  if ( ! empty( $args['cache'] ) ) {
116
  $meta_key = 'crp_related_posts';
117
  if ( $args['is_widget'] ) {
@@ -129,19 +140,37 @@ function get_crp( $args = array() ) {
129
  }
130
  }
131
 
132
- // Retrieve the list of posts
133
  $results = get_crp_posts_id( array_merge( $args, array(
134
  'postid' => $post->ID,
135
- 'strict_limit' => ( isset( $args['strict_limit'] ) ) ? $args['strict_limit'] : true,
136
  ) ) );
137
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138
  $widget_class = $args['is_widget'] ? 'crp_related_widget' : 'crp_related ';
139
  $shortcode_class = $args['is_shortcode'] ? 'crp_related_shortcode ' : '';
140
 
141
  $post_classes = $widget_class . $shortcode_class;
142
 
143
  /**
144
- * Filter the classes added to the div wrapper of the Top 10.
145
  *
146
  * @since 2.2.3
147
  *
@@ -158,7 +187,7 @@ function get_crp( $args = array() ) {
158
 
159
  $output .= crp_before_list( $args );
160
 
161
- // We need this for WPML support
162
  $processed_results = array();
163
 
164
  foreach ( $results as $result ) {
@@ -171,7 +200,7 @@ function get_crp( $args = array() ) {
171
  continue;
172
  }
173
 
174
- // Push the current ID into the array to ensure we're not repeating it
175
  array_push( $processed_results, $resultid );
176
 
177
  /**
@@ -183,21 +212,21 @@ function get_crp( $args = array() ) {
183
  */
184
  $resultid = apply_filters( 'crp_post_id', $resultid );
185
 
186
- $result = get_post( $resultid ); // Let's get the Post using the ID
187
 
188
- // Process the category exclusion if passed in the shortcode
189
  if ( isset( $exclude_categories ) ) {
190
 
191
- $categorys = get_the_category( $result->ID ); // Fetch categories of the plugin
192
 
193
  $p_in_c = false; // Variable to check if post exists in a particular category
194
- foreach ( $categorys as $cat ) { // Loop to check if post exists in excluded category
195
  $p_in_c = ( in_array( $cat->cat_ID, $exclude_categories ) ) ? true : false;
196
  if ( $p_in_c ) {
197
- break; // Skip loop execution and go to the next step
198
  }
199
  }
200
- if ( $p_in_c ) { continue; // Skip loop execution and go to the next step
201
  }
202
  }
203
 
@@ -221,7 +250,8 @@ function get_crp( $args = array() ) {
221
 
222
  $output .= crp_after_list_item( $args, $result );
223
 
224
- if ( $loop_counter == $args['limit'] ) { break; // End loop when related posts limit is reached
 
225
  }
226
  } //end of foreach loop
227
 
@@ -252,15 +282,15 @@ function get_crp( $args = array() ) {
252
  $output .= ( $args['blank_output'] ) ? ' ' : '<p>' . $args['blank_output_text'] . '</p>';
253
  }
254
 
255
- // Check if the opening list tag is missing in the output, it means all of our results were eliminated cause of the category filter
256
  if ( false === ( strpos( $output, $args['before_list_item'] ) ) ) {
257
  $output = '<div id="crp_related">';
258
  $output .= ( $args['blank_output'] ) ? ' ' : '<p>' . $args['blank_output_text'] . '</p>';
259
  }
260
 
261
- $output .= '</div>'; // closing div of 'crp_related'
262
 
263
- // Support caching to speed up retrieval
264
  if ( ! empty( $args['cache'] ) ) {
265
  update_post_meta( $post->ID, $meta_key, $output, '' );
266
  }
@@ -282,13 +312,13 @@ function get_crp( $args = array() ) {
282
  *
283
  * @since 1.9
284
  *
285
- * @param array $args
286
  * @return object $results
287
  */
288
  function get_crp_posts_id( $args = array() ) {
289
  global $wpdb, $post, $crp_settings;
290
 
291
- // Initialise some variables
292
  $fields = '';
293
  $where = '';
294
  $join = '';
@@ -299,15 +329,16 @@ function get_crp_posts_id( $args = array() ) {
299
  $match_fields = '';
300
 
301
  $defaults = array(
302
- 'postid' => false,
303
- 'strict_limit' => true,
 
304
  );
305
  $defaults = array_merge( $defaults, $crp_settings );
306
 
307
- // Parse incoming $args into an array and merge it with $defaults
308
  $args = wp_parse_args( $args, $defaults );
309
 
310
- // Fix the thumb size in case it is missing
311
  $crp_thumb_size = crp_get_all_image_sizes( $args['thumb_size'] );
312
 
313
  if ( isset( $crp_thumb_size['width'] ) ) {
@@ -323,11 +354,12 @@ function get_crp_posts_id( $args = array() ) {
323
  $thumb_height = $crp_settings['thumb_height'];
324
  }
325
 
326
- $post = ( empty( $args['postid'] ) ) ? $post : get_post( $args['postid'] );
327
 
328
  $limit = ( $args['strict_limit'] ) ? $args['limit'] : ( $args['limit'] * 3 );
 
329
 
330
- // Save post types in $post_types variable
331
  parse_str( $args['post_types'], $post_types );
332
 
333
  /**
@@ -336,9 +368,9 @@ function get_crp_posts_id( $args = array() ) {
336
  * @since 2.2.0
337
  *
338
  * @param array $post_types Array of post types to filter by
339
- * @param int $post->ID Post ID
340
  */
341
- $post_types = apply_filters( 'crp_posts_post_types', $post_types, $post->ID );
342
 
343
  // Are we matching only the title or the post content as well?
344
  $match_fields = array(
@@ -346,13 +378,13 @@ function get_crp_posts_id( $args = array() ) {
346
  );
347
 
348
  $match_fields_content = array(
349
- $post->post_title,
350
  );
351
 
352
  if ( $args['match_content'] ) {
353
 
354
  $match_fields[] = 'post_content';
355
- $match_fields_content[] = crp_excerpt( $post->ID, $args['match_content_words'], false );
356
  }
357
 
358
  /**
@@ -361,9 +393,9 @@ function get_crp_posts_id( $args = array() ) {
361
  * @since 2.2.0
362
  *
363
  * @param array $match_fields Array of fields to be matched
364
- * @param int $post->ID Post ID
365
  */
366
- $match_fields = apply_filters( 'crp_posts_match_fields', $match_fields, $post->ID );
367
 
368
  /**
369
  * Filter the content of the fields that are to be matched.
@@ -371,31 +403,31 @@ function get_crp_posts_id( $args = array() ) {
371
  * @since 2.2.0
372
  *
373
  * @param array $match_fields_content Array of content of fields to be matched
374
- * @param int $post->ID Post ID
375
  */
376
- $match_fields_content = apply_filters( 'crp_posts_match_fields_content', $match_fields_content, $post->ID );
377
 
378
- // Convert our arrays into their corresponding strings after they have been filtered
379
  $match_fields = implode( ',', $match_fields );
380
  $stuff = implode( ' ', $match_fields_content );
381
 
382
- // Make sure the post is not from the future
383
  $time_difference = get_option( 'gmt_offset' );
384
  $now = gmdate( 'Y-m-d H:i:s', ( time() + ( $time_difference * 3600 ) ) );
385
 
386
- // Limit the related posts by time
387
  $current_time = current_time( 'timestamp', 0 );
388
  $from_date = $current_time - ( $args['daily_range'] * DAY_IN_SECONDS );
389
  $from_date = gmdate( 'Y-m-d H:i:s' , $from_date );
390
 
391
- // Create the SQL query to fetch the related posts from the database
392
- if ( is_int( $post->ID ) ) {
393
 
394
- // Fields to return
395
  $fields = " $wpdb->posts.ID ";
396
 
397
- // Create the base MATCH clause
398
- $match = $wpdb->prepare( ' AND MATCH (' . $match_fields . ") AGAINST ('%s') ", $stuff ); // FULLTEXT matching algorithm
399
 
400
  /**
401
  * Filter the MATCH clause of the query.
@@ -404,12 +436,12 @@ function get_crp_posts_id( $args = array() ) {
404
  *
405
  * @param string $match The MATCH section of the WHERE clause of the query
406
  * @param string $stuff String to match fulltext with
407
- * @param int $post->ID Post ID
408
  */
409
- $match = apply_filters( 'crp_posts_match', $match, $stuff, $post->ID );
410
 
411
- // Create the maximum date limit
412
- $now_clause = $wpdb->prepare( " AND $wpdb->posts.post_date < '%s' ", $now ); // Show posts before today
413
 
414
  /**
415
  * Filter the Maximum date clause of the query.
@@ -417,12 +449,12 @@ function get_crp_posts_id( $args = array() ) {
417
  * @since 2.1.0
418
  *
419
  * @param string $now_clause The Maximum date of the WHERE clause of the query.
420
- * @param int $post->ID Post ID
421
  */
422
- $now_clause = apply_filters( 'crp_posts_now_date', $now_clause, $post->ID );
423
 
424
- // Create the minimum date limit
425
- $from_clause = ( 0 == $args['daily_range'] ) ? '' : $wpdb->prepare( " AND $wpdb->posts.post_date >= '%s' ", $from_date ); // Show posts after the date specified
426
 
427
  /**
428
  * Filter the Maximum date clause of the query.
@@ -430,23 +462,40 @@ function get_crp_posts_id( $args = array() ) {
430
  * @since 2.1.0
431
  *
432
  * @param string $from_clause The Minimum date of the WHERE clause of the query.
433
- * @param int $post->ID Post ID
434
  */
435
- $from_clause = apply_filters( 'crp_posts_from_date', $from_clause, $post->ID );
436
 
437
- // Create the base WHERE clause
438
  $where = $match;
439
  $where .= $now_clause;
440
  $where .= $from_clause;
441
  $where .= " AND $wpdb->posts.post_status = 'publish' "; // Only show published posts
442
- $where .= $wpdb->prepare( " AND $wpdb->posts.ID != %d ", $post->ID ); // Show posts after the date specified
443
- if ( '' != $args['exclude_post_ids'] ) {
444
- $where .= " AND $wpdb->posts.ID NOT IN (" . $args['exclude_post_ids'] . ') ';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
445
  }
446
- $where .= " AND $wpdb->posts.post_type IN ('" . join( "', '", $post_types ) . "') "; // Array of post types
447
 
448
- // Create the base LIMITS clause
449
- $limits .= $wpdb->prepare( ' LIMIT %d ', $limit );
 
 
450
 
451
  /**
452
  * Filter the SELECT clause of the query.
@@ -454,9 +503,9 @@ function get_crp_posts_id( $args = array() ) {
454
  * @since 2.0.0
455
  *
456
  * @param string $fields The SELECT clause of the query.
457
- * @param int $post->ID Post ID
458
  */
459
- $fields = apply_filters( 'crp_posts_fields', $fields, $post->ID );
460
 
461
  /**
462
  * Filter the JOIN clause of the query.
@@ -464,9 +513,9 @@ function get_crp_posts_id( $args = array() ) {
464
  * @since 2.0.0
465
  *
466
  * @param string $join The JOIN clause of the query.
467
- * @param int $post->ID Post ID
468
  */
469
- $join = apply_filters( 'crp_posts_join', $join, $post->ID );
470
 
471
  /**
472
  * Filter the WHERE clause of the query.
@@ -474,9 +523,9 @@ function get_crp_posts_id( $args = array() ) {
474
  * @since 2.0.0
475
  *
476
  * @param string $where The WHERE clause of the query.
477
- * @param int $post->ID Post ID
478
  */
479
- $where = apply_filters( 'crp_posts_where', $where, $post->ID );
480
 
481
  /**
482
  * Filter the GROUP BY clause of the query.
@@ -484,9 +533,9 @@ function get_crp_posts_id( $args = array() ) {
484
  * @since 2.0.0
485
  *
486
  * @param string $groupby The GROUP BY clause of the query.
487
- * @param int $post->ID Post ID
488
  */
489
- $groupby = apply_filters( 'crp_posts_groupby', $groupby, $post->ID );
490
 
491
  /**
492
  * Filter the HAVING clause of the query.
@@ -494,9 +543,9 @@ function get_crp_posts_id( $args = array() ) {
494
  * @since 2.2.0
495
  *
496
  * @param string $having The HAVING clause of the query.
497
- * @param int $post->ID Post ID
498
  */
499
- $having = apply_filters( 'crp_posts_having', $having, $post->ID );
500
 
501
  /**
502
  * Filter the ORDER BY clause of the query.
@@ -504,9 +553,9 @@ function get_crp_posts_id( $args = array() ) {
504
  * @since 2.0.0
505
  *
506
  * @param string $orderby The ORDER BY clause of the query.
507
- * @param int $post->ID Post ID
508
  */
509
- $orderby = apply_filters( 'crp_posts_orderby', $orderby, $post->ID );
510
 
511
  /**
512
  * Filter the LIMIT clause of the query.
@@ -514,9 +563,9 @@ function get_crp_posts_id( $args = array() ) {
514
  * @since 2.0.0
515
  *
516
  * @param string $limits The LIMIT clause of the query.
517
- * @param int $post->ID Post ID
518
  */
519
- $limits = apply_filters( 'crp_posts_limits', $limits, $post->ID );
520
 
521
  if ( ! empty( $groupby ) ) {
522
  $groupby = 'GROUP BY ' . $groupby;
@@ -567,27 +616,29 @@ add_action( 'template_redirect', 'crp_content_prepare_filter' );
567
  *
568
  * @since 1.0.1
569
  *
570
- * @param string $content
571
  * @return string After the filter has been processed
572
  */
573
  function crp_content_filter( $content ) {
574
 
575
  global $post, $crp_settings;
576
 
577
- // Return if it's not in the loop or in the main query
578
  if ( ! in_the_loop() && ! is_main_query() ) {
579
  return $content;
580
  }
581
 
582
- // If this post ID is in the DO NOT DISPLAY list
583
  $exclude_on_post_ids = explode( ',', $crp_settings['exclude_on_post_ids'] );
584
- if ( in_array( $post->ID, $exclude_on_post_ids ) ) { return $content; // Exit without adding related posts
 
585
  }
586
  // If this post type is in the DO NOT DISPLAY list
587
- parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types ); // Save post types in $exclude_on_post_types variable
588
- if ( in_array( $post->post_type, $exclude_on_post_types ) ) { return $content; // Exit without adding related posts
 
589
  }
590
- // If the DO NOT DISPLAY meta field is set
591
  $crp_post_meta = get_post_meta( $post->ID, 'crp_post_meta', true );
592
 
593
  if ( isset( $crp_post_meta['crp_disable_here'] ) ) {
@@ -596,37 +647,92 @@ function crp_content_filter( $content ) {
596
  $crp_disable_here = 0;
597
  }
598
 
599
- if ( $crp_disable_here ) { return $content; }
600
-
601
- // Else add the content
602
- if ( ( is_single() ) && ( $crp_settings['add_to_content'] ) ) {
603
- return $content.get_crp( 'is_widget=0' );
604
- } elseif ( ( is_page() ) && ( $crp_settings['add_to_page'] ) ) {
605
- return $content.get_crp( 'is_widget=0' );
606
- } elseif ( ( is_home() ) && ( $crp_settings['add_to_home'] ) ) {
607
- return $content.get_crp( 'is_widget=0' );
608
- } elseif ( ( is_category() ) && ( $crp_settings['add_to_category_archives'] ) ) {
609
- return $content.get_crp( 'is_widget=0' );
610
- } elseif ( ( is_tag() ) && ( $crp_settings['add_to_tag_archives'] ) ) {
611
- return $content.get_crp( 'is_widget=0' );
612
- } elseif ( ( ( is_tax() ) || ( is_author() ) || ( is_date() ) ) && ( $crp_settings['add_to_archives'] ) ) {
613
- return $content.get_crp( 'is_widget=0' );
 
614
  } else {
615
  return $content;
616
  }
617
  }
618
 
619
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
620
  /**
621
  * Filter to add related posts to feeds.
622
  *
623
  * @since 1.8.4
624
  *
625
- * @param string $content
626
  * @return string Formatted content
627
  */
628
  function crp_rss_filter( $content ) {
629
- global $post, $crp_settings;
630
 
631
  $limit_feed = $crp_settings['limit_feed'];
632
  $show_excerpt_feed = $crp_settings['show_excerpt_feed'];
@@ -634,7 +740,7 @@ function crp_rss_filter( $content ) {
634
 
635
  if ( $crp_settings['add_to_feed'] ) {
636
  $output = $content;
637
- $output .= get_crp( 'is_widget=0&limit='.$limit_feed.'&show_excerpt='.$show_excerpt_feed.'&post_thumb_op='.$post_thumb_op_feed );
638
  return $output;
639
  } else {
640
  return $content;
@@ -649,7 +755,7 @@ add_filter( 'the_content_feed', 'crp_rss_filter' );
649
  *
650
  * @since 1.0.1
651
  *
652
- * @param string List of arguments to control the output
653
  */
654
  function echo_crp( $args = array() ) {
655
 
@@ -657,10 +763,10 @@ function echo_crp( $args = array() ) {
657
  'is_manual' => true,
658
  );
659
 
660
- // Parse incomming $args into an array and merge it with $defaults
661
  $args = wp_parse_args( $args, $defaults );
662
 
663
- echo get_crp( $args );
664
  }
665
 
666
 
@@ -673,7 +779,7 @@ function crp_heading_styles() {
673
  global $crp_settings;
674
 
675
  if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) {
676
- wp_register_style( 'crp-style-rounded-thumbs', plugins_url( 'css/default-style.css', __FILE__ ) );
677
  wp_enqueue_style( 'crp-style-rounded-thumbs' );
678
 
679
  $custom_css = "
@@ -687,7 +793,7 @@ function crp_heading_styles() {
687
  margin: auto;
688
  }
689
  .crp_related .crp_title {
690
- width: " . ( $crp_settings['thumb_width'] - 6 ) . 'px;
691
  }
692
  ';
693
 
@@ -713,7 +819,7 @@ function crp_default_options() {
713
 
714
  $thumb_default = plugins_url( 'default.png' , __FILE__ );
715
 
716
- // Set default post types to post and page
717
  $post_types = array(
718
  'post' => 'post',
719
  'page' => 'page',
@@ -721,81 +827,82 @@ function crp_default_options() {
721
  $post_types = http_build_query( $post_types, '', '&' );
722
 
723
  $crp_settings = array(
724
- // General options
725
- 'cache' => false, // Cache output for faster page load
726
-
727
- 'add_to_content' => true, // Add related posts to content (only on single posts)
728
- 'add_to_page' => true, // Add related posts to content (only on single pages)
729
- 'add_to_feed' => false, // Add related posts to feed (full)
730
- 'add_to_home' => false, // Add related posts to home page
731
- 'add_to_category_archives' => false, // Add related posts to category archives
732
- 'add_to_tag_archives' => false, // Add related posts to tag archives
733
- 'add_to_archives' => false, // Add related posts to other archives
734
-
735
- 'content_filter_priority' => 10, // Content priority
736
- 'show_metabox' => true, // Show metabox to admins
737
- 'show_metabox_admins' => false, // Limit to admins as well
 
738
 
739
  'show_credit' => false, // Link to this plugin's page?
740
 
741
- // List tuning options
742
  'limit' => '6', // How many posts to display?
743
  'daily_range' => '1095', // How old posts should be displayed?
744
 
745
- 'match_content' => true, // Match against post content as well as title
746
- 'match_content_words' => '0', // How many characters of content should be matched? 0 for all chars
747
 
748
- 'post_types' => $post_types, // WordPress custom post types
749
 
750
- 'exclude_categories' => '', // Exclude these categories
751
- 'exclude_cat_slugs' => '', // Exclude these categories (slugs)
752
- 'exclude_post_ids' => '', // Comma separated list of page / post IDs that are to be excluded in the results
753
 
754
- // Output options
755
- 'title' => $title, // Add before the content
756
  'blank_output' => true, // Blank output?
757
- 'blank_output_text' => $blank_output_text, // Blank output text
758
-
759
- 'show_excerpt' => false, // Show post excerpt in list item
760
- 'show_date' => false, // Show date in list item
761
- 'show_author' => false, // Show author in list item
762
- 'excerpt_length' => '10', // Length of characters
763
- 'title_length' => '60', // Limit length of post title
764
-
765
- 'link_new_window' => false, // Open link in new window - Includes target="_blank" to links
766
- 'link_nofollow' => false, // Includes rel="nofollow" to links
767
-
768
- 'before_list' => '<ul>', // Before the entire list
769
- 'after_list' => '</ul>', // After the entire list
770
- 'before_list_item' => '<li>', // Before each list item
771
- 'after_list_item' => '</li>', // After each list item
772
-
773
- 'exclude_on_post_ids' => '', // Comma separate list of page/post IDs to not display related posts on
774
- 'exclude_on_post_types' => '', // WordPress custom post types
775
-
776
- // Thumbnail options
777
- 'post_thumb_op' => 'inline', // Default option to display text and no thumbnails in posts
778
- 'thumb_size' => 'crp_thumbnail', // Default thumbnail size
779
- 'thumb_height' => '150', // Height of thumbnails
780
- 'thumb_width' => '150', // Width of thumbnails
781
- 'thumb_crop' => true, // Crop mode. default is hard crop
782
  'thumb_html' => 'html', // Use HTML or CSS for width and height of the thumbnail?
783
- 'thumb_meta' => 'post-image', // Meta field that is used to store the location of default thumbnail image
784
- 'scan_images' => true, // Scan post for images
785
- 'thumb_default' => $thumb_default, // Default thumbnail image
786
- 'thumb_default_show' => true, // Show default thumb if none found (if false, don't show thumb at all)
787
-
788
- // Feed options
789
- 'limit_feed' => '5', // How many posts to display in feeds
790
- 'post_thumb_op_feed' => 'text_only', // Default option to display text and no thumbnails in Feeds
791
- 'thumb_height_feed' => '50', // Height of thumbnails in feed
792
- 'thumb_width_feed' => '50', // Width of thumbnails in feed
793
- 'show_excerpt_feed' => false, // Show description in list item in feed
794
-
795
- // Custom styles
796
- 'custom_CSS' => '', // Custom CSS to style the output
797
- 'include_default_style' => true, // Include default style - Will be DEPRECATED in the next version
798
- 'crp_styles' => 'rounded_thumbs',// Defaault style is rounded thubnails
799
  );
800
 
801
  /**
@@ -803,7 +910,7 @@ function crp_default_options() {
803
  *
804
  * @since 1.9.1
805
  *
806
- * @param array $crp_settings Default options
807
  */
808
  return apply_filters( 'crp_default_options', $crp_settings );
809
  }
@@ -822,7 +929,7 @@ function crp_read_options() {
822
  $defaults = crp_default_options();
823
 
824
  $crp_settings = array_map( 'stripslashes', (array) get_option( 'ald_crp_settings' ) );
825
- unset( $crp_settings[0] ); // produced by the (array) casting when there's nothing in the DB
826
 
827
  foreach ( $defaults as $k => $v ) {
828
  if ( ! isset( $crp_settings[ $k ] ) ) {
@@ -849,30 +956,28 @@ function crp_read_options() {
849
  * Filter for wp_head to include the custom CSS.
850
  *
851
  * @since 1.8.4
852
- *
853
- * @return string Echoed string with the CSS output in the Header
854
  */
855
  function crp_header() {
856
- global $wpdb, $post, $crp_settings;
857
 
858
- $crp_custom_CSS = stripslashes( $crp_settings['custom_CSS'] );
859
 
860
- // Add CSS to header
861
- if ( '' != $crp_custom_CSS ) {
862
  if ( ( is_single() ) ) {
863
- echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
864
  } elseif ( (is_page()) ) {
865
- echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
866
  } elseif ( ( is_home() ) && ( $crp_settings['add_to_home'] ) ) {
867
- echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
868
  } elseif ( ( is_category() ) && ( $crp_settings['add_to_category_archives'] ) ) {
869
- echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
870
  } elseif ( ( is_tag() ) && ( $crp_settings['add_to_tag_archives'] ) ) {
871
- echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
872
  } elseif ( ( ( is_tax() ) || ( is_author() ) || ( is_date() ) ) && ( $crp_settings['add_to_archives'] ) ) {
873
- echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
874
  } elseif ( is_active_widget( false, false, 'CRP_Widget', true ) ) {
875
- echo '<style type="text/css">'.$crp_custom_CSS.'</style>';
876
  }
877
  }
878
  }
@@ -882,19 +987,22 @@ add_action( 'wp_head', 'crp_header' );
882
  /*
883
  ----------------------------------------------------------------------------*
884
  * Activate the plugin
885
- *----------------------------------------------------------------------------*/
 
886
 
887
  /**
888
  * The code that runs during plugin activation.
889
  * This action is documented in includes/class-plugin-name-activator.php
890
  *
891
  * @since 2.2.0
 
 
892
  */
893
  function activate_crp( $network_wide ) {
894
- require_once plugin_dir_path( __FILE__ ) . 'includes/plugin-activator.php';
895
  crp_activate( $network_wide );
896
  }
897
- register_activation_hook( __FILE__, 'activate_crp' );
898
 
899
 
900
  /**
@@ -910,7 +1018,7 @@ function crp_activate_new_site( $blog_id ) {
910
  return;
911
  }
912
 
913
- require_once plugin_dir_path( __FILE__ ) . 'includes/plugin-activator.php';
914
 
915
  switch_to_blog( $blog_id );
916
  crp_single_activate();
@@ -920,49 +1028,11 @@ function crp_activate_new_site( $blog_id ) {
920
  add_action( 'wpmu_new_blog', 'crp_activate_new_site' );
921
 
922
 
923
-
924
- /**
925
- * Returns the object identifier for the current language (WPML).
926
- *
927
- * @since 2.1.0
928
- *
929
- * @param $post_id Post ID
930
- */
931
- function crp_object_id_cur_lang( $post_id ) {
932
-
933
- $return_original_if_missing = true;
934
-
935
- /**
936
- * Filter to modify if the original language ID is returned.
937
- *
938
- * @since 2.2.3
939
- *
940
- * @param bool $return_original_if_missing
941
- * @param int $post_id Post ID
942
- */
943
- $return_original_if_missing = apply_filters( 'crp_wpml_return_original', $return_original_if_missing, $post_id );
944
-
945
- if ( function_exists( 'wpml_object_id_filter' ) ) {
946
- $post_id = wpml_object_id_filter( $post_id, 'any', $return_original_if_missing );
947
- } elseif ( function_exists( 'icl_object_id' ) ) {
948
- $post_id = icl_object_id( $post_id, 'any', $return_original_if_missing );
949
- }
950
-
951
- /**
952
- * Filters object ID for current language (WPML).
953
- *
954
- * @since 2.1.0
955
- *
956
- * @param int $post_id Post ID
957
- */
958
- return apply_filters( 'crp_object_id_cur_lang', $post_id );
959
- }
960
-
961
-
962
  /*
963
  ----------------------------------------------------------------------------*
964
  * WordPress widget
965
- *----------------------------------------------------------------------------*/
 
966
 
967
  /**
968
  * Initialise the widget.
@@ -970,7 +1040,7 @@ function crp_object_id_cur_lang( $post_id ) {
970
  * @since 1.9.1
971
  */
972
  function register_crp_widget() {
973
- require_once( plugin_dir_path( __FILE__ ) . 'includes/class-crp-widget.php' );
974
 
975
  register_widget( 'CRP_Widget' );
976
  }
@@ -980,27 +1050,31 @@ add_action( 'widgets_init', 'register_crp_widget' );
980
  /*
981
  ----------------------------------------------------------------------------*
982
  * CRP modules & includes
983
- *----------------------------------------------------------------------------*/
 
984
 
985
- require_once( plugin_dir_path( __FILE__ ) . 'includes/output-generator.php' );
986
- require_once( plugin_dir_path( __FILE__ ) . 'includes/media.php' );
987
- require_once( plugin_dir_path( __FILE__ ) . 'includes/tools.php' );
988
- require_once( plugin_dir_path( __FILE__ ) . 'includes/modules/manual-posts.php' );
989
- require_once( plugin_dir_path( __FILE__ ) . 'includes/modules/shortcode.php' );
990
- require_once( plugin_dir_path( __FILE__ ) . 'includes/modules/taxonomies.php' );
 
 
991
 
992
 
993
  /*
994
  ----------------------------------------------------------------------------*
995
  * Dashboard and Administrative Functionality
996
- *----------------------------------------------------------------------------*/
 
997
 
998
- if ( is_admin() || strstr( $_SERVER['PHP_SELF'], 'wp-admin/' ) ) {
999
 
1000
- require_once( plugin_dir_path( __FILE__ ) . 'admin/admin.php' );
1001
- require_once( plugin_dir_path( __FILE__ ) . 'admin/loader.php' );
1002
- require_once( plugin_dir_path( __FILE__ ) . 'admin/metabox.php' );
1003
- require_once( plugin_dir_path( __FILE__ ) . 'admin/cache.php' );
1004
 
1005
  } // End admin.inc
1006
 
@@ -1008,7 +1082,8 @@ if ( is_admin() || strstr( $_SERVER['PHP_SELF'], 'wp-admin/' ) ) {
1008
  /*
1009
  ----------------------------------------------------------------------------*
1010
  * Deprecated functions
1011
- *----------------------------------------------------------------------------*/
 
1012
 
1013
- require_once( plugin_dir_path( __FILE__ ) . 'includes/deprecated.php' );
1014
 
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: 2.3.0
19
  * Author: WebberZone
20
  * Author URI: https://webberzone.com
21
  * License: GPL-2.0+
32
 
33
 
34
  /**
35
+ * Holds the filesystem directory path (with trailing slash) for Contextual Related Posts.
36
  *
37
+ * @since 2.3.0
38
+ *
39
+ * @var string Plugin folder path
40
  */
41
+ if ( ! defined( 'CRP_PLUGIN_DIR' ) ) {
42
+ define( 'CRP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
43
+ }
44
 
45
  /**
46
+ * Holds the filesystem directory path (with trailing slash) for Contextual Related Posts.
47
  *
48
+ * @since 2.3.0
49
  *
50
+ * @var string Plugin folder URL
51
  */
52
+ if ( ! defined( 'CRP_PLUGIN_URL' ) ) {
53
+ define( 'CRP_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
54
+ }
55
 
56
  /**
57
+ * Holds the filesystem directory path (with trailing slash) for Contextual Related Posts.
58
  *
59
+ * @since 2.3.0
60
  *
61
+ * @var string Plugin Root File
62
  */
63
+ if ( ! defined( 'CRP_PLUGIN_FILE' ) ) {
64
+ define( 'CRP_PLUGIN_FILE', __FILE__ );
65
+ }
66
+
67
 
68
  /**
69
+ * Maximum words to match in the content.
70
  *
71
+ * @since 2.3.0
72
  *
73
+ * @var int Maximum number of words to match.
74
  */
75
+ if ( ! defined( 'CRP_MAX_WORDS' ) ) {
76
+ define( 'CRP_MAX_WORDS', 500 );
77
+ }
78
 
79
 
80
  /**
81
+ * Global variable holding the current settings for Contextual Related Posts
82
+ *
83
+ * @since 1.8.10
84
  *
85
+ * @var array
86
  */
87
+ global $crp_settings;
88
+ $crp_settings = crp_read_options();
 
 
89
 
90
 
91
  /**
93
  *
94
  * @since 1.0.1
95
  *
96
+ * @param array $args Parameters in a query string format.
97
+ * @return string HTML formatted list of related posts
98
  */
99
  function get_crp( $args = array() ) {
100
+ global $post, $crp_settings;
101
 
102
+ // If set, save $exclude_categories.
103
  if ( isset( $args['exclude_categories'] ) && '' != $args['exclude_categories'] ) {
104
  $exclude_categories = explode( ',', $args['exclude_categories'] );
105
  $args['strict_limit'] = false;
110
  'is_manual' => false,
111
  'echo' => true,
112
  'heading' => true,
113
+ 'offset' => 0,
114
  );
115
  $defaults = array_merge( $defaults, $crp_settings );
116
 
117
+ // Parse incomming $args into an array and merge it with $defaults.
118
  $args = wp_parse_args( $args, $defaults );
119
 
120
  // WPML support.
122
  $args['strict_limit'] = false;
123
  }
124
 
125
+ // Support caching to speed up retrieval.
126
  if ( ! empty( $args['cache'] ) ) {
127
  $meta_key = 'crp_related_posts';
128
  if ( $args['is_widget'] ) {
140
  }
141
  }
142
 
143
+ // Retrieve the list of posts.
144
  $results = get_crp_posts_id( array_merge( $args, array(
145
  'postid' => $post->ID,
146
+ 'strict_limit' => isset( $args['strict_limit'] ) ? $args['strict_limit'] : true,
147
  ) ) );
148
 
149
+ /**
150
+ * Filter to create a custom HTML output
151
+ *
152
+ * @since 2.2.3
153
+ *
154
+ * @param mixed Default return value
155
+ * @param array $results Array of IDs of related posts
156
+ * @param array $args Array of settings
157
+ * @return string Custom HTML formatted list of related posts
158
+ */
159
+ $custom_template = apply_filters( 'crp_custom_template', null, $results, $args );
160
+ if ( ! empty( $custom_template ) ) {
161
+ if ( ! empty( $args['cache'] ) ) {
162
+ update_post_meta( $post->ID, $meta_key, $custom_template, '' );
163
+ }
164
+ return $custom_template;
165
+ }
166
+
167
  $widget_class = $args['is_widget'] ? 'crp_related_widget' : 'crp_related ';
168
  $shortcode_class = $args['is_shortcode'] ? 'crp_related_shortcode ' : '';
169
 
170
  $post_classes = $widget_class . $shortcode_class;
171
 
172
  /**
173
+ * Filter the classes added to the div wrapper of the Contextual Related Posts.
174
  *
175
  * @since 2.2.3
176
  *
187
 
188
  $output .= crp_before_list( $args );
189
 
190
+ // We need this for WPML support.
191
  $processed_results = array();
192
 
193
  foreach ( $results as $result ) {
200
  continue;
201
  }
202
 
203
+ // Push the current ID into the array to ensure we're not repeating it.
204
  array_push( $processed_results, $resultid );
205
 
206
  /**
212
  */
213
  $resultid = apply_filters( 'crp_post_id', $resultid );
214
 
215
+ $result = get_post( $resultid ); // Let's get the Post using the ID.
216
 
217
+ // Process the category exclusion if passed in the shortcode.
218
  if ( isset( $exclude_categories ) ) {
219
 
220
+ $categorys = get_the_category( $result->ID ); // Fetch categories of the plugin.
221
 
222
  $p_in_c = false; // Variable to check if post exists in a particular category
223
+ foreach ( $categorys as $cat ) { // Loop to check if post exists in excluded category.
224
  $p_in_c = ( in_array( $cat->cat_ID, $exclude_categories ) ) ? true : false;
225
  if ( $p_in_c ) {
226
+ break; // Skip loop execution and go to the next step.
227
  }
228
  }
229
+ if ( $p_in_c ) { continue; // Skip loop execution and go to the next step.
230
  }
231
  }
232
 
250
 
251
  $output .= crp_after_list_item( $args, $result );
252
 
253
+ if ( $loop_counter == $args['limit'] ) {
254
+ break; // End loop when related posts limit is reached.
255
  }
256
  } //end of foreach loop
257
 
282
  $output .= ( $args['blank_output'] ) ? ' ' : '<p>' . $args['blank_output_text'] . '</p>';
283
  }
284
 
285
+ // Check if the opening list tag is missing in the output, it means all of our results were eliminated cause of the category filter.
286
  if ( false === ( strpos( $output, $args['before_list_item'] ) ) ) {
287
  $output = '<div id="crp_related">';
288
  $output .= ( $args['blank_output'] ) ? ' ' : '<p>' . $args['blank_output_text'] . '</p>';
289
  }
290
 
291
+ $output .= '</div>'; // Closing div of 'crp_related'.
292
 
293
+ // Support caching to speed up retrieval.
294
  if ( ! empty( $args['cache'] ) ) {
295
  update_post_meta( $post->ID, $meta_key, $output, '' );
296
  }
312
  *
313
  * @since 1.9
314
  *
315
+ * @param array $args Arguments array.
316
  * @return object $results
317
  */
318
  function get_crp_posts_id( $args = array() ) {
319
  global $wpdb, $post, $crp_settings;
320
 
321
+ // Initialise some variables.
322
  $fields = '';
323
  $where = '';
324
  $join = '';
329
  $match_fields = '';
330
 
331
  $defaults = array(
332
+ 'postid' => false, // Get related posts for a specific post ID.
333
+ 'strict_limit' => true, // If this is set to false, then it will fetch 5x posts.
334
+ 'offset' => 0, // Offset the related posts returned by this number.
335
  );
336
  $defaults = array_merge( $defaults, $crp_settings );
337
 
338
+ // Parse incoming $args into an array and merge it with $defaults.
339
  $args = wp_parse_args( $args, $defaults );
340
 
341
+ // Fix the thumb size in case it is missing.
342
  $crp_thumb_size = crp_get_all_image_sizes( $args['thumb_size'] );
343
 
344
  if ( isset( $crp_thumb_size['width'] ) ) {
354
  $thumb_height = $crp_settings['thumb_height'];
355
  }
356
 
357
+ $source_post = ( empty( $args['postid'] ) ) ? $post : get_post( $args['postid'] );
358
 
359
  $limit = ( $args['strict_limit'] ) ? $args['limit'] : ( $args['limit'] * 3 );
360
+ $offset = isset( $args['offset'] ) ? $args['offset'] : 0;
361
 
362
+ // Save post types in $post_types variable.
363
  parse_str( $args['post_types'], $post_types );
364
 
365
  /**
368
  * @since 2.2.0
369
  *
370
  * @param array $post_types Array of post types to filter by
371
+ * @param int $source_post->ID Post ID
372
  */
373
+ $post_types = apply_filters( 'crp_posts_post_types', $post_types, $source_post->ID );
374
 
375
  // Are we matching only the title or the post content as well?
376
  $match_fields = array(
378
  );
379
 
380
  $match_fields_content = array(
381
+ $source_post->post_title,
382
  );
383
 
384
  if ( $args['match_content'] ) {
385
 
386
  $match_fields[] = 'post_content';
387
+ $match_fields_content[] = crp_excerpt( $source_post->ID, $args['match_content_words'], false );
388
  }
389
 
390
  /**
393
  * @since 2.2.0
394
  *
395
  * @param array $match_fields Array of fields to be matched
396
+ * @param int $source_post->ID Post ID
397
  */
398
+ $match_fields = apply_filters( 'crp_posts_match_fields', $match_fields, $source_post->ID );
399
 
400
  /**
401
  * Filter the content of the fields that are to be matched.
403
  * @since 2.2.0
404
  *
405
  * @param array $match_fields_content Array of content of fields to be matched
406
+ * @param int $source_post->ID Post ID
407
  */
408
+ $match_fields_content = apply_filters( 'crp_posts_match_fields_content', $match_fields_content, $source_post->ID );
409
 
410
+ // Convert our arrays into their corresponding strings after they have been filtered.
411
  $match_fields = implode( ',', $match_fields );
412
  $stuff = implode( ' ', $match_fields_content );
413
 
414
+ // Make sure the post is not from the future.
415
  $time_difference = get_option( 'gmt_offset' );
416
  $now = gmdate( 'Y-m-d H:i:s', ( time() + ( $time_difference * 3600 ) ) );
417
 
418
+ // Limit the related posts by time.
419
  $current_time = current_time( 'timestamp', 0 );
420
  $from_date = $current_time - ( $args['daily_range'] * DAY_IN_SECONDS );
421
  $from_date = gmdate( 'Y-m-d H:i:s' , $from_date );
422
 
423
+ // Create the SQL query to fetch the related posts from the database.
424
+ if ( is_int( $source_post->ID ) ) {
425
 
426
+ // Fields to return.
427
  $fields = " $wpdb->posts.ID ";
428
 
429
+ // Create the base MATCH clause.
430
+ $match = $wpdb->prepare( ' AND MATCH (' . $match_fields . ") AGAINST ('%s') ", $stuff );
431
 
432
  /**
433
  * Filter the MATCH clause of the query.
436
  *
437
  * @param string $match The MATCH section of the WHERE clause of the query
438
  * @param string $stuff String to match fulltext with
439
+ * @param int $source_post->ID Post ID
440
  */
441
+ $match = apply_filters( 'crp_posts_match', $match, $stuff, $source_post->ID );
442
 
443
+ // Create the maximum date limit. Show posts before today.
444
+ $now_clause = $wpdb->prepare( " AND $wpdb->posts.post_date < '%s' ", $now );
445
 
446
  /**
447
  * Filter the Maximum date clause of the query.
449
  * @since 2.1.0
450
  *
451
  * @param string $now_clause The Maximum date of the WHERE clause of the query.
452
+ * @param int $source_post->ID Post ID
453
  */
454
+ $now_clause = apply_filters( 'crp_posts_now_date', $now_clause, $source_post->ID );
455
 
456
+ // Create the minimum date limit. Show posts after the date specified.
457
+ $from_clause = ( 0 == $args['daily_range'] ) ? '' : $wpdb->prepare( " AND $wpdb->posts.post_date >= '%s' ", $from_date );
458
 
459
  /**
460
  * Filter the Maximum date clause of the query.
462
  * @since 2.1.0
463
  *
464
  * @param string $from_clause The Minimum date of the WHERE clause of the query.
465
+ * @param int $source_post->ID Post ID
466
  */
467
+ $from_clause = apply_filters( 'crp_posts_from_date', $from_clause, $source_post->ID );
468
 
469
+ // Create the base WHERE clause.
470
  $where = $match;
471
  $where .= $now_clause;
472
  $where .= $from_clause;
473
  $where .= " AND $wpdb->posts.post_status = 'publish' "; // Only show published posts
474
+ $where .= $wpdb->prepare( " AND {$wpdb->posts}.ID != %d ", $source_post->ID ); // Show posts after the date specified.
475
+
476
+ // Convert exclude post IDs string to array so it can be filtered
477
+ $exclude_post_ids = explode( ',', $args['exclude_post_ids'] );
478
+
479
+ /**
480
+ * Filter exclude post IDs array.
481
+ *
482
+ * @since 2.3.0
483
+ *
484
+ * @param array $exclude_post_ids Array of post IDs.
485
+ */
486
+ $exclude_post_ids = apply_filters( 'crp_exclude_post_ids', $exclude_post_ids );
487
+
488
+ // Convert it back to string
489
+ $exclude_post_ids = implode( ',', array_filter( $exclude_post_ids ) );
490
+
491
+ if ( '' != $exclude_post_ids ) {
492
+ $where .= " AND $wpdb->posts.ID NOT IN ({$exclude_post_ids}) ";
493
  }
 
494
 
495
+ $where .= " AND $wpdb->posts.post_type IN ('" . join( "', '", $post_types ) . "') "; // Array of post types.
496
+
497
+ // Create the base LIMITS clause.
498
+ $limits .= $wpdb->prepare( ' LIMIT %d, %d ', $offset, $limit );
499
 
500
  /**
501
  * Filter the SELECT clause of the query.
503
  * @since 2.0.0
504
  *
505
  * @param string $fields The SELECT clause of the query.
506
+ * @param int $source_post->ID Post ID
507
  */
508
+ $fields = apply_filters( 'crp_posts_fields', $fields, $source_post->ID );
509
 
510
  /**
511
  * Filter the JOIN clause of the query.
513
  * @since 2.0.0
514
  *
515
  * @param string $join The JOIN clause of the query.
516
+ * @param int $source_post->ID Post ID
517
  */
518
+ $join = apply_filters( 'crp_posts_join', $join, $source_post->ID );
519
 
520
  /**
521
  * Filter the WHERE clause of the query.
523
  * @since 2.0.0
524
  *
525
  * @param string $where The WHERE clause of the query.
526
+ * @param int $source_post->ID Post ID
527
  */
528
+ $where = apply_filters( 'crp_posts_where', $where, $source_post->ID );
529
 
530
  /**
531
  * Filter the GROUP BY clause of the query.
533
  * @since 2.0.0
534
  *
535
  * @param string $groupby The GROUP BY clause of the query.
536
+ * @param int $source_post->ID Post ID
537
  */
538
+ $groupby = apply_filters( 'crp_posts_groupby', $groupby, $source_post->ID );
539
 
540
  /**
541
  * Filter the HAVING clause of the query.
543
  * @since 2.2.0
544
  *
545
  * @param string $having The HAVING clause of the query.
546
+ * @param int $source_post->ID Post ID
547
  */
548
+ $having = apply_filters( 'crp_posts_having', $having, $source_post->ID );
549
 
550
  /**
551
  * Filter the ORDER BY clause of the query.
553
  * @since 2.0.0
554
  *
555
  * @param string $orderby The ORDER BY clause of the query.
556
+ * @param int $source_post->ID Post ID
557
  */
558
+ $orderby = apply_filters( 'crp_posts_orderby', $orderby, $source_post->ID );
559
 
560
  /**
561
  * Filter the LIMIT clause of the query.
563
  * @since 2.0.0
564
  *
565
  * @param string $limits The LIMIT clause of the query.
566
+ * @param int $source_post->ID Post ID
567
  */
568
+ $limits = apply_filters( 'crp_posts_limits', $limits, $source_post->ID );
569
 
570
  if ( ! empty( $groupby ) ) {
571
  $groupby = 'GROUP BY ' . $groupby;
616
  *
617
  * @since 1.0.1
618
  *
619
+ * @param string $content Post content.
620
  * @return string After the filter has been processed
621
  */
622
  function crp_content_filter( $content ) {
623
 
624
  global $post, $crp_settings;
625
 
626
+ // Return if it's not in the loop or in the main query.
627
  if ( ! in_the_loop() && ! is_main_query() ) {
628
  return $content;
629
  }
630
 
631
+ // If this post ID is in the DO NOT DISPLAY list.
632
  $exclude_on_post_ids = explode( ',', $crp_settings['exclude_on_post_ids'] );
633
+ if ( in_array( $post->ID, $exclude_on_post_ids ) ) {
634
+ return $content; // Exit without adding related posts.
635
  }
636
  // If this post type is in the DO NOT DISPLAY list
637
+ parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types ); // Save post types in $exclude_on_post_types variable.
638
+ if ( in_array( $post->post_type, $exclude_on_post_types ) ) {
639
+ return $content; // Exit without adding related posts.
640
  }
641
+ // If the DO NOT DISPLAY meta field is set.
642
  $crp_post_meta = get_post_meta( $post->ID, 'crp_post_meta', true );
643
 
644
  if ( isset( $crp_post_meta['crp_disable_here'] ) ) {
647
  $crp_disable_here = 0;
648
  }
649
 
650
+ if ( $crp_disable_here ) {
651
+ return $content;
652
+ }
653
+
654
+ // Else add the content.
655
+ if ( ( ( is_single() ) && ( $crp_settings['add_to_content'] ) ) ||
656
+ ( ( is_page() ) && ( $crp_settings['add_to_page'] ) ) ||
657
+ ( ( is_home() ) && ( $crp_settings['add_to_home'] ) ) ||
658
+ ( ( is_category() ) && ( $crp_settings['add_to_category_archives'] ) ) ||
659
+ ( ( is_tag() ) && ( $crp_settings['add_to_tag_archives'] ) ) ||
660
+ ( ( ( is_tax() ) || ( is_author() ) || ( is_date() ) ) && ( $crp_settings['add_to_archives'] ) ) ) {
661
+
662
+ $crp_code = get_crp( 'is_widget=0' );
663
+
664
+ return crp_generate_content( $content, $crp_code );
665
+
666
  } else {
667
  return $content;
668
  }
669
  }
670
 
671
 
672
+ /**
673
+ * Helper for inserting crp code into or alongside content
674
+ *
675
+ * @since 2.3.0
676
+ *
677
+ * @param string $content Post content.
678
+ * @param string $crp_code CRP generated code.
679
+ * @return string After the filter has been processed
680
+ */
681
+ function crp_generate_content( $content, $crp_code ) {
682
+ global $crp_settings;
683
+
684
+ if ( -1 === (int) $crp_settings['insert_after_paragraph'] || ! is_numeric( $crp_settings['insert_after_paragraph'] ) ) {
685
+ return $content . $crp_code;
686
+ } elseif ( 0 === (int) $crp_settings['insert_after_paragraph'] ) {
687
+ return $crp_code . $content;
688
+ } else {
689
+ return crp_insert_after_paragraph( $content, $crp_code, $crp_settings['insert_after_paragraph'] );
690
+ }
691
+
692
+ }
693
+
694
+ /**
695
+ * Helper for inserting code after a closing paragraph tag
696
+ *
697
+ * @since 2.3.0
698
+ *
699
+ * @param string $content Post content.
700
+ * @param string $crp_code CRP generated code.
701
+ * @param string $paragraph_id Paragraph number to insert after.
702
+ * @return string After the filter has been processed
703
+ */
704
+ function crp_insert_after_paragraph( $content, $crp_code, $paragraph_id ) {
705
+ $closing_p = '</p>';
706
+ $paragraphs = explode( $closing_p, $content );
707
+
708
+ if ( count( $paragraphs ) >= $paragraph_id ) {
709
+ foreach ( $paragraphs as $index => $paragraph ) {
710
+
711
+ if ( trim( $paragraph ) ) {
712
+ $paragraphs[ $index ] .= $closing_p;
713
+ }
714
+
715
+ if ( (int) $paragraph_id === $index + 1 ) {
716
+ $paragraphs[ $index ] .= $crp_code;
717
+ }
718
+ }
719
+
720
+ return implode( '', $paragraphs );
721
+ }
722
+
723
+ return $content . $crp_code;
724
+ }
725
+
726
  /**
727
  * Filter to add related posts to feeds.
728
  *
729
  * @since 1.8.4
730
  *
731
+ * @param string $content Post content.
732
  * @return string Formatted content
733
  */
734
  function crp_rss_filter( $content ) {
735
+ global $crp_settings;
736
 
737
  $limit_feed = $crp_settings['limit_feed'];
738
  $show_excerpt_feed = $crp_settings['show_excerpt_feed'];
740
 
741
  if ( $crp_settings['add_to_feed'] ) {
742
  $output = $content;
743
+ $output .= get_crp( 'is_widget=0&limit=' . $limit_feed . '&show_excerpt=' . $show_excerpt_feed . '&post_thumb_op=' . $post_thumb_op_feed );
744
  return $output;
745
  } else {
746
  return $content;
755
  *
756
  * @since 1.0.1
757
  *
758
+ * @param string $args Array of arguments to control the output.
759
  */
760
  function echo_crp( $args = array() ) {
761
 
763
  'is_manual' => true,
764
  );
765
 
766
+ // Parse incomming $args into an array and merge it with $defaults.
767
  $args = wp_parse_args( $args, $defaults );
768
 
769
+ echo get_crp( $args ); // WPCS: XSS ok.
770
  }
771
 
772
 
779
  global $crp_settings;
780
 
781
  if ( 'rounded_thumbs' == $crp_settings['crp_styles'] ) {
782
+ wp_register_style( 'crp-style-rounded-thumbs', plugins_url( 'css/default-style.css', CRP_PLUGIN_FILE ) );
783
  wp_enqueue_style( 'crp-style-rounded-thumbs' );
784
 
785
  $custom_css = "
793
  margin: auto;
794
  }
795
  .crp_related .crp_title {
796
+ width: " . ( $crp_settings['thumb_width'] ) . 'px;
797
  }
798
  ';
799
 
819
 
820
  $thumb_default = plugins_url( 'default.png' , __FILE__ );
821
 
822
+ // Set default post types to post and page.
823
  $post_types = array(
824
  'post' => 'post',
825
  'page' => 'page',
827
  $post_types = http_build_query( $post_types, '', '&' );
828
 
829
  $crp_settings = array(
830
+ // General options.
831
+ 'cache' => false, // Cache output for faster page load.
832
+
833
+ 'add_to_content' => true, // Add related posts to content (only on single posts).
834
+ 'add_to_page' => true, // Add related posts to content (only on single pages).
835
+ 'add_to_feed' => false, // Add related posts to feed (full).
836
+ 'add_to_home' => false, // Add related posts to home page.
837
+ 'add_to_category_archives' => false, // Add related posts to category archives.
838
+ 'add_to_tag_archives' => false, // Add related posts to tag archives.
839
+ 'add_to_archives' => false, // Add related posts to other archives.
840
+
841
+ 'content_filter_priority' => 10, // Content priority.
842
+ 'insert_after_paragraph' => -1, // Insert after paragraph number.
843
+ 'show_metabox' => true, // Show metabox to admins.
844
+ 'show_metabox_admins' => false, // Limit to admins as well.
845
 
846
  'show_credit' => false, // Link to this plugin's page?
847
 
848
+ // List tuning options.
849
  'limit' => '6', // How many posts to display?
850
  'daily_range' => '1095', // How old posts should be displayed?
851
 
852
+ 'match_content' => true, // Match against post content as well as title.
853
+ 'match_content_words' => '0', // How many characters of content should be matched? 0 for all chars.
854
 
855
+ 'post_types' => $post_types, // WordPress custom post types.
856
 
857
+ 'exclude_categories' => '', // Exclude these categories.
858
+ 'exclude_cat_slugs' => '', // Exclude these categories (slugs).
859
+ 'exclude_post_ids' => '', // Comma separated list of page / post IDs that are to be excluded in the results.
860
 
861
+ // Output options.
862
+ 'title' => $title, // Add before the content.
863
  'blank_output' => true, // Blank output?
864
+ 'blank_output_text' => $blank_output_text, // Blank output text.
865
+
866
+ 'show_excerpt' => false, // Show post excerpt in list item.
867
+ 'show_date' => false, // Show date in list item.
868
+ 'show_author' => false, // Show author in list item.
869
+ 'excerpt_length' => '10', // Length of characters.
870
+ 'title_length' => '60', // Limit length of post title.
871
+
872
+ 'link_new_window' => false, // Open link in new window - Includes target="_blank" to links.
873
+ 'link_nofollow' => false, // Includes rel="nofollow" to links.
874
+
875
+ 'before_list' => '<ul>', // Before the entire list.
876
+ 'after_list' => '</ul>', // After the entire list.
877
+ 'before_list_item' => '<li>', // Before each list item.
878
+ 'after_list_item' => '</li>', // After each list item.
879
+
880
+ 'exclude_on_post_ids' => '', // Comma separate list of page/post IDs to not display related posts on.
881
+ 'exclude_on_post_types' => '', // WordPress custom post types.
882
+
883
+ // Thumbnail options.
884
+ 'post_thumb_op' => 'inline', // Default option to display text and no thumbnails in posts.
885
+ 'thumb_size' => 'thumbnail', // Default thumbnail size
886
+ 'thumb_height' => '150', // Height of thumbnails.
887
+ 'thumb_width' => '150', // Width of thumbnails.
888
+ 'thumb_crop' => true, // Crop mode. default is hard crop.
889
  'thumb_html' => 'html', // Use HTML or CSS for width and height of the thumbnail?
890
+ 'thumb_meta' => 'post-image', // Meta field that is used to store the location of default thumbnail image.
891
+ 'scan_images' => true, // Scan post for images.
892
+ 'thumb_default' => $thumb_default, // Default thumbnail image.
893
+ 'thumb_default_show' => true, // Show default thumb if none found (if false, don't show thumb at all).
894
+
895
+ // Feed options.
896
+ 'limit_feed' => '5', // How many posts to display in feeds.
897
+ 'post_thumb_op_feed' => 'text_only', // Default option to display text and no thumbnails in Feeds.
898
+ 'thumb_height_feed' => '50', // Height of thumbnails in feed.
899
+ 'thumb_width_feed' => '50', // Width of thumbnails in feed.
900
+ 'show_excerpt_feed' => false, // Show description in list item in feed.
901
+
902
+ // Custom styles.
903
+ 'custom_CSS' => '', // Custom CSS to style the output.
904
+ 'include_default_style' => true, // Include default style - Will be DEPRECATED in the next version.
905
+ 'crp_styles' => 'rounded_thumbs',// Defaault style is rounded thubnails.
906
  );
907
 
908
  /**
910
  *
911
  * @since 1.9.1
912
  *
913
+ * @param array $crp_settings Default options.
914
  */
915
  return apply_filters( 'crp_default_options', $crp_settings );
916
  }
929
  $defaults = crp_default_options();
930
 
931
  $crp_settings = array_map( 'stripslashes', (array) get_option( 'ald_crp_settings' ) );
932
+ unset( $crp_settings[0] ); // Produced by the (array) casting when there's nothing in the DB.
933
 
934
  foreach ( $defaults as $k => $v ) {
935
  if ( ! isset( $crp_settings[ $k ] ) ) {
956
  * Filter for wp_head to include the custom CSS.
957
  *
958
  * @since 1.8.4
 
 
959
  */
960
  function crp_header() {
961
+ global $crp_settings;
962
 
963
+ $custom_css = stripslashes( $crp_settings['custom_CSS'] );
964
 
965
+ // Add CSS to header.
966
+ if ( '' != $custom_css ) {
967
  if ( ( is_single() ) ) {
968
+ echo '<style type="text/css">' . $custom_css . '</style>'; // WPCS: XSS ok.
969
  } elseif ( (is_page()) ) {
970
+ echo '<style type="text/css">' . $custom_css . '</style>'; // WPCS: XSS ok.
971
  } elseif ( ( is_home() ) && ( $crp_settings['add_to_home'] ) ) {
972
+ echo '<style type="text/css">' . $custom_css . '</style>'; // WPCS: XSS ok.
973
  } elseif ( ( is_category() ) && ( $crp_settings['add_to_category_archives'] ) ) {
974
+ echo '<style type="text/css">' . $custom_css . '</style>'; // WPCS: XSS ok.
975
  } elseif ( ( is_tag() ) && ( $crp_settings['add_to_tag_archives'] ) ) {
976
+ echo '<style type="text/css">' . $custom_css . '</style>'; // WPCS: XSS ok.
977
  } elseif ( ( ( is_tax() ) || ( is_author() ) || ( is_date() ) ) && ( $crp_settings['add_to_archives'] ) ) {
978
+ echo '<style type="text/css">' . $custom_css . '</style>'; // WPCS: XSS ok.
979
  } elseif ( is_active_widget( false, false, 'CRP_Widget', true ) ) {
980
+ echo '<style type="text/css">' . $custom_css . '</style>'; // WPCS: XSS ok.
981
  }
982
  }
983
  }
987
  /*
988
  ----------------------------------------------------------------------------*
989
  * Activate the plugin
990
+ *----------------------------------------------------------------------------
991
+ */
992
 
993
  /**
994
  * The code that runs during plugin activation.
995
  * This action is documented in includes/class-plugin-name-activator.php
996
  *
997
  * @since 2.2.0
998
+ *
999
+ * @param bool $network_wide Network wide flag.
1000
  */
1001
  function activate_crp( $network_wide ) {
1002
+ require_once( CRP_PLUGIN_DIR . 'includes/plugin-activator.php' );
1003
  crp_activate( $network_wide );
1004
  }
1005
+ register_activation_hook( CRP_PLUGIN_FILE, 'activate_crp' );
1006
 
1007
 
1008
  /**
1018
  return;
1019
  }
1020
 
1021
+ require_once( CRP_PLUGIN_DIR . 'includes/plugin-activator.php' );
1022
 
1023
  switch_to_blog( $blog_id );
1024
  crp_single_activate();
1028
  add_action( 'wpmu_new_blog', 'crp_activate_new_site' );
1029
 
1030
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1031
  /*
1032
  ----------------------------------------------------------------------------*
1033
  * WordPress widget
1034
+ *----------------------------------------------------------------------------
1035
+ */
1036
 
1037
  /**
1038
  * Initialise the widget.
1040
  * @since 1.9.1
1041
  */
1042
  function register_crp_widget() {
1043
+ require_once( CRP_PLUGIN_DIR . 'includes/modules/class-crp-widget.php' );
1044
 
1045
  register_widget( 'CRP_Widget' );
1046
  }
1050
  /*
1051
  ----------------------------------------------------------------------------*
1052
  * CRP modules & includes
1053
+ *----------------------------------------------------------------------------
1054
+ */
1055
 
1056
+ require_once( CRP_PLUGIN_DIR . 'includes/i10n.php' );
1057
+ require_once( CRP_PLUGIN_DIR . 'includes/output-generator.php' );
1058
+ require_once( CRP_PLUGIN_DIR . 'includes/media.php' );
1059
+ require_once( CRP_PLUGIN_DIR . 'includes/tools.php' );
1060
+ require_once( CRP_PLUGIN_DIR . 'includes/modules/manual-posts.php' );
1061
+ require_once( CRP_PLUGIN_DIR . 'includes/modules/shortcode.php' );
1062
+ require_once( CRP_PLUGIN_DIR . 'includes/modules/taxonomies.php' );
1063
+ require_once( CRP_PLUGIN_DIR . 'includes/modules/exclusions.php' );
1064
 
1065
 
1066
  /*
1067
  ----------------------------------------------------------------------------*
1068
  * Dashboard and Administrative Functionality
1069
+ *----------------------------------------------------------------------------
1070
+ */
1071
 
1072
+ if ( is_admin() || ( defined( 'WP_CLI' ) && WP_CLI ) ) {
1073
 
1074
+ require_once( CRP_PLUGIN_DIR . 'admin/admin.php' );
1075
+ require_once( CRP_PLUGIN_DIR . 'admin/loader.php' );
1076
+ require_once( CRP_PLUGIN_DIR . 'admin/metabox.php' );
1077
+ require_once( CRP_PLUGIN_DIR . 'admin/cache.php' );
1078
 
1079
  } // End admin.inc
1080
 
1082
  /*
1083
  ----------------------------------------------------------------------------*
1084
  * Deprecated functions
1085
+ *----------------------------------------------------------------------------
1086
+ */
1087
 
1088
+ require_once( CRP_PLUGIN_DIR . 'includes/deprecated.php' );
1089
 
css/default-style.css CHANGED
@@ -26,37 +26,34 @@
26
  background: #eee;
27
  border-color: #bbb;
28
  }
29
- /*.crp_related a {
30
- width: 150px;
31
- height: 150px;
32
- text-decoration: none;
33
- }*/
 
34
  .crp_related a:hover {
35
  text-decoration: none;
36
  }
37
- /*.crp_related img {
38
- max-width: 150px;
39
- margin: auto;
40
- }*/
41
  .crp_related .crp_title {
 
42
  position: absolute;
43
- height: inherit;
44
- bottom: 6px;
45
- left: 6px;
46
  padding: 3px;
47
- /* width: 144px; = 150px - (3px * 2) */
48
  color: #fff;
49
  font-size: .9em;
50
  text-shadow: 1000 .1em .1em .2em;
51
  background: rgb(0.5, 0.5, 0.5);
52
  background: rgba(0, 0, 0, 0.5);
 
 
 
53
  }
54
  .crp_related li:hover .crp_title {
55
  background: rgb(0.2, 0.2, 0.2);
56
  background: rgba(0, 0, 0, 0.8);
57
  }
58
-
59
- .crp_related .crp_thumb, .crp_related li, .crp_related .crp_title {
60
  vertical-align: bottom;
61
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.4);
62
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,.4);
@@ -65,7 +62,9 @@
65
  -moz-border-radius: 7px;
66
  border-radius: 7px;
67
  }
68
-
69
  .crp_clear {
70
  clear: both;
71
  }
 
 
 
26
  background: #eee;
27
  border-color: #bbb;
28
  }
29
+ .crp_related a {
30
+ -webkit-box-shadow: none !important;
31
+ -moz-box-shadow: none !important;
32
+ box-shadow: none !important;
33
+ text-decoration: none !important;
34
+ }
35
  .crp_related a:hover {
36
  text-decoration: none;
37
  }
 
 
 
 
38
  .crp_related .crp_title {
39
+ color: #fff !important;
40
  position: absolute;
41
+ bottom: 0;
 
 
42
  padding: 3px;
 
43
  color: #fff;
44
  font-size: .9em;
45
  text-shadow: 1000 .1em .1em .2em;
46
  background: rgb(0.5, 0.5, 0.5);
47
  background: rgba(0, 0, 0, 0.5);
48
+ -webkit-border-radius: 7px;
49
+ -moz-border-radius: 7px;
50
+ border-radius: 7px;
51
  }
52
  .crp_related li:hover .crp_title {
53
  background: rgb(0.2, 0.2, 0.2);
54
  background: rgba(0, 0, 0, 0.8);
55
  }
56
+ .crp_related li {
 
57
  vertical-align: bottom;
58
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.4);
59
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,.4);
62
  -moz-border-radius: 7px;
63
  border-radius: 7px;
64
  }
 
65
  .crp_clear {
66
  clear: both;
67
  }
68
+ .crp_title:visited {
69
+ color: #fff !important;
70
+ }
includes/deprecated.php CHANGED
@@ -7,6 +7,15 @@
7
  * @package Contextual_Related_Posts
8
  */
9
 
 
 
 
 
 
 
 
 
 
10
 
11
  /**
12
  * Fetch related posts.
@@ -16,9 +25,9 @@
16
  * @deprecated v2.0.0
17
  * @see get_crp_posts_id
18
  *
19
- * @param int $postid (default: FALSE) The post ID for which you want the posts for
20
- * @param int $limit (default: FALSE) Maximum posts to retreive
21
- * @param boolean $strict_limit (default: TRUE) Setting to true will fetch exactly as per limit above
22
  * @return object Object with Post IDs
23
  */
24
  function get_crp_posts( $postid = false, $limit = false, $strict_limit = true ) {
@@ -49,7 +58,7 @@ function get_crp_posts( $postid = false, $limit = false, $strict_limit = true )
49
  * @deprecated 2.2.0
50
  * @see get_crp
51
  *
52
- * @param array $args Parameters in a query string format
53
  * @return string HTML formatted list of related posts
54
  */
55
  function ald_crp( $args = array() ) {
@@ -77,7 +86,7 @@ function ald_crp( $args = array() ) {
77
  * @deprecated 2.2.0
78
  * @see crp_content_filter
79
  *
80
- * @param string $content
81
  * @return string After the filter has been processed
82
  */
83
  function ald_crp_content( $content ) {
@@ -95,7 +104,7 @@ function ald_crp_content( $content ) {
95
  * @deprecated 2.2.0
96
  * @see crp_rss_filter
97
  *
98
- * @param string $content
99
  * @return string Formatted content
100
  */
101
  function ald_crp_rss( $content ) {
@@ -113,7 +122,7 @@ function ald_crp_rss( $content ) {
113
  * @deprecated 2.2.0
114
  * @see echo_crp
115
  *
116
- * @param string List of arguments to control the output
117
  */
118
  function echo_ald_crp( $args = array() ) {
119
 
7
  * @package Contextual_Related_Posts
8
  */
9
 
10
+ /**
11
+ * Holds the URL for CRP
12
+ *
13
+ * @since 1.2
14
+ * @deprecated 2.3.0
15
+ *
16
+ * @var string
17
+ */
18
+ $crp_url = plugins_url() . '/' . plugin_basename( dirname( __FILE__ ) );
19
 
20
  /**
21
  * Fetch related posts.
25
  * @deprecated v2.0.0
26
  * @see get_crp_posts_id
27
  *
28
+ * @param int $postid (default: FALSE) The post ID for which you want the posts for.
29
+ * @param int $limit (default: FALSE) Maximum posts to retreive.
30
+ * @param boolean $strict_limit (default: TRUE) Setting to true will fetch exactly as per limit above.
31
  * @return object Object with Post IDs
32
  */
33
  function get_crp_posts( $postid = false, $limit = false, $strict_limit = true ) {
58
  * @deprecated 2.2.0
59
  * @see get_crp
60
  *
61
+ * @param array $args Parameters in a query string format.
62
  * @return string HTML formatted list of related posts
63
  */
64
  function ald_crp( $args = array() ) {
86
  * @deprecated 2.2.0
87
  * @see crp_content_filter
88
  *
89
+ * @param string $content Post content.
90
  * @return string After the filter has been processed
91
  */
92
  function ald_crp_content( $content ) {
104
  * @deprecated 2.2.0
105
  * @see crp_rss_filter
106
  *
107
+ * @param string $content Post content.
108
  * @return string Formatted content
109
  */
110
  function ald_crp_rss( $content ) {
122
  * @deprecated 2.2.0
123
  * @see echo_crp
124
  *
125
+ * @param string $args Array of arguments.
126
  */
127
  function echo_ald_crp( $args = array() ) {
128
 
includes/i10n.php ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Language functions
4
+ *
5
+ * @package Contextual_Related_Posts
6
+ */
7
+
8
+ /**
9
+ * Initialises text domain for l10n.
10
+ *
11
+ * @since 2.2.0
12
+ */
13
+ function crp_lang_init() {
14
+ load_plugin_textdomain( 'contextual-related-posts', false, dirname( plugin_basename( CRP_PLUGIN_FILE ) ) . '/languages/' );
15
+ }
16
+ add_action( 'plugins_loaded', 'crp_lang_init' );
17
+
18
+
19
+ /**
20
+ * Returns the object identifier for the current language (WPML).
21
+ *
22
+ * @since 2.1.0
23
+ *
24
+ * @param int|string $post_id Post ID.
25
+ */
26
+ function crp_object_id_cur_lang( $post_id ) {
27
+
28
+ $return_original_if_missing = true;
29
+
30
+ /**
31
+ * Filter to modify if the original language ID is returned.
32
+ *
33
+ * @since 2.2.3
34
+ *
35
+ * @param bool $return_original_if_missing
36
+ * @param int $post_id Post ID
37
+ */
38
+ $return_original_if_missing = apply_filters( 'crp_wpml_return_original', $return_original_if_missing, $post_id );
39
+
40
+ if ( function_exists( 'pll_get_post' ) ) {
41
+ $post_id = pll_get_post( $post_id );
42
+ } elseif ( function_exists( 'wpml_object_id_filter' ) ) {
43
+ $post_id = wpml_object_id_filter( $post_id, 'any', $return_original_if_missing );
44
+ } elseif ( function_exists( 'icl_object_id' ) ) {
45
+ $post_id = icl_object_id( $post_id, 'any', $return_original_if_missing );
46
+ }
47
+
48
+ /**
49
+ * Filters object ID for current language (WPML).
50
+ *
51
+ * @since 2.1.0
52
+ *
53
+ * @param int $post_id Post ID
54
+ */
55
+ return apply_filters( 'crp_object_id_cur_lang', $post_id );
56
+ }
57
+
includes/media.php CHANGED
@@ -9,7 +9,6 @@
9
  * @copyright 2009-2015 Ajay D'Souza
10
  */
11
 
12
-
13
  /**
14
  * Add custom image size of thumbnail. Filters `init`.
15
  *
@@ -20,11 +19,10 @@ function crp_add_image_sizes() {
20
 
21
  if ( ! in_array( $crp_settings['thumb_size'], get_intermediate_image_sizes() ) ) {
22
  $crp_settings['thumb_size'] = 'crp_thumbnail';
23
- update_option( 'ald_crp_settings', $crp_settings );
24
  }
25
 
26
- // Add image sizes if 'crp_thumbnail' is selected or the selected thumbnail size is no longer valid
27
- if ( 'crp_thumbnail' == $crp_settings['thumb_size'] ) {
28
  $width = empty( $crp_settings['thumb_width'] ) ? 150 : $crp_settings['thumb_width'];
29
  $height = empty( $crp_settings['thumb_height'] ) ? 150 : $crp_settings['thumb_height'];
30
  $crop = isset( $crp_settings['thumb_crop'] ) ? $crp_settings['thumb_crop'] : false;
@@ -40,29 +38,29 @@ add_action( 'init', 'crp_add_image_sizes' );
40
  *
41
  * @since 1.7
42
  *
43
- * @param array|string $args Array / Query string with arguments post thumbnails
44
- * @return string Output with the post thumbnail
45
  */
46
  function crp_get_the_post_thumbnail( $args = array() ) {
47
 
48
- global $crp_url, $crp_settings;
49
 
50
  $defaults = array(
51
  'postid' => '',
52
- 'thumb_height' => '150', // Max height of thumbnails
53
- 'thumb_width' => '150', // Max width of thumbnails
54
- 'thumb_meta' => 'post-image', // Meta field that is used to store the location of default thumbnail image
55
- 'thumb_html' => 'html', // HTML / CSS for width and height attributes
56
- 'thumb_default' => '', // Default thumbnail image
57
- 'thumb_default_show' => true, // Show default thumb if none found (if false, don't show thumb at all)
58
- 'scan_images' => false, // Scan post for images
59
- 'class' => 'crp_thumb', // Class of the thumbnail
60
  );
61
 
62
- // Parse incomming $args into an array and merge it with $defaults
63
  $args = wp_parse_args( $args, $defaults );
64
 
65
- // Issue notice for deprecated arguments
66
  if ( isset( $args['thumb_timthumb'] ) ) {
67
  _deprecated_argument( __FUNCTION__, '2.1', __( 'thumb_timthumb argument has been deprecated', 'contextual-related-posts' ) );
68
  }
@@ -91,13 +89,13 @@ function crp_get_the_post_thumbnail( $args = array() ) {
91
  $output = '';
92
  $postimage = '';
93
 
94
- // Let's start fetching the thumbnail. First place to look is in the post meta defined in the Settings page
95
  if ( ! $postimage ) {
96
- $postimage = get_post_meta( $result->ID, $args['thumb_meta'], true ); // Check the post meta first
97
  $pick = 'meta';
98
  }
99
 
100
- // If there is no thumbnail found, check the post thumbnail
101
  if ( ! $postimage ) {
102
  if ( false != get_post_thumbnail_id( $result->ID ) ) {
103
  $postthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $result->ID ), $crp_settings['thumb_size'] );
@@ -106,7 +104,7 @@ function crp_get_the_post_thumbnail( $args = array() ) {
106
  $pick = 'featured';
107
  }
108
 
109
- // If there is no thumbnail found, fetch the first image in the post, if enabled
110
  if ( ! $postimage && $args['scan_images'] ) {
111
 
112
  /**
@@ -123,8 +121,8 @@ function crp_get_the_post_thumbnail( $args = array() ) {
123
 
124
  preg_match_all( '/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post_content, $matches );
125
 
126
- if ( isset( $matches[1][0] ) && $matches[1][0] ) { // any image there?
127
- $postimage = $matches[1][0]; // we need the first one only!
128
  }
129
  if ( $postimage ) {
130
  $postimage_id = crp_get_attachment_id_from_url( $postimage );
@@ -138,25 +136,25 @@ function crp_get_the_post_thumbnail( $args = array() ) {
138
  $pick .= 'first';
139
  }
140
 
141
- // If there is no thumbnail found, fetch the first child image
142
  if ( ! $postimage ) {
143
- $postimage = crp_get_first_image( $result->ID ); // Get the first image
144
  $pick = 'firstchild';
145
  }
146
 
147
- // If no other thumbnail set, try to get the custom video thumbnail set by the Video Thumbnails plugin
148
  if ( ! $postimage ) {
149
  $postimage = get_post_meta( $result->ID, '_video_thumbnail', true );
150
  $pick = 'video';
151
  }
152
 
153
- // If no thumb found and settings permit, use default thumb
154
  if ( ! $postimage && $args['thumb_default_show'] ) {
155
  $postimage = $args['thumb_default'];
156
  $pick = 'default';
157
  }
158
 
159
- // Hopefully, we've found a thumbnail by now. If so, run it through the custom filter, check for SSL and create the image tag
160
  if ( $postimage ) {
161
 
162
  /**
@@ -199,7 +197,7 @@ function crp_get_the_post_thumbnail( $args = array() ) {
199
 
200
  if ( 'css' == $args['thumb_html'] ) {
201
  $thumb_html = 'style="max-width:' . $args['thumb_width'] . 'px;max-height:' . $args['thumb_height'] . 'px;"';
202
- } else if ( 'html' == $args['thumb_html'] ) {
203
  $thumb_html = 'width="' . $args['thumb_width'] . '" height="' . $args['thumb_height'] . '"';
204
  } else {
205
  $thumb_html = '';
@@ -245,17 +243,17 @@ function crp_get_the_post_thumbnail( $args = array() ) {
245
  *
246
  * @since 1.8.9
247
  *
248
- * @param mixed $postID Post ID
249
  * @return string
250
  */
251
- function crp_get_first_image( $postID ) {
252
  global $crp_settings;
253
 
254
  $args = array(
255
  'numberposts' => 1,
256
  'order' => 'ASC',
257
  'post_mime_type' => 'image',
258
- 'post_parent' => $postID,
259
  'post_status' => null,
260
  'post_type' => 'attachment',
261
  );
@@ -272,9 +270,9 @@ function crp_get_first_image( $postID ) {
272
  * @since 2.0.0
273
  *
274
  * @param array $image_attributes[0] URL of the image
275
- * @param int $postID Post ID
276
  */
277
- return apply_filters( 'crp_get_first_image', $image_attributes[0], $postID );
278
  }
279
  } else {
280
  return false;
@@ -287,7 +285,7 @@ function crp_get_first_image( $postID ) {
287
  *
288
  * @since 2.1
289
  *
290
- * @param string $attachment_url Attachment URL
291
  * @return int Attachment ID
292
  */
293
  function crp_get_attachment_id_from_url( $attachment_url = '' ) {
@@ -300,19 +298,19 @@ function crp_get_attachment_id_from_url( $attachment_url = '' ) {
300
  return;
301
  }
302
 
303
- // Get the upload directory paths
304
  $upload_dir_paths = wp_upload_dir();
305
 
306
- // Make sure the upload path base directory exists in the attachment URL, to verify that we're working with a media library image
307
  if ( false !== strpos( $attachment_url, $upload_dir_paths['baseurl'] ) ) {
308
 
309
- // If this is the URL of an auto-generated thumbnail, get the URL of the original image
310
  $attachment_url = preg_replace( '/-\d+x\d+(?=\.(jpg|jpeg|png|gif)$)/i', '', $attachment_url );
311
 
312
- // Remove the upload path base directory from the attachment URL
313
  $attachment_url = str_replace( $upload_dir_paths['baseurl'] . '/', '', $attachment_url );
314
 
315
- // Finally, run a custom database query to get the attachment ID from the modified attachment URL
316
  $attachment_id = $wpdb->get_var( $wpdb->prepare( "SELECT wposts.ID FROM $wpdb->posts wposts, $wpdb->postmeta wpostmeta WHERE wposts.ID = wpostmeta.post_id AND wpostmeta.meta_key = '_wp_attached_file' AND wpostmeta.meta_value = '%s' AND wposts.post_type = 'attachment'", $attachment_url ) );
317
 
318
  }
@@ -333,7 +331,7 @@ function crp_get_attachment_id_from_url( $attachment_url = '' ) {
333
  * Get all image sizes.
334
  *
335
  * @since 2.0.0
336
- * @param string $size Get specific image size
337
  * @return array Image size names along with width, height and crop setting
338
  */
339
  function crp_get_all_image_sizes( $size = '' ) {
9
  * @copyright 2009-2015 Ajay D'Souza
10
  */
11
 
 
12
  /**
13
  * Add custom image size of thumbnail. Filters `init`.
14
  *
19
 
20
  if ( ! in_array( $crp_settings['thumb_size'], get_intermediate_image_sizes() ) ) {
21
  $crp_settings['thumb_size'] = 'crp_thumbnail';
 
22
  }
23
 
24
+ // Add image sizes if 'crp_thumbnail' is selected or the selected thumbnail size is no longer valid.
25
+ if ( 'crp_thumbnail' === $crp_settings['thumb_size'] ) {
26
  $width = empty( $crp_settings['thumb_width'] ) ? 150 : $crp_settings['thumb_width'];
27
  $height = empty( $crp_settings['thumb_height'] ) ? 150 : $crp_settings['thumb_height'];
28
  $crop = isset( $crp_settings['thumb_crop'] ) ? $crp_settings['thumb_crop'] : false;
38
  *
39
  * @since 1.7
40
  *
41
+ * @param array|string $args Array / Query string with arguments post thumbnails.
42
+ * @return string Output with the post thumbnail
43
  */
44
  function crp_get_the_post_thumbnail( $args = array() ) {
45
 
46
+ global $crp_settings;
47
 
48
  $defaults = array(
49
  'postid' => '',
50
+ 'thumb_height' => '150', // Max height of thumbnails.
51
+ 'thumb_width' => '150', // Max width of thumbnails.
52
+ 'thumb_meta' => 'post-image', // Meta field that is used to store the location of default thumbnail image.
53
+ 'thumb_html' => 'html', // HTML / CSS for width and height attributes.
54
+ 'thumb_default' => '', // Default thumbnail image.
55
+ 'thumb_default_show' => true, // Show default thumb if none found (if false, don't show thumb at all).
56
+ 'scan_images' => false, // Scan post for images.
57
+ 'class' => 'crp_thumb', // Class of the thumbnail.
58
  );
59
 
60
+ // Parse incomming $args into an array and merge it with $defaults.
61
  $args = wp_parse_args( $args, $defaults );
62
 
63
+ // Issue notice for deprecated arguments.
64
  if ( isset( $args['thumb_timthumb'] ) ) {
65
  _deprecated_argument( __FUNCTION__, '2.1', __( 'thumb_timthumb argument has been deprecated', 'contextual-related-posts' ) );
66
  }
89
  $output = '';
90
  $postimage = '';
91
 
92
+ // Let's start fetching the thumbnail. First place to look is in the post meta defined in the Settings page.
93
  if ( ! $postimage ) {
94
+ $postimage = get_post_meta( $result->ID, $args['thumb_meta'], true );
95
  $pick = 'meta';
96
  }
97
 
98
+ // If there is no thumbnail found, check the post thumbnail.
99
  if ( ! $postimage ) {
100
  if ( false != get_post_thumbnail_id( $result->ID ) ) {
101
  $postthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $result->ID ), $crp_settings['thumb_size'] );
104
  $pick = 'featured';
105
  }
106
 
107
+ // If there is no thumbnail found, fetch the first image in the post, if enabled.
108
  if ( ! $postimage && $args['scan_images'] ) {
109
 
110
  /**
121
 
122
  preg_match_all( '/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post_content, $matches );
123
 
124
+ if ( isset( $matches[1][0] ) && $matches[1][0] ) {
125
+ $postimage = $matches[1][0]; // We need the first one only!
126
  }
127
  if ( $postimage ) {
128
  $postimage_id = crp_get_attachment_id_from_url( $postimage );
136
  $pick .= 'first';
137
  }
138
 
139
+ // If there is no thumbnail found, fetch the first child image.
140
  if ( ! $postimage ) {
141
+ $postimage = crp_get_first_image( $result->ID );
142
  $pick = 'firstchild';
143
  }
144
 
145
+ // If no other thumbnail set, try to get the custom video thumbnail set by the Video Thumbnails plugin.
146
  if ( ! $postimage ) {
147
  $postimage = get_post_meta( $result->ID, '_video_thumbnail', true );
148
  $pick = 'video';
149
  }
150
 
151
+ // If no thumb found and settings permit, use default thumb.
152
  if ( ! $postimage && $args['thumb_default_show'] ) {
153
  $postimage = $args['thumb_default'];
154
  $pick = 'default';
155
  }
156
 
157
+ // Hopefully, we've found a thumbnail by now. If so, run it through the custom filter, check for SSL and create the image tag.
158
  if ( $postimage ) {
159
 
160
  /**
197
 
198
  if ( 'css' == $args['thumb_html'] ) {
199
  $thumb_html = 'style="max-width:' . $args['thumb_width'] . 'px;max-height:' . $args['thumb_height'] . 'px;"';
200
+ } elseif ( 'html' == $args['thumb_html'] ) {
201
  $thumb_html = 'width="' . $args['thumb_width'] . '" height="' . $args['thumb_height'] . '"';
202
  } else {
203
  $thumb_html = '';
243
  *
244
  * @since 1.8.9
245
  *
246
+ * @param mixed $post_id Post ID.
247
  * @return string
248
  */
249
+ function crp_get_first_image( $post_id ) {
250
  global $crp_settings;
251
 
252
  $args = array(
253
  'numberposts' => 1,
254
  'order' => 'ASC',
255
  'post_mime_type' => 'image',
256
+ 'post_parent' => $post_id,
257
  'post_status' => null,
258
  'post_type' => 'attachment',
259
  );
270
  * @since 2.0.0
271
  *
272
  * @param array $image_attributes[0] URL of the image
273
+ * @param int $post_id Post ID
274
  */
275
+ return apply_filters( 'crp_get_first_image', $image_attributes[0], $post_id );
276
  }
277
  } else {
278
  return false;
285
  *
286
  * @since 2.1
287
  *
288
+ * @param string $attachment_url Attachment URL.
289
  * @return int Attachment ID
290
  */
291
  function crp_get_attachment_id_from_url( $attachment_url = '' ) {
298
  return;
299
  }
300
 
301
+ // Get the upload directory paths.
302
  $upload_dir_paths = wp_upload_dir();
303
 
304
+ // Make sure the upload path base directory exists in the attachment URL, to verify that we're working with a media library image.
305
  if ( false !== strpos( $attachment_url, $upload_dir_paths['baseurl'] ) ) {
306
 
307
+ // If this is the URL of an auto-generated thumbnail, get the URL of the original image.
308
  $attachment_url = preg_replace( '/-\d+x\d+(?=\.(jpg|jpeg|png|gif)$)/i', '', $attachment_url );
309
 
310
+ // Remove the upload path base directory from the attachment URL.
311
  $attachment_url = str_replace( $upload_dir_paths['baseurl'] . '/', '', $attachment_url );
312
 
313
+ // Finally, run a custom database query to get the attachment ID from the modified attachment URL.
314
  $attachment_id = $wpdb->get_var( $wpdb->prepare( "SELECT wposts.ID FROM $wpdb->posts wposts, $wpdb->postmeta wpostmeta WHERE wposts.ID = wpostmeta.post_id AND wpostmeta.meta_key = '_wp_attached_file' AND wpostmeta.meta_value = '%s' AND wposts.post_type = 'attachment'", $attachment_url ) );
315
 
316
  }
331
  * Get all image sizes.
332
  *
333
  * @since 2.0.0
334
+ * @param string $size Get specific image size.
335
  * @return array Image size names along with width, height and crop setting
336
  */
337
  function crp_get_all_image_sizes( $size = '' ) {
includes/{class-crp-widget.php → modules/class-crp-widget.php} RENAMED
@@ -14,7 +14,6 @@ if ( ! defined( 'WPINC' ) ) {
14
  die;
15
  }
16
 
17
-
18
  /**
19
  * Create a Wordpress Widget for CRP.
20
  *
@@ -31,7 +30,7 @@ class CRP_Widget extends WP_Widget {
31
  parent::__construct(
32
  'widget_crp', // Base ID
33
  __( 'Related Posts [CRP]', 'contextual-related-posts' ), // Name
34
- array( 'description' => __( 'Display Related Posts', 'contextual-related-posts' ) ) // Args
35
  );
36
  }
37
 
@@ -45,6 +44,7 @@ class CRP_Widget extends WP_Widget {
45
  public function form( $instance ) {
46
  $title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : '';
47
  $limit = isset( $instance['limit'] ) ? esc_attr( $instance['limit'] ) : '';
 
48
  $show_excerpt = isset( $instance['show_excerpt'] ) ? esc_attr( $instance['show_excerpt'] ) : '';
49
  $show_author = isset( $instance['show_author'] ) ? esc_attr( $instance['show_author'] ) : '';
50
  $show_date = isset( $instance['show_date'] ) ? esc_attr( $instance['show_date'] ) : '';
@@ -52,11 +52,11 @@ class CRP_Widget extends WP_Widget {
52
  $thumb_height = isset( $instance['thumb_height'] ) ? esc_attr( $instance['thumb_height'] ) : '';
53
  $thumb_width = isset( $instance['thumb_width'] ) ? esc_attr( $instance['thumb_width'] ) : '';
54
 
55
- // Parse the Post types
56
  $post_types = array();
57
  if ( isset( $instance['post_types'] ) ) {
58
  $post_types = $instance['post_types'];
59
- parse_str( $post_types, $post_types ); // Save post types in $post_types variable
60
  }
61
  $wp_post_types = get_post_types( array(
62
  'public' => true,
@@ -65,57 +65,62 @@ class CRP_Widget extends WP_Widget {
65
 
66
  ?>
67
  <p>
68
- <label for="<?php echo $this->get_field_id( 'title' ); ?>">
69
- <?php _e( 'Title', 'contextual-related-posts' ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />
 
 
 
 
 
70
  </label>
71
  </p>
72
  <p>
73
- <label for="<?php echo $this->get_field_id( 'limit' ); ?>">
74
- <?php _e( 'No. of posts', 'contextual-related-posts' ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'limit' ); ?>" name="<?php echo $this->get_field_name( 'limit' ); ?>" type="text" value="<?php echo esc_attr( $limit ); ?>" />
75
  </label>
76
  </p>
77
  <p>
78
- <label for="<?php echo $this->get_field_id( 'show_excerpt' ); ?>">
79
- <input id="<?php echo $this->get_field_id( 'show_excerpt' ); ?>" name="<?php echo $this->get_field_name( 'show_excerpt' ); ?>" type="checkbox" <?php if ( $show_excerpt ) { echo 'checked="checked"'; } ?> /> <?php _e( ' Show excerpt?', 'contextual-related-posts' ); ?>
80
  </label>
81
  </p>
82
  <p>
83
- <label for="<?php echo $this->get_field_id( 'show_author' ); ?>">
84
- <input id="<?php echo $this->get_field_id( 'show_author' ); ?>" name="<?php echo $this->get_field_name( 'show_author' ); ?>" type="checkbox" <?php if ( $show_author ) { echo 'checked="checked"'; } ?> /> <?php _e( ' Show author?', 'contextual-related-posts' ); ?>
85
  </label>
86
  </p>
87
  <p>
88
- <label for="<?php echo $this->get_field_id( 'show_date' ); ?>">
89
- <input id="<?php echo $this->get_field_id( 'show_date' ); ?>" name="<?php echo $this->get_field_name( 'show_date' ); ?>" type="checkbox" <?php if ( $show_date ) { echo 'checked="checked"'; } ?> /> <?php _e( ' Show date?', 'contextual-related-posts' ); ?>
90
  </label>
91
  </p>
92
  <p>
93
- <?php _e( 'Thumbnail options', 'contextual-related-posts' ); ?>: <br />
94
- <select class="widefat" id="<?php echo $this->get_field_id( 'post_thumb_op' ); ?>" name="<?php echo $this->get_field_name( 'post_thumb_op' ); ?>">
95
- <option value="inline" <?php if ( 'inline' == $post_thumb_op ) { echo 'selected="selected"'; } ?>><?php _e( 'Thumbnails inline, before title', 'contextual-related-posts' ); ?></option>
96
- <option value="after" <?php if ( 'after' == $post_thumb_op ) { echo 'selected="selected"'; } ?>><?php _e( 'Thumbnails inline, after title', 'contextual-related-posts' ); ?></option>
97
- <option value="thumbs_only" <?php if ( 'thumbs_only' == $post_thumb_op ) { echo 'selected="selected"'; } ?>><?php _e( 'Only thumbnails, no text', 'contextual-related-posts' ); ?></option>
98
- <option value="text_only" <?php if ( 'text_only' == $post_thumb_op ) { echo 'selected="selected"'; } ?>><?php _e( 'No thumbnails, only text.', 'contextual-related-posts' ); ?></option>
99
  </select>
100
  </p>
101
  <p>
102
- <label for="<?php echo $this->get_field_id( 'thumb_height' ); ?>">
103
- <?php _e( 'Thumbnail height', 'contextual-related-posts' ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'thumb_height' ); ?>" name="<?php echo $this->get_field_name( 'thumb_height' ); ?>" type="text" value="<?php echo esc_attr( $thumb_height ); ?>" />
104
  </label>
105
  </p>
106
  <p>
107
- <label for="<?php echo $this->get_field_id( 'thumb_width' ); ?>">
108
- <?php _e( 'Thumbnail width', 'contextual-related-posts' ); ?>: <input class="widefat" id="<?php echo $this->get_field_id( 'thumb_width' ); ?>" name="<?php echo $this->get_field_name( 'thumb_width' ); ?>" type="text" value="<?php echo esc_attr( $thumb_width ); ?>" />
109
  </label>
110
  </p>
111
 
112
- <p><?php _e( 'Post types to include:', 'contextual-related-posts' ); ?><br />
113
 
114
  <?php foreach ( $wp_post_types as $wp_post_type ) { ?>
115
 
116
  <label>
117
- <input id="<?php echo $this->get_field_id( 'post_types' ); ?>" name="<?php echo $this->get_field_name( 'post_types' ); ?>[]" type="checkbox" value="<?php echo $wp_post_type; ?>" <?php if ( in_array( $wp_post_type, $posts_types_inc ) ) { echo 'checked="checked"'; } ?> />
118
- <?php echo $wp_post_type; ?>
119
  </label>
120
  <br />
121
 
@@ -150,6 +155,7 @@ class CRP_Widget extends WP_Widget {
150
  $instance = $old_instance;
151
  $instance['title'] = strip_tags( $new_instance['title'] );
152
  $instance['limit'] = $new_instance['limit'];
 
153
  $instance['show_excerpt'] = $new_instance['show_excerpt'];
154
  $instance['show_author'] = $new_instance['show_author'];
155
  $instance['show_date'] = $new_instance['show_date'];
@@ -157,7 +163,7 @@ class CRP_Widget extends WP_Widget {
157
  $instance['thumb_height'] = $new_instance['thumb_height'];
158
  $instance['thumb_width'] = $new_instance['thumb_width'];
159
 
160
- // Process post types to be selected
161
  $wp_post_types = get_post_types( array(
162
  'public' => true,
163
  ) );
@@ -165,7 +171,7 @@ class CRP_Widget extends WP_Widget {
165
  $post_types = array_intersect( $wp_post_types, $post_types );
166
  $instance['post_types'] = http_build_query( $post_types, '', '&' );
167
 
168
- delete_post_meta_by_key( 'crp_related_posts_widget' ); // Delete the cache
169
 
170
  /**
171
  * Filters Update widget options array.
@@ -186,13 +192,20 @@ class CRP_Widget extends WP_Widget {
186
  * @param array $instance Saved values from database.
187
  */
188
  public function widget( $args, $instance ) {
189
- global $wpdb, $post, $crp_settings;
190
 
191
- extract( $args, EXTR_SKIP );
 
 
 
 
 
 
 
192
 
193
- parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types ); // Save post types in $exclude_on_post_types variable
194
  if ( is_object( $post ) && ( in_array( $post->post_type, $exclude_on_post_types ) ) ) {
195
- return 0; // Exit without adding related posts
196
  }
197
 
198
  $exclude_on_post_ids = explode( ',', $crp_settings['exclude_on_post_ids'] );
@@ -205,6 +218,7 @@ class CRP_Widget extends WP_Widget {
205
  if ( empty( $limit ) ) {
206
  $limit = $crp_settings['limit'];
207
  }
 
208
 
209
  $post_thumb_op = isset( $instance['post_thumb_op'] ) ? esc_attr( $instance['post_thumb_op'] ) : 'text_only';
210
  $thumb_height = isset( $instance['thumb_height'] ) ? esc_attr( $instance['thumb_height'] ) : $crp_settings['thumb_height'];
@@ -212,11 +226,12 @@ class CRP_Widget extends WP_Widget {
212
  $show_excerpt = isset( $instance['show_excerpt'] ) ? esc_attr( $instance['show_excerpt'] ) : '';
213
  $show_author = isset( $instance['show_author'] ) ? esc_attr( $instance['show_author'] ) : '';
214
  $show_date = isset( $instance['show_date'] ) ? esc_attr( $instance['show_date'] ) : '';
215
- $post_types = isset( $instance['post_types'] ) ? $instance['post_types'] : $crp_settings['post_types'];
216
 
217
  $arguments = array(
218
  'is_widget' => 1,
219
  'limit' => $limit,
 
220
  'show_excerpt' => $show_excerpt,
221
  'show_author' => $show_author,
222
  'show_date' => $show_date,
@@ -235,13 +250,13 @@ class CRP_Widget extends WP_Widget {
235
  */
236
  $arguments = apply_filters( 'crp_widget_options' , $arguments );
237
 
238
- $output = $before_widget;
239
- $output .= $before_title . $title . $after_title;
240
  $output .= get_crp( $arguments );
241
 
242
- $output .= $after_widget;
243
 
244
- echo $output;
245
  }
246
  } //ending function widget
247
  }
14
  die;
15
  }
16
 
 
17
  /**
18
  * Create a Wordpress Widget for CRP.
19
  *
30
  parent::__construct(
31
  'widget_crp', // Base ID
32
  __( 'Related Posts [CRP]', 'contextual-related-posts' ), // Name
33
+ array( 'description' => __( 'Display Related Posts', 'contextual-related-posts' ) ) // Args.
34
  );
35
  }
36
 
44
  public function form( $instance ) {
45
  $title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : '';
46
  $limit = isset( $instance['limit'] ) ? esc_attr( $instance['limit'] ) : '';
47
+ $offset = isset( $instance['offset'] ) ? esc_attr( $instance['offset'] ) : '';
48
  $show_excerpt = isset( $instance['show_excerpt'] ) ? esc_attr( $instance['show_excerpt'] ) : '';
49
  $show_author = isset( $instance['show_author'] ) ? esc_attr( $instance['show_author'] ) : '';
50
  $show_date = isset( $instance['show_date'] ) ? esc_attr( $instance['show_date'] ) : '';
52
  $thumb_height = isset( $instance['thumb_height'] ) ? esc_attr( $instance['thumb_height'] ) : '';
53
  $thumb_width = isset( $instance['thumb_width'] ) ? esc_attr( $instance['thumb_width'] ) : '';
54
 
55
+ // Parse the Post types.
56
  $post_types = array();
57
  if ( isset( $instance['post_types'] ) ) {
58
  $post_types = $instance['post_types'];
59
+ parse_str( $post_types, $post_types ); // Save post types in $post_types variable.
60
  }
61
  $wp_post_types = get_post_types( array(
62
  'public' => true,
65
 
66
  ?>
67
  <p>
68
+ <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>">
69
+ <?php esc_html_e( 'Title', 'contextual-related-posts' ); ?>: <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />
70
+ </label>
71
+ </p>
72
+ <p>
73
+ <label for="<?php echo esc_attr( $this->get_field_id( 'limit' ) ); ?>">
74
+ <?php esc_html_e( 'No. of posts', 'contextual-related-posts' ); ?>: <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'limit' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'limit' ) ); ?>" type="text" value="<?php echo esc_attr( $limit ); ?>" />
75
  </label>
76
  </p>
77
  <p>
78
+ <label for="<?php echo esc_attr( $this->get_field_id( 'offset' ) ); ?>">
79
+ <?php esc_html_e( 'Offset', 'contextual-related-posts' ); ?>: <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'offset' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'offset' ) ); ?>" type="text" value="<?php echo esc_attr( $offset ); ?>" />
80
  </label>
81
  </p>
82
  <p>
83
+ <label for="<?php echo esc_attr( $this->get_field_id( 'show_excerpt' ) ); ?>">
84
+ <input id="<?php echo esc_attr( $this->get_field_id( 'show_excerpt' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_excerpt' ) ); ?>" type="checkbox" <?php if ( $show_excerpt ) { echo 'checked="checked"'; } ?> /> <?php esc_html_e( ' Show excerpt?', 'contextual-related-posts' ); ?>
85
  </label>
86
  </p>
87
  <p>
88
+ <label for="<?php echo esc_attr( $this->get_field_id( 'show_author' ) ); ?>">
89
+ <input id="<?php echo esc_attr( $this->get_field_id( 'show_author' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_author' ) ); ?>" type="checkbox" <?php if ( $show_author ) { echo 'checked="checked"'; } ?> /> <?php esc_html_e( ' Show author?', 'contextual-related-posts' ); ?>
90
  </label>
91
  </p>
92
  <p>
93
+ <label for="<?php echo esc_attr( $this->get_field_id( 'show_date' ) ); ?>">
94
+ <input id="<?php echo esc_attr( $this->get_field_id( 'show_date' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_date' ) ); ?>" type="checkbox" <?php if ( $show_date ) { echo 'checked="checked"'; } ?> /> <?php esc_html_e( ' Show date?', 'contextual-related-posts' ); ?>
95
  </label>
96
  </p>
97
  <p>
98
+ <?php esc_html_e( 'Thumbnail options', 'contextual-related-posts' ); ?>: <br />
99
+ <select class="widefat" id="<?php esc_attr_e( $this->get_field_id( 'post_thumb_op' ) ); ?>" name="<?php esc_attr_e( $this->get_field_name( 'post_thumb_op' ) ); ?>">
100
+ <option value="inline" <?php selected( 'inline', $post_thumb_op, true ); ?>><?php esc_html_e( 'Thumbnails inline, before title','contextual-related-posts' ); ?></option>
101
+ <option value="after" <?php selected( 'after', $post_thumb_op, true ); ?>><?php esc_html_e( 'Thumbnails inline, after title','contextual-related-posts' ); ?></option>
102
+ <option value="thumbs_only" <?php selected( 'thumbs_only', $post_thumb_op, true ); ?>><?php esc_html_e( 'Only thumbnails, no text','contextual-related-posts' ); ?></option>
103
+ <option value="text_only" <?php selected( 'text_only', $post_thumb_op, true ); ?>><?php esc_html_e( 'No thumbnails, only text.','contextual-related-posts' ); ?></option>
104
  </select>
105
  </p>
106
  <p>
107
+ <label for="<?php echo esc_attr( $this->get_field_id( 'thumb_height' ) ); ?>">
108
+ <?php esc_html_e( 'Thumbnail height', 'contextual-related-posts' ); ?>: <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'thumb_height' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'thumb_height' ) ); ?>" type="text" value="<?php echo esc_attr( $thumb_height ); ?>" />
109
  </label>
110
  </p>
111
  <p>
112
+ <label for="<?php echo esc_attr( $this->get_field_id( 'thumb_width' ) ); ?>">
113
+ <?php esc_html_e( 'Thumbnail width', 'contextual-related-posts' ); ?>: <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'thumb_width' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'thumb_width' ) ); ?>" type="text" value="<?php echo esc_attr( $thumb_width ); ?>" />
114
  </label>
115
  </p>
116
 
117
+ <p><?php esc_html_e( 'Post types to include', 'contextual-related-posts' ); ?>:<br />
118
 
119
  <?php foreach ( $wp_post_types as $wp_post_type ) { ?>
120
 
121
  <label>
122
+ <input id="<?php echo esc_attr( $this->get_field_id( 'post_types' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'post_types' ) ); ?>[]" type="checkbox" value="<?php echo esc_attr( $wp_post_type ); ?>" <?php if ( in_array( $wp_post_type, $posts_types_inc ) ) { echo 'checked="checked"'; } ?> />
123
+ <?php echo esc_attr( $wp_post_type ); ?>
124
  </label>
125
  <br />
126
 
155
  $instance = $old_instance;
156
  $instance['title'] = strip_tags( $new_instance['title'] );
157
  $instance['limit'] = $new_instance['limit'];
158
+ $instance['offset'] = $new_instance['offset'];
159
  $instance['show_excerpt'] = $new_instance['show_excerpt'];
160
  $instance['show_author'] = $new_instance['show_author'];
161
  $instance['show_date'] = $new_instance['show_date'];
163
  $instance['thumb_height'] = $new_instance['thumb_height'];
164
  $instance['thumb_width'] = $new_instance['thumb_width'];
165
 
166
+ // Process post types to be selected.
167
  $wp_post_types = get_post_types( array(
168
  'public' => true,
169
  ) );
171
  $post_types = array_intersect( $wp_post_types, $post_types );
172
  $instance['post_types'] = http_build_query( $post_types, '', '&' );
173
 
174
+ delete_post_meta_by_key( 'crp_related_posts_widget' ); // Delete the cache.
175
 
176
  /**
177
  * Filters Update widget options array.
192
  * @param array $instance Saved values from database.
193
  */
194
  public function widget( $args, $instance ) {
195
+ global $post, $crp_settings;
196
 
197
+ // Get the post meta.
198
+ if ( isset( $post ) ) {
199
+ $crp_post_meta = get_post_meta( $post->ID, 'crp_post_meta', true );
200
+
201
+ if ( isset( $crp_post_meta['disable_here'] ) && ( 1 == $crp_post_meta['disable_here'] ) ) {
202
+ return;
203
+ }
204
+ }
205
 
206
+ parse_str( $crp_settings['exclude_on_post_types'], $exclude_on_post_types ); // Save post types in $exclude_on_post_types variable.
207
  if ( is_object( $post ) && ( in_array( $post->post_type, $exclude_on_post_types ) ) ) {
208
+ return 0; // Exit without adding related posts.
209
  }
210
 
211
  $exclude_on_post_ids = explode( ',', $crp_settings['exclude_on_post_ids'] );
218
  if ( empty( $limit ) ) {
219
  $limit = $crp_settings['limit'];
220
  }
221
+ $offset = isset( $instance['offset'] ) ? $instance['offset'] : 0;
222
 
223
  $post_thumb_op = isset( $instance['post_thumb_op'] ) ? esc_attr( $instance['post_thumb_op'] ) : 'text_only';
224
  $thumb_height = isset( $instance['thumb_height'] ) ? esc_attr( $instance['thumb_height'] ) : $crp_settings['thumb_height'];
226
  $show_excerpt = isset( $instance['show_excerpt'] ) ? esc_attr( $instance['show_excerpt'] ) : '';
227
  $show_author = isset( $instance['show_author'] ) ? esc_attr( $instance['show_author'] ) : '';
228
  $show_date = isset( $instance['show_date'] ) ? esc_attr( $instance['show_date'] ) : '';
229
+ $post_types = isset( $instance['post_types'] ) && ! empty( $instance['post_types'] ) ? $instance['post_types'] : $crp_settings['post_types'];
230
 
231
  $arguments = array(
232
  'is_widget' => 1,
233
  'limit' => $limit,
234
+ 'offset' => $offset,
235
  'show_excerpt' => $show_excerpt,
236
  'show_author' => $show_author,
237
  'show_date' => $show_date,
250
  */
251
  $arguments = apply_filters( 'crp_widget_options' , $arguments );
252
 
253
+ $output = $args['before_widget'];
254
+ $output .= $args['before_title'] . $title . $args['after_title'];
255
  $output .= get_crp( $arguments );
256
 
257
+ $output .= $args['after_widget'];
258
 
259
+ echo $output; // WPCS: XSS OK.
260
  }
261
  } //ending function widget
262
  }
includes/modules/exclusions.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Exclusion modules
4
+ *
5
+ * @package Contextual_Related_Posts
6
+ */
7
+
8
+ /**
9
+ * Function to filter exclude post IDs.
10
+ *
11
+ * @since 2.3.0
12
+ *
13
+ * @param array $exclude_post_ids Original excluded post IDs.
14
+ * @return array Updated excluded post ID
15
+ */
16
+ function crp_exclude_post_ids( $exclude_post_ids ) {
17
+ global $wpdb;
18
+
19
+ $exclude_post_ids = (array) $exclude_post_ids;
20
+
21
+ $crp_post_metas = $wpdb->get_results( "SELECT post_id, meta_value FROM {$wpdb->postmeta} WHERE `meta_key` = 'crp_post_meta'", ARRAY_A );
22
+
23
+ foreach ( $crp_post_metas as $crp_post_meta ) {
24
+ $meta_value = unserialize( $crp_post_meta['meta_value'] );
25
+
26
+ if ( isset( $meta_value['exclude_this_post'] ) && $meta_value['exclude_this_post'] ) {
27
+ $exclude_post_ids[] = $crp_post_meta['post_id'];
28
+ }
29
+ }
30
+ return $exclude_post_ids;
31
+
32
+ }
33
+ add_filter( 'crp_exclude_post_ids', 'crp_exclude_post_ids' );
34
+
includes/modules/manual-posts.php CHANGED
@@ -20,17 +20,17 @@ if ( ! defined( 'WPINC' ) ) {
20
  *
21
  * @since 2.2.0
22
  *
23
- * @param object $results Original object array with post results
24
  * @return object Updated object array with post results
25
  */
26
  function crp_manual_posts( $results ) {
27
- global $crp_settings, $post, $wpdb;
28
 
29
  $crp_post_meta = get_post_meta( $post->ID, 'crp_post_meta', true );
30
 
31
  if ( isset( $crp_post_meta['manual_related'] ) && ( '' != $crp_post_meta['manual_related'] ) ) {
32
 
33
- // Fields to return
34
  $fields = " $wpdb->posts.ID ";
35
 
36
  /**
20
  *
21
  * @since 2.2.0
22
  *
23
+ * @param object $results Original object array with post results.
24
  * @return object Updated object array with post results
25
  */
26
  function crp_manual_posts( $results ) {
27
+ global $post, $wpdb;
28
 
29
  $crp_post_meta = get_post_meta( $post->ID, 'crp_post_meta', true );
30
 
31
  if ( isset( $crp_post_meta['manual_related'] ) && ( '' != $crp_post_meta['manual_related'] ) ) {
32
 
33
+ // Fields to return.
34
  $fields = " $wpdb->posts.ID ";
35
 
36
  /**
includes/modules/shortcode.php CHANGED
@@ -20,8 +20,8 @@ if ( ! defined( 'WPINC' ) ) {
20
  *
21
  * @since 1.8.6
22
  *
23
- * @param array $atts Shortcode attributes
24
- * @param string $content (default: null)
25
  * @return Related Posts
26
  */
27
  function crp_shortcode( $atts, $content = null ) {
@@ -32,6 +32,7 @@ function crp_shortcode( $atts, $content = null ) {
32
  array(
33
  'heading' => 1,
34
  'is_shortcode' => 1,
 
35
  )
36
  ), $atts, 'crp' );
37
 
20
  *
21
  * @since 1.8.6
22
  *
23
+ * @param array $atts Shortcode attributes.
24
+ * @param string $content Post content.
25
  * @return Related Posts
26
  */
27
  function crp_shortcode( $atts, $content = null ) {
32
  array(
33
  'heading' => 1,
34
  'is_shortcode' => 1,
35
+ 'offset' => 0,
36
  )
37
  ), $atts, 'crp' );
38
 
includes/modules/taxonomies.php CHANGED
@@ -20,7 +20,7 @@ if ( ! defined( 'WPINC' ) ) {
20
  *
21
  * @since 1.0.0
22
  *
23
- * @param mixed $join
24
  * @return string Filtered CRP JOIN clause
25
  */
26
  function crp_exclude_categories_join( $join ) {
@@ -44,13 +44,11 @@ add_filter( 'crp_posts_join', 'crp_exclude_categories_join' );
44
  *
45
  * @since 1.0.0
46
  *
47
- * @param mixed $where
48
  * @return string Filtered CRP WHERE clause
49
  */
50
  function crp_exclude_categories_where( $where ) {
51
- global $wpdb, $post, $crp_settings;
52
-
53
- $term_ids = $category_ids = $tag_ids = $taxonomies = array();
54
 
55
  if ( '' == $crp_settings['exclude_categories'] ) {
56
  return $where;
20
  *
21
  * @since 1.0.0
22
  *
23
+ * @param mixed $join JOIN clause.
24
  * @return string Filtered CRP JOIN clause
25
  */
26
  function crp_exclude_categories_join( $join ) {
44
  *
45
  * @since 1.0.0
46
  *
47
+ * @param mixed $where WHERE clause.
48
  * @return string Filtered CRP WHERE clause
49
  */
50
  function crp_exclude_categories_where( $where ) {
51
+ global $wpdb, $crp_settings;
 
 
52
 
53
  if ( '' == $crp_settings['exclude_categories'] ) {
54
  return $where;
includes/output-generator.php CHANGED
@@ -19,8 +19,8 @@ if ( ! defined( 'WPINC' ) ) {
19
  *
20
  * @since 2.2.0
21
  *
22
- * @param array $args Array of arguments
23
- * @return string Space separated list of link attributes
24
  */
25
  function crp_link_attributes( $args ) {
26
 
@@ -42,7 +42,7 @@ function crp_link_attributes( $args ) {
42
  */
43
  $link_attributes = apply_filters( 'crp_link_attributes', $link_attributes, $args );
44
 
45
- // Convert it to a string
46
  $link_attributes = implode( ' ', $link_attributes );
47
 
48
  return $link_attributes;
@@ -55,7 +55,7 @@ function crp_link_attributes( $args ) {
55
  *
56
  * @since 2.2.0
57
  *
58
- * @param array $args Array of arguments
59
  * @return string Space separated list of link attributes
60
  */
61
  function crp_heading_title( $args ) {
@@ -64,7 +64,7 @@ function crp_heading_title( $args ) {
64
  $title = '';
65
 
66
  if ( $args['heading'] && ! $args['is_widget'] ) {
67
- $title = str_replace( '%postname%', $post->post_title, $args['title'] ); // Replace %postname% with the title of the current post
68
  }
69
 
70
  /**
@@ -84,7 +84,7 @@ function crp_heading_title( $args ) {
84
  *
85
  * @since 2.2.0
86
  *
87
- * @param array $args Array of arguments
88
  * @return string Space separated list of link attributes
89
  */
90
  function crp_before_list( $args ) {
@@ -109,7 +109,7 @@ function crp_before_list( $args ) {
109
  *
110
  * @since 2.2.0
111
  *
112
- * @param array $args Array of arguments
113
  * @return string Space separated list of link attributes
114
  */
115
  function crp_after_list( $args ) {
@@ -134,8 +134,8 @@ function crp_after_list( $args ) {
134
  *
135
  * @since 2.2.0
136
  *
137
- * @param array $args Array of arguments
138
- * @param object $result Object of the current post result
139
  * @return string Space separated list of link attributes
140
  */
141
  function crp_before_list_item( $args, $result ) {
@@ -151,7 +151,7 @@ function crp_before_list_item( $args, $result ) {
151
  * @param object $result Object of the current post result
152
  * @param array $args Array of arguments
153
  */
154
- return apply_filters( 'crp_before_list_item', $before_list_item, $result, $args ); // Pass the post object to the filter
155
 
156
  }
157
 
@@ -161,8 +161,8 @@ function crp_before_list_item( $args, $result ) {
161
  *
162
  * @since 2.2.0
163
  *
164
- * @param array $args Array of arguments
165
- * @param object $result Object of the current post result
166
  * @return string Space separated list of link attributes
167
  */
168
  function crp_after_list_item( $args, $result ) {
@@ -178,7 +178,7 @@ function crp_after_list_item( $args, $result ) {
178
  * @param object $result Object of the current post result
179
  * @param array $args Array of arguments
180
  */
181
- return apply_filters( 'crp_after_list_item', $after_list_item, $result, $args ); // Pass the post object to the filter
182
 
183
  }
184
 
@@ -188,13 +188,13 @@ function crp_after_list_item( $args, $result ) {
188
  *
189
  * @since 2.2.0
190
  *
191
- * @param array $args Array of arguments
192
- * @param object $result Object of the current post result
193
  * @return string Space separated list of link attributes
194
  */
195
  function crp_title( $args, $result ) {
196
 
197
- $title = crp_max_formatted_content( get_the_title( $result->ID ), $args['title_length'] ); // Get the post title and crop it if needed
198
 
199
  /**
200
  * Filter the title of each list item.
@@ -215,15 +215,15 @@ function crp_title( $args, $result ) {
215
  *
216
  * @since 2.2.0
217
  *
218
- * @param array $args Array of arguments
219
- * @param object $result Object of the current post result
220
  * @return string Space separated list of link attributes
221
  */
222
  function crp_author( $args, $result ) {
223
 
224
  $author_info = get_userdata( $result->post_author );
225
- $author_link = get_author_posts_url( $author_info->ID );
226
- $author_name = ucwords( trim( stripslashes( $author_info->display_name ) ) );
227
 
228
  /**
229
  * Filter the author name.
@@ -235,7 +235,11 @@ function crp_author( $args, $result ) {
235
  */
236
  $author_name = apply_filters( 'crp_author_name', $author_name, $author_info );
237
 
238
- $crp_author = '<span class="crp_author"> ' . __( ' by ', 'contextual-related-posts' ) . '<a href="' . $author_link . '">' . $author_name . '</a></span> ';
 
 
 
 
239
 
240
  /**
241
  * Filter the text with the author details.
@@ -257,8 +261,8 @@ function crp_author( $args, $result ) {
257
  *
258
  * @since 2.2.0
259
  *
260
- * @param array $args Array of arguments
261
- * @param object $result Object of the current post result
262
  * @return string Space separated list of link attributes
263
  */
264
  function crp_list_link( $args, $result ) {
@@ -267,13 +271,13 @@ function crp_list_link( $args, $result ) {
267
  $title = crp_title( $args, $result );
268
  $link_attributes = crp_link_attributes( $args );
269
 
270
- if ( 'after' == $args['post_thumb_op'] ) {
271
- $output .= '<a href="' . get_permalink( $result->ID ) . '" ' . $link_attributes . ' class="crp_title">' . $title . '</a>'; // Add title if post thumbnail is to be displayed after
272
- }
273
 
274
- if ( 'inline' == $args['post_thumb_op'] || 'after' == $args['post_thumb_op'] || 'thumbs_only' == $args['post_thumb_op'] ) {
275
- $output .= '<a href="' . get_permalink( $result->ID ) . '" ' . $link_attributes . '>';
 
276
 
 
277
  $output .= crp_get_the_post_thumbnail( array(
278
  'postid' => $result->ID,
279
  'thumb_height' => $args['thumb_height'],
@@ -285,14 +289,14 @@ function crp_list_link( $args, $result ) {
285
  'scan_images' => $args['scan_images'],
286
  'class' => 'crp_thumb',
287
  ) );
288
-
289
- $output .= '</a>';
290
  }
291
 
292
- if ( 'inline' == $args['post_thumb_op'] || 'text_only' == $args['post_thumb_op'] ) {
293
- $output .= '<a href="' . get_permalink( $result->ID ) . '" ' . $link_attributes . ' class="crp_title">' . $title . '</a>'; // Add title when required by settings
294
  }
295
 
 
 
296
  /**
297
  * Filter Formatted list item with link and and thumbnail.
298
  *
19
  *
20
  * @since 2.2.0
21
  *
22
+ * @param array $args Array of arguments.
23
+ * @return string Space separated list of link attributes.
24
  */
25
  function crp_link_attributes( $args ) {
26
 
42
  */
43
  $link_attributes = apply_filters( 'crp_link_attributes', $link_attributes, $args );
44
 
45
+ // Convert it to a string.
46
  $link_attributes = implode( ' ', $link_attributes );
47
 
48
  return $link_attributes;
55
  *
56
  * @since 2.2.0
57
  *
58
+ * @param array $args Array of arguments.
59
  * @return string Space separated list of link attributes
60
  */
61
  function crp_heading_title( $args ) {
64
  $title = '';
65
 
66
  if ( $args['heading'] && ! $args['is_widget'] ) {
67
+ $title = str_replace( '%postname%', $post->post_title, $args['title'] ); // Replace %postname% with the title of the current post.
68
  }
69
 
70
  /**
84
  *
85
  * @since 2.2.0
86
  *
87
+ * @param array $args Array of arguments.
88
  * @return string Space separated list of link attributes
89
  */
90
  function crp_before_list( $args ) {
109
  *
110
  * @since 2.2.0
111
  *
112
+ * @param array $args Array of arguments.
113
  * @return string Space separated list of link attributes
114
  */
115
  function crp_after_list( $args ) {
134
  *
135
  * @since 2.2.0
136
  *
137
+ * @param array $args Array of arguments.
138
+ * @param object $result Object of the current post result.
139
  * @return string Space separated list of link attributes
140
  */
141
  function crp_before_list_item( $args, $result ) {
151
  * @param object $result Object of the current post result
152
  * @param array $args Array of arguments
153
  */
154
+ return apply_filters( 'crp_before_list_item', $before_list_item, $result, $args );
155
 
156
  }
157
 
161
  *
162
  * @since 2.2.0
163
  *
164
+ * @param array $args Array of arguments.
165
+ * @param object $result Object of the current post result.
166
  * @return string Space separated list of link attributes
167
  */
168
  function crp_after_list_item( $args, $result ) {
178
  * @param object $result Object of the current post result
179
  * @param array $args Array of arguments
180
  */
181
+ return apply_filters( 'crp_after_list_item', $after_list_item, $result, $args );
182
 
183
  }
184
 
188
  *
189
  * @since 2.2.0
190
  *
191
+ * @param array $args Array of arguments.
192
+ * @param object $result Object of the current post result.
193
  * @return string Space separated list of link attributes
194
  */
195
  function crp_title( $args, $result ) {
196
 
197
+ $title = crp_max_formatted_content( get_the_title( $result->ID ), $args['title_length'] ); // Get the post title and crop it if needed.
198
 
199
  /**
200
  * Filter the title of each list item.
215
  *
216
  * @since 2.2.0
217
  *
218
+ * @param array $args Array of arguments.
219
+ * @param object $result Object of the current post result.
220
  * @return string Space separated list of link attributes
221
  */
222
  function crp_author( $args, $result ) {
223
 
224
  $author_info = get_userdata( $result->post_author );
225
+ $author_link = ( false === $author_info ) ? '' : get_author_posts_url( $author_info->ID );
226
+ $author_name = ( false === $author_info ) ? '' : ucwords( trim( stripslashes( $author_info->display_name ) ) );
227
 
228
  /**
229
  * Filter the author name.
235
  */
236
  $author_name = apply_filters( 'crp_author_name', $author_name, $author_info );
237
 
238
+ if ( ! empty( $author_name ) ) {
239
+ $crp_author = '<span class="crp_author"> ' . __( ' by ', 'contextual-related-posts' ) . '<a href="' . $author_link . '">' . $author_name . '</a></span> ';
240
+ } else {
241
+ $crp_author = '';
242
+ }
243
 
244
  /**
245
  * Filter the text with the author details.
261
  *
262
  * @since 2.2.0
263
  *
264
+ * @param array $args Array of arguments.
265
+ * @param object $result Object of the current post result.
266
  * @return string Space separated list of link attributes
267
  */
268
  function crp_list_link( $args, $result ) {
271
  $title = crp_title( $args, $result );
272
  $link_attributes = crp_link_attributes( $args );
273
 
274
+ $output .= '<a href="' . get_permalink( $result->ID ) . '" ' . $link_attributes . '>';
 
 
275
 
276
+ if ( 'after' === $args['post_thumb_op'] ) {
277
+ $output .= '<div class="crp_title">' . $title . '</div>'; // Add title when required by settings
278
+ }
279
 
280
+ if ( 'inline' === $args['post_thumb_op'] || 'after' === $args['post_thumb_op'] || 'thumbs_only' === $args['post_thumb_op'] ) {
281
  $output .= crp_get_the_post_thumbnail( array(
282
  'postid' => $result->ID,
283
  'thumb_height' => $args['thumb_height'],
289
  'scan_images' => $args['scan_images'],
290
  'class' => 'crp_thumb',
291
  ) );
 
 
292
  }
293
 
294
+ if ( 'inline' === $args['post_thumb_op'] || 'text_only' === $args['post_thumb_op'] ) {
295
+ $output .= '<div class="crp_title">' . $title . '</div>'; // Add title when required by settings
296
  }
297
 
298
+ $output .= '</a>';
299
+
300
  /**
301
  * Filter Formatted list item with link and and thumbnail.
302
  *
includes/plugin-activator.php CHANGED
@@ -24,7 +24,7 @@ function crp_activate( $network_wide ) {
24
 
25
  if ( is_multisite() && $network_wide ) {
26
 
27
- // Get all blogs in the network and activate plugin on each one
28
  $blog_ids = $wpdb->get_col( "
29
  SELECT blog_id FROM $wpdb->blogs
30
  WHERE archived = '0' AND spam = '0' AND deleted = '0'
@@ -34,7 +34,7 @@ function crp_activate( $network_wide ) {
34
  crp_single_activate();
35
  }
36
 
37
- // Switch back to the current blog
38
  restore_current_blog();
39
 
40
  } else {
@@ -51,7 +51,7 @@ function crp_activate( $network_wide ) {
51
  function crp_single_activate() {
52
  global $wpdb;
53
 
54
- $crp_settings = crp_read_options();
55
 
56
  $wpdb->hide_errors();
57
 
24
 
25
  if ( is_multisite() && $network_wide ) {
26
 
27
+ // Get all blogs in the network and activate plugin on each one.
28
  $blog_ids = $wpdb->get_col( "
29
  SELECT blog_id FROM $wpdb->blogs
30
  WHERE archived = '0' AND spam = '0' AND deleted = '0'
34
  crp_single_activate();
35
  }
36
 
37
+ // Switch back to the current blog.
38
  restore_current_blog();
39
 
40
  } else {
51
  function crp_single_activate() {
52
  global $wpdb;
53
 
54
+ crp_read_options();
55
 
56
  $wpdb->hide_errors();
57
 
includes/tools.php CHANGED
@@ -14,22 +14,39 @@
14
  *
15
  * @since 1.6
16
  *
17
- * @param int $id Post ID
18
- * @param int|string $excerpt_length Length of the excerpt in words
 
19
  * @return string Excerpt
20
  */
21
  function crp_excerpt( $id, $excerpt_length = 0, $use_excerpt = true ) {
22
- $content = $excerpt = '';
23
 
24
  if ( $use_excerpt ) {
25
  $content = get_post( $id )->post_excerpt;
26
  }
27
- if ( '' == $content ) {
28
  $content = get_post( $id )->post_content;
29
  }
30
 
31
  $output = strip_tags( strip_shortcodes( $content ) );
32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  if ( $excerpt_length > 0 ) {
34
  $output = wp_trim_words( $output, $excerpt_length );
35
  }
@@ -53,21 +70,21 @@ function crp_excerpt( $id, $excerpt_length = 0, $use_excerpt = true ) {
53
  *
54
  * @since 1.8.4
55
  *
56
- * @param string $content Content to be used to make an excerpt
57
- * @param int $no_of_char Maximum length of excerpt in characters
58
- * @return string Formatted content
59
  */
60
  function crp_max_formatted_content( $content, $no_of_char = -1 ) {
61
- $content = strip_tags( $content ); // Remove CRLFs, leaving space in their wake
62
 
63
  if ( ( $no_of_char > 0 ) && ( strlen( $content ) > $no_of_char ) ) {
64
- $aWords = preg_split( '/[\s]+/', substr( $content, 0, $no_of_char ) );
65
 
66
- // Break back down into a string of words, but drop the last one if it's chopped off
67
- if ( substr( $content, $no_of_char, 1 ) == ' ' ) {
68
- $content = implode( ' ', $aWords );
69
  } else {
70
- $content = implode( ' ', array_slice( $aWords, 0, -1 ) ) .'&hellip;';
71
  }
72
  }
73
 
@@ -86,7 +103,7 @@ function crp_max_formatted_content( $content, $no_of_char = -1 ) {
86
  /**
87
  * Delete the CRP cache.
88
  *
89
- * @param array $meta_keys
90
  */
91
  function crp_cache_delete( $meta_keys = array() ) {
92
 
@@ -136,7 +153,7 @@ function crp_create_index() {
136
 
137
  $wpdb->hide_errors();
138
 
139
- // If we're running mySQL v5.6, convert the WPDB posts table to InnoDB, since InnoDB supports FULLTEXT from v5.6 onwards
140
  if ( version_compare( 5.6, $wpdb->db_version(), '<=' ) ) {
141
  $table_engine = 'InnoDB';
142
  } else {
@@ -149,8 +166,8 @@ function crp_create_index() {
149
  AND table_name = '{$wpdb->posts}'
150
  " );
151
 
152
- if ( $current_engine->engine != $table_engine ) {
153
- $wpdb->query( "ALTER TABLE {$wpdb->posts} ENGINE = $table_engine;" );
154
  }
155
 
156
  if ( ! $wpdb->get_results( "SHOW INDEX FROM {$wpdb->posts} where Key_name = 'crp_related'" ) ) {
14
  *
15
  * @since 1.6
16
  *
17
+ * @param int $id Post ID.
18
+ * @param int|string $excerpt_length Length of the excerpt in words.
19
+ * @param bool $use_excerpt Use excerpt instead of content.
20
  * @return string Excerpt
21
  */
22
  function crp_excerpt( $id, $excerpt_length = 0, $use_excerpt = true ) {
23
+ $content = '';
24
 
25
  if ( $use_excerpt ) {
26
  $content = get_post( $id )->post_excerpt;
27
  }
28
+ if ( empty( $content ) ) {
29
  $content = get_post( $id )->post_content;
30
  }
31
 
32
  $output = strip_tags( strip_shortcodes( $content ) );
33
 
34
+ /**
35
+ * Filters excerpt generated by CRP before it is trimmed.
36
+ *
37
+ * @since 2.3.0
38
+ *
39
+ * @param array $output Formatted excerpt
40
+ * @param int $id Post ID
41
+ * @param int $excerpt_length Length of the excerpt
42
+ * @param boolean $use_excerpt Use the excerpt?
43
+ */
44
+ $output = apply_filters( 'crp_excerpt_pre_trim', $output, $id, $excerpt_length, $use_excerpt );
45
+
46
+ if ( 0 === (int) $excerpt_length || CRP_MAX_WORDS < (int) $excerpt_length ) {
47
+ $excerpt_length = CRP_MAX_WORDS;
48
+ }
49
+
50
  if ( $excerpt_length > 0 ) {
51
  $output = wp_trim_words( $output, $excerpt_length );
52
  }
70
  *
71
  * @since 1.8.4
72
  *
73
+ * @param string $content Content to be used to make an excerpt.
74
+ * @param int $no_of_char Maximum length of excerpt in characters.
75
+ * @return string Formatted content.
76
  */
77
  function crp_max_formatted_content( $content, $no_of_char = -1 ) {
78
+ $content = strip_tags( $content );
79
 
80
  if ( ( $no_of_char > 0 ) && ( strlen( $content ) > $no_of_char ) ) {
81
+ $words_array = preg_split( '/[\s]+/', substr( $content, 0, $no_of_char ) );
82
 
83
+ // Break back down into a string of words, but drop the last one if it's chopped off.
84
+ if ( substr( $content, $no_of_char, 1 ) === ' ' ) {
85
+ $content = implode( ' ', $words_array );
86
  } else {
87
+ $content = implode( ' ', array_slice( $words_array, 0, -1 ) ) . '&hellip;';
88
  }
89
  }
90
 
103
  /**
104
  * Delete the CRP cache.
105
  *
106
+ * @param array $meta_keys Array of meta keys that hold the cache.
107
  */
108
  function crp_cache_delete( $meta_keys = array() ) {
109
 
153
 
154
  $wpdb->hide_errors();
155
 
156
+ // If we're running mySQL v5.6, convert the WPDB posts table to InnoDB, since InnoDB supports FULLTEXT from v5.6 onwards.
157
  if ( version_compare( 5.6, $wpdb->db_version(), '<=' ) ) {
158
  $table_engine = 'InnoDB';
159
  } else {
166
  AND table_name = '{$wpdb->posts}'
167
  " );
168
 
169
+ if ( $current_engine->engine !== $table_engine ) {
170
+ $wpdb->query( "ALTER TABLE {$wpdb->posts} ENGINE = {$table_engine};" ); // WPCS: unprepared SQL OK.
171
  }
172
 
173
  if ( ! $wpdb->get_results( "SHOW INDEX FROM {$wpdb->posts} where Key_name = 'crp_related'" ) ) {
languages/contextual-related-posts-da_DK.mo DELETED
Binary file
languages/contextual-related-posts-da_DK.po DELETED
@@ -1,966 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Contextual Related Posts 1.5.1\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-27 13:34+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
- "Language-Team: Team Blogos <wordpress@blogos.dk>\n"
9
- "Language: da_DK\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "Plural-Forms: nplurals=2;plural=n != 1;\n"
14
- "X-Poedit-SourceCharset: UTF-8\n"
15
- "X-Poedit-KeywordsList: __;_c;_e;__ngettext:1,2;__ngettext_noop:1,2;_n:1,2;"
16
- "_nc:1,2;_n_noop:1,2\n"
17
- "X-Poedit-Basepath: ..\n"
18
- "X-Generator: Poedit 1.8.4\n"
19
- "X-Poedit-SearchPath-0: .\n"
20
-
21
- #: admin/admin.php:191
22
- msgid "Options saved successfully. If enabled, the cache has been cleared."
23
- msgstr ""
24
-
25
- #: admin/admin.php:194
26
- msgid ""
27
- "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
28
- "displayed."
29
- msgstr ""
30
-
31
- #: admin/admin.php:197
32
- msgid "Text Only style selected. Thumbnails will not be displayed."
33
- msgstr ""
34
-
35
- #: admin/admin.php:200
36
- #, php-format
37
- msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
38
- msgstr ""
39
-
40
- #: admin/admin.php:224
41
- msgid "Options set to Default."
42
- msgstr "Indstillingerne sat til standardværdier."
43
-
44
- #: admin/admin.php:233
45
- msgid "Index recreated"
46
- msgstr "Indeks blev gendannet"
47
-
48
- #: admin/admin.php:250
49
- msgid "Related Posts"
50
- msgstr "Related Posts (Lignende indlæg)"
51
-
52
- #: admin/cache.php:42
53
- msgid ""
54
- "An error occurred clearing the cache. Please contact your site administrator."
55
- "\\n\\nError message:\\n"
56
- msgstr ""
57
-
58
- #: admin/cache.php:47
59
- msgid " cached row(s) cleared"
60
- msgstr ""
61
-
62
- #: admin/loader.php:24
63
- msgid "Settings"
64
- msgstr "Opsætning"
65
-
66
- #: admin/loader.php:46 admin/sidebar-view.php:72
67
- msgid "Support"
68
- msgstr "Support"
69
-
70
- #: admin/loader.php:47
71
- msgid "Donate"
72
- msgstr "Donation"
73
-
74
- #: admin/loader.php:48
75
- msgid "Contribute"
76
- msgstr ""
77
-
78
- #: admin/loader.php:64
79
- msgid "plugin settings page"
80
- msgstr ""
81
-
82
- #: admin/main-view.php:32 admin/main-view.php:55
83
- msgid "General options"
84
- msgstr ""
85
-
86
- #: admin/main-view.php:33 admin/main-view.php:142
87
- msgid "List tuning options"
88
- msgstr ""
89
-
90
- #: admin/main-view.php:34 admin/main-view.php:249
91
- #, fuzzy
92
- msgid "Output options"
93
- msgstr "Indstillinger for output:"
94
-
95
- #: admin/main-view.php:35 admin/main-view.php:453
96
- #: includes/class-crp-widget.php:93
97
- #, fuzzy
98
- msgid "Thumbnail options"
99
- msgstr "Indstillinger for indlægsminiaturer:"
100
-
101
- #: admin/main-view.php:36 admin/main-view.php:608
102
- msgid "Styles"
103
- msgstr ""
104
-
105
- #: admin/main-view.php:37 admin/main-view.php:686
106
- #, fuzzy
107
- msgid "Feed options"
108
- msgstr "Indstillinger:"
109
-
110
- #: admin/main-view.php:71
111
- msgid "Cache output?"
112
- msgstr ""
113
-
114
- #: admin/main-view.php:73
115
- msgid ""
116
- "Enabling this option will cache the related posts output when the post is "
117
- "visited the first time. The cache is cleaned when you save this page."
118
- msgstr ""
119
-
120
- #: admin/main-view.php:74
121
- msgid ""
122
- "The CRP cache works independently and in addition to any of your caching "
123
- "plugins like WP Super Cache or W3 Total Cache. It is recommended that you "
124
- "enable this on your blog."
125
- msgstr ""
126
-
127
- #: admin/main-view.php:75
128
- msgid "Clear cache"
129
- msgstr ""
130
-
131
- #: admin/main-view.php:79
132
- msgid "Automatically add related posts to:"
133
- msgstr ""
134
-
135
- #: admin/main-view.php:81
136
- msgid "Posts"
137
- msgstr ""
138
-
139
- #: admin/main-view.php:82
140
- msgid "Pages"
141
- msgstr ""
142
-
143
- #: admin/main-view.php:83
144
- msgid "Home page"
145
- msgstr ""
146
-
147
- #: admin/main-view.php:84
148
- msgid "Feeds"
149
- msgstr ""
150
-
151
- #: admin/main-view.php:85
152
- msgid "Category archives"
153
- msgstr ""
154
-
155
- #: admin/main-view.php:86
156
- msgid "Tag archives"
157
- msgstr ""
158
-
159
- #: admin/main-view.php:87
160
- msgid "Other archives"
161
- msgstr ""
162
-
163
- #: admin/main-view.php:88
164
- #, fuzzy
165
- msgid ""
166
- "If you choose to disable this, please add <code>&lt;?php if "
167
- "( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your "
168
- "template file where you want it displayed"
169
- msgstr ""
170
- "Tilføj Lignende indlæg til statiske sider. <br />Hvis du vælger at "
171
- "deaktivere dette, skal du tilføje <code>&lt;?php "
172
- "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> til din "
173
- "skabelonfil, hvor du ønsker de lignende indlæg vist"
174
-
175
- #: admin/main-view.php:92
176
- msgid "Display location priority:"
177
- msgstr ""
178
-
179
- #: admin/main-view.php:95
180
- msgid ""
181
- "If you select to automatically add the related posts, CRP will hook into the "
182
- "Content Filter at a priority as specified in this option."
183
- msgstr ""
184
-
185
- #: admin/main-view.php:96
186
- msgid ""
187
- "A higher number will cause the related posts to be processed later and move "
188
- "their display further down after the post content. Any number below 10 is "
189
- "not recommended."
190
- msgstr ""
191
-
192
- #: admin/main-view.php:100
193
- msgid "Show metabox:"
194
- msgstr ""
195
-
196
- #: admin/main-view.php:103
197
- msgid ""
198
- "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
199
- "Posts screens. Also applies to Pages and Custom Post Types."
200
- msgstr ""
201
-
202
- #: admin/main-view.php:107
203
- msgid "Limit metabox to Admins only:"
204
- msgstr ""
205
-
206
- #: admin/main-view.php:110
207
- msgid ""
208
- "If this is selected, the metabox will be hidden from anyone who is not an "
209
- "Admin. Otherwise, by default, Contributors and above will be able to see the "
210
- "metabox. This applies only if the above option is selected."
211
- msgstr ""
212
-
213
- #: admin/main-view.php:114
214
- #, fuzzy
215
- msgid "Tell the world you're using Contextual Related Posts:"
216
- msgstr "Related Posts (Lignende indlæg)"
217
-
218
- #: admin/main-view.php:116
219
- msgid " <em>Optional</em>"
220
- msgstr ""
221
-
222
- #: admin/main-view.php:117
223
- #, fuzzy
224
- msgid ""
225
- "Adds a nofollow link to Contextual Related Posts homepage as the last time "
226
- "in the list."
227
- msgstr "Related Posts (Lignende indlæg)"
228
-
229
- #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
230
- #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
231
- #: admin/main-view.php:767
232
- #, fuzzy
233
- msgid "Save Options"
234
- msgstr "Indstillinger:"
235
-
236
- #: admin/main-view.php:158 admin/main-view.php:704
237
- msgid "Number of related posts to display: "
238
- msgstr "Antal Lignende indlæg, der skal vises: "
239
-
240
- #: admin/main-view.php:161
241
- msgid ""
242
- "Maximum number of posts that will be displayed. The actual number may be "
243
- "smaller if less related posts are found."
244
- msgstr ""
245
-
246
- #: admin/main-view.php:165
247
- msgid "Related posts should be newer than:"
248
- msgstr ""
249
-
250
- #: admin/main-view.php:167
251
- msgid "days"
252
- msgstr ""
253
-
254
- #: admin/main-view.php:168
255
- msgid ""
256
- "This sets the cutoff period for which posts will be displayed. e.g. setting "
257
- "it to 365 will show related posts from the last year only. Set to 0 to "
258
- "disable limiting posts by date."
259
- msgstr ""
260
-
261
- #: admin/main-view.php:172
262
- msgid "Find related posts based on content as well as title:"
263
- msgstr ""
264
-
265
- #: admin/main-view.php:174
266
- msgid ""
267
- "If unchecked, only posts titles are used. I recommend using a caching plugin "
268
- "or enabling \"Cache output\" above if you enable this. Each site is "
269
- "different, so toggle this option to see which setting gives you better "
270
- "quality related posts."
271
- msgstr ""
272
-
273
- #: admin/main-view.php:178
274
- msgid "Limit content to be compared:"
275
- msgstr ""
276
-
277
- #: admin/main-view.php:180
278
- msgid ""
279
- "This sets the maximum words of the content that will be matched. Set to 0 "
280
- "for no limit. Only applies if you active the above option."
281
- msgstr ""
282
-
283
- #: admin/main-view.php:184
284
- msgid "Post types to include in results:"
285
- msgstr ""
286
-
287
- #: admin/main-view.php:191
288
- msgid ""
289
- "These post types will be displayed in the list. Includes custom post types."
290
- msgstr ""
291
-
292
- #: admin/main-view.php:195
293
- msgid "List of post or page IDs to exclude from the results:"
294
- msgstr ""
295
-
296
- #: admin/main-view.php:197 admin/main-view.php:377
297
- msgid ""
298
- "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
299
- msgstr ""
300
-
301
- #: admin/main-view.php:201
302
- msgid "Categories to exclude from the results: "
303
- msgstr ""
304
-
305
- #: admin/main-view.php:213
306
- msgid ""
307
- "Comma separated list of category slugs. The field above has an autocomplete "
308
- "so simply start typing in the beginning of your category name and it will "
309
- "prompt you with options."
310
- msgstr ""
311
-
312
- #: admin/main-view.php:216
313
- msgid "Excluded category IDs are:"
314
- msgstr ""
315
-
316
- #: admin/main-view.php:222
317
- msgid ""
318
- "These might differ from the IDs visible in the Categories page which use the "
319
- "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
320
- "unique to this taxonomy."
321
- msgstr ""
322
-
323
- #: admin/main-view.php:265
324
- msgid "Title of related posts:"
325
- msgstr ""
326
-
327
- #: admin/main-view.php:268
328
- msgid ""
329
- "This is the main heading of the related posts. You can also display the "
330
- "current post title by using <code>%postname%</code>. e.g. <code>Related "
331
- "Posts to %postname%</code>"
332
- msgstr ""
333
-
334
- #: admin/main-view.php:272
335
- msgid "When there are no posts, what should be shown?"
336
- msgstr "Hvad skal der vises, hvis der ingen indlæg er?"
337
-
338
- #: admin/main-view.php:276
339
- msgid "Blank Output"
340
- msgstr "Intet"
341
-
342
- #: admin/main-view.php:281
343
- msgid "Display:"
344
- msgstr ""
345
-
346
- #: admin/main-view.php:287 admin/main-view.php:707
347
- msgid "Show post excerpt in list?"
348
- msgstr ""
349
-
350
- #: admin/main-view.php:290
351
- #, php-format
352
- msgid ""
353
- "Displays the excerpt of the post. If you do not provide an explicit excerpt "
354
- "to a post (in the post editor's optional excerpt field), it will display an "
355
- "automatic excerpt which refers to the first %d words of the post's content"
356
- msgstr ""
357
-
358
- #: admin/main-view.php:293
359
- msgid ""
360
- "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
361
- "is disabled."
362
- msgstr ""
363
-
364
- #: admin/main-view.php:298
365
- msgid "Length of excerpt (in words):"
366
- msgstr ""
367
-
368
- #: admin/main-view.php:304
369
- msgid "Show post author in list?"
370
- msgstr ""
371
-
372
- #: admin/main-view.php:307
373
- msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
374
- msgstr ""
375
-
376
- #: admin/main-view.php:310
377
- msgid ""
378
- "Rounded Thumbnails style selected under the Custom Styles. Author display is "
379
- "disabled."
380
- msgstr ""
381
-
382
- #: admin/main-view.php:315
383
- msgid "Show post date in list?"
384
- msgstr ""
385
-
386
- #: admin/main-view.php:318
387
- msgid ""
388
- "Displays the date of the post. Uses the same date format set in General "
389
- "Options"
390
- msgstr ""
391
-
392
- #: admin/main-view.php:321
393
- msgid ""
394
- "Rounded Thumbnails style selected under the Custom Styles. Date display is "
395
- "disabled."
396
- msgstr ""
397
-
398
- #: admin/main-view.php:326
399
- msgid "Limit post title length (in characters)"
400
- msgstr ""
401
-
402
- #: admin/main-view.php:329
403
- msgid ""
404
- "Any title longer than the number of characters set above will be cut and "
405
- "appended with an ellipsis (&hellip;)"
406
- msgstr ""
407
-
408
- #: admin/main-view.php:333
409
- msgid "Open links in new window"
410
- msgstr ""
411
-
412
- #: admin/main-view.php:339
413
- msgid "Add nofollow attribute to links in the list"
414
- msgstr ""
415
-
416
- #: admin/main-view.php:372
417
- msgid "Exclusion settings:"
418
- msgstr ""
419
-
420
- #: admin/main-view.php:374
421
- #, fuzzy
422
- msgid "Exclude display of related posts on these posts / pages"
423
- msgstr "Tilføj Lignende indlæg til feeds"
424
-
425
- #: admin/main-view.php:380
426
- #, fuzzy
427
- msgid "Exclude display of related posts on these post types."
428
- msgstr "Tilføj Lignende indlæg til feeds"
429
-
430
- #: admin/main-view.php:387
431
- msgid ""
432
- "The related posts will not display on any of the above selected post types"
433
- msgstr ""
434
-
435
- #: admin/main-view.php:417
436
- msgid "Customize the output:"
437
- msgstr "Tilpas outputtet:"
438
-
439
- #: admin/main-view.php:419
440
- msgid "HTML to display before the list of posts: "
441
- msgstr "HTML, der skal vises før listen med indlæg: "
442
-
443
- #: admin/main-view.php:422
444
- msgid "HTML to display before each list item: "
445
- msgstr "HTML, der skal vises før hvert punkt på listen: "
446
-
447
- #: admin/main-view.php:425
448
- msgid "HTML to display after each list item: "
449
- msgstr "HTML, der skal vises efter hvert punkt på listen: "
450
-
451
- #: admin/main-view.php:428
452
- msgid "HTML to display after the list of posts: "
453
- msgstr "HTML, der skal vises efter listen med indlæg: "
454
-
455
- #: admin/main-view.php:469 admin/main-view.php:710
456
- msgid "Location of post thumbnail:"
457
- msgstr ""
458
-
459
- #: admin/main-view.php:473 admin/main-view.php:714
460
- #, fuzzy
461
- msgid "Display thumbnails inline with posts, before title"
462
- msgstr "Vis miniaturer inline med indlæg"
463
-
464
- #: admin/main-view.php:477 admin/main-view.php:718
465
- #, fuzzy
466
- msgid "Display thumbnails inline with posts, after title"
467
- msgstr "Vis miniaturer inline med indlæg"
468
-
469
- #: admin/main-view.php:481 admin/main-view.php:722
470
- msgid "Display only thumbnails, no text"
471
- msgstr "Vis kun miniaturer, ingen tekst"
472
-
473
- #: admin/main-view.php:485 admin/main-view.php:726
474
- msgid "Do not display thumbnails, only text."
475
- msgstr "Vis ikke miniaturer, kun tekst."
476
-
477
- #: admin/main-view.php:488
478
- msgid ""
479
- "This setting cannot be changed because an inbuilt style has been selected "
480
- "under the Styles section. If you would like to change this option, please "
481
- "select <strong>No styles</strong> under the Styles section."
482
- msgstr ""
483
-
484
- #: admin/main-view.php:492
485
- msgid "Thumbnail size:"
486
- msgstr ""
487
-
488
- #: admin/main-view.php:516
489
- msgid "Custom size"
490
- msgstr ""
491
-
492
- #: admin/main-view.php:519
493
- msgid "You can choose from existing image sizes above or create a custom size."
494
- msgstr ""
495
-
496
- #: admin/main-view.php:520
497
- msgid ""
498
- "If you choose an existing size, then the width, height and crop mode "
499
- "settings in the three options below will be automatically updated to reflect "
500
- "the correct dimensions of the setting."
501
- msgstr ""
502
-
503
- #: admin/main-view.php:521
504
- msgid ""
505
- "If you have chosen Custom size above, then enter the width, height and crop "
506
- "settings below. For best results, use a cropped image with the same width "
507
- "and height. The default setting is 150x150 cropped image."
508
- msgstr ""
509
-
510
- #: admin/main-view.php:522
511
- msgid ""
512
- "Any changes to the thumbnail settings doesn't automatically resize existing "
513
- "images."
514
- msgstr ""
515
-
516
- #: admin/main-view.php:523
517
- #, php-format
518
- msgid ""
519
- "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
520
- "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
521
- "all image sizes."
522
- msgstr ""
523
-
524
- #: admin/main-view.php:527
525
- msgid "Width of the thumbnail:"
526
- msgstr ""
527
-
528
- #: admin/main-view.php:530
529
- msgid "Height of the thumbnail: "
530
- msgstr ""
531
-
532
- #: admin/main-view.php:535
533
- msgid "Crop mode:"
534
- msgstr ""
535
-
536
- #: admin/main-view.php:539
537
- msgid ""
538
- "By default, thumbnails will be hard cropped. Uncheck this box to "
539
- "proportionately/soft crop the thumbnails."
540
- msgstr ""
541
-
542
- #: admin/main-view.php:540
543
- #, php-format
544
- msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
545
- msgstr ""
546
-
547
- #: admin/main-view.php:544
548
- msgid "Image size attributes:"
549
- msgstr ""
550
-
551
- #: admin/main-view.php:548
552
- msgid "Style attributes are used for width and height."
553
- msgstr ""
554
-
555
- #: admin/main-view.php:554
556
- msgid "HTML width and height attributes are used for width and height."
557
- msgstr ""
558
-
559
- #: admin/main-view.php:560
560
- msgid "No HTML or Style attributes set for width and height"
561
- msgstr ""
562
-
563
- #: admin/main-view.php:565
564
- #, fuzzy
565
- msgid "Post thumbnail meta field name:"
566
- msgstr "Indstillinger for indlægsminiaturer:"
567
-
568
- #: admin/main-view.php:567
569
- msgid ""
570
- "The value of this field should contain a direct link to the image. This is "
571
- "set in the meta box in the <em>Add New Post</em> screen."
572
- msgstr ""
573
-
574
- #: admin/main-view.php:570
575
- msgid "Extract the first image from the post?"
576
- msgstr ""
577
-
578
- #: admin/main-view.php:572
579
- msgid ""
580
- "This will only happen if there is no post thumbnail set and no image URL is "
581
- "specified in the meta field."
582
- msgstr ""
583
-
584
- #: admin/main-view.php:575
585
- msgid "Use default thumbnail?"
586
- msgstr ""
587
-
588
- #: admin/main-view.php:577
589
- msgid ""
590
- "If checked, when no thumbnail is found, show a default one from the URL "
591
- "below. If not checked and no thumbnail is found, no image will be shown."
592
- msgstr ""
593
-
594
- #: admin/main-view.php:580
595
- #, fuzzy
596
- msgid "Default thumbnail:"
597
- msgstr "Indstillinger for output:"
598
-
599
- #: admin/main-view.php:583
600
- #, fuzzy
601
- msgid ""
602
- "The plugin will first check if the post contains a thumbnail. If it doesn't "
603
- "then it will check the meta field. If this is not available, then it will "
604
- "show the default image as specified above."
605
- msgstr ""
606
- "Pluginnet tjekker først, om indlægget indeholder en miniature. Hvis "
607
- "indlægget ikke gør det, tjekker pluginnet metafeltet. Hvis dette ikke "
608
- "findes, vil det vise standardbilledet specificeret nedenfor:"
609
-
610
- #: admin/main-view.php:624
611
- msgid "Style of the related posts:"
612
- msgstr ""
613
-
614
- #: admin/main-view.php:627
615
- msgid "No styles"
616
- msgstr ""
617
-
618
- #: admin/main-view.php:629
619
- msgid "Select this option if you plan to add your own styles"
620
- msgstr ""
621
-
622
- #: admin/main-view.php:633
623
- msgid "Rounded Thumbnails"
624
- msgstr ""
625
-
626
- #: admin/main-view.php:636
627
- msgid ""
628
- "Enabling this option will turn on the thumbnails and set their width and "
629
- "height to 150px. It will also turn off the display of the author, excerpt "
630
- "and date if already enabled. Disabling this option will not revert any "
631
- "settings."
632
- msgstr ""
633
-
634
- #: admin/main-view.php:637
635
- #, php-format
636
- msgid ""
637
- "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
638
- msgstr ""
639
-
640
- #: admin/main-view.php:641
641
- msgid "Text only"
642
- msgstr ""
643
-
644
- #: admin/main-view.php:643
645
- msgid ""
646
- "Enabling this option will disable thumbnails and no longer include the "
647
- "default style sheet included in the plugin."
648
- msgstr ""
649
-
650
- #: admin/main-view.php:658
651
- msgid "Custom CSS to add to header:"
652
- msgstr ""
653
-
654
- #: admin/main-view.php:662
655
- msgid ""
656
- "Do not include <code>style</code> tags. Check out the <a href=\"http://"
657
- "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
658
- "\">FAQ</a> for available CSS classes to style."
659
- msgstr ""
660
-
661
- #: admin/main-view.php:702
662
- msgid ""
663
- "Below options override the related posts settings for your blog feed. These "
664
- "only apply if you have selected to add related posts to Feeds in the General "
665
- "Options tab."
666
- msgstr ""
667
-
668
- #: admin/main-view.php:730
669
- msgid "Maximum width of the thumbnail: "
670
- msgstr ""
671
-
672
- #: admin/main-view.php:733
673
- msgid "Maximum height of the thumbnail: "
674
- msgstr ""
675
-
676
- #: admin/main-view.php:768
677
- #, fuzzy
678
- msgid "Default Options"
679
- msgstr "Indstillinger for output:"
680
-
681
- #: admin/main-view.php:768
682
- msgid "Do you want to set options to Default?"
683
- msgstr "Ønsker du at sætte indstillingerne til standardværdierne?"
684
-
685
- #: admin/main-view.php:769
686
- msgid "Recreate Index"
687
- msgstr ""
688
-
689
- #: admin/main-view.php:769
690
- msgid "Are you sure you want to recreate the index?"
691
- msgstr "Er du sikker på, du ønsker at gendanne indekset?"
692
-
693
- #: admin/main-view.php:774
694
- msgid ""
695
- "One or more FULLTEXT indices are missing. Please hit the <a href="
696
- "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
697
- "this."
698
- msgstr ""
699
-
700
- #: admin/metabox.php:98
701
- msgid "Location of thumbnail:"
702
- msgstr ""
703
-
704
- #: admin/metabox.php:100
705
- msgid ""
706
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
707
- "image will be used for the post. It will be resized to the thumbnail size "
708
- "set under Settings &raquo; Related Posts &raquo; Output Options"
709
- msgstr ""
710
-
711
- #: admin/metabox.php:101
712
- msgid "The URL above is saved in the meta field:"
713
- msgstr ""
714
-
715
- #: admin/metabox.php:106
716
- msgid ""
717
- "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
718
- "thumbnail, then you'll need to make the same change in the Top 10 meta box "
719
- "on this page."
720
- msgstr ""
721
-
722
- #: admin/metabox.php:117
723
- msgid "Disable Related Posts display:"
724
- msgstr ""
725
-
726
- #: admin/metabox.php:120
727
- msgid ""
728
- "If this is checked, then Contextual Related Posts will not automatically "
729
- "insert the related posts at the end of post content."
730
- msgstr ""
731
-
732
- #: admin/metabox.php:125 admin/metabox.php:133
733
- msgid "Manual related posts:"
734
- msgstr ""
735
-
736
- #: admin/metabox.php:127
737
- msgid ""
738
- "Comma separated list of post, page or custom post type IDs. e.g. "
739
- "188,320,500. These will be given preference over the related posts generated "
740
- "by the plugin."
741
- msgstr ""
742
-
743
- #: admin/metabox.php:128
744
- msgid ""
745
- "Once you enter the list above and save this page, the plugin will display "
746
- "the titles of the posts below for your reference. Only IDs corresponding to "
747
- "published posts or custom post types will be retained."
748
- msgstr ""
749
-
750
- #: admin/metabox.php:142
751
- msgid "This post type is:"
752
- msgstr ""
753
-
754
- #: admin/sidebar-view.php:20
755
- #, fuzzy
756
- msgid "Support the development"
757
- msgstr "Støt udviklingen"
758
-
759
- #: admin/sidebar-view.php:27
760
- #, fuzzy
761
- msgid "Donation for Contextual Related Posts"
762
- msgstr "Related Posts (Lignende indlæg)"
763
-
764
- #: admin/sidebar-view.php:29
765
- msgid "Enter amount in USD:"
766
- msgstr ""
767
-
768
- #: admin/sidebar-view.php:33
769
- msgid "Send your donation to the author of"
770
- msgstr ""
771
-
772
- #: admin/sidebar-view.php:41
773
- msgid "Follow me"
774
- msgstr ""
775
-
776
- #: admin/sidebar-view.php:66
777
- msgid "Quick links"
778
- msgstr ""
779
-
780
- #: admin/sidebar-view.php:70
781
- msgid "Plugin homepage"
782
- msgstr ""
783
-
784
- #: admin/sidebar-view.php:71
785
- msgid "FAQ"
786
- msgstr ""
787
-
788
- #: admin/sidebar-view.php:73
789
- msgid "Reviews"
790
- msgstr ""
791
-
792
- #: admin/sidebar-view.php:74
793
- msgid "Github repository"
794
- msgstr ""
795
-
796
- #: admin/sidebar-view.php:75
797
- msgid "Other plugins"
798
- msgstr ""
799
-
800
- #: admin/sidebar-view.php:76
801
- msgid "Ajay's blog"
802
- msgstr ""
803
-
804
- #: contextual-related-posts.php:232
805
- #, php-format
806
- msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
807
- msgstr ""
808
-
809
- #: contextual-related-posts.php:710
810
- msgid "<h3>Related Posts:</h3>"
811
- msgstr "<h3>Lignende indlæg:</h3>"
812
-
813
- #: contextual-related-posts.php:712
814
- #, fuzzy
815
- msgid "No related posts found"
816
- msgstr "Ingen lignende indlæg fundet"
817
-
818
- #: includes/class-crp-widget.php:33
819
- #, fuzzy
820
- msgid "Related Posts [CRP]"
821
- msgstr "Related Posts (Lignende indlæg)"
822
-
823
- #: includes/class-crp-widget.php:34
824
- #, fuzzy
825
- msgid "Display Related Posts"
826
- msgstr "Vis \"Ingen lignende indlæg\""
827
-
828
- #: includes/class-crp-widget.php:69
829
- msgid "Title"
830
- msgstr ""
831
-
832
- #: includes/class-crp-widget.php:74
833
- msgid "No. of posts"
834
- msgstr ""
835
-
836
- #: includes/class-crp-widget.php:79
837
- msgid " Show excerpt?"
838
- msgstr ""
839
-
840
- #: includes/class-crp-widget.php:84
841
- msgid " Show author?"
842
- msgstr ""
843
-
844
- #: includes/class-crp-widget.php:89
845
- msgid " Show date?"
846
- msgstr ""
847
-
848
- #: includes/class-crp-widget.php:95
849
- #, fuzzy
850
- msgid "Thumbnails inline, before title"
851
- msgstr "Vis miniaturer inline med indlæg"
852
-
853
- #: includes/class-crp-widget.php:96
854
- #, fuzzy
855
- msgid "Thumbnails inline, after title"
856
- msgstr "Vis miniaturer inline med indlæg"
857
-
858
- #: includes/class-crp-widget.php:97
859
- #, fuzzy
860
- msgid "Only thumbnails, no text"
861
- msgstr "Vis kun miniaturer, ingen tekst"
862
-
863
- #: includes/class-crp-widget.php:98
864
- #, fuzzy
865
- msgid "No thumbnails, only text."
866
- msgstr "Vis ikke miniaturer, kun tekst."
867
-
868
- #: includes/class-crp-widget.php:103
869
- #, fuzzy
870
- msgid "Thumbnail height"
871
- msgstr "Indstillinger for indlægsminiaturer:"
872
-
873
- #: includes/class-crp-widget.php:108
874
- #, fuzzy
875
- msgid "Thumbnail width"
876
- msgstr "Indstillinger for indlægsminiaturer:"
877
-
878
- #: includes/class-crp-widget.php:112
879
- msgid "Post types to include:"
880
- msgstr ""
881
-
882
- #: includes/media.php:67
883
- msgid "thumb_timthumb argument has been deprecated"
884
- msgstr ""
885
-
886
- #: includes/media.php:71
887
- msgid "thumb_timthumb_q argument has been deprecated"
888
- msgstr ""
889
-
890
- #: includes/media.php:75
891
- msgid "filter argument has been deprecated"
892
- msgstr ""
893
-
894
- #: includes/output-generator.php:238
895
- msgid " by "
896
- msgstr ""
897
-
898
- #, fuzzy
899
- #~ msgid "Contextual Related Posts"
900
- #~ msgstr "Related Posts (Lignende indlæg)"
901
-
902
- #, fuzzy
903
- #~ msgid "Contextual Related Posts plugin page"
904
- #~ msgstr "Related Posts (Lignende indlæg)"
905
-
906
- #~ msgid "Options saved successfully."
907
- #~ msgstr "Indstillingerne blev gemt."
908
-
909
- #, fuzzy
910
- #~ msgid "Add related posts to:"
911
- #~ msgstr "Tilføj Lignende indlæg til feeds"
912
-
913
- #, fuzzy
914
- #~ msgid ""
915
- #~ "If unchecked, only posts titles are used. I recommend using a caching "
916
- #~ "plugin or enabling \"Cache output\" above if you enable this."
917
- #~ msgstr ""
918
- #~ "Find Lignende indlæg ud fra såvel indhold som titel. Hvis umarkeret, "
919
- #~ "bruges kun indlæggenes titler (jeg anbefaler et cache-plugin, hvis du "
920
- #~ "aktiverer dette)"
921
-
922
- #~ msgid "Title of related posts: "
923
- #~ msgstr "Titel på Lignende indlæg: "
924
-
925
- #~ msgid "Post thumbnail options:"
926
- #~ msgstr "Indstillinger for indlægsminiaturer:"
927
-
928
- #~ msgid "Display \"No Related Posts\""
929
- #~ msgstr "Vis \"Ingen lignende indlæg\""
930
-
931
- #~ msgid "Exclude Categories: "
932
- #~ msgstr "Udelad kategorier: "
933
-
934
- #~ msgid "Exclude Pages in Related Posts"
935
- #~ msgstr "Udelad sider i Lignende indlæg"
936
-
937
- #~ msgid ""
938
- #~ "Add related posts to the post content on single posts. <br />If you "
939
- #~ "choose to disable this, please add <code>&lt;?php "
940
- #~ "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> to your "
941
- #~ "template file where you want it displayed"
942
- #~ msgstr ""
943
- #~ "Tilføj Lignende indlæg til indlæggenes indhold i enkelt-indlæg. <br /"
944
- #~ ">Hvis du vælger at deaktivere dette, skal du tilføje <code>&lt;?php "
945
- #~ "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> til din "
946
- #~ "skabelonfil, hvor du ønsker de lignende indlæg vist"
947
-
948
- #~ msgid ""
949
- #~ "Post thumbnail meta field (the meta should point contain the image "
950
- #~ "source): "
951
- #~ msgstr ""
952
- #~ "Metafelt for indlægsminiaturer (metafeltet skal indeholde URL&#39;en til "
953
- #~ "billedet): "
954
-
955
- #~ msgid "Thumbnail dimensions:"
956
- #~ msgstr "Miniaturedimensioner:"
957
-
958
- #~ msgid "Max width: "
959
- #~ msgstr "Max bredde: "
960
-
961
- #~ msgid "Max height: "
962
- #~ msgstr "Max højde: "
963
-
964
- #, fuzzy
965
- #~ msgid "Support forum"
966
- #~ msgstr "Support"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/contextual-related-posts-de_DE.mo DELETED
Binary file
languages/contextual-related-posts-de_DE.po DELETED
@@ -1,1105 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Contextual Related Posts\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-27 13:34+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
- "Language-Team: me@ajaydsouza.com\n"
9
- "Language: de_DE\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "X-Generator: Poedit 1.8.4\n"
16
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
- "X-Poedit-SourceCharset: UTF-8\n"
18
- "X-Poedit-SearchPath-0: .\n"
19
-
20
- #: admin/admin.php:191
21
- msgid "Options saved successfully. If enabled, the cache has been cleared."
22
- msgstr ""
23
-
24
- #: admin/admin.php:194
25
- msgid ""
26
- "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
27
- "displayed."
28
- msgstr ""
29
-
30
- #: admin/admin.php:197
31
- msgid "Text Only style selected. Thumbnails will not be displayed."
32
- msgstr ""
33
-
34
- #: admin/admin.php:200
35
- #, php-format
36
- msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
37
- msgstr ""
38
-
39
- #: admin/admin.php:224
40
- msgid "Options set to Default."
41
- msgstr "Optionen auf die Voreinstellungen gesetzt."
42
-
43
- #: admin/admin.php:233
44
- msgid "Index recreated"
45
- msgstr "Index neu aufgebaut"
46
-
47
- #: admin/admin.php:250
48
- msgid "Related Posts"
49
- msgstr "Ähnliche Beiträge"
50
-
51
- #: admin/cache.php:42
52
- msgid ""
53
- "An error occurred clearing the cache. Please contact your site administrator."
54
- "\\n\\nError message:\\n"
55
- msgstr ""
56
- "Ein Fehler trat beim Löschen des Caches auf. Bitte kontaktiere den "
57
- "Administrator der Seite.\\n\\nError message:\\n"
58
-
59
- #: admin/cache.php:47
60
- msgid " cached row(s) cleared"
61
- msgstr "Die Reihe(n) im Cache wurde(n) gelöscht"
62
-
63
- #: admin/loader.php:24
64
- msgid "Settings"
65
- msgstr "Einstellungen"
66
-
67
- #: admin/loader.php:46 admin/sidebar-view.php:72
68
- msgid "Support"
69
- msgstr "Support"
70
-
71
- #: admin/loader.php:47
72
- msgid "Donate"
73
- msgstr "Spende"
74
-
75
- #: admin/loader.php:48
76
- msgid "Contribute"
77
- msgstr ""
78
-
79
- #: admin/loader.php:64
80
- msgid "plugin settings page"
81
- msgstr "Einstellungen des Plugins"
82
-
83
- #: admin/main-view.php:32 admin/main-view.php:55
84
- msgid "General options"
85
- msgstr "Allgemeine Optionen"
86
-
87
- #: admin/main-view.php:33 admin/main-view.php:142
88
- msgid "List tuning options"
89
- msgstr ""
90
-
91
- #: admin/main-view.php:34 admin/main-view.php:249
92
- msgid "Output options"
93
- msgstr "Ausgabe Einstellungen"
94
-
95
- #: admin/main-view.php:35 admin/main-view.php:453
96
- #: includes/class-crp-widget.php:93
97
- msgid "Thumbnail options"
98
- msgstr "Optionen des Vorschaubildes"
99
-
100
- #: admin/main-view.php:36 admin/main-view.php:608
101
- msgid "Styles"
102
- msgstr ""
103
-
104
- #: admin/main-view.php:37 admin/main-view.php:686
105
- msgid "Feed options"
106
- msgstr "Feed Einstellungen"
107
-
108
- #: admin/main-view.php:71
109
- msgid "Cache output?"
110
- msgstr "Cache Ausgabe?"
111
-
112
- #: admin/main-view.php:73
113
- msgid ""
114
- "Enabling this option will cache the related posts output when the post is "
115
- "visited the first time. The cache is cleaned when you save this page."
116
- msgstr ""
117
- "Mit dieser Option werden die Berechnung der ähnlichen Beiträge im Cache "
118
- "gespeichert, sobald ein Beitrag das erste Mal aufgerufen wird. Der Cache "
119
- "wird geleert, wenn diese Seite gespeichert wird."
120
-
121
- #: admin/main-view.php:74
122
- msgid ""
123
- "The CRP cache works independently and in addition to any of your caching "
124
- "plugins like WP Super Cache or W3 Total Cache. It is recommended that you "
125
- "enable this on your blog."
126
- msgstr ""
127
-
128
- #: admin/main-view.php:75
129
- msgid "Clear cache"
130
- msgstr "Lösche den Cache"
131
-
132
- #: admin/main-view.php:79
133
- msgid "Automatically add related posts to:"
134
- msgstr ""
135
-
136
- #: admin/main-view.php:81
137
- msgid "Posts"
138
- msgstr "Beiträge"
139
-
140
- #: admin/main-view.php:82
141
- msgid "Pages"
142
- msgstr "Seiten"
143
-
144
- #: admin/main-view.php:83
145
- msgid "Home page"
146
- msgstr "Homepage"
147
-
148
- #: admin/main-view.php:84
149
- msgid "Feeds"
150
- msgstr "Feeds"
151
-
152
- #: admin/main-view.php:85
153
- msgid "Category archives"
154
- msgstr "Kategorie Archive"
155
-
156
- #: admin/main-view.php:86
157
- msgid "Tag archives"
158
- msgstr "Schlagwort Archive"
159
-
160
- #: admin/main-view.php:87
161
- msgid "Other archives"
162
- msgstr "Andere Archive"
163
-
164
- #: admin/main-view.php:88
165
- #, fuzzy
166
- msgid ""
167
- "If you choose to disable this, please add <code>&lt;?php if "
168
- "( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your "
169
- "template file where you want it displayed"
170
- msgstr ""
171
- "Wenn du diese Option deaktivierst, füge bitte <code>&lt;?php "
172
- "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> zu deinen "
173
- "Theme-Templates, wo die ähnlichen Beiträge angezeigt werden sollen"
174
-
175
- #: admin/main-view.php:92
176
- msgid "Display location priority:"
177
- msgstr ""
178
-
179
- #: admin/main-view.php:95
180
- msgid ""
181
- "If you select to automatically add the related posts, CRP will hook into the "
182
- "Content Filter at a priority as specified in this option."
183
- msgstr ""
184
-
185
- #: admin/main-view.php:96
186
- msgid ""
187
- "A higher number will cause the related posts to be processed later and move "
188
- "their display further down after the post content. Any number below 10 is "
189
- "not recommended."
190
- msgstr ""
191
-
192
- #: admin/main-view.php:100
193
- msgid "Show metabox:"
194
- msgstr ""
195
-
196
- #: admin/main-view.php:103
197
- msgid ""
198
- "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
199
- "Posts screens. Also applies to Pages and Custom Post Types."
200
- msgstr ""
201
-
202
- #: admin/main-view.php:107
203
- msgid "Limit metabox to Admins only:"
204
- msgstr ""
205
-
206
- #: admin/main-view.php:110
207
- msgid ""
208
- "If this is selected, the metabox will be hidden from anyone who is not an "
209
- "Admin. Otherwise, by default, Contributors and above will be able to see the "
210
- "metabox. This applies only if the above option is selected."
211
- msgstr ""
212
-
213
- #: admin/main-view.php:114
214
- #, fuzzy
215
- msgid "Tell the world you're using Contextual Related Posts:"
216
- msgstr "Contextual Related Posts"
217
-
218
- #: admin/main-view.php:116
219
- msgid " <em>Optional</em>"
220
- msgstr "<em>Optional</em>"
221
-
222
- #: admin/main-view.php:117
223
- #, fuzzy
224
- msgid ""
225
- "Adds a nofollow link to Contextual Related Posts homepage as the last time "
226
- "in the list."
227
- msgstr ""
228
- "Fügt einen nofollow Link zu Homepage von Contextual Related Posts hinzu."
229
-
230
- #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
231
- #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
232
- #: admin/main-view.php:767
233
- msgid "Save Options"
234
- msgstr "Optionen speichern"
235
-
236
- #: admin/main-view.php:158 admin/main-view.php:704
237
- msgid "Number of related posts to display: "
238
- msgstr "Anzahl der ähnlichen Beiträge, die angezeigt werden sollen:"
239
-
240
- #: admin/main-view.php:161
241
- msgid ""
242
- "Maximum number of posts that will be displayed. The actual number may be "
243
- "smaller if less related posts are found."
244
- msgstr ""
245
- "Maximale Anzahl an ähnlichen Beiträgen, die angezeigt werden soll. Diese "
246
- "kann auch geringer sein, wenn weniger ähnliche Beiträge gefunden werden."
247
-
248
- #: admin/main-view.php:165
249
- msgid "Related posts should be newer than:"
250
- msgstr "Ähnliche Beiträge sollen neuer sein als:"
251
-
252
- #: admin/main-view.php:167
253
- msgid "days"
254
- msgstr "Tage"
255
-
256
- #: admin/main-view.php:168
257
- msgid ""
258
- "This sets the cutoff period for which posts will be displayed. e.g. setting "
259
- "it to 365 will show related posts from the last year only. Set to 0 to "
260
- "disable limiting posts by date."
261
- msgstr ""
262
-
263
- #: admin/main-view.php:172
264
- #, fuzzy
265
- msgid "Find related posts based on content as well as title:"
266
- msgstr ""
267
- "Finde ähnliche Beiträge basierend auf dem Inhalt als auch auf dem Titel"
268
-
269
- #: admin/main-view.php:174
270
- msgid ""
271
- "If unchecked, only posts titles are used. I recommend using a caching plugin "
272
- "or enabling \"Cache output\" above if you enable this. Each site is "
273
- "different, so toggle this option to see which setting gives you better "
274
- "quality related posts."
275
- msgstr ""
276
-
277
- #: admin/main-view.php:178
278
- msgid "Limit content to be compared:"
279
- msgstr ""
280
-
281
- #: admin/main-view.php:180
282
- msgid ""
283
- "This sets the maximum words of the content that will be matched. Set to 0 "
284
- "for no limit. Only applies if you active the above option."
285
- msgstr ""
286
-
287
- #: admin/main-view.php:184
288
- #, fuzzy
289
- msgid "Post types to include in results:"
290
- msgstr "Beitragsarten, die einbezogen werden sollen."
291
-
292
- #: admin/main-view.php:191
293
- msgid ""
294
- "These post types will be displayed in the list. Includes custom post types."
295
- msgstr ""
296
- "Diese Beitragsarten werden in der Liste angezeigt. Einschließlich "
297
- "benutzerdefinierter Beitragsarten (custom post types)."
298
-
299
- #: admin/main-view.php:195
300
- #, fuzzy
301
- msgid "List of post or page IDs to exclude from the results:"
302
- msgstr ""
303
- "Liste deine Beitrags- oder Seiten-IDs auf, die aus den Ergebnissen "
304
- "ausgeschlossen werden sollen:"
305
-
306
- #: admin/main-view.php:197 admin/main-view.php:377
307
- msgid ""
308
- "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
309
- msgstr ""
310
- "Mit Komma getrennte Liste der IDs von Beiträgen, Seiten oder "
311
- "benutzerdefinierter Beitragsarten (custom post types). Beispiel: 188,320,500"
312
-
313
- #: admin/main-view.php:201
314
- msgid "Categories to exclude from the results: "
315
- msgstr "Kategorien, die von den Ergebnissen ausgeschlossen werden sollen:"
316
-
317
- #: admin/main-view.php:213
318
- #, fuzzy
319
- msgid ""
320
- "Comma separated list of category slugs. The field above has an autocomplete "
321
- "so simply start typing in the beginning of your category name and it will "
322
- "prompt you with options."
323
- msgstr ""
324
- "Mit Komma getrennte Liste der Kategorie Slugs. Das obige Feld benutzt "
325
- "Autovervollständigung, beginne einfach zu tippen und du bekommst Kategorien "
326
- "vorgeschlagen."
327
-
328
- #: admin/main-view.php:216
329
- msgid "Excluded category IDs are:"
330
- msgstr ""
331
-
332
- #: admin/main-view.php:222
333
- msgid ""
334
- "These might differ from the IDs visible in the Categories page which use the "
335
- "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
336
- "unique to this taxonomy."
337
- msgstr ""
338
-
339
- #: admin/main-view.php:265
340
- msgid "Title of related posts:"
341
- msgstr ""
342
-
343
- #: admin/main-view.php:268
344
- msgid ""
345
- "This is the main heading of the related posts. You can also display the "
346
- "current post title by using <code>%postname%</code>. e.g. <code>Related "
347
- "Posts to %postname%</code>"
348
- msgstr ""
349
- "Dies ist die Hauptüberschrift der ähnlichen Beiträge. Du kannst auch den "
350
- "aktuellen Beitragstitel anzeigen lassen mit <code>%postname%</code>. "
351
- "Beispielsweise: <code>Ähnliche Beiträge zu %postname%</code>"
352
-
353
- #: admin/main-view.php:272
354
- msgid "When there are no posts, what should be shown?"
355
- msgstr ""
356
- "Wenn keine ähnlichen Beiträge gefunden wurden, was soll angezeigt werden?"
357
-
358
- #: admin/main-view.php:276
359
- msgid "Blank Output"
360
- msgstr "Gar nichts"
361
-
362
- #: admin/main-view.php:281
363
- msgid "Display:"
364
- msgstr "Zeige an:"
365
-
366
- #: admin/main-view.php:287 admin/main-view.php:707
367
- msgid "Show post excerpt in list?"
368
- msgstr "Soll ein Auszug in der Liste angezeigt werden?"
369
-
370
- #: admin/main-view.php:290
371
- #, php-format
372
- msgid ""
373
- "Displays the excerpt of the post. If you do not provide an explicit excerpt "
374
- "to a post (in the post editor's optional excerpt field), it will display an "
375
- "automatic excerpt which refers to the first %d words of the post's content"
376
- msgstr ""
377
-
378
- #: admin/main-view.php:293
379
- msgid ""
380
- "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
381
- "is disabled."
382
- msgstr ""
383
-
384
- #: admin/main-view.php:298
385
- msgid "Length of excerpt (in words):"
386
- msgstr ""
387
-
388
- #: admin/main-view.php:304
389
- msgid "Show post author in list?"
390
- msgstr "Zeige den Autor des Beitrags an in der Liste?"
391
-
392
- #: admin/main-view.php:307
393
- msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
394
- msgstr ""
395
-
396
- #: admin/main-view.php:310
397
- msgid ""
398
- "Rounded Thumbnails style selected under the Custom Styles. Author display is "
399
- "disabled."
400
- msgstr ""
401
-
402
- #: admin/main-view.php:315
403
- msgid "Show post date in list?"
404
- msgstr "Zeige das Datum des Beitrags in der Liste an?"
405
-
406
- #: admin/main-view.php:318
407
- msgid ""
408
- "Displays the date of the post. Uses the same date format set in General "
409
- "Options"
410
- msgstr ""
411
-
412
- #: admin/main-view.php:321
413
- msgid ""
414
- "Rounded Thumbnails style selected under the Custom Styles. Date display is "
415
- "disabled."
416
- msgstr ""
417
-
418
- #: admin/main-view.php:326
419
- msgid "Limit post title length (in characters)"
420
- msgstr "Begrenze den Titel des Beitrags (in Zeichen)"
421
-
422
- #: admin/main-view.php:329
423
- msgid ""
424
- "Any title longer than the number of characters set above will be cut and "
425
- "appended with an ellipsis (&hellip;)"
426
- msgstr ""
427
-
428
- #: admin/main-view.php:333
429
- msgid "Open links in new window"
430
- msgstr "Öffne die Links in einem neuen Fenster"
431
-
432
- #: admin/main-view.php:339
433
- msgid "Add nofollow attribute to links in the list"
434
- msgstr "Füge nofollow zu den Links aus der Liste hinzu"
435
-
436
- #: admin/main-view.php:372
437
- #, fuzzy
438
- msgid "Exclusion settings:"
439
- msgstr "Einstellungen des Plugins"
440
-
441
- #: admin/main-view.php:374
442
- msgid "Exclude display of related posts on these posts / pages"
443
- msgstr ""
444
- "Schließe auf diesen Beiträgen / Seiten die Anzeige der ähnliche Beiträge aus"
445
-
446
- #: admin/main-view.php:380
447
- #, fuzzy
448
- msgid "Exclude display of related posts on these post types."
449
- msgstr ""
450
- "Schließe auf diesen Beiträgen / Seiten die Anzeige der ähnliche Beiträge aus"
451
-
452
- #: admin/main-view.php:387
453
- #, fuzzy
454
- msgid ""
455
- "The related posts will not display on any of the above selected post types"
456
- msgstr ""
457
- "Diese Beitragsarten werden in der Liste angezeigt. Einschließlich "
458
- "benutzerdefinierter Beitragsarten (custom post types)."
459
-
460
- #: admin/main-view.php:417
461
- msgid "Customize the output:"
462
- msgstr "Passe die Ausgabe an:"
463
-
464
- #: admin/main-view.php:419
465
- msgid "HTML to display before the list of posts: "
466
- msgstr "HTML vor der Liste ähnlicher Beiträge:"
467
-
468
- #: admin/main-view.php:422
469
- msgid "HTML to display before each list item: "
470
- msgstr "HTML-Code vor jedem Listenelement:"
471
-
472
- #: admin/main-view.php:425
473
- msgid "HTML to display after each list item: "
474
- msgstr "HTML-Code nach jedem Listenelement:"
475
-
476
- #: admin/main-view.php:428
477
- msgid "HTML to display after the list of posts: "
478
- msgstr "HTML-Code nach der Liste ähnlicher Beiträge:"
479
-
480
- #: admin/main-view.php:469 admin/main-view.php:710
481
- msgid "Location of post thumbnail:"
482
- msgstr "Ort der Beitragsvorschaubilder"
483
-
484
- #: admin/main-view.php:473 admin/main-view.php:714
485
- msgid "Display thumbnails inline with posts, before title"
486
- msgstr "Zeige die Vorschaubilder inline mit den Beiträgen an; vor dem Titel"
487
-
488
- #: admin/main-view.php:477 admin/main-view.php:718
489
- msgid "Display thumbnails inline with posts, after title"
490
- msgstr "Zeige die Vorschaubilder inline mit den Beiträgen an; nach dem Titel"
491
-
492
- #: admin/main-view.php:481 admin/main-view.php:722
493
- msgid "Display only thumbnails, no text"
494
- msgstr "Zeige nur die Vorschaubilder an; keinen Text"
495
-
496
- #: admin/main-view.php:485 admin/main-view.php:726
497
- msgid "Do not display thumbnails, only text."
498
- msgstr "Zeige keine Vorschaubilder an; nur Text"
499
-
500
- #: admin/main-view.php:488
501
- msgid ""
502
- "This setting cannot be changed because an inbuilt style has been selected "
503
- "under the Styles section. If you would like to change this option, please "
504
- "select <strong>No styles</strong> under the Styles section."
505
- msgstr ""
506
-
507
- #: admin/main-view.php:492
508
- msgid "Thumbnail size:"
509
- msgstr ""
510
-
511
- #: admin/main-view.php:516
512
- msgid "Custom size"
513
- msgstr ""
514
-
515
- #: admin/main-view.php:519
516
- msgid "You can choose from existing image sizes above or create a custom size."
517
- msgstr ""
518
-
519
- #: admin/main-view.php:520
520
- msgid ""
521
- "If you choose an existing size, then the width, height and crop mode "
522
- "settings in the three options below will be automatically updated to reflect "
523
- "the correct dimensions of the setting."
524
- msgstr ""
525
-
526
- #: admin/main-view.php:521
527
- msgid ""
528
- "If you have chosen Custom size above, then enter the width, height and crop "
529
- "settings below. For best results, use a cropped image with the same width "
530
- "and height. The default setting is 150x150 cropped image."
531
- msgstr ""
532
-
533
- #: admin/main-view.php:522
534
- msgid ""
535
- "Any changes to the thumbnail settings doesn't automatically resize existing "
536
- "images."
537
- msgstr ""
538
-
539
- #: admin/main-view.php:523
540
- #, php-format
541
- msgid ""
542
- "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
543
- "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
544
- "all image sizes."
545
- msgstr ""
546
-
547
- #: admin/main-view.php:527
548
- msgid "Width of the thumbnail:"
549
- msgstr ""
550
-
551
- #: admin/main-view.php:530
552
- msgid "Height of the thumbnail: "
553
- msgstr ""
554
-
555
- #: admin/main-view.php:535
556
- msgid "Crop mode:"
557
- msgstr ""
558
-
559
- #: admin/main-view.php:539
560
- msgid ""
561
- "By default, thumbnails will be hard cropped. Uncheck this box to "
562
- "proportionately/soft crop the thumbnails."
563
- msgstr ""
564
-
565
- #: admin/main-view.php:540
566
- #, php-format
567
- msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
568
- msgstr ""
569
-
570
- #: admin/main-view.php:544
571
- msgid "Image size attributes:"
572
- msgstr ""
573
-
574
- #: admin/main-view.php:548
575
- #, fuzzy
576
- msgid "Style attributes are used for width and height."
577
- msgstr ""
578
- "CSS Attribute werden für Breite und Höhe benutzt. <code>style=\"max-width:"
579
-
580
- #: admin/main-view.php:554
581
- #, fuzzy
582
- msgid "HTML width and height attributes are used for width and height."
583
- msgstr "HTML Attribute werden für Breite und Höhe benutzt. <code>width=\""
584
-
585
- #: admin/main-view.php:560
586
- msgid "No HTML or Style attributes set for width and height"
587
- msgstr ""
588
-
589
- #: admin/main-view.php:565
590
- #, fuzzy
591
- msgid "Post thumbnail meta field name:"
592
- msgstr "Name des benutzerdefiniertes Feld des Vorschaubildes:"
593
-
594
- #: admin/main-view.php:567
595
- msgid ""
596
- "The value of this field should contain a direct link to the image. This is "
597
- "set in the meta box in the <em>Add New Post</em> screen."
598
- msgstr ""
599
-
600
- #: admin/main-view.php:570
601
- msgid "Extract the first image from the post?"
602
- msgstr ""
603
-
604
- #: admin/main-view.php:572
605
- msgid ""
606
- "This will only happen if there is no post thumbnail set and no image URL is "
607
- "specified in the meta field."
608
- msgstr ""
609
-
610
- #: admin/main-view.php:575
611
- #, fuzzy
612
- msgid "Use default thumbnail?"
613
- msgstr "Benutze das Standard-Vorschaubild?"
614
-
615
- #: admin/main-view.php:577
616
- msgid ""
617
- "If checked, when no thumbnail is found, show a default one from the URL "
618
- "below. If not checked and no thumbnail is found, no image will be shown."
619
- msgstr ""
620
- "Wenn dies ausgewählt ist, dann wird das Standard-Vorschaubild von der URL "
621
- "unterhalb geladen. Wenn es nicht ausgewählt ist und kein Vorschaubild "
622
- "gefunden wird, wird kein Vorschaubild angezeigt."
623
-
624
- #: admin/main-view.php:580
625
- #, fuzzy
626
- msgid "Default thumbnail:"
627
- msgstr "Standard-Vorschaubild: "
628
-
629
- #: admin/main-view.php:583
630
- #, fuzzy
631
- msgid ""
632
- "The plugin will first check if the post contains a thumbnail. If it doesn't "
633
- "then it will check the meta field. If this is not available, then it will "
634
- "show the default image as specified above."
635
- msgstr ""
636
- "Das Plugin wird zuerst prüfen, ob der Beitrag ein Vorschaubild hat. Dann "
637
- "wird es die benutzerdefinierten Felder überprüfen. Wenn auch hier keines "
638
- "eingetragen ist, wird das Standard-Vorschaubild benutzt, das oben definiert "
639
- "wurde"
640
-
641
- #: admin/main-view.php:624
642
- msgid "Style of the related posts:"
643
- msgstr ""
644
-
645
- #: admin/main-view.php:627
646
- msgid "No styles"
647
- msgstr ""
648
-
649
- #: admin/main-view.php:629
650
- msgid "Select this option if you plan to add your own styles"
651
- msgstr ""
652
-
653
- #: admin/main-view.php:633
654
- msgid "Rounded Thumbnails"
655
- msgstr ""
656
-
657
- #: admin/main-view.php:636
658
- msgid ""
659
- "Enabling this option will turn on the thumbnails and set their width and "
660
- "height to 150px. It will also turn off the display of the author, excerpt "
661
- "and date if already enabled. Disabling this option will not revert any "
662
- "settings."
663
- msgstr ""
664
-
665
- #: admin/main-view.php:637
666
- #, php-format
667
- msgid ""
668
- "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
669
- msgstr ""
670
-
671
- #: admin/main-view.php:641
672
- msgid "Text only"
673
- msgstr ""
674
-
675
- #: admin/main-view.php:643
676
- msgid ""
677
- "Enabling this option will disable thumbnails and no longer include the "
678
- "default style sheet included in the plugin."
679
- msgstr ""
680
-
681
- #: admin/main-view.php:658
682
- msgid "Custom CSS to add to header:"
683
- msgstr "Eigenes CSS, das im Header-Bereich hinzugefügt werden soll:"
684
-
685
- #: admin/main-view.php:662
686
- msgid ""
687
- "Do not include <code>style</code> tags. Check out the <a href=\"http://"
688
- "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
689
- "\">FAQ</a> for available CSS classes to style."
690
- msgstr ""
691
- "Benutze nicht den <code>style</code> Tag. Siehe dir die <a href=\"http://"
692
- "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
693
- "\">FAQ</a> (en) für benutzbare CSS Klassen an."
694
-
695
- #: admin/main-view.php:702
696
- msgid ""
697
- "Below options override the related posts settings for your blog feed. These "
698
- "only apply if you have selected to add related posts to Feeds in the General "
699
- "Options tab."
700
- msgstr ""
701
- "Die Optionen unterhalb überschreiben die Einstellung der ähnlichen Beiträge "
702
- "für den Feed deines Blogs. Diese werden nur übernommen, wenn du bei den "
703
- "allgemeinen Einstellungen ausgewählt hast, dass ähnliche Beiträge auch in "
704
- "den Feeds angezeigt werden sollen. "
705
-
706
- #: admin/main-view.php:730
707
- msgid "Maximum width of the thumbnail: "
708
- msgstr "Maximale Breite der Vorschaubilder:"
709
-
710
- #: admin/main-view.php:733
711
- msgid "Maximum height of the thumbnail: "
712
- msgstr "Maximale Höhe der Vorschaubilder:"
713
-
714
- #: admin/main-view.php:768
715
- msgid "Default Options"
716
- msgstr "Standardoptionen"
717
-
718
- #: admin/main-view.php:768
719
- msgid "Do you want to set options to Default?"
720
- msgstr "Möchtest du Einstellungen zurücksetzen?"
721
-
722
- #: admin/main-view.php:769
723
- msgid "Recreate Index"
724
- msgstr "Erstelle den Index neu"
725
-
726
- #: admin/main-view.php:769
727
- msgid "Are you sure you want to recreate the index?"
728
- msgstr "Bist du sicher, den Index neu zu erstellen?"
729
-
730
- #: admin/main-view.php:774
731
- msgid ""
732
- "One or more FULLTEXT indices are missing. Please hit the <a href="
733
- "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
734
- "this."
735
- msgstr ""
736
-
737
- #: admin/metabox.php:98
738
- #, fuzzy
739
- msgid "Location of thumbnail:"
740
- msgstr "Ort der Beitragsvorschaubilder"
741
-
742
- #: admin/metabox.php:100
743
- msgid ""
744
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
745
- "image will be used for the post. It will be resized to the thumbnail size "
746
- "set under Settings &raquo; Related Posts &raquo; Output Options"
747
- msgstr ""
748
-
749
- #: admin/metabox.php:101
750
- msgid "The URL above is saved in the meta field:"
751
- msgstr ""
752
-
753
- #: admin/metabox.php:106
754
- msgid ""
755
- "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
756
- "thumbnail, then you'll need to make the same change in the Top 10 meta box "
757
- "on this page."
758
- msgstr ""
759
-
760
- #: admin/metabox.php:117
761
- msgid "Disable Related Posts display:"
762
- msgstr ""
763
-
764
- #: admin/metabox.php:120
765
- msgid ""
766
- "If this is checked, then Contextual Related Posts will not automatically "
767
- "insert the related posts at the end of post content."
768
- msgstr ""
769
-
770
- #: admin/metabox.php:125 admin/metabox.php:133
771
- msgid "Manual related posts:"
772
- msgstr ""
773
-
774
- #: admin/metabox.php:127
775
- msgid ""
776
- "Comma separated list of post, page or custom post type IDs. e.g. "
777
- "188,320,500. These will be given preference over the related posts generated "
778
- "by the plugin."
779
- msgstr ""
780
-
781
- #: admin/metabox.php:128
782
- msgid ""
783
- "Once you enter the list above and save this page, the plugin will display "
784
- "the titles of the posts below for your reference. Only IDs corresponding to "
785
- "published posts or custom post types will be retained."
786
- msgstr ""
787
-
788
- #: admin/metabox.php:142
789
- msgid "This post type is:"
790
- msgstr ""
791
-
792
- #: admin/sidebar-view.php:20
793
- msgid "Support the development"
794
- msgstr "Unterstütze die Entwicklung"
795
-
796
- #: admin/sidebar-view.php:27
797
- #, fuzzy
798
- msgid "Donation for Contextual Related Posts"
799
- msgstr "Contextual Related Posts"
800
-
801
- #: admin/sidebar-view.php:29
802
- #, fuzzy
803
- msgid "Enter amount in USD:"
804
- msgstr "Trage einen Betrag in USD ein:"
805
-
806
- #: admin/sidebar-view.php:33
807
- msgid "Send your donation to the author of"
808
- msgstr "Schicke dein Geschenk an den Entwickler von"
809
-
810
- #: admin/sidebar-view.php:41
811
- msgid "Follow me"
812
- msgstr ""
813
-
814
- #: admin/sidebar-view.php:66
815
- #, fuzzy
816
- msgid "Quick links"
817
- msgstr "Quick Links"
818
-
819
- #: admin/sidebar-view.php:70
820
- msgid "Plugin homepage"
821
- msgstr ""
822
-
823
- #: admin/sidebar-view.php:71
824
- msgid "FAQ"
825
- msgstr "FAQ"
826
-
827
- #: admin/sidebar-view.php:73
828
- msgid "Reviews"
829
- msgstr "Rezensionen"
830
-
831
- #: admin/sidebar-view.php:74
832
- msgid "Github repository"
833
- msgstr ""
834
-
835
- #: admin/sidebar-view.php:75
836
- msgid "Other plugins"
837
- msgstr "Andere Plugins"
838
-
839
- #: admin/sidebar-view.php:76
840
- msgid "Ajay's blog"
841
- msgstr "Ajay's Blog"
842
-
843
- #: contextual-related-posts.php:232
844
- #, php-format
845
- msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
846
- msgstr ""
847
-
848
- #: contextual-related-posts.php:710
849
- msgid "<h3>Related Posts:</h3>"
850
- msgstr "<h3>Ähnliche Beiträge:</h3>"
851
-
852
- #: contextual-related-posts.php:712
853
- msgid "No related posts found"
854
- msgstr "Es wurden keine ähnlichen Beiträge gefunden"
855
-
856
- #: includes/class-crp-widget.php:33
857
- #, fuzzy
858
- msgid "Related Posts [CRP]"
859
- msgstr "Ähnliche Beiträge"
860
-
861
- #: includes/class-crp-widget.php:34
862
- msgid "Display Related Posts"
863
- msgstr "Zeige ähnliche Beiträge an"
864
-
865
- #: includes/class-crp-widget.php:69
866
- msgid "Title"
867
- msgstr "Titel"
868
-
869
- #: includes/class-crp-widget.php:74
870
- msgid "No. of posts"
871
- msgstr ""
872
-
873
- #: includes/class-crp-widget.php:79
874
- msgid " Show excerpt?"
875
- msgstr "Zeige einen Textauszug?"
876
-
877
- #: includes/class-crp-widget.php:84
878
- msgid " Show author?"
879
- msgstr "Zeige den Autor?"
880
-
881
- #: includes/class-crp-widget.php:89
882
- msgid " Show date?"
883
- msgstr "Zeige das Datum?"
884
-
885
- #: includes/class-crp-widget.php:95
886
- msgid "Thumbnails inline, before title"
887
- msgstr "Vorschaubilder inline, vor dem Titel"
888
-
889
- #: includes/class-crp-widget.php:96
890
- msgid "Thumbnails inline, after title"
891
- msgstr "Vorschaubilder inline, hinter dem Titel"
892
-
893
- #: includes/class-crp-widget.php:97
894
- msgid "Only thumbnails, no text"
895
- msgstr "Nur Vorschaubilder, kein Text"
896
-
897
- #: includes/class-crp-widget.php:98
898
- msgid "No thumbnails, only text."
899
- msgstr "Keine Vorschaubilder, nur Text"
900
-
901
- #: includes/class-crp-widget.php:103
902
- msgid "Thumbnail height"
903
- msgstr "Höhe des Vorschaubildes"
904
-
905
- #: includes/class-crp-widget.php:108
906
- msgid "Thumbnail width"
907
- msgstr "Breite des Vorschaubildes"
908
-
909
- #: includes/class-crp-widget.php:112
910
- msgid "Post types to include:"
911
- msgstr ""
912
-
913
- #: includes/media.php:67
914
- msgid "thumb_timthumb argument has been deprecated"
915
- msgstr ""
916
-
917
- #: includes/media.php:71
918
- msgid "thumb_timthumb_q argument has been deprecated"
919
- msgstr ""
920
-
921
- #: includes/media.php:75
922
- msgid "filter argument has been deprecated"
923
- msgstr ""
924
-
925
- #: includes/output-generator.php:238
926
- msgid " by "
927
- msgstr "von"
928
-
929
- #~ msgid "Contextual Related Posts"
930
- #~ msgstr "Contextual Related Posts"
931
-
932
- #~ msgid "Contextual Related Posts plugin page"
933
- #~ msgstr "Contextual Related Posts Pluginseite"
934
-
935
- #~ msgid "Options saved successfully."
936
- #~ msgstr "Optionen erfolgreich gespeichert."
937
-
938
- #, fuzzy
939
- #~ msgid "Custom styles"
940
- #~ msgstr "Eigenes CSS"
941
-
942
- #~ msgid "Add related posts to:"
943
- #~ msgstr "Füge ähnliche Beiträge hinzu:"
944
-
945
- #~ msgid ""
946
- #~ "If unchecked, only posts titles are used. I recommend using a caching "
947
- #~ "plugin or enabling \"Cache output\" above if you enable this."
948
- #~ msgstr ""
949
- #~ "Wenn nicht ausgewählt, werden nur die Titel der Beiträge benutzt. Ich "
950
- #~ "empfehle ein Caching Plugin oder das Anschalten der Cache Ausgabe, wenn "
951
- #~ "diese Einstellung ausgewählt ist."
952
-
953
- #~ msgid "Limit content to be compared"
954
- #~ msgstr "Begrenze den Inhalt, der verglichen werden soll"
955
-
956
- #~ msgid ""
957
- #~ "This sets the maximum words of the content that will be matched. 0 means "
958
- #~ "no limit."
959
- #~ msgstr ""
960
- #~ "Dies setzt die maximale Anzahl an Worten aus dem Inhalt, die benutzt "
961
- #~ "wird. 0 bedeutet keine Begrenzung."
962
-
963
- #~ msgid "Title of related posts: "
964
- #~ msgstr "Überschrift der ähnlichen Beiträge:"
965
-
966
- #~ msgid "Length of excerpt (in words): "
967
- #~ msgstr "Länge des Auszugs (in Worten):"
968
-
969
- #~ msgid "Style attributes / Width and Height HTML attributes:"
970
- #~ msgstr "Breite und Höhe mit CSS oder HTML festlegen:"
971
-
972
- #~ msgid ""
973
- #~ "The value of this field should contain the image source and is set in the "
974
- #~ "<em>Add New Post</em> screen"
975
- #~ msgstr ""
976
- #~ "Der Wert dieses Feldes sollte die Bildquelle enthalten. Sie wird unter "
977
- #~ "<em>Neuen Beitrag erstellen</em> gesetzt"
978
-
979
- #~ msgid ""
980
- #~ "This sets the cutoff period for which posts will be displayed. e.g. "
981
- #~ "setting it to 365 will show related posts from the last year only."
982
- #~ msgstr ""
983
- #~ "Hier den Zeitraum eintragen, aus dem die ähnlichen Beiträge berechnet "
984
- #~ "werden. Zum Beispiel 365 eintragen, damit nur Beiträge aus dem letzten "
985
- #~ "Jahr angezeigt werden."
986
-
987
- #~ msgid "Post thumbnail options:"
988
- #~ msgstr "Einstellungen der Beitragsvorschaubilder:"
989
-
990
- #, fuzzy
991
- #~ msgid "Maximum width of the thumbnail:"
992
- #~ msgstr "Maximale Breite der Vorschaubilder:"
993
-
994
- #~ msgid "Use timthumb to generate thumbnails? "
995
- #~ msgstr "Benutze timthumb um die Vorschaubilder zu erstellen?"
996
-
997
- #, fuzzy
998
- #~ msgid ""
999
- #~ "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
1000
- #~ "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
1001
- #~ msgstr ""
1002
- #~ "Wenn ausgewählt wird <a href=\"http://www.binarymoon.co.uk/projects/"
1003
- #~ "timthumb/\">timthumb</a> zur Erstellung der Vorschaubilder benutzt"
1004
-
1005
- #, fuzzy
1006
- #~ msgid "Quality of thumbnails generated by timthumb:"
1007
- #~ msgstr "Qualität der Vorschaubilder von timthumb"
1008
-
1009
- #, fuzzy
1010
- #~ msgid ""
1011
- #~ "Enter values between 0 and 100 only. 100 is highest quality and the "
1012
- #~ "highest file size. Suggested maximum value is 95. CRP default is 75."
1013
- #~ msgstr ""
1014
- #~ "Trage einen Wert zwischen 0 und 100 ein. 100 ist die höchste Qualität, "
1015
- #~ "bedeutet aber auch die größte Dateigröße. 95 ist der empfohlene Wert. Die "
1016
- #~ "Voreinstellung ist 75."
1017
-
1018
- #~ msgid "Powered by"
1019
- #~ msgstr "Powered by"
1020
-
1021
- #~ msgid "Add a link to the plugin page as a final item in the list"
1022
- #~ msgstr ""
1023
- #~ "Füge einen Link zu der Plugin-Seite hinzu als letzten Punkt der Liste"
1024
-
1025
- #~ msgid ""
1026
- #~ "If the postmeta is not set, then should the plugin extract the first "
1027
- #~ "image from the post?"
1028
- #~ msgstr ""
1029
- #~ "Wenn die benutzerdefinierten Felder nicht gesetzt wurden, soll das Plugin "
1030
- #~ "dann das erste Bild des Beitrags heraussuchen?"
1031
-
1032
- #~ msgid ""
1033
- #~ "This can slow down the loading of your page if the first image in the "
1034
- #~ "related posts is large in file-size"
1035
- #~ msgstr ""
1036
- #~ "Dies kann den Ladevorgang der Seite erhöhen, wenn das erste Bild in dem "
1037
- #~ "ähnlichen Beitrag eine große Dateigröße hat"
1038
-
1039
- #~ msgid "Recent developments"
1040
- #~ msgstr "Aktuelle Entwicklungen"
1041
-
1042
- #~ msgid ""
1043
- #~ "Contextual Related Posts plugin has just been installed / upgraded. "
1044
- #~ "Please visit the "
1045
- #~ msgstr ""
1046
- #~ "Contextual Related Posts wurde installiert / aktualisiert. Bitte besuche "
1047
- #~ "die "
1048
-
1049
- #~ msgid " to configure."
1050
- #~ msgstr "zum konfigurieren."
1051
-
1052
- #~ msgid " Posted by "
1053
- #~ msgstr "Veröffentlicht von"
1054
-
1055
- #~ msgid "Follow @ajaydsouza on Twitter"
1056
- #~ msgstr "@ajaydsouza auf Twitter folgen"
1057
-
1058
- #~ msgid "Display \"No Related Posts\""
1059
- #~ msgstr "\"Keine ähnlichen Beiträge\" anzeigen"
1060
-
1061
- #~ msgid "Exclude Categories: "
1062
- #~ msgstr "Kategorien ausschließen: "
1063
-
1064
- #~ msgid "plugin page"
1065
- #~ msgstr "Plugin-Seite"
1066
-
1067
- #~ msgid "Exclude Pages in Related Posts"
1068
- #~ msgstr "Statische Seiten in ähnlichen Beiträgen ausschließen"
1069
-
1070
- #~ msgid ""
1071
- #~ "Add related posts to the post content on single posts. <br />If you "
1072
- #~ "choose to disable this, please add <code>&lt;?php "
1073
- #~ "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> to your "
1074
- #~ "template file where you want it displayed"
1075
- #~ msgstr ""
1076
- #~ "Ähnliche Beiträge am Ende jedes Einzelbeitrags auflisten.<br />Wenn Sie "
1077
- #~ "das deaktivieren wollen, fügen Sie <code>&lt;?php "
1078
- #~ "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> in das "
1079
- #~ "Template ein, in dem die ähnlichen Beiträge aufgeliistet werden sollen"
1080
-
1081
- #~ msgid ""
1082
- #~ "Append link to this plugin as item. Optional, but would be nice to give "
1083
- #~ "me some link love"
1084
- #~ msgstr ""
1085
- #~ "Einen Link auf dieses Plugin an die Beitragsliste anhängen. Optional, "
1086
- #~ "aber es wäre nett, wenn Sie diesen Punkt aktivieren würden."
1087
-
1088
- #~ msgid ""
1089
- #~ "Post thumbnail meta field (the meta should point contain the image "
1090
- #~ "source): "
1091
- #~ msgstr ""
1092
- #~ "Meta-Feld des Beitrags-Vorschaubildes (der Wert sollte auf das Bild "
1093
- #~ "zeigen): "
1094
-
1095
- #~ msgid "Thumbnail dimensions:"
1096
- #~ msgstr "Größe der Thumbnails:"
1097
-
1098
- #~ msgid "Max width: "
1099
- #~ msgstr "Maximale Breite: "
1100
-
1101
- #~ msgid "Max height: "
1102
- #~ msgstr "Maximale Höhe: "
1103
-
1104
- #~ msgid "Support forum"
1105
- #~ msgstr "Support Forum"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/contextual-related-posts-el_GR.mo DELETED
Binary file
languages/contextual-related-posts-el_GR.po DELETED
@@ -1,926 +0,0 @@
1
- #
2
- # Translators:
3
- # evigiannakou <evigian@in.gr>, 2014
4
- msgid ""
5
- msgstr ""
6
- "Project-Id-Version: Contextual Related Posts\n"
7
- "Report-Msgid-Bugs-To: \n"
8
- "POT-Creation-Date: 2015-09-27 13:34+0100\n"
9
- "PO-Revision-Date: 2015-09-27 13:34+0100\n"
10
- "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
11
- "Language-Team: Greek (http://www.transifex.com/projects/p/contextual-related-"
12
- "posts/language/el/)\n"
13
- "Language: el\n"
14
- "MIME-Version: 1.0\n"
15
- "Content-Type: text/plain; charset=UTF-8\n"
16
- "Content-Transfer-Encoding: 8bit\n"
17
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
- "X-Generator: Poedit 1.8.4\n"
19
- "X-Poedit-Basepath: ..\n"
20
- "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
21
- "X-Poedit-SourceCharset: UTF-8\n"
22
- "X-Poedit-SearchPath-0: .\n"
23
-
24
- #: admin/admin.php:191
25
- msgid "Options saved successfully. If enabled, the cache has been cleared."
26
- msgstr ""
27
-
28
- #: admin/admin.php:194
29
- msgid ""
30
- "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
31
- "displayed."
32
- msgstr ""
33
-
34
- #: admin/admin.php:197
35
- msgid "Text Only style selected. Thumbnails will not be displayed."
36
- msgstr ""
37
-
38
- #: admin/admin.php:200
39
- #, php-format
40
- msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
41
- msgstr ""
42
-
43
- #: admin/admin.php:224
44
- msgid "Options set to Default."
45
- msgstr "Οι επιλογές ορίστηκαν ως Προεπιλογή."
46
-
47
- #: admin/admin.php:233
48
- msgid "Index recreated"
49
- msgstr ""
50
-
51
- #: admin/admin.php:250
52
- msgid "Related Posts"
53
- msgstr "Σχετικά Άρθρα"
54
-
55
- #: admin/cache.php:42
56
- msgid ""
57
- "An error occurred clearing the cache. Please contact your site administrator."
58
- "\\n\\nError message:\\n"
59
- msgstr ""
60
- "Προέκυψε σφάλμα κατά τον καθαρισμό των προσωρινών αρχείων. Παρακαλώ "
61
- "επικοινωνήστε με το διαχειριστή του ιστότοπου σας.\\n\\nΜήνυμα σφάλματος:\\n"
62
-
63
- #: admin/cache.php:47
64
- msgid " cached row(s) cleared"
65
- msgstr "οι σειρά(ές) προσωρινών δεδομένων καθαρίστηκαν"
66
-
67
- #: admin/loader.php:24
68
- msgid "Settings"
69
- msgstr "Ρυθμίσεις"
70
-
71
- #: admin/loader.php:46 admin/sidebar-view.php:72
72
- msgid "Support"
73
- msgstr "Υποστήριξη"
74
-
75
- #: admin/loader.php:47
76
- msgid "Donate"
77
- msgstr "Δωρεά"
78
-
79
- #: admin/loader.php:48
80
- msgid "Contribute"
81
- msgstr "Συνεισφορά"
82
-
83
- #: admin/loader.php:64
84
- msgid "plugin settings page"
85
- msgstr "σελίδα ρυθμίσεων προσθέτου"
86
-
87
- #: admin/main-view.php:32 admin/main-view.php:55
88
- msgid "General options"
89
- msgstr "Γενικές επιλογές"
90
-
91
- #: admin/main-view.php:33 admin/main-view.php:142
92
- msgid "List tuning options"
93
- msgstr ""
94
-
95
- #: admin/main-view.php:34 admin/main-view.php:249
96
- msgid "Output options"
97
- msgstr ""
98
-
99
- #: admin/main-view.php:35 admin/main-view.php:453
100
- #: includes/class-crp-widget.php:93
101
- msgid "Thumbnail options"
102
- msgstr "Επιλογές μικρογραφιών"
103
-
104
- #: admin/main-view.php:36 admin/main-view.php:608
105
- msgid "Styles"
106
- msgstr ""
107
-
108
- #: admin/main-view.php:37 admin/main-view.php:686
109
- msgid "Feed options"
110
- msgstr "Επιλογές καναλιού"
111
-
112
- #: admin/main-view.php:71
113
- msgid "Cache output?"
114
- msgstr ""
115
-
116
- #: admin/main-view.php:73
117
- msgid ""
118
- "Enabling this option will cache the related posts output when the post is "
119
- "visited the first time. The cache is cleaned when you save this page."
120
- msgstr ""
121
- "Ενεργοποιώντας αυτή την επιλογή θα αποθηκεύσετε προσωρινά τα δεδομένα των "
122
- "σχετικών άρθρων όταν το άρθρο επισκέπτεται για πρώτη φορά. Τα προσωρινά "
123
- "δεδομένα καθαρίζονται όταν αποθηκεύετε αυτή τη σελίδα."
124
-
125
- #: admin/main-view.php:74
126
- msgid ""
127
- "The CRP cache works independently and in addition to any of your caching "
128
- "plugins like WP Super Cache or W3 Total Cache. It is recommended that you "
129
- "enable this on your blog."
130
- msgstr ""
131
-
132
- #: admin/main-view.php:75
133
- msgid "Clear cache"
134
- msgstr "Καθαρισμός προσωρινών αρχείων"
135
-
136
- #: admin/main-view.php:79
137
- msgid "Automatically add related posts to:"
138
- msgstr ""
139
-
140
- #: admin/main-view.php:81
141
- msgid "Posts"
142
- msgstr "Άρθρα"
143
-
144
- #: admin/main-view.php:82
145
- msgid "Pages"
146
- msgstr "Σελίδες"
147
-
148
- #: admin/main-view.php:83
149
- msgid "Home page"
150
- msgstr "Αρχική σελίδα"
151
-
152
- #: admin/main-view.php:84
153
- msgid "Feeds"
154
- msgstr "Κανάλια"
155
-
156
- #: admin/main-view.php:85
157
- msgid "Category archives"
158
- msgstr "Αρχεία κατηγορίας"
159
-
160
- #: admin/main-view.php:86
161
- msgid "Tag archives"
162
- msgstr "Αρχεία ετικέτας"
163
-
164
- #: admin/main-view.php:87
165
- msgid "Other archives"
166
- msgstr "Άλλα αρχεία"
167
-
168
- #: admin/main-view.php:88
169
- msgid ""
170
- "If you choose to disable this, please add <code>&lt;?php if "
171
- "( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your "
172
- "template file where you want it displayed"
173
- msgstr ""
174
-
175
- #: admin/main-view.php:92
176
- msgid "Display location priority:"
177
- msgstr ""
178
-
179
- #: admin/main-view.php:95
180
- msgid ""
181
- "If you select to automatically add the related posts, CRP will hook into the "
182
- "Content Filter at a priority as specified in this option."
183
- msgstr ""
184
-
185
- #: admin/main-view.php:96
186
- msgid ""
187
- "A higher number will cause the related posts to be processed later and move "
188
- "their display further down after the post content. Any number below 10 is "
189
- "not recommended."
190
- msgstr ""
191
-
192
- #: admin/main-view.php:100
193
- msgid "Show metabox:"
194
- msgstr ""
195
-
196
- #: admin/main-view.php:103
197
- msgid ""
198
- "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
199
- "Posts screens. Also applies to Pages and Custom Post Types."
200
- msgstr ""
201
-
202
- #: admin/main-view.php:107
203
- msgid "Limit metabox to Admins only:"
204
- msgstr ""
205
-
206
- #: admin/main-view.php:110
207
- msgid ""
208
- "If this is selected, the metabox will be hidden from anyone who is not an "
209
- "Admin. Otherwise, by default, Contributors and above will be able to see the "
210
- "metabox. This applies only if the above option is selected."
211
- msgstr ""
212
-
213
- #: admin/main-view.php:114
214
- msgid "Tell the world you're using Contextual Related Posts:"
215
- msgstr ""
216
-
217
- #: admin/main-view.php:116
218
- msgid " <em>Optional</em>"
219
- msgstr "<em>Προαιρετικό</em>"
220
-
221
- #: admin/main-view.php:117
222
- msgid ""
223
- "Adds a nofollow link to Contextual Related Posts homepage as the last time "
224
- "in the list."
225
- msgstr ""
226
-
227
- #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
228
- #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
229
- #: admin/main-view.php:767
230
- msgid "Save Options"
231
- msgstr "Αποθήκευση επιλογών"
232
-
233
- #: admin/main-view.php:158 admin/main-view.php:704
234
- msgid "Number of related posts to display: "
235
- msgstr "Αριθμός σχετικών άρθρων για προβολή:"
236
-
237
- #: admin/main-view.php:161
238
- msgid ""
239
- "Maximum number of posts that will be displayed. The actual number may be "
240
- "smaller if less related posts are found."
241
- msgstr ""
242
- "Ο μέγιστος αριθμός άρθρων που θα προβάλλονται. Ο πραγματικός αριθμός ίσως "
243
- "είναι μικρότερος αν βρεθούν λιγότερα σχετικά άρθρα."
244
-
245
- #: admin/main-view.php:165
246
- msgid "Related posts should be newer than:"
247
- msgstr "Τα σχετικά άρθρα να είναι νεότερα από:"
248
-
249
- #: admin/main-view.php:167
250
- msgid "days"
251
- msgstr "ημέρες "
252
-
253
- #: admin/main-view.php:168
254
- msgid ""
255
- "This sets the cutoff period for which posts will be displayed. e.g. setting "
256
- "it to 365 will show related posts from the last year only. Set to 0 to "
257
- "disable limiting posts by date."
258
- msgstr ""
259
-
260
- #: admin/main-view.php:172
261
- msgid "Find related posts based on content as well as title:"
262
- msgstr "Εύρεση σχετικών άρθρων με βάσει το περιεχόμενο καθώς και τον τίτλο:"
263
-
264
- #: admin/main-view.php:174
265
- msgid ""
266
- "If unchecked, only posts titles are used. I recommend using a caching plugin "
267
- "or enabling \"Cache output\" above if you enable this. Each site is "
268
- "different, so toggle this option to see which setting gives you better "
269
- "quality related posts."
270
- msgstr ""
271
-
272
- #: admin/main-view.php:178
273
- msgid "Limit content to be compared:"
274
- msgstr ""
275
-
276
- #: admin/main-view.php:180
277
- msgid ""
278
- "This sets the maximum words of the content that will be matched. Set to 0 "
279
- "for no limit. Only applies if you active the above option."
280
- msgstr ""
281
-
282
- #: admin/main-view.php:184
283
- msgid "Post types to include in results:"
284
- msgstr "Τύποι άρθρων που θα περιληφθούν στα αποτελέσματα:"
285
-
286
- #: admin/main-view.php:191
287
- msgid ""
288
- "These post types will be displayed in the list. Includes custom post types."
289
- msgstr ""
290
- "Αυτοί οι τύποι άρθρων θα προβάλλονται στον κατάλογο. Περιλαμβάνει "
291
- "προσαρμοσμένους τύπους άρθρων."
292
-
293
- #: admin/main-view.php:195
294
- msgid "List of post or page IDs to exclude from the results:"
295
- msgstr "Κατάλογος ID άρθρων ή σελίδων για να αποκλείσετε από τα αποτελέσματα:"
296
-
297
- #: admin/main-view.php:197 admin/main-view.php:377
298
- msgid ""
299
- "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
300
- msgstr ""
301
- "Διαχωρισμένος με κόμμα κατάλογος ID άρθρων, σελίδων ή προσαρμοσμένου τύπου "
302
- "άρθρων. π.χ. 188,320,500"
303
-
304
- #: admin/main-view.php:201
305
- msgid "Categories to exclude from the results: "
306
- msgstr "Κατηγορίες για να αποκλειστούν από τα αποτελέσματα:"
307
-
308
- #: admin/main-view.php:213
309
- msgid ""
310
- "Comma separated list of category slugs. The field above has an autocomplete "
311
- "so simply start typing in the beginning of your category name and it will "
312
- "prompt you with options."
313
- msgstr ""
314
-
315
- #: admin/main-view.php:216
316
- msgid "Excluded category IDs are:"
317
- msgstr ""
318
-
319
- #: admin/main-view.php:222
320
- msgid ""
321
- "These might differ from the IDs visible in the Categories page which use the "
322
- "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
323
- "unique to this taxonomy."
324
- msgstr ""
325
-
326
- #: admin/main-view.php:265
327
- msgid "Title of related posts:"
328
- msgstr ""
329
-
330
- #: admin/main-view.php:268
331
- msgid ""
332
- "This is the main heading of the related posts. You can also display the "
333
- "current post title by using <code>%postname%</code>. e.g. <code>Related "
334
- "Posts to %postname%</code>"
335
- msgstr ""
336
-
337
- #: admin/main-view.php:272
338
- msgid "When there are no posts, what should be shown?"
339
- msgstr ""
340
-
341
- #: admin/main-view.php:276
342
- msgid "Blank Output"
343
- msgstr ""
344
-
345
- #: admin/main-view.php:281
346
- msgid "Display:"
347
- msgstr "Προβολή:"
348
-
349
- #: admin/main-view.php:287 admin/main-view.php:707
350
- msgid "Show post excerpt in list?"
351
- msgstr "Προβολή αποσπασμάτων άρθρων σε κατάλογο;"
352
-
353
- #: admin/main-view.php:290
354
- #, php-format
355
- msgid ""
356
- "Displays the excerpt of the post. If you do not provide an explicit excerpt "
357
- "to a post (in the post editor's optional excerpt field), it will display an "
358
- "automatic excerpt which refers to the first %d words of the post's content"
359
- msgstr ""
360
-
361
- #: admin/main-view.php:293
362
- msgid ""
363
- "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
364
- "is disabled."
365
- msgstr ""
366
-
367
- #: admin/main-view.php:298
368
- msgid "Length of excerpt (in words):"
369
- msgstr ""
370
-
371
- #: admin/main-view.php:304
372
- msgid "Show post author in list?"
373
- msgstr "Προβολή συντάκτη άρθρου σε κατάλογο;"
374
-
375
- #: admin/main-view.php:307
376
- msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
377
- msgstr ""
378
-
379
- #: admin/main-view.php:310
380
- msgid ""
381
- "Rounded Thumbnails style selected under the Custom Styles. Author display is "
382
- "disabled."
383
- msgstr ""
384
-
385
- #: admin/main-view.php:315
386
- msgid "Show post date in list?"
387
- msgstr "Προβολή ημερομηνίας άρθρου σε κατάλογο;"
388
-
389
- #: admin/main-view.php:318
390
- msgid ""
391
- "Displays the date of the post. Uses the same date format set in General "
392
- "Options"
393
- msgstr ""
394
- "Προβάλλει την ημερομηνία του άρθρου. Χρησιμοποιεί την ίδια μορφοποίηση "
395
- "ημερομηνίας που ορίστηκε στις Γενικές Επιλογές"
396
-
397
- #: admin/main-view.php:321
398
- msgid ""
399
- "Rounded Thumbnails style selected under the Custom Styles. Date display is "
400
- "disabled."
401
- msgstr ""
402
-
403
- #: admin/main-view.php:326
404
- msgid "Limit post title length (in characters)"
405
- msgstr "Όριο μήκους τίτλου άρθρου (σε χαρακτήρες)"
406
-
407
- #: admin/main-view.php:329
408
- msgid ""
409
- "Any title longer than the number of characters set above will be cut and "
410
- "appended with an ellipsis (&hellip;)"
411
- msgstr ""
412
-
413
- #: admin/main-view.php:333
414
- msgid "Open links in new window"
415
- msgstr "Άνοιγμα συνδέσμων σε νέο παράθυρο"
416
-
417
- #: admin/main-view.php:339
418
- msgid "Add nofollow attribute to links in the list"
419
- msgstr ""
420
-
421
- #: admin/main-view.php:372
422
- msgid "Exclusion settings:"
423
- msgstr "Ρυθμίσεις αποκλεισμού:"
424
-
425
- #: admin/main-view.php:374
426
- msgid "Exclude display of related posts on these posts / pages"
427
- msgstr "Αποκλεισμός προβολής σχετικών άρθρων σε αυτά τα άρθρα / σελίδες"
428
-
429
- #: admin/main-view.php:380
430
- msgid "Exclude display of related posts on these post types."
431
- msgstr "Αποκλεισμός προβολής σχετικών άρθρων σε αυτούς τους τύπους άρθρων."
432
-
433
- #: admin/main-view.php:387
434
- msgid ""
435
- "The related posts will not display on any of the above selected post types"
436
- msgstr ""
437
- "Τα σχετικά άρθρα δε θα προβάλλονται σε κανέναν από τους παραπάνω "
438
- "επιλεγμένους τύπους άρθρων"
439
-
440
- #: admin/main-view.php:417
441
- msgid "Customize the output:"
442
- msgstr ""
443
-
444
- #: admin/main-view.php:419
445
- msgid "HTML to display before the list of posts: "
446
- msgstr "HTML για προβολή πριν τον κατάλογο άρθρων:"
447
-
448
- #: admin/main-view.php:422
449
- msgid "HTML to display before each list item: "
450
- msgstr "HTML για προβολή πριν από κάθε στοιχείο καταλόγου:"
451
-
452
- #: admin/main-view.php:425
453
- msgid "HTML to display after each list item: "
454
- msgstr "HTML για προβολή μετά από κάθε στοιχείο καταλόγου:"
455
-
456
- #: admin/main-view.php:428
457
- msgid "HTML to display after the list of posts: "
458
- msgstr "HTML για προβολή μετά τον κατάλογο άρθρων:"
459
-
460
- #: admin/main-view.php:469 admin/main-view.php:710
461
- msgid "Location of post thumbnail:"
462
- msgstr "Τοποθεσία μικρογραφίας άρθρου:"
463
-
464
- #: admin/main-view.php:473 admin/main-view.php:714
465
- msgid "Display thumbnails inline with posts, before title"
466
- msgstr "Προβολή μικρογραφιών σε σειρά με τα άρθρα, πριν τον τίτλο"
467
-
468
- #: admin/main-view.php:477 admin/main-view.php:718
469
- msgid "Display thumbnails inline with posts, after title"
470
- msgstr "Προβολή μικρογραφιών σε σειρά με τα άρθρα, μετά τον τίτλο"
471
-
472
- #: admin/main-view.php:481 admin/main-view.php:722
473
- msgid "Display only thumbnails, no text"
474
- msgstr "Προβολή μόνο μικρογραφιών, όχι κείμενο"
475
-
476
- #: admin/main-view.php:485 admin/main-view.php:726
477
- msgid "Do not display thumbnails, only text."
478
- msgstr "Όχι προβολή μικρογραφιών, μόνο κείμενο."
479
-
480
- #: admin/main-view.php:488
481
- msgid ""
482
- "This setting cannot be changed because an inbuilt style has been selected "
483
- "under the Styles section. If you would like to change this option, please "
484
- "select <strong>No styles</strong> under the Styles section."
485
- msgstr ""
486
-
487
- #: admin/main-view.php:492
488
- msgid "Thumbnail size:"
489
- msgstr ""
490
-
491
- #: admin/main-view.php:516
492
- msgid "Custom size"
493
- msgstr ""
494
-
495
- #: admin/main-view.php:519
496
- msgid "You can choose from existing image sizes above or create a custom size."
497
- msgstr ""
498
-
499
- #: admin/main-view.php:520
500
- msgid ""
501
- "If you choose an existing size, then the width, height and crop mode "
502
- "settings in the three options below will be automatically updated to reflect "
503
- "the correct dimensions of the setting."
504
- msgstr ""
505
-
506
- #: admin/main-view.php:521
507
- msgid ""
508
- "If you have chosen Custom size above, then enter the width, height and crop "
509
- "settings below. For best results, use a cropped image with the same width "
510
- "and height. The default setting is 150x150 cropped image."
511
- msgstr ""
512
-
513
- #: admin/main-view.php:522
514
- msgid ""
515
- "Any changes to the thumbnail settings doesn't automatically resize existing "
516
- "images."
517
- msgstr ""
518
-
519
- #: admin/main-view.php:523
520
- #, php-format
521
- msgid ""
522
- "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
523
- "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
524
- "all image sizes."
525
- msgstr ""
526
-
527
- #: admin/main-view.php:527
528
- msgid "Width of the thumbnail:"
529
- msgstr ""
530
-
531
- #: admin/main-view.php:530
532
- msgid "Height of the thumbnail: "
533
- msgstr ""
534
-
535
- #: admin/main-view.php:535
536
- msgid "Crop mode:"
537
- msgstr "Περικοπή:"
538
-
539
- #: admin/main-view.php:539
540
- msgid ""
541
- "By default, thumbnails will be hard cropped. Uncheck this box to "
542
- "proportionately/soft crop the thumbnails."
543
- msgstr ""
544
-
545
- #: admin/main-view.php:540
546
- #, php-format
547
- msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
548
- msgstr ""
549
-
550
- #: admin/main-view.php:544
551
- msgid "Image size attributes:"
552
- msgstr ""
553
-
554
- #: admin/main-view.php:548
555
- msgid "Style attributes are used for width and height."
556
- msgstr ""
557
-
558
- #: admin/main-view.php:554
559
- msgid "HTML width and height attributes are used for width and height."
560
- msgstr ""
561
-
562
- #: admin/main-view.php:560
563
- msgid "No HTML or Style attributes set for width and height"
564
- msgstr ""
565
-
566
- #: admin/main-view.php:565
567
- msgid "Post thumbnail meta field name:"
568
- msgstr ""
569
-
570
- #: admin/main-view.php:567
571
- msgid ""
572
- "The value of this field should contain a direct link to the image. This is "
573
- "set in the meta box in the <em>Add New Post</em> screen."
574
- msgstr ""
575
-
576
- #: admin/main-view.php:570
577
- msgid "Extract the first image from the post?"
578
- msgstr ""
579
-
580
- #: admin/main-view.php:572
581
- msgid ""
582
- "This will only happen if there is no post thumbnail set and no image URL is "
583
- "specified in the meta field."
584
- msgstr ""
585
-
586
- #: admin/main-view.php:575
587
- msgid "Use default thumbnail?"
588
- msgstr "Χρήση προεπιλεγμένης μικρογραφίας;"
589
-
590
- #: admin/main-view.php:577
591
- msgid ""
592
- "If checked, when no thumbnail is found, show a default one from the URL "
593
- "below. If not checked and no thumbnail is found, no image will be shown."
594
- msgstr ""
595
-
596
- #: admin/main-view.php:580
597
- msgid "Default thumbnail:"
598
- msgstr ""
599
-
600
- #: admin/main-view.php:583
601
- msgid ""
602
- "The plugin will first check if the post contains a thumbnail. If it doesn't "
603
- "then it will check the meta field. If this is not available, then it will "
604
- "show the default image as specified above."
605
- msgstr ""
606
-
607
- #: admin/main-view.php:624
608
- msgid "Style of the related posts:"
609
- msgstr ""
610
-
611
- #: admin/main-view.php:627
612
- msgid "No styles"
613
- msgstr ""
614
-
615
- #: admin/main-view.php:629
616
- msgid "Select this option if you plan to add your own styles"
617
- msgstr ""
618
-
619
- #: admin/main-view.php:633
620
- msgid "Rounded Thumbnails"
621
- msgstr ""
622
-
623
- #: admin/main-view.php:636
624
- msgid ""
625
- "Enabling this option will turn on the thumbnails and set their width and "
626
- "height to 150px. It will also turn off the display of the author, excerpt "
627
- "and date if already enabled. Disabling this option will not revert any "
628
- "settings."
629
- msgstr ""
630
-
631
- #: admin/main-view.php:637
632
- #, php-format
633
- msgid ""
634
- "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
635
- msgstr ""
636
-
637
- #: admin/main-view.php:641
638
- msgid "Text only"
639
- msgstr ""
640
-
641
- #: admin/main-view.php:643
642
- msgid ""
643
- "Enabling this option will disable thumbnails and no longer include the "
644
- "default style sheet included in the plugin."
645
- msgstr ""
646
-
647
- #: admin/main-view.php:658
648
- msgid "Custom CSS to add to header:"
649
- msgstr "Σύνδεσμος CSS για προσθήκη στην επικεφαλίδα:"
650
-
651
- #: admin/main-view.php:662
652
- msgid ""
653
- "Do not include <code>style</code> tags. Check out the <a href=\"http://"
654
- "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
655
- "\">FAQ</a> for available CSS classes to style."
656
- msgstr ""
657
-
658
- #: admin/main-view.php:702
659
- msgid ""
660
- "Below options override the related posts settings for your blog feed. These "
661
- "only apply if you have selected to add related posts to Feeds in the General "
662
- "Options tab."
663
- msgstr ""
664
-
665
- #: admin/main-view.php:730
666
- msgid "Maximum width of the thumbnail: "
667
- msgstr "Μέγιστο πλάτος της μικρογραφίας:"
668
-
669
- #: admin/main-view.php:733
670
- msgid "Maximum height of the thumbnail: "
671
- msgstr "Μέγιστο ύψος της μικρογραφίας:"
672
-
673
- #: admin/main-view.php:768
674
- msgid "Default Options"
675
- msgstr "Προεπιλεγμένες Επιλογές "
676
-
677
- #: admin/main-view.php:768
678
- msgid "Do you want to set options to Default?"
679
- msgstr "Θέλετε να ορίσετε τις επιλογές ως Προεπιλογές;"
680
-
681
- #: admin/main-view.php:769
682
- msgid "Recreate Index"
683
- msgstr ""
684
-
685
- #: admin/main-view.php:769
686
- msgid "Are you sure you want to recreate the index?"
687
- msgstr ""
688
-
689
- #: admin/main-view.php:774
690
- msgid ""
691
- "One or more FULLTEXT indices are missing. Please hit the <a href="
692
- "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
693
- "this."
694
- msgstr ""
695
-
696
- #: admin/metabox.php:98
697
- msgid "Location of thumbnail:"
698
- msgstr "Τοποθεσία μικρογραφίας:"
699
-
700
- #: admin/metabox.php:100
701
- msgid ""
702
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
703
- "image will be used for the post. It will be resized to the thumbnail size "
704
- "set under Settings &raquo; Related Posts &raquo; Output Options"
705
- msgstr ""
706
-
707
- #: admin/metabox.php:101
708
- msgid "The URL above is saved in the meta field:"
709
- msgstr ""
710
-
711
- #: admin/metabox.php:106
712
- msgid ""
713
- "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
714
- "thumbnail, then you'll need to make the same change in the Top 10 meta box "
715
- "on this page."
716
- msgstr ""
717
-
718
- #: admin/metabox.php:117
719
- msgid "Disable Related Posts display:"
720
- msgstr ""
721
-
722
- #: admin/metabox.php:120
723
- msgid ""
724
- "If this is checked, then Contextual Related Posts will not automatically "
725
- "insert the related posts at the end of post content."
726
- msgstr ""
727
-
728
- #: admin/metabox.php:125 admin/metabox.php:133
729
- msgid "Manual related posts:"
730
- msgstr ""
731
-
732
- #: admin/metabox.php:127
733
- msgid ""
734
- "Comma separated list of post, page or custom post type IDs. e.g. "
735
- "188,320,500. These will be given preference over the related posts generated "
736
- "by the plugin."
737
- msgstr ""
738
-
739
- #: admin/metabox.php:128
740
- msgid ""
741
- "Once you enter the list above and save this page, the plugin will display "
742
- "the titles of the posts below for your reference. Only IDs corresponding to "
743
- "published posts or custom post types will be retained."
744
- msgstr ""
745
-
746
- #: admin/metabox.php:142
747
- msgid "This post type is:"
748
- msgstr ""
749
-
750
- #: admin/sidebar-view.php:20
751
- msgid "Support the development"
752
- msgstr ""
753
-
754
- #: admin/sidebar-view.php:27
755
- msgid "Donation for Contextual Related Posts"
756
- msgstr ""
757
-
758
- #: admin/sidebar-view.php:29
759
- msgid "Enter amount in USD:"
760
- msgstr ""
761
-
762
- #: admin/sidebar-view.php:33
763
- msgid "Send your donation to the author of"
764
- msgstr "Αποστολή της δωρεάς σας στον συντάκτη του"
765
-
766
- #: admin/sidebar-view.php:41
767
- msgid "Follow me"
768
- msgstr ""
769
-
770
- #: admin/sidebar-view.php:66
771
- msgid "Quick links"
772
- msgstr ""
773
-
774
- #: admin/sidebar-view.php:70
775
- msgid "Plugin homepage"
776
- msgstr ""
777
-
778
- #: admin/sidebar-view.php:71
779
- msgid "FAQ"
780
- msgstr "Κοινές απορίες"
781
-
782
- #: admin/sidebar-view.php:73
783
- msgid "Reviews"
784
- msgstr "Κριτικές"
785
-
786
- #: admin/sidebar-view.php:74
787
- msgid "Github repository"
788
- msgstr "Αποθετήριο Github"
789
-
790
- #: admin/sidebar-view.php:75
791
- msgid "Other plugins"
792
- msgstr "Άλλα πρόσθετα"
793
-
794
- #: admin/sidebar-view.php:76
795
- msgid "Ajay's blog"
796
- msgstr ""
797
-
798
- #: contextual-related-posts.php:232
799
- #, php-format
800
- msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
801
- msgstr ""
802
-
803
- #: contextual-related-posts.php:710
804
- msgid "<h3>Related Posts:</h3>"
805
- msgstr "<h3>Σχετικά Άρθρα:</h3>"
806
-
807
- #: contextual-related-posts.php:712
808
- msgid "No related posts found"
809
- msgstr "Δεν βρέθηκαν σχετικά άρθρα."
810
-
811
- #: includes/class-crp-widget.php:33
812
- msgid "Related Posts [CRP]"
813
- msgstr "Σχετικά Άρθρα [CRP]"
814
-
815
- #: includes/class-crp-widget.php:34
816
- msgid "Display Related Posts"
817
- msgstr "Προβολή Σχετικών Άρθρων"
818
-
819
- #: includes/class-crp-widget.php:69
820
- msgid "Title"
821
- msgstr "Τίτλος:"
822
-
823
- #: includes/class-crp-widget.php:74
824
- msgid "No. of posts"
825
- msgstr "Αρ. άρθρων"
826
-
827
- #: includes/class-crp-widget.php:79
828
- msgid " Show excerpt?"
829
- msgstr "Προβολή αποσπασμάτων;"
830
-
831
- #: includes/class-crp-widget.php:84
832
- msgid " Show author?"
833
- msgstr "Προβολή συντάκτη;"
834
-
835
- #: includes/class-crp-widget.php:89
836
- msgid " Show date?"
837
- msgstr "Προβολή ημερομηνίας;"
838
-
839
- #: includes/class-crp-widget.php:95
840
- msgid "Thumbnails inline, before title"
841
- msgstr "Μικρογραφίες σε σειρά, πριν τον τίτλο"
842
-
843
- #: includes/class-crp-widget.php:96
844
- msgid "Thumbnails inline, after title"
845
- msgstr "Μικρογραφίες σε σειρά, μετά τον τίτλο"
846
-
847
- #: includes/class-crp-widget.php:97
848
- msgid "Only thumbnails, no text"
849
- msgstr "Μόνο μικρογραφίες, όχι κείμενο."
850
-
851
- #: includes/class-crp-widget.php:98
852
- msgid "No thumbnails, only text."
853
- msgstr "Όχι μικρογραφίες, μόνο κείμενο."
854
-
855
- #: includes/class-crp-widget.php:103
856
- msgid "Thumbnail height"
857
- msgstr "Ύψος μικρογραφίας "
858
-
859
- #: includes/class-crp-widget.php:108
860
- msgid "Thumbnail width"
861
- msgstr "Πλάτος μικρογραφίας "
862
-
863
- #: includes/class-crp-widget.php:112
864
- msgid "Post types to include:"
865
- msgstr ""
866
-
867
- #: includes/media.php:67
868
- msgid "thumb_timthumb argument has been deprecated"
869
- msgstr ""
870
-
871
- #: includes/media.php:71
872
- msgid "thumb_timthumb_q argument has been deprecated"
873
- msgstr ""
874
-
875
- #: includes/media.php:75
876
- msgid "filter argument has been deprecated"
877
- msgstr ""
878
-
879
- #: includes/output-generator.php:238
880
- msgid " by "
881
- msgstr ""
882
-
883
- #~ msgid "Contextual Related Posts"
884
- #~ msgstr "Άρθρα Σχετικά με το Περιεχόμενο"
885
-
886
- #~ msgid "Options saved successfully."
887
- #~ msgstr "Οι επιλογές αποθηκεύτηκαν επιτυχώς."
888
-
889
- #~ msgid "Custom styles"
890
- #~ msgstr "Στυλ συνδέσμου"
891
-
892
- #~ msgid "Add related posts to:"
893
- #~ msgstr "Προσθήκη σχετικών άρθρων σε:"
894
-
895
- #~ msgid "Limit content to be compared"
896
- #~ msgstr "Όριο περιεχομένου για σύγκριση"
897
-
898
- #~ msgid ""
899
- #~ "This sets the maximum words of the content that will be matched. 0 means "
900
- #~ "no limit."
901
- #~ msgstr ""
902
- #~ "Αυτό ορίζει το μέγιστο αριθμό λέξεων του περιεχομένου που θα "
903
- #~ "αντιστοιχηθούν. Το 0 σημαίνει χωρίς όριο."
904
-
905
- #~ msgid "Use default style included in the plugin?"
906
- #~ msgstr "Χρήση του προεπιλεγμένου στυλ που περιλαμβάνεται στο πρόσθετο;"
907
-
908
- #~ msgid "Post thumbnail options:"
909
- #~ msgstr "Επιλογές μικρογραφιών άρθρου:"
910
-
911
- #~ msgid ""
912
- #~ "If you change the width and/or height below, existing images will not be "
913
- #~ "automatically resized."
914
- #~ msgstr ""
915
- #~ "Αν αλλάξετε το πλάτος και/ή το ύψος παρακάτω, δε θα αλλάξει αυτόματα το "
916
- #~ "μέγεθος των υπάρχουσων εικόνων."
917
-
918
- #~ msgid ""
919
- #~ "I recommend using <a href='%s' target='_blank'>Force Regenerate "
920
- #~ "Thumbnails</a> to regenerate all image sizes."
921
- #~ msgstr ""
922
- #~ "Συστήνω τη χρήση <a href='%s' target='_blank'>Force Regenerate "
923
- #~ "Thumbnails</a> για να ανανεώσετε όλα τα μεγέθη εικόνων."
924
-
925
- #~ msgid "Maximum width of the thumbnail:"
926
- #~ msgstr "Μέγιστο πλάτος μικρογραφίας:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/contextual-related-posts-en_US.mo CHANGED
Binary file
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: 2015-09-27 13:34+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"
@@ -10,41 +10,42 @@ msgstr ""
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
 
14
  "X-Poedit-Basepath: ..\n"
15
- "X-Generator: Poedit 1.8.4\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
- #: admin/admin.php:191
21
  msgid "Options saved successfully. If enabled, the cache has been cleared."
22
  msgstr ""
23
 
24
- #: admin/admin.php:194
25
  msgid ""
26
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
27
  "displayed."
28
  msgstr ""
29
 
30
- #: admin/admin.php:197
31
  msgid "Text Only style selected. Thumbnails will not be displayed."
32
  msgstr ""
33
 
34
- #: admin/admin.php:200
35
  #, php-format
36
- msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
37
  msgstr ""
38
 
39
- #: admin/admin.php:224
40
  msgid "Options set to Default."
41
  msgstr ""
42
 
43
- #: admin/admin.php:233
44
  msgid "Index recreated"
45
  msgstr ""
46
 
47
- #: admin/admin.php:250
48
  msgid "Related Posts"
49
  msgstr ""
50
 
@@ -58,51 +59,54 @@ msgstr ""
58
  msgid " cached row(s) cleared"
59
  msgstr ""
60
 
61
- #: admin/loader.php:24
62
  msgid "Settings"
63
  msgstr ""
64
 
65
- #: admin/loader.php:46 admin/sidebar-view.php:72
66
  msgid "Support"
67
  msgstr ""
68
 
69
- #: admin/loader.php:47
70
  msgid "Donate"
71
  msgstr ""
72
 
73
- #: admin/loader.php:48
74
  msgid "Contribute"
75
  msgstr ""
76
 
77
- #: admin/loader.php:64
78
- msgid "plugin settings page"
79
- msgstr ""
80
-
81
  #: admin/main-view.php:32 admin/main-view.php:55
82
  msgid "General options"
83
  msgstr ""
84
 
85
- #: admin/main-view.php:33 admin/main-view.php:142
86
  msgid "List tuning options"
87
  msgstr ""
88
 
89
- #: admin/main-view.php:34 admin/main-view.php:249
90
  msgid "Output options"
91
  msgstr ""
92
 
93
- #: admin/main-view.php:35 admin/main-view.php:453
94
- #: includes/class-crp-widget.php:93
95
  msgid "Thumbnail options"
96
  msgstr ""
97
 
98
- #: admin/main-view.php:36 admin/main-view.php:608
99
  msgid "Styles"
100
  msgstr ""
101
 
102
- #: admin/main-view.php:37 admin/main-view.php:686
103
  msgid "Feed options"
104
  msgstr ""
105
 
 
 
 
 
 
 
 
106
  #: admin/main-view.php:71
107
  msgid "Cache output?"
108
  msgstr ""
@@ -157,10 +161,10 @@ msgid "Other archives"
157
  msgstr ""
158
 
159
  #: admin/main-view.php:88
 
160
  msgid ""
161
- "If you choose to disable this, please add <code>&lt;?php if "
162
- "( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your "
163
- "template file where you want it displayed"
164
  msgstr ""
165
 
166
  #: admin/main-view.php:92
@@ -181,76 +185,87 @@ msgid ""
181
  msgstr ""
182
 
183
  #: admin/main-view.php:100
184
- msgid "Show metabox:"
185
  msgstr ""
186
 
187
  #: admin/main-view.php:103
188
  msgid ""
 
 
 
 
 
 
 
 
 
 
 
189
  "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
190
  "Posts screens. Also applies to Pages and Custom Post Types."
191
  msgstr ""
192
 
193
- #: admin/main-view.php:107
194
  msgid "Limit metabox to Admins only:"
195
  msgstr ""
196
 
197
- #: admin/main-view.php:110
198
  msgid ""
199
  "If this is selected, the metabox will be hidden from anyone who is not an "
200
  "Admin. Otherwise, by default, Contributors and above will be able to see the "
201
  "metabox. This applies only if the above option is selected."
202
  msgstr ""
203
 
204
- #: admin/main-view.php:114
205
  msgid "Tell the world you're using Contextual Related Posts:"
206
  msgstr ""
207
 
208
- #: admin/main-view.php:116
209
- msgid " <em>Optional</em>"
210
  msgstr ""
211
 
212
- #: admin/main-view.php:117
213
  msgid ""
214
  "Adds a nofollow link to Contextual Related Posts homepage as the last time "
215
  "in the list."
216
  msgstr ""
217
 
218
- #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
219
- #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
220
- #: admin/main-view.php:767
221
  msgid "Save Options"
222
  msgstr ""
223
 
224
- #: admin/main-view.php:158 admin/main-view.php:704
225
  msgid "Number of related posts to display: "
226
  msgstr ""
227
 
228
- #: admin/main-view.php:161
229
  msgid ""
230
  "Maximum number of posts that will be displayed. The actual number may be "
231
  "smaller if less related posts are found."
232
  msgstr ""
233
 
234
- #: admin/main-view.php:165
235
  msgid "Related posts should be newer than:"
236
  msgstr ""
237
 
238
- #: admin/main-view.php:167
239
  msgid "days"
240
  msgstr ""
241
 
242
- #: admin/main-view.php:168
243
  msgid ""
244
  "This sets the cutoff period for which posts will be displayed. e.g. setting "
245
  "it to 365 will show related posts from the last year only. Set to 0 to "
246
  "disable limiting posts by date."
247
  msgstr ""
248
 
249
- #: admin/main-view.php:172
250
  msgid "Find related posts based on content as well as title:"
251
  msgstr ""
252
 
253
- #: admin/main-view.php:174
254
  msgid ""
255
  "If unchecked, only posts titles are used. I recommend using a caching plugin "
256
  "or enabling \"Cache output\" above if you enable this. Each site is "
@@ -258,84 +273,89 @@ msgid ""
258
  "quality related posts."
259
  msgstr ""
260
 
261
- #: admin/main-view.php:178
262
  msgid "Limit content to be compared:"
263
  msgstr ""
264
 
265
- #: admin/main-view.php:180
266
  msgid ""
267
  "This sets the maximum words of the content that will be matched. Set to 0 "
268
- "for no limit. Only applies if you active the above option."
 
269
  msgstr ""
270
 
271
- #: admin/main-view.php:184
272
  msgid "Post types to include in results:"
273
  msgstr ""
274
 
275
- #: admin/main-view.php:191
276
  msgid ""
277
  "These post types will be displayed in the list. Includes custom post types."
278
  msgstr ""
279
 
280
- #: admin/main-view.php:195
281
  msgid "List of post or page IDs to exclude from the results:"
282
  msgstr ""
283
 
284
- #: admin/main-view.php:197 admin/main-view.php:377
285
  msgid ""
286
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
287
  msgstr ""
288
 
289
- #: admin/main-view.php:201
290
  msgid "Categories to exclude from the results: "
291
  msgstr ""
292
 
293
- #: admin/main-view.php:213
294
  msgid ""
295
  "Comma separated list of category slugs. The field above has an autocomplete "
296
  "so simply start typing in the beginning of your category name and it will "
297
  "prompt you with options."
298
  msgstr ""
299
 
300
- #: admin/main-view.php:216
301
  msgid "Excluded category IDs are:"
302
  msgstr ""
303
 
304
- #: admin/main-view.php:222
 
 
 
 
 
305
  msgid ""
306
  "These might differ from the IDs visible in the Categories page which use the "
307
- "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
308
- "unique to this taxonomy."
309
  msgstr ""
310
 
311
- #: admin/main-view.php:265
312
  msgid "Title of related posts:"
313
  msgstr ""
314
 
315
- #: admin/main-view.php:268
 
316
  msgid ""
317
  "This is the main heading of the related posts. You can also display the "
318
- "current post title by using <code>%postname%</code>. e.g. <code>Related "
319
- "Posts to %postname%</code>"
320
  msgstr ""
321
 
322
- #: admin/main-view.php:272
323
  msgid "When there are no posts, what should be shown?"
324
  msgstr ""
325
 
326
- #: admin/main-view.php:276
327
  msgid "Blank Output"
328
  msgstr ""
329
 
330
- #: admin/main-view.php:281
331
  msgid "Display:"
332
  msgstr ""
333
 
334
- #: admin/main-view.php:287 admin/main-view.php:707
335
  msgid "Show post excerpt in list?"
336
  msgstr ""
337
 
338
- #: admin/main-view.php:290
339
  #, php-format
340
  msgid ""
341
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
@@ -343,265 +363,263 @@ msgid ""
343
  "automatic excerpt which refers to the first %d words of the post's content"
344
  msgstr ""
345
 
346
- #: admin/main-view.php:293
347
  msgid ""
348
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
349
  "is disabled."
350
  msgstr ""
351
 
352
- #: admin/main-view.php:298
353
  msgid "Length of excerpt (in words):"
354
  msgstr ""
355
 
356
- #: admin/main-view.php:304
357
  msgid "Show post author in list?"
358
  msgstr ""
359
 
360
- #: admin/main-view.php:307
361
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
362
  msgstr ""
363
 
364
- #: admin/main-view.php:310
365
  msgid ""
366
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
367
  "disabled."
368
  msgstr ""
369
 
370
- #: admin/main-view.php:315
371
  msgid "Show post date in list?"
372
  msgstr ""
373
 
374
- #: admin/main-view.php:318
375
  msgid ""
376
  "Displays the date of the post. Uses the same date format set in General "
377
  "Options"
378
  msgstr ""
379
 
380
- #: admin/main-view.php:321
381
  msgid ""
382
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
383
  "disabled."
384
  msgstr ""
385
 
386
- #: admin/main-view.php:326
387
  msgid "Limit post title length (in characters)"
388
  msgstr ""
389
 
390
- #: admin/main-view.php:329
391
  msgid ""
392
  "Any title longer than the number of characters set above will be cut and "
393
  "appended with an ellipsis (&hellip;)"
394
  msgstr ""
395
 
396
- #: admin/main-view.php:333
397
  msgid "Open links in new window"
398
  msgstr ""
399
 
400
- #: admin/main-view.php:339
401
  msgid "Add nofollow attribute to links in the list"
402
  msgstr ""
403
 
404
- #: admin/main-view.php:372
405
  msgid "Exclusion settings:"
406
  msgstr ""
407
 
408
- #: admin/main-view.php:374
409
  msgid "Exclude display of related posts on these posts / pages"
410
  msgstr ""
411
 
412
- #: admin/main-view.php:380
413
  msgid "Exclude display of related posts on these post types."
414
  msgstr ""
415
 
416
- #: admin/main-view.php:387
417
  msgid ""
418
  "The related posts will not display on any of the above selected post types"
419
  msgstr ""
420
 
421
- #: admin/main-view.php:417
422
  msgid "Customize the output:"
423
  msgstr ""
424
 
425
- #: admin/main-view.php:419
426
  msgid "HTML to display before the list of posts: "
427
  msgstr ""
428
 
429
- #: admin/main-view.php:422
430
  msgid "HTML to display before each list item: "
431
  msgstr ""
432
 
433
- #: admin/main-view.php:425
434
  msgid "HTML to display after each list item: "
435
  msgstr ""
436
 
437
- #: admin/main-view.php:428
438
  msgid "HTML to display after the list of posts: "
439
  msgstr ""
440
 
441
- #: admin/main-view.php:469 admin/main-view.php:710
442
  msgid "Location of post thumbnail:"
443
  msgstr ""
444
 
445
- #: admin/main-view.php:473 admin/main-view.php:714
446
  msgid "Display thumbnails inline with posts, before title"
447
  msgstr ""
448
 
449
- #: admin/main-view.php:477 admin/main-view.php:718
450
  msgid "Display thumbnails inline with posts, after title"
451
  msgstr ""
452
 
453
- #: admin/main-view.php:481 admin/main-view.php:722
454
  msgid "Display only thumbnails, no text"
455
  msgstr ""
456
 
457
- #: admin/main-view.php:485 admin/main-view.php:726
458
  msgid "Do not display thumbnails, only text."
459
  msgstr ""
460
 
461
- #: admin/main-view.php:488
 
462
  msgid ""
463
  "This setting cannot be changed because an inbuilt style has been selected "
464
  "under the Styles section. If you would like to change this option, please "
465
- "select <strong>No styles</strong> under the Styles section."
 
 
 
 
466
  msgstr ""
467
 
468
- #: admin/main-view.php:492
469
  msgid "Thumbnail size:"
470
  msgstr ""
471
 
472
- #: admin/main-view.php:516
473
  msgid "Custom size"
474
  msgstr ""
475
 
476
- #: admin/main-view.php:519
477
  msgid "You can choose from existing image sizes above or create a custom size."
478
  msgstr ""
479
 
480
- #: admin/main-view.php:520
481
  msgid ""
482
  "If you choose an existing size, then the width, height and crop mode "
483
  "settings in the three options below will be automatically updated to reflect "
484
  "the correct dimensions of the setting."
485
  msgstr ""
486
 
487
- #: admin/main-view.php:521
488
  msgid ""
489
  "If you have chosen Custom size above, then enter the width, height and crop "
490
  "settings below. For best results, use a cropped image with the same width "
491
  "and height. The default setting is 150x150 cropped image."
492
  msgstr ""
493
 
494
- #: admin/main-view.php:522
495
  msgid ""
496
  "Any changes to the thumbnail settings doesn't automatically resize existing "
497
  "images."
498
  msgstr ""
499
 
500
- #: admin/main-view.php:523
501
  #, php-format
502
- msgid ""
503
- "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
504
- "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
505
- "all image sizes."
506
  msgstr ""
507
 
508
- #: admin/main-view.php:527
509
  msgid "Width of the thumbnail:"
510
  msgstr ""
511
 
512
- #: admin/main-view.php:530
513
  msgid "Height of the thumbnail: "
514
  msgstr ""
515
 
516
- #: admin/main-view.php:535
517
  msgid "Crop mode:"
518
  msgstr ""
519
 
520
- #: admin/main-view.php:539
521
  msgid ""
522
  "By default, thumbnails will be hard cropped. Uncheck this box to "
523
  "proportionately/soft crop the thumbnails."
524
  msgstr ""
525
 
526
- #: admin/main-view.php:540
527
- #, php-format
528
- msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
529
- msgstr ""
530
-
531
- #: admin/main-view.php:544
532
  msgid "Image size attributes:"
533
  msgstr ""
534
 
535
- #: admin/main-view.php:548
536
- msgid "Style attributes are used for width and height."
537
- msgstr ""
538
-
539
  #: admin/main-view.php:554
540
- msgid "HTML width and height attributes are used for width and height."
541
  msgstr ""
542
 
543
  #: admin/main-view.php:560
544
- msgid "No HTML or Style attributes set for width and height"
 
 
 
 
545
  msgstr ""
546
 
547
- #: admin/main-view.php:565
548
  msgid "Post thumbnail meta field name:"
549
  msgstr ""
550
 
551
- #: admin/main-view.php:567
 
552
  msgid ""
553
  "The value of this field should contain a direct link to the image. This is "
554
- "set in the meta box in the <em>Add New Post</em> screen."
 
 
 
 
555
  msgstr ""
556
 
557
- #: admin/main-view.php:570
558
  msgid "Extract the first image from the post?"
559
  msgstr ""
560
 
561
- #: admin/main-view.php:572
562
  msgid ""
563
  "This will only happen if there is no post thumbnail set and no image URL is "
564
  "specified in the meta field."
565
  msgstr ""
566
 
567
- #: admin/main-view.php:575
568
  msgid "Use default thumbnail?"
569
  msgstr ""
570
 
571
- #: admin/main-view.php:577
572
  msgid ""
573
  "If checked, when no thumbnail is found, show a default one from the URL "
574
  "below. If not checked and no thumbnail is found, no image will be shown."
575
  msgstr ""
576
 
577
- #: admin/main-view.php:580
578
  msgid "Default thumbnail:"
579
  msgstr ""
580
 
581
- #: admin/main-view.php:583
582
  msgid ""
583
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
584
  "then it will check the meta field. If this is not available, then it will "
585
  "show the default image as specified above."
586
  msgstr ""
587
 
588
- #: admin/main-view.php:624
589
  msgid "Style of the related posts:"
590
  msgstr ""
591
 
592
- #: admin/main-view.php:627
593
- msgid "No styles"
594
- msgstr ""
595
-
596
- #: admin/main-view.php:629
597
  msgid "Select this option if you plan to add your own styles"
598
  msgstr ""
599
 
600
- #: admin/main-view.php:633
601
  msgid "Rounded Thumbnails"
602
  msgstr ""
603
 
604
- #: admin/main-view.php:636
605
  msgid ""
606
  "Enabling this option will turn on the thumbnails and set their width and "
607
  "height to 150px. It will also turn off the display of the author, excerpt "
@@ -609,123 +627,143 @@ msgid ""
609
  "settings."
610
  msgstr ""
611
 
612
- #: admin/main-view.php:637
613
  #, php-format
614
- msgid ""
615
- "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
616
  msgstr ""
617
 
618
- #: admin/main-view.php:641
619
  msgid "Text only"
620
  msgstr ""
621
 
622
- #: admin/main-view.php:643
623
  msgid ""
624
  "Enabling this option will disable thumbnails and no longer include the "
625
  "default style sheet included in the plugin."
626
  msgstr ""
627
 
628
- #: admin/main-view.php:658
629
  msgid "Custom CSS to add to header:"
630
  msgstr ""
631
 
632
- #: admin/main-view.php:662
 
633
  msgid ""
634
- "Do not include <code>style</code> tags. Check out the <a href=\"http://"
635
- "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
636
- "\">FAQ</a> for available CSS classes to style."
637
  msgstr ""
638
 
639
- #: admin/main-view.php:702
640
  msgid ""
641
  "Below options override the related posts settings for your blog feed. These "
642
  "only apply if you have selected to add related posts to Feeds in the General "
643
  "Options tab."
644
  msgstr ""
645
 
646
- #: admin/main-view.php:730
647
  msgid "Maximum width of the thumbnail: "
648
  msgstr ""
649
 
650
- #: admin/main-view.php:733
651
  msgid "Maximum height of the thumbnail: "
652
  msgstr ""
653
 
654
- #: admin/main-view.php:768
655
  msgid "Default Options"
656
  msgstr ""
657
 
658
- #: admin/main-view.php:768
659
  msgid "Do you want to set options to Default?"
660
  msgstr ""
661
 
662
- #: admin/main-view.php:769
663
  msgid "Recreate Index"
664
  msgstr ""
665
 
666
- #: admin/main-view.php:769
667
  msgid "Are you sure you want to recreate the index?"
668
  msgstr ""
669
 
670
- #: admin/main-view.php:774
 
671
  msgid ""
672
- "One or more FULLTEXT indices are missing. Please hit the <a href="
673
- "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
674
- "this."
675
  msgstr ""
676
 
677
- #: admin/metabox.php:98
678
- msgid "Location of thumbnail:"
679
  msgstr ""
680
 
681
- #: admin/metabox.php:100
682
  msgid ""
683
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
684
- "image will be used for the post. It will be resized to the thumbnail size "
685
- "set under Settings &raquo; Related Posts &raquo; Output Options"
686
  msgstr ""
687
 
688
- #: admin/metabox.php:101
689
- msgid "The URL above is saved in the meta field:"
690
  msgstr ""
691
 
692
- #: admin/metabox.php:106
693
  msgid ""
694
- "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
695
- "thumbnail, then you'll need to make the same change in the Top 10 meta box "
696
- "on this page."
697
  msgstr ""
698
 
699
- #: admin/metabox.php:117
700
- msgid "Disable Related Posts display:"
701
  msgstr ""
702
 
703
- #: admin/metabox.php:120
704
  msgid ""
705
- "If this is checked, then Contextual Related Posts will not automatically "
706
- "insert the related posts at the end of post content."
707
  msgstr ""
708
 
709
- #: admin/metabox.php:125 admin/metabox.php:133
710
  msgid "Manual related posts:"
711
  msgstr ""
712
 
713
- #: admin/metabox.php:127
714
  msgid ""
715
  "Comma separated list of post, page or custom post type IDs. e.g. "
716
  "188,320,500. These will be given preference over the related posts generated "
717
  "by the plugin."
718
  msgstr ""
719
 
720
- #: admin/metabox.php:128
721
  msgid ""
722
  "Once you enter the list above and save this page, the plugin will display "
723
  "the titles of the posts below for your reference. Only IDs corresponding to "
724
  "published posts or custom post types will be retained."
725
  msgstr ""
726
 
727
- #: admin/metabox.php:142
728
- msgid "This post type is:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
729
  msgstr ""
730
 
731
  #: admin/sidebar-view.php:20
@@ -745,118 +783,126 @@ msgid "Send your donation to the author of"
745
  msgstr ""
746
 
747
  #: admin/sidebar-view.php:41
748
- msgid "Follow me"
749
  msgstr ""
750
 
751
- #: admin/sidebar-view.php:66
752
- msgid "Quick links"
753
  msgstr ""
754
 
755
- #: admin/sidebar-view.php:70
756
  msgid "Plugin homepage"
757
  msgstr ""
758
 
759
- #: admin/sidebar-view.php:71
760
  msgid "FAQ"
761
  msgstr ""
762
 
763
- #: admin/sidebar-view.php:73
764
  msgid "Reviews"
765
  msgstr ""
766
 
767
- #: admin/sidebar-view.php:74
768
  msgid "Github repository"
769
  msgstr ""
770
 
771
- #: admin/sidebar-view.php:75
772
  msgid "Other plugins"
773
  msgstr ""
774
 
775
- #: admin/sidebar-view.php:76
776
  msgid "Ajay's blog"
777
  msgstr ""
778
 
779
- #: contextual-related-posts.php:232
 
 
 
 
780
  #, php-format
781
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
782
  msgstr ""
783
 
784
- #: contextual-related-posts.php:710
785
  msgid "<h3>Related Posts:</h3>"
786
  msgstr ""
787
 
788
- #: contextual-related-posts.php:712
789
  msgid "No related posts found"
790
  msgstr ""
791
 
792
- #: includes/class-crp-widget.php:33
 
 
 
 
 
 
 
 
 
 
 
 
793
  msgid "Related Posts [CRP]"
794
  msgstr ""
795
 
796
- #: includes/class-crp-widget.php:34
797
  msgid "Display Related Posts"
798
  msgstr ""
799
 
800
- #: includes/class-crp-widget.php:69
801
  msgid "Title"
802
  msgstr ""
803
 
804
- #: includes/class-crp-widget.php:74
805
  msgid "No. of posts"
806
  msgstr ""
807
 
808
- #: includes/class-crp-widget.php:79
 
 
 
 
809
  msgid " Show excerpt?"
810
  msgstr ""
811
 
812
- #: includes/class-crp-widget.php:84
813
  msgid " Show author?"
814
  msgstr ""
815
 
816
- #: includes/class-crp-widget.php:89
817
  msgid " Show date?"
818
  msgstr ""
819
 
820
- #: includes/class-crp-widget.php:95
821
  msgid "Thumbnails inline, before title"
822
  msgstr ""
823
 
824
- #: includes/class-crp-widget.php:96
825
  msgid "Thumbnails inline, after title"
826
  msgstr ""
827
 
828
- #: includes/class-crp-widget.php:97
829
  msgid "Only thumbnails, no text"
830
  msgstr ""
831
 
832
- #: includes/class-crp-widget.php:98
833
  msgid "No thumbnails, only text."
834
  msgstr ""
835
 
836
- #: includes/class-crp-widget.php:103
837
  msgid "Thumbnail height"
838
  msgstr ""
839
 
840
- #: includes/class-crp-widget.php:108
841
  msgid "Thumbnail width"
842
  msgstr ""
843
 
844
- #: includes/class-crp-widget.php:112
845
- msgid "Post types to include:"
846
- msgstr ""
847
-
848
- #: includes/media.php:67
849
- msgid "thumb_timthumb argument has been deprecated"
850
- msgstr ""
851
-
852
- #: includes/media.php:71
853
- msgid "thumb_timthumb_q argument has been deprecated"
854
- msgstr ""
855
-
856
- #: includes/media.php:75
857
- msgid "filter argument has been deprecated"
858
  msgstr ""
859
 
860
- #: includes/output-generator.php:238
861
  msgid " by "
862
  msgstr ""
2
  msgstr ""
3
  "Project-Id-Version: Contextual Related Posts\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2016-10-01 17:07+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"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\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 1.8.9\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
+ #: admin/admin.php:200
22
  msgid "Options saved successfully. If enabled, the cache has been cleared."
23
  msgstr ""
24
 
25
+ #: admin/admin.php:203
26
  msgid ""
27
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
28
  "displayed."
29
  msgstr ""
30
 
31
+ #: admin/admin.php:206
32
  msgid "Text Only style selected. Thumbnails will not be displayed."
33
  msgstr ""
34
 
35
+ #: admin/admin.php:209
36
  #, php-format
37
+ msgid "Pre-built thumbnail size selected. Thumbnail set to %1$d x %1$d."
38
  msgstr ""
39
 
40
+ #: admin/admin.php:233
41
  msgid "Options set to Default."
42
  msgstr ""
43
 
44
+ #: admin/admin.php:242
45
  msgid "Index recreated"
46
  msgstr ""
47
 
48
+ #: admin/admin.php:259
49
  msgid "Related Posts"
50
  msgstr ""
51
 
59
  msgid " cached row(s) cleared"
60
  msgstr ""
61
 
62
+ #: admin/loader.php:23
63
  msgid "Settings"
64
  msgstr ""
65
 
66
+ #: admin/loader.php:45 admin/sidebar-view.php:48
67
  msgid "Support"
68
  msgstr ""
69
 
70
+ #: admin/loader.php:46
71
  msgid "Donate"
72
  msgstr ""
73
 
74
+ #: admin/loader.php:47
75
  msgid "Contribute"
76
  msgstr ""
77
 
 
 
 
 
78
  #: admin/main-view.php:32 admin/main-view.php:55
79
  msgid "General options"
80
  msgstr ""
81
 
82
+ #: admin/main-view.php:33 admin/main-view.php:149
83
  msgid "List tuning options"
84
  msgstr ""
85
 
86
+ #: admin/main-view.php:34 admin/main-view.php:247
87
  msgid "Output options"
88
  msgstr ""
89
 
90
+ #: admin/main-view.php:35 admin/main-view.php:451
91
+ #: includes/modules/class-crp-widget.php:98
92
  msgid "Thumbnail options"
93
  msgstr ""
94
 
95
+ #: admin/main-view.php:36 admin/main-view.php:618
96
  msgid "Styles"
97
  msgstr ""
98
 
99
+ #: admin/main-view.php:37 admin/main-view.php:701
100
  msgid "Feed options"
101
  msgstr ""
102
 
103
+ #: admin/main-view.php:54 admin/main-view.php:148 admin/main-view.php:246
104
+ #: admin/main-view.php:450 admin/main-view.php:617 admin/main-view.php:700
105
+ #: admin/sidebar-view.php:19 admin/sidebar-view.php:40
106
+ #: admin/sidebar-view.php:58
107
+ msgid "Click to toggle"
108
+ msgstr ""
109
+
110
  #: admin/main-view.php:71
111
  msgid "Cache output?"
112
  msgstr ""
161
  msgstr ""
162
 
163
  #: admin/main-view.php:88
164
+ #, php-format
165
  msgid ""
166
+ "If you choose to disable this, please add %1$s to your template file where "
167
+ "you want it displayed"
 
168
  msgstr ""
169
 
170
  #: admin/main-view.php:92
185
  msgstr ""
186
 
187
  #: admin/main-view.php:100
188
+ msgid "Insert after paragraph number"
189
  msgstr ""
190
 
191
  #: admin/main-view.php:103
192
  msgid ""
193
+ "Enter 0 to display the related posts before the post content, -1 to display "
194
+ "this at the end or a number to insert it after that paragraph number. If "
195
+ "your post has less paragraphs, related posts will be displayed at the end."
196
+ msgstr ""
197
+
198
+ #: admin/main-view.php:107
199
+ msgid "Show metabox:"
200
+ msgstr ""
201
+
202
+ #: admin/main-view.php:110
203
+ msgid ""
204
  "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
205
  "Posts screens. Also applies to Pages and Custom Post Types."
206
  msgstr ""
207
 
208
+ #: admin/main-view.php:114
209
  msgid "Limit metabox to Admins only:"
210
  msgstr ""
211
 
212
+ #: admin/main-view.php:117
213
  msgid ""
214
  "If this is selected, the metabox will be hidden from anyone who is not an "
215
  "Admin. Otherwise, by default, Contributors and above will be able to see the "
216
  "metabox. This applies only if the above option is selected."
217
  msgstr ""
218
 
219
+ #: admin/main-view.php:121
220
  msgid "Tell the world you're using Contextual Related Posts:"
221
  msgstr ""
222
 
223
+ #: admin/main-view.php:123
224
+ msgid "Optional"
225
  msgstr ""
226
 
227
+ #: admin/main-view.php:124
228
  msgid ""
229
  "Adds a nofollow link to Contextual Related Posts homepage as the last time "
230
  "in the list."
231
  msgstr ""
232
 
233
+ #: admin/main-view.php:142 admin/main-view.php:240 admin/main-view.php:444
234
+ #: admin/main-view.php:611 admin/main-view.php:694 admin/main-view.php:766
235
+ #: admin/main-view.php:782
236
  msgid "Save Options"
237
  msgstr ""
238
 
239
+ #: admin/main-view.php:165 admin/main-view.php:719
240
  msgid "Number of related posts to display: "
241
  msgstr ""
242
 
243
+ #: admin/main-view.php:168
244
  msgid ""
245
  "Maximum number of posts that will be displayed. The actual number may be "
246
  "smaller if less related posts are found."
247
  msgstr ""
248
 
249
+ #: admin/main-view.php:172
250
  msgid "Related posts should be newer than:"
251
  msgstr ""
252
 
253
+ #: admin/main-view.php:174
254
  msgid "days"
255
  msgstr ""
256
 
257
+ #: admin/main-view.php:175
258
  msgid ""
259
  "This sets the cutoff period for which posts will be displayed. e.g. setting "
260
  "it to 365 will show related posts from the last year only. Set to 0 to "
261
  "disable limiting posts by date."
262
  msgstr ""
263
 
264
+ #: admin/main-view.php:179
265
  msgid "Find related posts based on content as well as title:"
266
  msgstr ""
267
 
268
+ #: admin/main-view.php:181
269
  msgid ""
270
  "If unchecked, only posts titles are used. I recommend using a caching plugin "
271
  "or enabling \"Cache output\" above if you enable this. Each site is "
273
  "quality related posts."
274
  msgstr ""
275
 
276
+ #: admin/main-view.php:185
277
  msgid "Limit content to be compared:"
278
  msgstr ""
279
 
280
+ #: admin/main-view.php:187
281
  msgid ""
282
  "This sets the maximum words of the content that will be matched. Set to 0 "
283
+ "for no limit. Max value: 2,000. Only applies if you activate the above "
284
+ "option."
285
  msgstr ""
286
 
287
+ #: admin/main-view.php:191
288
  msgid "Post types to include in results:"
289
  msgstr ""
290
 
291
+ #: admin/main-view.php:198
292
  msgid ""
293
  "These post types will be displayed in the list. Includes custom post types."
294
  msgstr ""
295
 
296
+ #: admin/main-view.php:202
297
  msgid "List of post or page IDs to exclude from the results:"
298
  msgstr ""
299
 
300
+ #: admin/main-view.php:204 admin/main-view.php:375
301
  msgid ""
302
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
303
  msgstr ""
304
 
305
+ #: admin/main-view.php:208
306
  msgid "Categories to exclude from the results: "
307
  msgstr ""
308
 
309
+ #: admin/main-view.php:211
310
  msgid ""
311
  "Comma separated list of category slugs. The field above has an autocomplete "
312
  "so simply start typing in the beginning of your category name and it will "
313
  "prompt you with options."
314
  msgstr ""
315
 
316
+ #: admin/main-view.php:214
317
  msgid "Excluded category IDs are:"
318
  msgstr ""
319
 
320
+ #: admin/main-view.php:215
321
+ msgid " "
322
+ msgstr ""
323
+
324
+ #: admin/main-view.php:220
325
+ #, php-format
326
  msgid ""
327
  "These might differ from the IDs visible in the Categories page which use the "
328
+ "%1$s. CRP uses the %2$s which is unique to this taxonomy."
 
329
  msgstr ""
330
 
331
+ #: admin/main-view.php:263
332
  msgid "Title of related posts:"
333
  msgstr ""
334
 
335
+ #: admin/main-view.php:266
336
+ #, php-format
337
  msgid ""
338
  "This is the main heading of the related posts. You can also display the "
339
+ "current post title by using %1$s"
 
340
  msgstr ""
341
 
342
+ #: admin/main-view.php:270
343
  msgid "When there are no posts, what should be shown?"
344
  msgstr ""
345
 
346
+ #: admin/main-view.php:274
347
  msgid "Blank Output"
348
  msgstr ""
349
 
350
+ #: admin/main-view.php:279
351
  msgid "Display:"
352
  msgstr ""
353
 
354
+ #: admin/main-view.php:285 admin/main-view.php:722
355
  msgid "Show post excerpt in list?"
356
  msgstr ""
357
 
358
+ #: admin/main-view.php:288
359
  #, php-format
360
  msgid ""
361
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
363
  "automatic excerpt which refers to the first %d words of the post's content"
364
  msgstr ""
365
 
366
+ #: admin/main-view.php:291
367
  msgid ""
368
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
369
  "is disabled."
370
  msgstr ""
371
 
372
+ #: admin/main-view.php:296
373
  msgid "Length of excerpt (in words):"
374
  msgstr ""
375
 
376
+ #: admin/main-view.php:302
377
  msgid "Show post author in list?"
378
  msgstr ""
379
 
380
+ #: admin/main-view.php:305
381
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
382
  msgstr ""
383
 
384
+ #: admin/main-view.php:308
385
  msgid ""
386
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
387
  "disabled."
388
  msgstr ""
389
 
390
+ #: admin/main-view.php:313
391
  msgid "Show post date in list?"
392
  msgstr ""
393
 
394
+ #: admin/main-view.php:316
395
  msgid ""
396
  "Displays the date of the post. Uses the same date format set in General "
397
  "Options"
398
  msgstr ""
399
 
400
+ #: admin/main-view.php:319
401
  msgid ""
402
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
403
  "disabled."
404
  msgstr ""
405
 
406
+ #: admin/main-view.php:324
407
  msgid "Limit post title length (in characters)"
408
  msgstr ""
409
 
410
+ #: admin/main-view.php:327
411
  msgid ""
412
  "Any title longer than the number of characters set above will be cut and "
413
  "appended with an ellipsis (&hellip;)"
414
  msgstr ""
415
 
416
+ #: admin/main-view.php:331
417
  msgid "Open links in new window"
418
  msgstr ""
419
 
420
+ #: admin/main-view.php:337
421
  msgid "Add nofollow attribute to links in the list"
422
  msgstr ""
423
 
424
+ #: admin/main-view.php:370
425
  msgid "Exclusion settings:"
426
  msgstr ""
427
 
428
+ #: admin/main-view.php:372
429
  msgid "Exclude display of related posts on these posts / pages"
430
  msgstr ""
431
 
432
+ #: admin/main-view.php:378
433
  msgid "Exclude display of related posts on these post types."
434
  msgstr ""
435
 
436
+ #: admin/main-view.php:385
437
  msgid ""
438
  "The related posts will not display on any of the above selected post types"
439
  msgstr ""
440
 
441
+ #: admin/main-view.php:415
442
  msgid "Customize the output:"
443
  msgstr ""
444
 
445
+ #: admin/main-view.php:417
446
  msgid "HTML to display before the list of posts: "
447
  msgstr ""
448
 
449
+ #: admin/main-view.php:420
450
  msgid "HTML to display before each list item: "
451
  msgstr ""
452
 
453
+ #: admin/main-view.php:423
454
  msgid "HTML to display after each list item: "
455
  msgstr ""
456
 
457
+ #: admin/main-view.php:426
458
  msgid "HTML to display after the list of posts: "
459
  msgstr ""
460
 
461
+ #: admin/main-view.php:467 admin/main-view.php:725
462
  msgid "Location of post thumbnail:"
463
  msgstr ""
464
 
465
+ #: admin/main-view.php:471 admin/main-view.php:729
466
  msgid "Display thumbnails inline with posts, before title"
467
  msgstr ""
468
 
469
+ #: admin/main-view.php:476 admin/main-view.php:733
470
  msgid "Display thumbnails inline with posts, after title"
471
  msgstr ""
472
 
473
+ #: admin/main-view.php:481 admin/main-view.php:737
474
  msgid "Display only thumbnails, no text"
475
  msgstr ""
476
 
477
+ #: admin/main-view.php:486 admin/main-view.php:741
478
  msgid "Do not display thumbnails, only text."
479
  msgstr ""
480
 
481
+ #: admin/main-view.php:490
482
+ #, php-format
483
  msgid ""
484
  "This setting cannot be changed because an inbuilt style has been selected "
485
  "under the Styles section. If you would like to change this option, please "
486
+ "select %1$s under the Styles section."
487
+ msgstr ""
488
+
489
+ #: admin/main-view.php:490 admin/main-view.php:637
490
+ msgid "No styles"
491
  msgstr ""
492
 
493
+ #: admin/main-view.php:494
494
  msgid "Thumbnail size:"
495
  msgstr ""
496
 
497
+ #: admin/main-view.php:519
498
  msgid "Custom size"
499
  msgstr ""
500
 
501
+ #: admin/main-view.php:522
502
  msgid "You can choose from existing image sizes above or create a custom size."
503
  msgstr ""
504
 
505
+ #: admin/main-view.php:523
506
  msgid ""
507
  "If you choose an existing size, then the width, height and crop mode "
508
  "settings in the three options below will be automatically updated to reflect "
509
  "the correct dimensions of the setting."
510
  msgstr ""
511
 
512
+ #: admin/main-view.php:524
513
  msgid ""
514
  "If you have chosen Custom size above, then enter the width, height and crop "
515
  "settings below. For best results, use a cropped image with the same width "
516
  "and height. The default setting is 150x150 cropped image."
517
  msgstr ""
518
 
519
+ #: admin/main-view.php:525
520
  msgid ""
521
  "Any changes to the thumbnail settings doesn't automatically resize existing "
522
  "images."
523
  msgstr ""
524
 
525
+ #: admin/main-view.php:527
526
  #, php-format
527
+ msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
 
 
 
528
  msgstr ""
529
 
530
+ #: admin/main-view.php:534
531
  msgid "Width of the thumbnail:"
532
  msgstr ""
533
 
534
+ #: admin/main-view.php:537
535
  msgid "Height of the thumbnail: "
536
  msgstr ""
537
 
538
+ #: admin/main-view.php:542
539
  msgid "Crop mode:"
540
  msgstr ""
541
 
542
+ #: admin/main-view.php:546
543
  msgid ""
544
  "By default, thumbnails will be hard cropped. Uncheck this box to "
545
  "proportionately/soft crop the thumbnails."
546
  msgstr ""
547
 
548
+ #: admin/main-view.php:550
 
 
 
 
 
549
  msgid "Image size attributes:"
550
  msgstr ""
551
 
 
 
 
 
552
  #: admin/main-view.php:554
553
+ msgid "Style attributes. e.g."
554
  msgstr ""
555
 
556
  #: admin/main-view.php:560
557
+ msgid "HTML width and height attributes. e.g."
558
+ msgstr ""
559
+
560
+ #: admin/main-view.php:566
561
+ msgid "No HTML or Style attributes"
562
  msgstr ""
563
 
564
+ #: admin/main-view.php:571
565
  msgid "Post thumbnail meta field name:"
566
  msgstr ""
567
 
568
+ #: admin/main-view.php:573
569
+ #, php-format
570
  msgid ""
571
  "The value of this field should contain a direct link to the image. This is "
572
+ "set in the meta box in the %1$s screen."
573
+ msgstr ""
574
+
575
+ #: admin/main-view.php:573
576
+ msgid "Add New Post"
577
  msgstr ""
578
 
579
+ #: admin/main-view.php:576
580
  msgid "Extract the first image from the post?"
581
  msgstr ""
582
 
583
+ #: admin/main-view.php:578
584
  msgid ""
585
  "This will only happen if there is no post thumbnail set and no image URL is "
586
  "specified in the meta field."
587
  msgstr ""
588
 
589
+ #: admin/main-view.php:581
590
  msgid "Use default thumbnail?"
591
  msgstr ""
592
 
593
+ #: admin/main-view.php:583
594
  msgid ""
595
  "If checked, when no thumbnail is found, show a default one from the URL "
596
  "below. If not checked and no thumbnail is found, no image will be shown."
597
  msgstr ""
598
 
599
+ #: admin/main-view.php:586
600
  msgid "Default thumbnail:"
601
  msgstr ""
602
 
603
+ #: admin/main-view.php:593
604
  msgid ""
605
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
606
  "then it will check the meta field. If this is not available, then it will "
607
  "show the default image as specified above."
608
  msgstr ""
609
 
610
+ #: admin/main-view.php:634
611
  msgid "Style of the related posts:"
612
  msgstr ""
613
 
614
+ #: admin/main-view.php:639
 
 
 
 
615
  msgid "Select this option if you plan to add your own styles"
616
  msgstr ""
617
 
618
+ #: admin/main-view.php:643
619
  msgid "Rounded Thumbnails"
620
  msgstr ""
621
 
622
+ #: admin/main-view.php:646
623
  msgid ""
624
  "Enabling this option will turn on the thumbnails and set their width and "
625
  "height to 150px. It will also turn off the display of the author, excerpt "
627
  "settings."
628
  msgstr ""
629
 
630
+ #: admin/main-view.php:648
631
  #, php-format
632
+ msgid "You can view the default style at %s"
 
633
  msgstr ""
634
 
635
+ #: admin/main-view.php:654
636
  msgid "Text only"
637
  msgstr ""
638
 
639
+ #: admin/main-view.php:656
640
  msgid ""
641
  "Enabling this option will disable thumbnails and no longer include the "
642
  "default style sheet included in the plugin."
643
  msgstr ""
644
 
645
+ #: admin/main-view.php:671
646
  msgid "Custom CSS to add to header:"
647
  msgstr ""
648
 
649
+ #: admin/main-view.php:676
650
+ #, php-format
651
  msgid ""
652
+ "Do not include %1$s tags. Check out the %2$s for available CSS classes to "
653
+ "style."
 
654
  msgstr ""
655
 
656
+ #: admin/main-view.php:717
657
  msgid ""
658
  "Below options override the related posts settings for your blog feed. These "
659
  "only apply if you have selected to add related posts to Feeds in the General "
660
  "Options tab."
661
  msgstr ""
662
 
663
+ #: admin/main-view.php:745
664
  msgid "Maximum width of the thumbnail: "
665
  msgstr ""
666
 
667
+ #: admin/main-view.php:748
668
  msgid "Maximum height of the thumbnail: "
669
  msgstr ""
670
 
671
+ #: admin/main-view.php:783
672
  msgid "Default Options"
673
  msgstr ""
674
 
675
+ #: admin/main-view.php:783
676
  msgid "Do you want to set options to Default?"
677
  msgstr ""
678
 
679
+ #: admin/main-view.php:784
680
  msgid "Recreate Index"
681
  msgstr ""
682
 
683
+ #: admin/main-view.php:784
684
  msgid "Are you sure you want to recreate the index?"
685
  msgstr ""
686
 
687
+ #: admin/main-view.php:789
688
+ #, php-format
689
  msgid ""
690
+ "One or more FULLTEXT indices are missing. Please hit the %1$s at the bottom "
691
+ "of the page to fix this."
 
692
  msgstr ""
693
 
694
+ #: admin/main-view.php:789
695
+ msgid "Recreate Index button"
696
  msgstr ""
697
 
698
+ #: admin/main-view.php:794
699
  msgid ""
700
+ "If the Recreate Index button fails, please run the following queries in "
701
+ "phpMyAdmin or Adminer"
 
702
  msgstr ""
703
 
704
+ #: admin/metabox.php:104
705
+ msgid "Disable Related Posts display:"
706
  msgstr ""
707
 
708
+ #: admin/metabox.php:107
709
  msgid ""
710
+ "If this is checked, then Contextual Related Posts will not automatically "
711
+ "insert the related posts at the end of post content."
 
712
  msgstr ""
713
 
714
+ #: admin/metabox.php:111
715
+ msgid "Exclude this post from the related posts list:"
716
  msgstr ""
717
 
718
+ #: admin/metabox.php:114
719
  msgid ""
720
+ "If this is checked, then this post will be excluded from the popular posts "
721
+ "list."
722
  msgstr ""
723
 
724
+ #: admin/metabox.php:118 admin/metabox.php:126
725
  msgid "Manual related posts:"
726
  msgstr ""
727
 
728
+ #: admin/metabox.php:120
729
  msgid ""
730
  "Comma separated list of post, page or custom post type IDs. e.g. "
731
  "188,320,500. These will be given preference over the related posts generated "
732
  "by the plugin."
733
  msgstr ""
734
 
735
+ #: admin/metabox.php:121
736
  msgid ""
737
  "Once you enter the list above and save this page, the plugin will display "
738
  "the titles of the posts below for your reference. Only IDs corresponding to "
739
  "published posts or custom post types will be retained."
740
  msgstr ""
741
 
742
+ #: admin/metabox.php:136
743
+ #, php-format
744
+ msgid "This post type is: %s"
745
+ msgstr ""
746
+
747
+ #: admin/metabox.php:147
748
+ msgid "Location of thumbnail"
749
+ msgstr ""
750
+
751
+ #: admin/metabox.php:149
752
+ msgid ""
753
+ "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
754
+ "image will be used for the post. It will be resized to the thumbnail size "
755
+ "set under Settings &raquo; Related Posts &raquo; Output Options"
756
+ msgstr ""
757
+
758
+ #: admin/metabox.php:150
759
+ msgid "The URL above is saved in the meta field:"
760
+ msgstr ""
761
+
762
+ #: admin/metabox.php:155
763
+ msgid ""
764
+ "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
765
+ "thumbnail, then you'll need to make the same change in the Top 10 meta box "
766
+ "on this page."
767
  msgstr ""
768
 
769
  #: admin/sidebar-view.php:20
783
  msgstr ""
784
 
785
  #: admin/sidebar-view.php:41
786
+ msgid "Quick links"
787
  msgstr ""
788
 
789
+ #: admin/sidebar-view.php:45
790
+ msgid "WebberZone"
791
  msgstr ""
792
 
793
+ #: admin/sidebar-view.php:46
794
  msgid "Plugin homepage"
795
  msgstr ""
796
 
797
+ #: admin/sidebar-view.php:47
798
  msgid "FAQ"
799
  msgstr ""
800
 
801
+ #: admin/sidebar-view.php:49
802
  msgid "Reviews"
803
  msgstr ""
804
 
805
+ #: admin/sidebar-view.php:50
806
  msgid "Github repository"
807
  msgstr ""
808
 
809
+ #: admin/sidebar-view.php:51
810
  msgid "Other plugins"
811
  msgstr ""
812
 
813
+ #: admin/sidebar-view.php:52
814
  msgid "Ajay's blog"
815
  msgstr ""
816
 
817
+ #: admin/sidebar-view.php:59
818
+ msgid "Follow us"
819
+ msgstr ""
820
+
821
+ #: contextual-related-posts.php:262
822
  #, php-format
823
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
824
  msgstr ""
825
 
826
+ #: contextual-related-posts.php:816
827
  msgid "<h3>Related Posts:</h3>"
828
  msgstr ""
829
 
830
+ #: contextual-related-posts.php:818
831
  msgid "No related posts found"
832
  msgstr ""
833
 
834
+ #: includes/media.php:65
835
+ msgid "thumb_timthumb argument has been deprecated"
836
+ msgstr ""
837
+
838
+ #: includes/media.php:69
839
+ msgid "thumb_timthumb_q argument has been deprecated"
840
+ msgstr ""
841
+
842
+ #: includes/media.php:73
843
+ msgid "filter argument has been deprecated"
844
+ msgstr ""
845
+
846
+ #: includes/modules/class-crp-widget.php:32
847
  msgid "Related Posts [CRP]"
848
  msgstr ""
849
 
850
+ #: includes/modules/class-crp-widget.php:33
851
  msgid "Display Related Posts"
852
  msgstr ""
853
 
854
+ #: includes/modules/class-crp-widget.php:69
855
  msgid "Title"
856
  msgstr ""
857
 
858
+ #: includes/modules/class-crp-widget.php:74
859
  msgid "No. of posts"
860
  msgstr ""
861
 
862
+ #: includes/modules/class-crp-widget.php:79
863
+ msgid "Offset"
864
+ msgstr ""
865
+
866
+ #: includes/modules/class-crp-widget.php:84
867
  msgid " Show excerpt?"
868
  msgstr ""
869
 
870
+ #: includes/modules/class-crp-widget.php:89
871
  msgid " Show author?"
872
  msgstr ""
873
 
874
+ #: includes/modules/class-crp-widget.php:94
875
  msgid " Show date?"
876
  msgstr ""
877
 
878
+ #: includes/modules/class-crp-widget.php:100
879
  msgid "Thumbnails inline, before title"
880
  msgstr ""
881
 
882
+ #: includes/modules/class-crp-widget.php:101
883
  msgid "Thumbnails inline, after title"
884
  msgstr ""
885
 
886
+ #: includes/modules/class-crp-widget.php:102
887
  msgid "Only thumbnails, no text"
888
  msgstr ""
889
 
890
+ #: includes/modules/class-crp-widget.php:103
891
  msgid "No thumbnails, only text."
892
  msgstr ""
893
 
894
+ #: includes/modules/class-crp-widget.php:108
895
  msgid "Thumbnail height"
896
  msgstr ""
897
 
898
+ #: includes/modules/class-crp-widget.php:113
899
  msgid "Thumbnail width"
900
  msgstr ""
901
 
902
+ #: includes/modules/class-crp-widget.php:117
903
+ msgid "Post types to include"
 
 
 
 
 
 
 
 
 
 
 
 
904
  msgstr ""
905
 
906
+ #: includes/output-generator.php:239
907
  msgid " by "
908
  msgstr ""
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: 2015-09-27 13:34+0100\n"
7
  "PO-Revision-Date: \n"
8
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
9
  "Language-Team: plugins@webberzone.com\n"
@@ -11,40 +11,41 @@ msgstr ""
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
- "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
 
15
  "X-Poedit-Basepath: ..\n"
16
- "X-Generator: Poedit 1.8.4\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
- #: admin/admin.php:191
21
  msgid "Options saved successfully. If enabled, the cache has been cleared."
22
  msgstr ""
23
 
24
- #: admin/admin.php:194
25
  msgid ""
26
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
27
  "displayed."
28
  msgstr ""
29
 
30
- #: admin/admin.php:197
31
  msgid "Text Only style selected. Thumbnails will not be displayed."
32
  msgstr ""
33
 
34
- #: admin/admin.php:200
35
  #, php-format
36
- msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
37
  msgstr ""
38
 
39
- #: admin/admin.php:224
40
  msgid "Options set to Default."
41
  msgstr ""
42
 
43
- #: admin/admin.php:233
44
  msgid "Index recreated"
45
  msgstr ""
46
 
47
- #: admin/admin.php:250
48
  msgid "Related Posts"
49
  msgstr ""
50
 
@@ -58,51 +59,54 @@ msgstr ""
58
  msgid " cached row(s) cleared"
59
  msgstr ""
60
 
61
- #: admin/loader.php:24
62
  msgid "Settings"
63
  msgstr ""
64
 
65
- #: admin/loader.php:46 admin/sidebar-view.php:72
66
  msgid "Support"
67
  msgstr ""
68
 
69
- #: admin/loader.php:47
70
  msgid "Donate"
71
  msgstr ""
72
 
73
- #: admin/loader.php:48
74
  msgid "Contribute"
75
  msgstr ""
76
 
77
- #: admin/loader.php:64
78
- msgid "plugin settings page"
79
- msgstr ""
80
-
81
  #: admin/main-view.php:32 admin/main-view.php:55
82
  msgid "General options"
83
  msgstr ""
84
 
85
- #: admin/main-view.php:33 admin/main-view.php:142
86
  msgid "List tuning options"
87
  msgstr ""
88
 
89
- #: admin/main-view.php:34 admin/main-view.php:249
90
  msgid "Output options"
91
  msgstr ""
92
 
93
- #: admin/main-view.php:35 admin/main-view.php:453
94
- #: includes/class-crp-widget.php:93
95
  msgid "Thumbnail options"
96
  msgstr ""
97
 
98
- #: admin/main-view.php:36 admin/main-view.php:608
99
  msgid "Styles"
100
  msgstr ""
101
 
102
- #: admin/main-view.php:37 admin/main-view.php:686
103
  msgid "Feed options"
104
  msgstr ""
105
 
 
 
 
 
 
 
 
106
  #: admin/main-view.php:71
107
  msgid "Cache output?"
108
  msgstr ""
@@ -157,10 +161,10 @@ msgid "Other archives"
157
  msgstr ""
158
 
159
  #: admin/main-view.php:88
 
160
  msgid ""
161
- "If you choose to disable this, please add <code>&lt;?php if "
162
- "( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your "
163
- "template file where you want it displayed"
164
  msgstr ""
165
 
166
  #: admin/main-view.php:92
@@ -181,76 +185,87 @@ msgid ""
181
  msgstr ""
182
 
183
  #: admin/main-view.php:100
184
- msgid "Show metabox:"
185
  msgstr ""
186
 
187
  #: admin/main-view.php:103
188
  msgid ""
 
 
 
 
 
 
 
 
 
 
 
189
  "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
190
  "Posts screens. Also applies to Pages and Custom Post Types."
191
  msgstr ""
192
 
193
- #: admin/main-view.php:107
194
  msgid "Limit metabox to Admins only:"
195
  msgstr ""
196
 
197
- #: admin/main-view.php:110
198
  msgid ""
199
  "If this is selected, the metabox will be hidden from anyone who is not an "
200
  "Admin. Otherwise, by default, Contributors and above will be able to see the "
201
  "metabox. This applies only if the above option is selected."
202
  msgstr ""
203
 
204
- #: admin/main-view.php:114
205
  msgid "Tell the world you're using Contextual Related Posts:"
206
  msgstr ""
207
 
208
- #: admin/main-view.php:116
209
- msgid " <em>Optional</em>"
210
  msgstr ""
211
 
212
- #: admin/main-view.php:117
213
  msgid ""
214
  "Adds a nofollow link to Contextual Related Posts homepage as the last time "
215
  "in the list."
216
  msgstr ""
217
 
218
- #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
219
- #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
220
- #: admin/main-view.php:767
221
  msgid "Save Options"
222
  msgstr ""
223
 
224
- #: admin/main-view.php:158 admin/main-view.php:704
225
  msgid "Number of related posts to display: "
226
  msgstr ""
227
 
228
- #: admin/main-view.php:161
229
  msgid ""
230
  "Maximum number of posts that will be displayed. The actual number may be "
231
  "smaller if less related posts are found."
232
  msgstr ""
233
 
234
- #: admin/main-view.php:165
235
  msgid "Related posts should be newer than:"
236
  msgstr ""
237
 
238
- #: admin/main-view.php:167
239
  msgid "days"
240
  msgstr ""
241
 
242
- #: admin/main-view.php:168
243
  msgid ""
244
  "This sets the cutoff period for which posts will be displayed. e.g. setting "
245
  "it to 365 will show related posts from the last year only. Set to 0 to "
246
  "disable limiting posts by date."
247
  msgstr ""
248
 
249
- #: admin/main-view.php:172
250
  msgid "Find related posts based on content as well as title:"
251
  msgstr ""
252
 
253
- #: admin/main-view.php:174
254
  msgid ""
255
  "If unchecked, only posts titles are used. I recommend using a caching plugin "
256
  "or enabling \"Cache output\" above if you enable this. Each site is "
@@ -258,84 +273,89 @@ msgid ""
258
  "quality related posts."
259
  msgstr ""
260
 
261
- #: admin/main-view.php:178
262
  msgid "Limit content to be compared:"
263
  msgstr ""
264
 
265
- #: admin/main-view.php:180
266
  msgid ""
267
  "This sets the maximum words of the content that will be matched. Set to 0 "
268
- "for no limit. Only applies if you active the above option."
 
269
  msgstr ""
270
 
271
- #: admin/main-view.php:184
272
  msgid "Post types to include in results:"
273
  msgstr ""
274
 
275
- #: admin/main-view.php:191
276
  msgid ""
277
  "These post types will be displayed in the list. Includes custom post types."
278
  msgstr ""
279
 
280
- #: admin/main-view.php:195
281
  msgid "List of post or page IDs to exclude from the results:"
282
  msgstr ""
283
 
284
- #: admin/main-view.php:197 admin/main-view.php:377
285
  msgid ""
286
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
287
  msgstr ""
288
 
289
- #: admin/main-view.php:201
290
  msgid "Categories to exclude from the results: "
291
  msgstr ""
292
 
293
- #: admin/main-view.php:213
294
  msgid ""
295
  "Comma separated list of category slugs. The field above has an autocomplete "
296
  "so simply start typing in the beginning of your category name and it will "
297
  "prompt you with options."
298
  msgstr ""
299
 
300
- #: admin/main-view.php:216
301
  msgid "Excluded category IDs are:"
302
  msgstr ""
303
 
304
- #: admin/main-view.php:222
 
 
 
 
 
305
  msgid ""
306
  "These might differ from the IDs visible in the Categories page which use the "
307
- "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
308
- "unique to this taxonomy."
309
  msgstr ""
310
 
311
- #: admin/main-view.php:265
312
  msgid "Title of related posts:"
313
  msgstr ""
314
 
315
- #: admin/main-view.php:268
 
316
  msgid ""
317
  "This is the main heading of the related posts. You can also display the "
318
- "current post title by using <code>%postname%</code>. e.g. <code>Related "
319
- "Posts to %postname%</code>"
320
  msgstr ""
321
 
322
- #: admin/main-view.php:272
323
  msgid "When there are no posts, what should be shown?"
324
  msgstr ""
325
 
326
- #: admin/main-view.php:276
327
  msgid "Blank Output"
328
  msgstr ""
329
 
330
- #: admin/main-view.php:281
331
  msgid "Display:"
332
  msgstr ""
333
 
334
- #: admin/main-view.php:287 admin/main-view.php:707
335
  msgid "Show post excerpt in list?"
336
  msgstr ""
337
 
338
- #: admin/main-view.php:290
339
  #, php-format
340
  msgid ""
341
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
@@ -343,265 +363,263 @@ msgid ""
343
  "automatic excerpt which refers to the first %d words of the post's content"
344
  msgstr ""
345
 
346
- #: admin/main-view.php:293
347
  msgid ""
348
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
349
  "is disabled."
350
  msgstr ""
351
 
352
- #: admin/main-view.php:298
353
  msgid "Length of excerpt (in words):"
354
  msgstr ""
355
 
356
- #: admin/main-view.php:304
357
  msgid "Show post author in list?"
358
  msgstr ""
359
 
360
- #: admin/main-view.php:307
361
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
362
  msgstr ""
363
 
364
- #: admin/main-view.php:310
365
  msgid ""
366
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
367
  "disabled."
368
  msgstr ""
369
 
370
- #: admin/main-view.php:315
371
  msgid "Show post date in list?"
372
  msgstr ""
373
 
374
- #: admin/main-view.php:318
375
  msgid ""
376
  "Displays the date of the post. Uses the same date format set in General "
377
  "Options"
378
  msgstr ""
379
 
380
- #: admin/main-view.php:321
381
  msgid ""
382
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
383
  "disabled."
384
  msgstr ""
385
 
386
- #: admin/main-view.php:326
387
  msgid "Limit post title length (in characters)"
388
  msgstr ""
389
 
390
- #: admin/main-view.php:329
391
  msgid ""
392
  "Any title longer than the number of characters set above will be cut and "
393
  "appended with an ellipsis (&hellip;)"
394
  msgstr ""
395
 
396
- #: admin/main-view.php:333
397
  msgid "Open links in new window"
398
  msgstr ""
399
 
400
- #: admin/main-view.php:339
401
  msgid "Add nofollow attribute to links in the list"
402
  msgstr ""
403
 
404
- #: admin/main-view.php:372
405
  msgid "Exclusion settings:"
406
  msgstr ""
407
 
408
- #: admin/main-view.php:374
409
  msgid "Exclude display of related posts on these posts / pages"
410
  msgstr ""
411
 
412
- #: admin/main-view.php:380
413
  msgid "Exclude display of related posts on these post types."
414
  msgstr ""
415
 
416
- #: admin/main-view.php:387
417
  msgid ""
418
  "The related posts will not display on any of the above selected post types"
419
  msgstr ""
420
 
421
- #: admin/main-view.php:417
422
  msgid "Customize the output:"
423
  msgstr ""
424
 
425
- #: admin/main-view.php:419
426
  msgid "HTML to display before the list of posts: "
427
  msgstr ""
428
 
429
- #: admin/main-view.php:422
430
  msgid "HTML to display before each list item: "
431
  msgstr ""
432
 
433
- #: admin/main-view.php:425
434
  msgid "HTML to display after each list item: "
435
  msgstr ""
436
 
437
- #: admin/main-view.php:428
438
  msgid "HTML to display after the list of posts: "
439
  msgstr ""
440
 
441
- #: admin/main-view.php:469 admin/main-view.php:710
442
  msgid "Location of post thumbnail:"
443
  msgstr ""
444
 
445
- #: admin/main-view.php:473 admin/main-view.php:714
446
  msgid "Display thumbnails inline with posts, before title"
447
  msgstr ""
448
 
449
- #: admin/main-view.php:477 admin/main-view.php:718
450
  msgid "Display thumbnails inline with posts, after title"
451
  msgstr ""
452
 
453
- #: admin/main-view.php:481 admin/main-view.php:722
454
  msgid "Display only thumbnails, no text"
455
  msgstr ""
456
 
457
- #: admin/main-view.php:485 admin/main-view.php:726
458
  msgid "Do not display thumbnails, only text."
459
  msgstr ""
460
 
461
- #: admin/main-view.php:488
 
462
  msgid ""
463
  "This setting cannot be changed because an inbuilt style has been selected "
464
  "under the Styles section. If you would like to change this option, please "
465
- "select <strong>No styles</strong> under the Styles section."
 
 
 
 
466
  msgstr ""
467
 
468
- #: admin/main-view.php:492
469
  msgid "Thumbnail size:"
470
  msgstr ""
471
 
472
- #: admin/main-view.php:516
473
  msgid "Custom size"
474
  msgstr ""
475
 
476
- #: admin/main-view.php:519
477
  msgid "You can choose from existing image sizes above or create a custom size."
478
  msgstr ""
479
 
480
- #: admin/main-view.php:520
481
  msgid ""
482
  "If you choose an existing size, then the width, height and crop mode "
483
  "settings in the three options below will be automatically updated to reflect "
484
  "the correct dimensions of the setting."
485
  msgstr ""
486
 
487
- #: admin/main-view.php:521
488
  msgid ""
489
  "If you have chosen Custom size above, then enter the width, height and crop "
490
  "settings below. For best results, use a cropped image with the same width "
491
  "and height. The default setting is 150x150 cropped image."
492
  msgstr ""
493
 
494
- #: admin/main-view.php:522
495
  msgid ""
496
  "Any changes to the thumbnail settings doesn't automatically resize existing "
497
  "images."
498
  msgstr ""
499
 
500
- #: admin/main-view.php:523
501
  #, php-format
502
- msgid ""
503
- "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
504
- "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
505
- "all image sizes."
506
  msgstr ""
507
 
508
- #: admin/main-view.php:527
509
  msgid "Width of the thumbnail:"
510
  msgstr ""
511
 
512
- #: admin/main-view.php:530
513
  msgid "Height of the thumbnail: "
514
  msgstr ""
515
 
516
- #: admin/main-view.php:535
517
  msgid "Crop mode:"
518
  msgstr ""
519
 
520
- #: admin/main-view.php:539
521
  msgid ""
522
  "By default, thumbnails will be hard cropped. Uncheck this box to "
523
  "proportionately/soft crop the thumbnails."
524
  msgstr ""
525
 
526
- #: admin/main-view.php:540
527
- #, php-format
528
- msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
529
- msgstr ""
530
-
531
- #: admin/main-view.php:544
532
  msgid "Image size attributes:"
533
  msgstr ""
534
 
535
- #: admin/main-view.php:548
536
- msgid "Style attributes are used for width and height."
537
- msgstr ""
538
-
539
  #: admin/main-view.php:554
540
- msgid "HTML width and height attributes are used for width and height."
541
  msgstr ""
542
 
543
  #: admin/main-view.php:560
544
- msgid "No HTML or Style attributes set for width and height"
 
 
 
 
545
  msgstr ""
546
 
547
- #: admin/main-view.php:565
548
  msgid "Post thumbnail meta field name:"
549
  msgstr ""
550
 
551
- #: admin/main-view.php:567
 
552
  msgid ""
553
  "The value of this field should contain a direct link to the image. This is "
554
- "set in the meta box in the <em>Add New Post</em> screen."
 
 
 
 
555
  msgstr ""
556
 
557
- #: admin/main-view.php:570
558
  msgid "Extract the first image from the post?"
559
  msgstr ""
560
 
561
- #: admin/main-view.php:572
562
  msgid ""
563
  "This will only happen if there is no post thumbnail set and no image URL is "
564
  "specified in the meta field."
565
  msgstr ""
566
 
567
- #: admin/main-view.php:575
568
  msgid "Use default thumbnail?"
569
  msgstr ""
570
 
571
- #: admin/main-view.php:577
572
  msgid ""
573
  "If checked, when no thumbnail is found, show a default one from the URL "
574
  "below. If not checked and no thumbnail is found, no image will be shown."
575
  msgstr ""
576
 
577
- #: admin/main-view.php:580
578
  msgid "Default thumbnail:"
579
  msgstr ""
580
 
581
- #: admin/main-view.php:583
582
  msgid ""
583
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
584
  "then it will check the meta field. If this is not available, then it will "
585
  "show the default image as specified above."
586
  msgstr ""
587
 
588
- #: admin/main-view.php:624
589
  msgid "Style of the related posts:"
590
  msgstr ""
591
 
592
- #: admin/main-view.php:627
593
- msgid "No styles"
594
- msgstr ""
595
-
596
- #: admin/main-view.php:629
597
  msgid "Select this option if you plan to add your own styles"
598
  msgstr ""
599
 
600
- #: admin/main-view.php:633
601
  msgid "Rounded Thumbnails"
602
  msgstr ""
603
 
604
- #: admin/main-view.php:636
605
  msgid ""
606
  "Enabling this option will turn on the thumbnails and set their width and "
607
  "height to 150px. It will also turn off the display of the author, excerpt "
@@ -609,123 +627,143 @@ msgid ""
609
  "settings."
610
  msgstr ""
611
 
612
- #: admin/main-view.php:637
613
  #, php-format
614
- msgid ""
615
- "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
616
  msgstr ""
617
 
618
- #: admin/main-view.php:641
619
  msgid "Text only"
620
  msgstr ""
621
 
622
- #: admin/main-view.php:643
623
  msgid ""
624
  "Enabling this option will disable thumbnails and no longer include the "
625
  "default style sheet included in the plugin."
626
  msgstr ""
627
 
628
- #: admin/main-view.php:658
629
  msgid "Custom CSS to add to header:"
630
  msgstr ""
631
 
632
- #: admin/main-view.php:662
 
633
  msgid ""
634
- "Do not include <code>style</code> tags. Check out the <a href=\"http://"
635
- "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
636
- "\">FAQ</a> for available CSS classes to style."
637
  msgstr ""
638
 
639
- #: admin/main-view.php:702
640
  msgid ""
641
  "Below options override the related posts settings for your blog feed. These "
642
  "only apply if you have selected to add related posts to Feeds in the General "
643
  "Options tab."
644
  msgstr ""
645
 
646
- #: admin/main-view.php:730
647
  msgid "Maximum width of the thumbnail: "
648
  msgstr ""
649
 
650
- #: admin/main-view.php:733
651
  msgid "Maximum height of the thumbnail: "
652
  msgstr ""
653
 
654
- #: admin/main-view.php:768
655
  msgid "Default Options"
656
  msgstr ""
657
 
658
- #: admin/main-view.php:768
659
  msgid "Do you want to set options to Default?"
660
  msgstr ""
661
 
662
- #: admin/main-view.php:769
663
  msgid "Recreate Index"
664
  msgstr ""
665
 
666
- #: admin/main-view.php:769
667
  msgid "Are you sure you want to recreate the index?"
668
  msgstr ""
669
 
670
- #: admin/main-view.php:774
 
671
  msgid ""
672
- "One or more FULLTEXT indices are missing. Please hit the <a href="
673
- "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
674
- "this."
675
  msgstr ""
676
 
677
- #: admin/metabox.php:98
678
- msgid "Location of thumbnail:"
679
  msgstr ""
680
 
681
- #: admin/metabox.php:100
682
  msgid ""
683
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
684
- "image will be used for the post. It will be resized to the thumbnail size "
685
- "set under Settings &raquo; Related Posts &raquo; Output Options"
686
  msgstr ""
687
 
688
- #: admin/metabox.php:101
689
- msgid "The URL above is saved in the meta field:"
690
  msgstr ""
691
 
692
- #: admin/metabox.php:106
693
  msgid ""
694
- "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
695
- "thumbnail, then you'll need to make the same change in the Top 10 meta box "
696
- "on this page."
697
  msgstr ""
698
 
699
- #: admin/metabox.php:117
700
- msgid "Disable Related Posts display:"
701
  msgstr ""
702
 
703
- #: admin/metabox.php:120
704
  msgid ""
705
- "If this is checked, then Contextual Related Posts will not automatically "
706
- "insert the related posts at the end of post content."
707
  msgstr ""
708
 
709
- #: admin/metabox.php:125 admin/metabox.php:133
710
  msgid "Manual related posts:"
711
  msgstr ""
712
 
713
- #: admin/metabox.php:127
714
  msgid ""
715
  "Comma separated list of post, page or custom post type IDs. e.g. "
716
  "188,320,500. These will be given preference over the related posts generated "
717
  "by the plugin."
718
  msgstr ""
719
 
720
- #: admin/metabox.php:128
721
  msgid ""
722
  "Once you enter the list above and save this page, the plugin will display "
723
  "the titles of the posts below for your reference. Only IDs corresponding to "
724
  "published posts or custom post types will be retained."
725
  msgstr ""
726
 
727
- #: admin/metabox.php:142
728
- msgid "This post type is:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
729
  msgstr ""
730
 
731
  #: admin/sidebar-view.php:20
@@ -745,118 +783,126 @@ msgid "Send your donation to the author of"
745
  msgstr ""
746
 
747
  #: admin/sidebar-view.php:41
748
- msgid "Follow me"
749
  msgstr ""
750
 
751
- #: admin/sidebar-view.php:66
752
- msgid "Quick links"
753
  msgstr ""
754
 
755
- #: admin/sidebar-view.php:70
756
  msgid "Plugin homepage"
757
  msgstr ""
758
 
759
- #: admin/sidebar-view.php:71
760
  msgid "FAQ"
761
  msgstr ""
762
 
763
- #: admin/sidebar-view.php:73
764
  msgid "Reviews"
765
  msgstr ""
766
 
767
- #: admin/sidebar-view.php:74
768
  msgid "Github repository"
769
  msgstr ""
770
 
771
- #: admin/sidebar-view.php:75
772
  msgid "Other plugins"
773
  msgstr ""
774
 
775
- #: admin/sidebar-view.php:76
776
  msgid "Ajay's blog"
777
  msgstr ""
778
 
779
- #: contextual-related-posts.php:232
 
 
 
 
780
  #, php-format
781
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
782
  msgstr ""
783
 
784
- #: contextual-related-posts.php:710
785
  msgid "<h3>Related Posts:</h3>"
786
  msgstr ""
787
 
788
- #: contextual-related-posts.php:712
789
  msgid "No related posts found"
790
  msgstr ""
791
 
792
- #: includes/class-crp-widget.php:33
 
 
 
 
 
 
 
 
 
 
 
 
793
  msgid "Related Posts [CRP]"
794
  msgstr ""
795
 
796
- #: includes/class-crp-widget.php:34
797
  msgid "Display Related Posts"
798
  msgstr ""
799
 
800
- #: includes/class-crp-widget.php:69
801
  msgid "Title"
802
  msgstr ""
803
 
804
- #: includes/class-crp-widget.php:74
805
  msgid "No. of posts"
806
  msgstr ""
807
 
808
- #: includes/class-crp-widget.php:79
 
 
 
 
809
  msgid " Show excerpt?"
810
  msgstr ""
811
 
812
- #: includes/class-crp-widget.php:84
813
  msgid " Show author?"
814
  msgstr ""
815
 
816
- #: includes/class-crp-widget.php:89
817
  msgid " Show date?"
818
  msgstr ""
819
 
820
- #: includes/class-crp-widget.php:95
821
  msgid "Thumbnails inline, before title"
822
  msgstr ""
823
 
824
- #: includes/class-crp-widget.php:96
825
  msgid "Thumbnails inline, after title"
826
  msgstr ""
827
 
828
- #: includes/class-crp-widget.php:97
829
  msgid "Only thumbnails, no text"
830
  msgstr ""
831
 
832
- #: includes/class-crp-widget.php:98
833
  msgid "No thumbnails, only text."
834
  msgstr ""
835
 
836
- #: includes/class-crp-widget.php:103
837
  msgid "Thumbnail height"
838
  msgstr ""
839
 
840
- #: includes/class-crp-widget.php:108
841
  msgid "Thumbnail width"
842
  msgstr ""
843
 
844
- #: includes/class-crp-widget.php:112
845
- msgid "Post types to include:"
846
- msgstr ""
847
-
848
- #: includes/media.php:67
849
- msgid "thumb_timthumb argument has been deprecated"
850
- msgstr ""
851
-
852
- #: includes/media.php:71
853
- msgid "thumb_timthumb_q argument has been deprecated"
854
- msgstr ""
855
-
856
- #: includes/media.php:75
857
- msgid "filter argument has been deprecated"
858
  msgstr ""
859
 
860
- #: includes/output-generator.php:238
861
  msgid " by "
862
  msgstr ""
3
  msgstr ""
4
  "Project-Id-Version: Contextual Related Posts\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2016-10-01 17:05+0100\n"
7
  "PO-Revision-Date: \n"
8
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
9
  "Language-Team: plugins@webberzone.com\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Poedit-KeywordsList: __;_e;_c;__ngettext;esc_html__;esc_html_e;esc_attr__;"
15
+ "esc_attr_e\n"
16
  "X-Poedit-Basepath: ..\n"
17
+ "X-Generator: Poedit 1.8.9\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
+ #: admin/admin.php:200
22
  msgid "Options saved successfully. If enabled, the cache has been cleared."
23
  msgstr ""
24
 
25
+ #: admin/admin.php:203
26
  msgid ""
27
  "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
28
  "displayed."
29
  msgstr ""
30
 
31
+ #: admin/admin.php:206
32
  msgid "Text Only style selected. Thumbnails will not be displayed."
33
  msgstr ""
34
 
35
+ #: admin/admin.php:209
36
  #, php-format
37
+ msgid "Pre-built thumbnail size selected. Thumbnail set to %1$d x %1$d."
38
  msgstr ""
39
 
40
+ #: admin/admin.php:233
41
  msgid "Options set to Default."
42
  msgstr ""
43
 
44
+ #: admin/admin.php:242
45
  msgid "Index recreated"
46
  msgstr ""
47
 
48
+ #: admin/admin.php:259
49
  msgid "Related Posts"
50
  msgstr ""
51
 
59
  msgid " cached row(s) cleared"
60
  msgstr ""
61
 
62
+ #: admin/loader.php:23
63
  msgid "Settings"
64
  msgstr ""
65
 
66
+ #: admin/loader.php:45 admin/sidebar-view.php:48
67
  msgid "Support"
68
  msgstr ""
69
 
70
+ #: admin/loader.php:46
71
  msgid "Donate"
72
  msgstr ""
73
 
74
+ #: admin/loader.php:47
75
  msgid "Contribute"
76
  msgstr ""
77
 
 
 
 
 
78
  #: admin/main-view.php:32 admin/main-view.php:55
79
  msgid "General options"
80
  msgstr ""
81
 
82
+ #: admin/main-view.php:33 admin/main-view.php:149
83
  msgid "List tuning options"
84
  msgstr ""
85
 
86
+ #: admin/main-view.php:34 admin/main-view.php:247
87
  msgid "Output options"
88
  msgstr ""
89
 
90
+ #: admin/main-view.php:35 admin/main-view.php:451
91
+ #: includes/modules/class-crp-widget.php:98
92
  msgid "Thumbnail options"
93
  msgstr ""
94
 
95
+ #: admin/main-view.php:36 admin/main-view.php:618
96
  msgid "Styles"
97
  msgstr ""
98
 
99
+ #: admin/main-view.php:37 admin/main-view.php:701
100
  msgid "Feed options"
101
  msgstr ""
102
 
103
+ #: admin/main-view.php:54 admin/main-view.php:148 admin/main-view.php:246
104
+ #: admin/main-view.php:450 admin/main-view.php:617 admin/main-view.php:700
105
+ #: admin/sidebar-view.php:19 admin/sidebar-view.php:40
106
+ #: admin/sidebar-view.php:58
107
+ msgid "Click to toggle"
108
+ msgstr ""
109
+
110
  #: admin/main-view.php:71
111
  msgid "Cache output?"
112
  msgstr ""
161
  msgstr ""
162
 
163
  #: admin/main-view.php:88
164
+ #, php-format
165
  msgid ""
166
+ "If you choose to disable this, please add %1$s to your template file where "
167
+ "you want it displayed"
 
168
  msgstr ""
169
 
170
  #: admin/main-view.php:92
185
  msgstr ""
186
 
187
  #: admin/main-view.php:100
188
+ msgid "Insert after paragraph number"
189
  msgstr ""
190
 
191
  #: admin/main-view.php:103
192
  msgid ""
193
+ "Enter 0 to display the related posts before the post content, -1 to display "
194
+ "this at the end or a number to insert it after that paragraph number. If "
195
+ "your post has less paragraphs, related posts will be displayed at the end."
196
+ msgstr ""
197
+
198
+ #: admin/main-view.php:107
199
+ msgid "Show metabox:"
200
+ msgstr ""
201
+
202
+ #: admin/main-view.php:110
203
+ msgid ""
204
  "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
205
  "Posts screens. Also applies to Pages and Custom Post Types."
206
  msgstr ""
207
 
208
+ #: admin/main-view.php:114
209
  msgid "Limit metabox to Admins only:"
210
  msgstr ""
211
 
212
+ #: admin/main-view.php:117
213
  msgid ""
214
  "If this is selected, the metabox will be hidden from anyone who is not an "
215
  "Admin. Otherwise, by default, Contributors and above will be able to see the "
216
  "metabox. This applies only if the above option is selected."
217
  msgstr ""
218
 
219
+ #: admin/main-view.php:121
220
  msgid "Tell the world you're using Contextual Related Posts:"
221
  msgstr ""
222
 
223
+ #: admin/main-view.php:123
224
+ msgid "Optional"
225
  msgstr ""
226
 
227
+ #: admin/main-view.php:124
228
  msgid ""
229
  "Adds a nofollow link to Contextual Related Posts homepage as the last time "
230
  "in the list."
231
  msgstr ""
232
 
233
+ #: admin/main-view.php:142 admin/main-view.php:240 admin/main-view.php:444
234
+ #: admin/main-view.php:611 admin/main-view.php:694 admin/main-view.php:766
235
+ #: admin/main-view.php:782
236
  msgid "Save Options"
237
  msgstr ""
238
 
239
+ #: admin/main-view.php:165 admin/main-view.php:719
240
  msgid "Number of related posts to display: "
241
  msgstr ""
242
 
243
+ #: admin/main-view.php:168
244
  msgid ""
245
  "Maximum number of posts that will be displayed. The actual number may be "
246
  "smaller if less related posts are found."
247
  msgstr ""
248
 
249
+ #: admin/main-view.php:172
250
  msgid "Related posts should be newer than:"
251
  msgstr ""
252
 
253
+ #: admin/main-view.php:174
254
  msgid "days"
255
  msgstr ""
256
 
257
+ #: admin/main-view.php:175
258
  msgid ""
259
  "This sets the cutoff period for which posts will be displayed. e.g. setting "
260
  "it to 365 will show related posts from the last year only. Set to 0 to "
261
  "disable limiting posts by date."
262
  msgstr ""
263
 
264
+ #: admin/main-view.php:179
265
  msgid "Find related posts based on content as well as title:"
266
  msgstr ""
267
 
268
+ #: admin/main-view.php:181
269
  msgid ""
270
  "If unchecked, only posts titles are used. I recommend using a caching plugin "
271
  "or enabling \"Cache output\" above if you enable this. Each site is "
273
  "quality related posts."
274
  msgstr ""
275
 
276
+ #: admin/main-view.php:185
277
  msgid "Limit content to be compared:"
278
  msgstr ""
279
 
280
+ #: admin/main-view.php:187
281
  msgid ""
282
  "This sets the maximum words of the content that will be matched. Set to 0 "
283
+ "for no limit. Max value: 2,000. Only applies if you activate the above "
284
+ "option."
285
  msgstr ""
286
 
287
+ #: admin/main-view.php:191
288
  msgid "Post types to include in results:"
289
  msgstr ""
290
 
291
+ #: admin/main-view.php:198
292
  msgid ""
293
  "These post types will be displayed in the list. Includes custom post types."
294
  msgstr ""
295
 
296
+ #: admin/main-view.php:202
297
  msgid "List of post or page IDs to exclude from the results:"
298
  msgstr ""
299
 
300
+ #: admin/main-view.php:204 admin/main-view.php:375
301
  msgid ""
302
  "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
303
  msgstr ""
304
 
305
+ #: admin/main-view.php:208
306
  msgid "Categories to exclude from the results: "
307
  msgstr ""
308
 
309
+ #: admin/main-view.php:211
310
  msgid ""
311
  "Comma separated list of category slugs. The field above has an autocomplete "
312
  "so simply start typing in the beginning of your category name and it will "
313
  "prompt you with options."
314
  msgstr ""
315
 
316
+ #: admin/main-view.php:214
317
  msgid "Excluded category IDs are:"
318
  msgstr ""
319
 
320
+ #: admin/main-view.php:215
321
+ msgid " "
322
+ msgstr ""
323
+
324
+ #: admin/main-view.php:220
325
+ #, php-format
326
  msgid ""
327
  "These might differ from the IDs visible in the Categories page which use the "
328
+ "%1$s. CRP uses the %2$s which is unique to this taxonomy."
 
329
  msgstr ""
330
 
331
+ #: admin/main-view.php:263
332
  msgid "Title of related posts:"
333
  msgstr ""
334
 
335
+ #: admin/main-view.php:266
336
+ #, php-format
337
  msgid ""
338
  "This is the main heading of the related posts. You can also display the "
339
+ "current post title by using %1$s"
 
340
  msgstr ""
341
 
342
+ #: admin/main-view.php:270
343
  msgid "When there are no posts, what should be shown?"
344
  msgstr ""
345
 
346
+ #: admin/main-view.php:274
347
  msgid "Blank Output"
348
  msgstr ""
349
 
350
+ #: admin/main-view.php:279
351
  msgid "Display:"
352
  msgstr ""
353
 
354
+ #: admin/main-view.php:285 admin/main-view.php:722
355
  msgid "Show post excerpt in list?"
356
  msgstr ""
357
 
358
+ #: admin/main-view.php:288
359
  #, php-format
360
  msgid ""
361
  "Displays the excerpt of the post. If you do not provide an explicit excerpt "
363
  "automatic excerpt which refers to the first %d words of the post's content"
364
  msgstr ""
365
 
366
+ #: admin/main-view.php:291
367
  msgid ""
368
  "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
369
  "is disabled."
370
  msgstr ""
371
 
372
+ #: admin/main-view.php:296
373
  msgid "Length of excerpt (in words):"
374
  msgstr ""
375
 
376
+ #: admin/main-view.php:302
377
  msgid "Show post author in list?"
378
  msgstr ""
379
 
380
+ #: admin/main-view.php:305
381
  msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
382
  msgstr ""
383
 
384
+ #: admin/main-view.php:308
385
  msgid ""
386
  "Rounded Thumbnails style selected under the Custom Styles. Author display is "
387
  "disabled."
388
  msgstr ""
389
 
390
+ #: admin/main-view.php:313
391
  msgid "Show post date in list?"
392
  msgstr ""
393
 
394
+ #: admin/main-view.php:316
395
  msgid ""
396
  "Displays the date of the post. Uses the same date format set in General "
397
  "Options"
398
  msgstr ""
399
 
400
+ #: admin/main-view.php:319
401
  msgid ""
402
  "Rounded Thumbnails style selected under the Custom Styles. Date display is "
403
  "disabled."
404
  msgstr ""
405
 
406
+ #: admin/main-view.php:324
407
  msgid "Limit post title length (in characters)"
408
  msgstr ""
409
 
410
+ #: admin/main-view.php:327
411
  msgid ""
412
  "Any title longer than the number of characters set above will be cut and "
413
  "appended with an ellipsis (&hellip;)"
414
  msgstr ""
415
 
416
+ #: admin/main-view.php:331
417
  msgid "Open links in new window"
418
  msgstr ""
419
 
420
+ #: admin/main-view.php:337
421
  msgid "Add nofollow attribute to links in the list"
422
  msgstr ""
423
 
424
+ #: admin/main-view.php:370
425
  msgid "Exclusion settings:"
426
  msgstr ""
427
 
428
+ #: admin/main-view.php:372
429
  msgid "Exclude display of related posts on these posts / pages"
430
  msgstr ""
431
 
432
+ #: admin/main-view.php:378
433
  msgid "Exclude display of related posts on these post types."
434
  msgstr ""
435
 
436
+ #: admin/main-view.php:385
437
  msgid ""
438
  "The related posts will not display on any of the above selected post types"
439
  msgstr ""
440
 
441
+ #: admin/main-view.php:415
442
  msgid "Customize the output:"
443
  msgstr ""
444
 
445
+ #: admin/main-view.php:417
446
  msgid "HTML to display before the list of posts: "
447
  msgstr ""
448
 
449
+ #: admin/main-view.php:420
450
  msgid "HTML to display before each list item: "
451
  msgstr ""
452
 
453
+ #: admin/main-view.php:423
454
  msgid "HTML to display after each list item: "
455
  msgstr ""
456
 
457
+ #: admin/main-view.php:426
458
  msgid "HTML to display after the list of posts: "
459
  msgstr ""
460
 
461
+ #: admin/main-view.php:467 admin/main-view.php:725
462
  msgid "Location of post thumbnail:"
463
  msgstr ""
464
 
465
+ #: admin/main-view.php:471 admin/main-view.php:729
466
  msgid "Display thumbnails inline with posts, before title"
467
  msgstr ""
468
 
469
+ #: admin/main-view.php:476 admin/main-view.php:733
470
  msgid "Display thumbnails inline with posts, after title"
471
  msgstr ""
472
 
473
+ #: admin/main-view.php:481 admin/main-view.php:737
474
  msgid "Display only thumbnails, no text"
475
  msgstr ""
476
 
477
+ #: admin/main-view.php:486 admin/main-view.php:741
478
  msgid "Do not display thumbnails, only text."
479
  msgstr ""
480
 
481
+ #: admin/main-view.php:490
482
+ #, php-format
483
  msgid ""
484
  "This setting cannot be changed because an inbuilt style has been selected "
485
  "under the Styles section. If you would like to change this option, please "
486
+ "select %1$s under the Styles section."
487
+ msgstr ""
488
+
489
+ #: admin/main-view.php:490 admin/main-view.php:637
490
+ msgid "No styles"
491
  msgstr ""
492
 
493
+ #: admin/main-view.php:494
494
  msgid "Thumbnail size:"
495
  msgstr ""
496
 
497
+ #: admin/main-view.php:519
498
  msgid "Custom size"
499
  msgstr ""
500
 
501
+ #: admin/main-view.php:522
502
  msgid "You can choose from existing image sizes above or create a custom size."
503
  msgstr ""
504
 
505
+ #: admin/main-view.php:523
506
  msgid ""
507
  "If you choose an existing size, then the width, height and crop mode "
508
  "settings in the three options below will be automatically updated to reflect "
509
  "the correct dimensions of the setting."
510
  msgstr ""
511
 
512
+ #: admin/main-view.php:524
513
  msgid ""
514
  "If you have chosen Custom size above, then enter the width, height and crop "
515
  "settings below. For best results, use a cropped image with the same width "
516
  "and height. The default setting is 150x150 cropped image."
517
  msgstr ""
518
 
519
+ #: admin/main-view.php:525
520
  msgid ""
521
  "Any changes to the thumbnail settings doesn't automatically resize existing "
522
  "images."
523
  msgstr ""
524
 
525
+ #: admin/main-view.php:527
526
  #, php-format
527
+ msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
 
 
 
528
  msgstr ""
529
 
530
+ #: admin/main-view.php:534
531
  msgid "Width of the thumbnail:"
532
  msgstr ""
533
 
534
+ #: admin/main-view.php:537
535
  msgid "Height of the thumbnail: "
536
  msgstr ""
537
 
538
+ #: admin/main-view.php:542
539
  msgid "Crop mode:"
540
  msgstr ""
541
 
542
+ #: admin/main-view.php:546
543
  msgid ""
544
  "By default, thumbnails will be hard cropped. Uncheck this box to "
545
  "proportionately/soft crop the thumbnails."
546
  msgstr ""
547
 
548
+ #: admin/main-view.php:550
 
 
 
 
 
549
  msgid "Image size attributes:"
550
  msgstr ""
551
 
 
 
 
 
552
  #: admin/main-view.php:554
553
+ msgid "Style attributes. e.g."
554
  msgstr ""
555
 
556
  #: admin/main-view.php:560
557
+ msgid "HTML width and height attributes. e.g."
558
+ msgstr ""
559
+
560
+ #: admin/main-view.php:566
561
+ msgid "No HTML or Style attributes"
562
  msgstr ""
563
 
564
+ #: admin/main-view.php:571
565
  msgid "Post thumbnail meta field name:"
566
  msgstr ""
567
 
568
+ #: admin/main-view.php:573
569
+ #, php-format
570
  msgid ""
571
  "The value of this field should contain a direct link to the image. This is "
572
+ "set in the meta box in the %1$s screen."
573
+ msgstr ""
574
+
575
+ #: admin/main-view.php:573
576
+ msgid "Add New Post"
577
  msgstr ""
578
 
579
+ #: admin/main-view.php:576
580
  msgid "Extract the first image from the post?"
581
  msgstr ""
582
 
583
+ #: admin/main-view.php:578
584
  msgid ""
585
  "This will only happen if there is no post thumbnail set and no image URL is "
586
  "specified in the meta field."
587
  msgstr ""
588
 
589
+ #: admin/main-view.php:581
590
  msgid "Use default thumbnail?"
591
  msgstr ""
592
 
593
+ #: admin/main-view.php:583
594
  msgid ""
595
  "If checked, when no thumbnail is found, show a default one from the URL "
596
  "below. If not checked and no thumbnail is found, no image will be shown."
597
  msgstr ""
598
 
599
+ #: admin/main-view.php:586
600
  msgid "Default thumbnail:"
601
  msgstr ""
602
 
603
+ #: admin/main-view.php:593
604
  msgid ""
605
  "The plugin will first check if the post contains a thumbnail. If it doesn't "
606
  "then it will check the meta field. If this is not available, then it will "
607
  "show the default image as specified above."
608
  msgstr ""
609
 
610
+ #: admin/main-view.php:634
611
  msgid "Style of the related posts:"
612
  msgstr ""
613
 
614
+ #: admin/main-view.php:639
 
 
 
 
615
  msgid "Select this option if you plan to add your own styles"
616
  msgstr ""
617
 
618
+ #: admin/main-view.php:643
619
  msgid "Rounded Thumbnails"
620
  msgstr ""
621
 
622
+ #: admin/main-view.php:646
623
  msgid ""
624
  "Enabling this option will turn on the thumbnails and set their width and "
625
  "height to 150px. It will also turn off the display of the author, excerpt "
627
  "settings."
628
  msgstr ""
629
 
630
+ #: admin/main-view.php:648
631
  #, php-format
632
+ msgid "You can view the default style at %s"
 
633
  msgstr ""
634
 
635
+ #: admin/main-view.php:654
636
  msgid "Text only"
637
  msgstr ""
638
 
639
+ #: admin/main-view.php:656
640
  msgid ""
641
  "Enabling this option will disable thumbnails and no longer include the "
642
  "default style sheet included in the plugin."
643
  msgstr ""
644
 
645
+ #: admin/main-view.php:671
646
  msgid "Custom CSS to add to header:"
647
  msgstr ""
648
 
649
+ #: admin/main-view.php:676
650
+ #, php-format
651
  msgid ""
652
+ "Do not include %1$s tags. Check out the %2$s for available CSS classes to "
653
+ "style."
 
654
  msgstr ""
655
 
656
+ #: admin/main-view.php:717
657
  msgid ""
658
  "Below options override the related posts settings for your blog feed. These "
659
  "only apply if you have selected to add related posts to Feeds in the General "
660
  "Options tab."
661
  msgstr ""
662
 
663
+ #: admin/main-view.php:745
664
  msgid "Maximum width of the thumbnail: "
665
  msgstr ""
666
 
667
+ #: admin/main-view.php:748
668
  msgid "Maximum height of the thumbnail: "
669
  msgstr ""
670
 
671
+ #: admin/main-view.php:783
672
  msgid "Default Options"
673
  msgstr ""
674
 
675
+ #: admin/main-view.php:783
676
  msgid "Do you want to set options to Default?"
677
  msgstr ""
678
 
679
+ #: admin/main-view.php:784
680
  msgid "Recreate Index"
681
  msgstr ""
682
 
683
+ #: admin/main-view.php:784
684
  msgid "Are you sure you want to recreate the index?"
685
  msgstr ""
686
 
687
+ #: admin/main-view.php:789
688
+ #, php-format
689
  msgid ""
690
+ "One or more FULLTEXT indices are missing. Please hit the %1$s at the bottom "
691
+ "of the page to fix this."
 
692
  msgstr ""
693
 
694
+ #: admin/main-view.php:789
695
+ msgid "Recreate Index button"
696
  msgstr ""
697
 
698
+ #: admin/main-view.php:794
699
  msgid ""
700
+ "If the Recreate Index button fails, please run the following queries in "
701
+ "phpMyAdmin or Adminer"
 
702
  msgstr ""
703
 
704
+ #: admin/metabox.php:104
705
+ msgid "Disable Related Posts display:"
706
  msgstr ""
707
 
708
+ #: admin/metabox.php:107
709
  msgid ""
710
+ "If this is checked, then Contextual Related Posts will not automatically "
711
+ "insert the related posts at the end of post content."
 
712
  msgstr ""
713
 
714
+ #: admin/metabox.php:111
715
+ msgid "Exclude this post from the related posts list:"
716
  msgstr ""
717
 
718
+ #: admin/metabox.php:114
719
  msgid ""
720
+ "If this is checked, then this post will be excluded from the popular posts "
721
+ "list."
722
  msgstr ""
723
 
724
+ #: admin/metabox.php:118 admin/metabox.php:126
725
  msgid "Manual related posts:"
726
  msgstr ""
727
 
728
+ #: admin/metabox.php:120
729
  msgid ""
730
  "Comma separated list of post, page or custom post type IDs. e.g. "
731
  "188,320,500. These will be given preference over the related posts generated "
732
  "by the plugin."
733
  msgstr ""
734
 
735
+ #: admin/metabox.php:121
736
  msgid ""
737
  "Once you enter the list above and save this page, the plugin will display "
738
  "the titles of the posts below for your reference. Only IDs corresponding to "
739
  "published posts or custom post types will be retained."
740
  msgstr ""
741
 
742
+ #: admin/metabox.php:136
743
+ #, php-format
744
+ msgid "This post type is: %s"
745
+ msgstr ""
746
+
747
+ #: admin/metabox.php:147
748
+ msgid "Location of thumbnail"
749
+ msgstr ""
750
+
751
+ #: admin/metabox.php:149
752
+ msgid ""
753
+ "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
754
+ "image will be used for the post. It will be resized to the thumbnail size "
755
+ "set under Settings &raquo; Related Posts &raquo; Output Options"
756
+ msgstr ""
757
+
758
+ #: admin/metabox.php:150
759
+ msgid "The URL above is saved in the meta field:"
760
+ msgstr ""
761
+
762
+ #: admin/metabox.php:155
763
+ msgid ""
764
+ "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
765
+ "thumbnail, then you'll need to make the same change in the Top 10 meta box "
766
+ "on this page."
767
  msgstr ""
768
 
769
  #: admin/sidebar-view.php:20
783
  msgstr ""
784
 
785
  #: admin/sidebar-view.php:41
786
+ msgid "Quick links"
787
  msgstr ""
788
 
789
+ #: admin/sidebar-view.php:45
790
+ msgid "WebberZone"
791
  msgstr ""
792
 
793
+ #: admin/sidebar-view.php:46
794
  msgid "Plugin homepage"
795
  msgstr ""
796
 
797
+ #: admin/sidebar-view.php:47
798
  msgid "FAQ"
799
  msgstr ""
800
 
801
+ #: admin/sidebar-view.php:49
802
  msgid "Reviews"
803
  msgstr ""
804
 
805
+ #: admin/sidebar-view.php:50
806
  msgid "Github repository"
807
  msgstr ""
808
 
809
+ #: admin/sidebar-view.php:51
810
  msgid "Other plugins"
811
  msgstr ""
812
 
813
+ #: admin/sidebar-view.php:52
814
  msgid "Ajay's blog"
815
  msgstr ""
816
 
817
+ #: admin/sidebar-view.php:59
818
+ msgid "Follow us"
819
+ msgstr ""
820
+
821
+ #: contextual-related-posts.php:262
822
  #, php-format
823
  msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
824
  msgstr ""
825
 
826
+ #: contextual-related-posts.php:816
827
  msgid "<h3>Related Posts:</h3>"
828
  msgstr ""
829
 
830
+ #: contextual-related-posts.php:818
831
  msgid "No related posts found"
832
  msgstr ""
833
 
834
+ #: includes/media.php:65
835
+ msgid "thumb_timthumb argument has been deprecated"
836
+ msgstr ""
837
+
838
+ #: includes/media.php:69
839
+ msgid "thumb_timthumb_q argument has been deprecated"
840
+ msgstr ""
841
+
842
+ #: includes/media.php:73
843
+ msgid "filter argument has been deprecated"
844
+ msgstr ""
845
+
846
+ #: includes/modules/class-crp-widget.php:32
847
  msgid "Related Posts [CRP]"
848
  msgstr ""
849
 
850
+ #: includes/modules/class-crp-widget.php:33
851
  msgid "Display Related Posts"
852
  msgstr ""
853
 
854
+ #: includes/modules/class-crp-widget.php:69
855
  msgid "Title"
856
  msgstr ""
857
 
858
+ #: includes/modules/class-crp-widget.php:74
859
  msgid "No. of posts"
860
  msgstr ""
861
 
862
+ #: includes/modules/class-crp-widget.php:79
863
+ msgid "Offset"
864
+ msgstr ""
865
+
866
+ #: includes/modules/class-crp-widget.php:84
867
  msgid " Show excerpt?"
868
  msgstr ""
869
 
870
+ #: includes/modules/class-crp-widget.php:89
871
  msgid " Show author?"
872
  msgstr ""
873
 
874
+ #: includes/modules/class-crp-widget.php:94
875
  msgid " Show date?"
876
  msgstr ""
877
 
878
+ #: includes/modules/class-crp-widget.php:100
879
  msgid "Thumbnails inline, before title"
880
  msgstr ""
881
 
882
+ #: includes/modules/class-crp-widget.php:101
883
  msgid "Thumbnails inline, after title"
884
  msgstr ""
885
 
886
+ #: includes/modules/class-crp-widget.php:102
887
  msgid "Only thumbnails, no text"
888
  msgstr ""
889
 
890
+ #: includes/modules/class-crp-widget.php:103
891
  msgid "No thumbnails, only text."
892
  msgstr ""
893
 
894
+ #: includes/modules/class-crp-widget.php:108
895
  msgid "Thumbnail height"
896
  msgstr ""
897
 
898
+ #: includes/modules/class-crp-widget.php:113
899
  msgid "Thumbnail width"
900
  msgstr ""
901
 
902
+ #: includes/modules/class-crp-widget.php:117
903
+ msgid "Post types to include"
 
 
 
 
 
 
 
 
 
 
 
 
904
  msgstr ""
905
 
906
+ #: includes/output-generator.php:239
907
  msgid " by "
908
  msgstr ""
languages/contextual-related-posts-es_ES.mo DELETED
Binary file
languages/contextual-related-posts-es_ES.po DELETED
@@ -1,1012 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Contextual Related Posts\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-27 13:34+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
- "Language-Team: \n"
9
- "Language: es_ES\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "X-Generator: Poedit 1.8.4\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
-
19
- #: admin/admin.php:191
20
- msgid "Options saved successfully. If enabled, the cache has been cleared."
21
- msgstr ""
22
-
23
- #: admin/admin.php:194
24
- msgid ""
25
- "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
26
- "displayed."
27
- msgstr ""
28
-
29
- #: admin/admin.php:197
30
- msgid "Text Only style selected. Thumbnails will not be displayed."
31
- msgstr ""
32
-
33
- #: admin/admin.php:200
34
- #, php-format
35
- msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
36
- msgstr ""
37
-
38
- #: admin/admin.php:224
39
- msgid "Options set to Default."
40
- msgstr "Restablecer opciones originales"
41
-
42
- #: admin/admin.php:233
43
- msgid "Index recreated"
44
- msgstr "Recrear el Index"
45
-
46
- #: admin/admin.php:250
47
- msgid "Related Posts"
48
- msgstr "Post Relacionados"
49
-
50
- #: admin/cache.php:42
51
- msgid ""
52
- "An error occurred clearing the cache. Please contact your site administrator."
53
- "\\n\\nError message:\\n"
54
- msgstr ""
55
-
56
- #: admin/cache.php:47
57
- msgid " cached row(s) cleared"
58
- msgstr ""
59
-
60
- #: admin/loader.php:24
61
- msgid "Settings"
62
- msgstr "Opciones"
63
-
64
- #: admin/loader.php:46 admin/sidebar-view.php:72
65
- msgid "Support"
66
- msgstr "Soporte"
67
-
68
- #: admin/loader.php:47
69
- msgid "Donate"
70
- msgstr "Donar"
71
-
72
- #: admin/loader.php:48
73
- msgid "Contribute"
74
- msgstr ""
75
-
76
- #: admin/loader.php:64
77
- #, fuzzy
78
- msgid "plugin settings page"
79
- msgstr "sitio del plugin"
80
-
81
- #: admin/main-view.php:32 admin/main-view.php:55
82
- msgid "General options"
83
- msgstr ""
84
-
85
- #: admin/main-view.php:33 admin/main-view.php:142
86
- msgid "List tuning options"
87
- msgstr ""
88
-
89
- #: admin/main-view.php:34 admin/main-view.php:249
90
- #, fuzzy
91
- msgid "Output options"
92
- msgstr "Opciones de Salida:"
93
-
94
- #: admin/main-view.php:35 admin/main-view.php:453
95
- #: includes/class-crp-widget.php:93
96
- #, fuzzy
97
- msgid "Thumbnail options"
98
- msgstr "Opciones de miniaturas en el post:"
99
-
100
- #: admin/main-view.php:36 admin/main-view.php:608
101
- msgid "Styles"
102
- msgstr ""
103
-
104
- #: admin/main-view.php:37 admin/main-view.php:686
105
- #, fuzzy
106
- msgid "Feed options"
107
- msgstr "Opciones:"
108
-
109
- #: admin/main-view.php:71
110
- msgid "Cache output?"
111
- msgstr ""
112
-
113
- #: admin/main-view.php:73
114
- msgid ""
115
- "Enabling this option will cache the related posts output when the post is "
116
- "visited the first time. The cache is cleaned when you save this page."
117
- msgstr ""
118
-
119
- #: admin/main-view.php:74
120
- msgid ""
121
- "The CRP cache works independently and in addition to any of your caching "
122
- "plugins like WP Super Cache or W3 Total Cache. It is recommended that you "
123
- "enable this on your blog."
124
- msgstr ""
125
-
126
- #: admin/main-view.php:75
127
- msgid "Clear cache"
128
- msgstr ""
129
-
130
- #: admin/main-view.php:79
131
- msgid "Automatically add related posts to:"
132
- msgstr ""
133
-
134
- #: admin/main-view.php:81
135
- msgid "Posts"
136
- msgstr ""
137
-
138
- #: admin/main-view.php:82
139
- msgid "Pages"
140
- msgstr ""
141
-
142
- #: admin/main-view.php:83
143
- msgid "Home page"
144
- msgstr ""
145
-
146
- #: admin/main-view.php:84
147
- msgid "Feeds"
148
- msgstr ""
149
-
150
- #: admin/main-view.php:85
151
- msgid "Category archives"
152
- msgstr ""
153
-
154
- #: admin/main-view.php:86
155
- msgid "Tag archives"
156
- msgstr ""
157
-
158
- #: admin/main-view.php:87
159
- msgid "Other archives"
160
- msgstr ""
161
-
162
- #: admin/main-view.php:88
163
- #, fuzzy
164
- msgid ""
165
- "If you choose to disable this, please add <code>&lt;?php if "
166
- "( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your "
167
- "template file where you want it displayed"
168
- msgstr ""
169
- "Agregar posts relacionados a páginas. <br />Si eliges desabilitar esto, por "
170
- "favor agrega <code>&lt;?php if(function_exists('echo_ald_crp')) "
171
- "echo_ald_crp(); ?&gt;</code> a tu archivo de template donde quieras q se "
172
- "muestre"
173
-
174
- #: admin/main-view.php:92
175
- msgid "Display location priority:"
176
- msgstr ""
177
-
178
- #: admin/main-view.php:95
179
- msgid ""
180
- "If you select to automatically add the related posts, CRP will hook into the "
181
- "Content Filter at a priority as specified in this option."
182
- msgstr ""
183
-
184
- #: admin/main-view.php:96
185
- msgid ""
186
- "A higher number will cause the related posts to be processed later and move "
187
- "their display further down after the post content. Any number below 10 is "
188
- "not recommended."
189
- msgstr ""
190
-
191
- #: admin/main-view.php:100
192
- msgid "Show metabox:"
193
- msgstr ""
194
-
195
- #: admin/main-view.php:103
196
- msgid ""
197
- "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
198
- "Posts screens. Also applies to Pages and Custom Post Types."
199
- msgstr ""
200
-
201
- #: admin/main-view.php:107
202
- msgid "Limit metabox to Admins only:"
203
- msgstr ""
204
-
205
- #: admin/main-view.php:110
206
- msgid ""
207
- "If this is selected, the metabox will be hidden from anyone who is not an "
208
- "Admin. Otherwise, by default, Contributors and above will be able to see the "
209
- "metabox. This applies only if the above option is selected."
210
- msgstr ""
211
-
212
- #: admin/main-view.php:114
213
- #, fuzzy
214
- msgid "Tell the world you're using Contextual Related Posts:"
215
- msgstr "Posts Relacionados Contextualmente"
216
-
217
- #: admin/main-view.php:116
218
- msgid " <em>Optional</em>"
219
- msgstr ""
220
-
221
- #: admin/main-view.php:117
222
- #, fuzzy
223
- msgid ""
224
- "Adds a nofollow link to Contextual Related Posts homepage as the last time "
225
- "in the list."
226
- msgstr "Posts relacionados contextualmente"
227
-
228
- #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
229
- #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
230
- #: admin/main-view.php:767
231
- #, fuzzy
232
- msgid "Save Options"
233
- msgstr "Opciones:"
234
-
235
- #: admin/main-view.php:158 admin/main-view.php:704
236
- msgid "Number of related posts to display: "
237
- msgstr "Número de posts relacionados a mostrar:"
238
-
239
- #: admin/main-view.php:161
240
- msgid ""
241
- "Maximum number of posts that will be displayed. The actual number may be "
242
- "smaller if less related posts are found."
243
- msgstr ""
244
-
245
- #: admin/main-view.php:165
246
- msgid "Related posts should be newer than:"
247
- msgstr ""
248
-
249
- #: admin/main-view.php:167
250
- msgid "days"
251
- msgstr ""
252
-
253
- #: admin/main-view.php:168
254
- msgid ""
255
- "This sets the cutoff period for which posts will be displayed. e.g. setting "
256
- "it to 365 will show related posts from the last year only. Set to 0 to "
257
- "disable limiting posts by date."
258
- msgstr ""
259
-
260
- #: admin/main-view.php:172
261
- msgid "Find related posts based on content as well as title:"
262
- msgstr ""
263
-
264
- #: admin/main-view.php:174
265
- msgid ""
266
- "If unchecked, only posts titles are used. I recommend using a caching plugin "
267
- "or enabling \"Cache output\" above if you enable this. Each site is "
268
- "different, so toggle this option to see which setting gives you better "
269
- "quality related posts."
270
- msgstr ""
271
-
272
- #: admin/main-view.php:178
273
- msgid "Limit content to be compared:"
274
- msgstr ""
275
-
276
- #: admin/main-view.php:180
277
- msgid ""
278
- "This sets the maximum words of the content that will be matched. Set to 0 "
279
- "for no limit. Only applies if you active the above option."
280
- msgstr ""
281
-
282
- #: admin/main-view.php:184
283
- msgid "Post types to include in results:"
284
- msgstr ""
285
-
286
- #: admin/main-view.php:191
287
- msgid ""
288
- "These post types will be displayed in the list. Includes custom post types."
289
- msgstr ""
290
-
291
- #: admin/main-view.php:195
292
- msgid "List of post or page IDs to exclude from the results:"
293
- msgstr ""
294
-
295
- #: admin/main-view.php:197 admin/main-view.php:377
296
- msgid ""
297
- "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
298
- msgstr ""
299
-
300
- #: admin/main-view.php:201
301
- msgid "Categories to exclude from the results: "
302
- msgstr ""
303
-
304
- #: admin/main-view.php:213
305
- msgid ""
306
- "Comma separated list of category slugs. The field above has an autocomplete "
307
- "so simply start typing in the beginning of your category name and it will "
308
- "prompt you with options."
309
- msgstr ""
310
-
311
- #: admin/main-view.php:216
312
- msgid "Excluded category IDs are:"
313
- msgstr ""
314
-
315
- #: admin/main-view.php:222
316
- msgid ""
317
- "These might differ from the IDs visible in the Categories page which use the "
318
- "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
319
- "unique to this taxonomy."
320
- msgstr ""
321
-
322
- #: admin/main-view.php:265
323
- msgid "Title of related posts:"
324
- msgstr ""
325
-
326
- #: admin/main-view.php:268
327
- msgid ""
328
- "This is the main heading of the related posts. You can also display the "
329
- "current post title by using <code>%postname%</code>. e.g. <code>Related "
330
- "Posts to %postname%</code>"
331
- msgstr ""
332
-
333
- #: admin/main-view.php:272
334
- msgid "When there are no posts, what should be shown?"
335
- msgstr "Cuando no hay posts, ¿Qué se debe mostrar?"
336
-
337
- #: admin/main-view.php:276
338
- msgid "Blank Output"
339
- msgstr "Salida vacía"
340
-
341
- #: admin/main-view.php:281
342
- msgid "Display:"
343
- msgstr ""
344
-
345
- #: admin/main-view.php:287 admin/main-view.php:707
346
- msgid "Show post excerpt in list?"
347
- msgstr "¿Mostrar extracto con los items?"
348
-
349
- #: admin/main-view.php:290
350
- #, php-format
351
- msgid ""
352
- "Displays the excerpt of the post. If you do not provide an explicit excerpt "
353
- "to a post (in the post editor's optional excerpt field), it will display an "
354
- "automatic excerpt which refers to the first %d words of the post's content"
355
- msgstr ""
356
-
357
- #: admin/main-view.php:293
358
- msgid ""
359
- "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
360
- "is disabled."
361
- msgstr ""
362
-
363
- #: admin/main-view.php:298
364
- msgid "Length of excerpt (in words):"
365
- msgstr ""
366
-
367
- #: admin/main-view.php:304
368
- #, fuzzy
369
- msgid "Show post author in list?"
370
- msgstr "¿Mostrar extracto con los items?"
371
-
372
- #: admin/main-view.php:307
373
- msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
374
- msgstr ""
375
-
376
- #: admin/main-view.php:310
377
- msgid ""
378
- "Rounded Thumbnails style selected under the Custom Styles. Author display is "
379
- "disabled."
380
- msgstr ""
381
-
382
- #: admin/main-view.php:315
383
- #, fuzzy
384
- msgid "Show post date in list?"
385
- msgstr "¿Mostrar extracto con los items?"
386
-
387
- #: admin/main-view.php:318
388
- msgid ""
389
- "Displays the date of the post. Uses the same date format set in General "
390
- "Options"
391
- msgstr ""
392
-
393
- #: admin/main-view.php:321
394
- msgid ""
395
- "Rounded Thumbnails style selected under the Custom Styles. Date display is "
396
- "disabled."
397
- msgstr ""
398
-
399
- #: admin/main-view.php:326
400
- msgid "Limit post title length (in characters)"
401
- msgstr ""
402
-
403
- #: admin/main-view.php:329
404
- msgid ""
405
- "Any title longer than the number of characters set above will be cut and "
406
- "appended with an ellipsis (&hellip;)"
407
- msgstr ""
408
-
409
- #: admin/main-view.php:333
410
- msgid "Open links in new window"
411
- msgstr ""
412
-
413
- #: admin/main-view.php:339
414
- msgid "Add nofollow attribute to links in the list"
415
- msgstr ""
416
-
417
- #: admin/main-view.php:372
418
- #, fuzzy
419
- msgid "Exclusion settings:"
420
- msgstr "sitio del plugin"
421
-
422
- #: admin/main-view.php:374
423
- #, fuzzy
424
- msgid "Exclude display of related posts on these posts / pages"
425
- msgstr "Agregar posts relacionados al feed"
426
-
427
- #: admin/main-view.php:380
428
- #, fuzzy
429
- msgid "Exclude display of related posts on these post types."
430
- msgstr "Agregar posts relacionados al feed"
431
-
432
- #: admin/main-view.php:387
433
- msgid ""
434
- "The related posts will not display on any of the above selected post types"
435
- msgstr ""
436
-
437
- #: admin/main-view.php:417
438
- msgid "Customize the output:"
439
- msgstr "Personalizar la salida:"
440
-
441
- #: admin/main-view.php:419
442
- msgid "HTML to display before the list of posts: "
443
- msgstr "HTML a mostrar antes de todos los items:"
444
-
445
- #: admin/main-view.php:422
446
- msgid "HTML to display before each list item: "
447
- msgstr "HTML a mostrar antes de cada item:"
448
-
449
- #: admin/main-view.php:425
450
- msgid "HTML to display after each list item: "
451
- msgstr "HTML a mostrar despues de cada item:"
452
-
453
- #: admin/main-view.php:428
454
- msgid "HTML to display after the list of posts: "
455
- msgstr "HTML a mostrar despues de todos los items:"
456
-
457
- #: admin/main-view.php:469 admin/main-view.php:710
458
- msgid "Location of post thumbnail:"
459
- msgstr ""
460
-
461
- #: admin/main-view.php:473 admin/main-view.php:714
462
- #, fuzzy
463
- msgid "Display thumbnails inline with posts, before title"
464
- msgstr "Miniaturas en línea con los posts"
465
-
466
- #: admin/main-view.php:477 admin/main-view.php:718
467
- #, fuzzy
468
- msgid "Display thumbnails inline with posts, after title"
469
- msgstr "Miniaturas en línea con los posts"
470
-
471
- #: admin/main-view.php:481 admin/main-view.php:722
472
- msgid "Display only thumbnails, no text"
473
- msgstr "Solo miniaturas, sin texto"
474
-
475
- #: admin/main-view.php:485 admin/main-view.php:726
476
- msgid "Do not display thumbnails, only text."
477
- msgstr "No mostrar miniaturas, solo texto."
478
-
479
- #: admin/main-view.php:488
480
- msgid ""
481
- "This setting cannot be changed because an inbuilt style has been selected "
482
- "under the Styles section. If you would like to change this option, please "
483
- "select <strong>No styles</strong> under the Styles section."
484
- msgstr ""
485
-
486
- #: admin/main-view.php:492
487
- msgid "Thumbnail size:"
488
- msgstr ""
489
-
490
- #: admin/main-view.php:516
491
- msgid "Custom size"
492
- msgstr ""
493
-
494
- #: admin/main-view.php:519
495
- msgid "You can choose from existing image sizes above or create a custom size."
496
- msgstr ""
497
-
498
- #: admin/main-view.php:520
499
- msgid ""
500
- "If you choose an existing size, then the width, height and crop mode "
501
- "settings in the three options below will be automatically updated to reflect "
502
- "the correct dimensions of the setting."
503
- msgstr ""
504
-
505
- #: admin/main-view.php:521
506
- msgid ""
507
- "If you have chosen Custom size above, then enter the width, height and crop "
508
- "settings below. For best results, use a cropped image with the same width "
509
- "and height. The default setting is 150x150 cropped image."
510
- msgstr ""
511
-
512
- #: admin/main-view.php:522
513
- msgid ""
514
- "Any changes to the thumbnail settings doesn't automatically resize existing "
515
- "images."
516
- msgstr ""
517
-
518
- #: admin/main-view.php:523
519
- #, php-format
520
- msgid ""
521
- "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
522
- "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
523
- "all image sizes."
524
- msgstr ""
525
-
526
- #: admin/main-view.php:527
527
- msgid "Width of the thumbnail:"
528
- msgstr ""
529
-
530
- #: admin/main-view.php:530
531
- msgid "Height of the thumbnail: "
532
- msgstr ""
533
-
534
- #: admin/main-view.php:535
535
- msgid "Crop mode:"
536
- msgstr ""
537
-
538
- #: admin/main-view.php:539
539
- msgid ""
540
- "By default, thumbnails will be hard cropped. Uncheck this box to "
541
- "proportionately/soft crop the thumbnails."
542
- msgstr ""
543
-
544
- #: admin/main-view.php:540
545
- #, php-format
546
- msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
547
- msgstr ""
548
-
549
- #: admin/main-view.php:544
550
- msgid "Image size attributes:"
551
- msgstr ""
552
-
553
- #: admin/main-view.php:548
554
- msgid "Style attributes are used for width and height."
555
- msgstr ""
556
-
557
- #: admin/main-view.php:554
558
- msgid "HTML width and height attributes are used for width and height."
559
- msgstr ""
560
-
561
- #: admin/main-view.php:560
562
- msgid "No HTML or Style attributes set for width and height"
563
- msgstr ""
564
-
565
- #: admin/main-view.php:565
566
- #, fuzzy
567
- msgid "Post thumbnail meta field name:"
568
- msgstr "Opciones de miniaturas en el post:"
569
-
570
- #: admin/main-view.php:567
571
- msgid ""
572
- "The value of this field should contain a direct link to the image. This is "
573
- "set in the meta box in the <em>Add New Post</em> screen."
574
- msgstr ""
575
-
576
- #: admin/main-view.php:570
577
- msgid "Extract the first image from the post?"
578
- msgstr ""
579
-
580
- #: admin/main-view.php:572
581
- msgid ""
582
- "This will only happen if there is no post thumbnail set and no image URL is "
583
- "specified in the meta field."
584
- msgstr ""
585
-
586
- #: admin/main-view.php:575
587
- msgid "Use default thumbnail?"
588
- msgstr ""
589
-
590
- #: admin/main-view.php:577
591
- msgid ""
592
- "If checked, when no thumbnail is found, show a default one from the URL "
593
- "below. If not checked and no thumbnail is found, no image will be shown."
594
- msgstr ""
595
-
596
- #: admin/main-view.php:580
597
- #, fuzzy
598
- msgid "Default thumbnail:"
599
- msgstr "Opciones de Salida:"
600
-
601
- #: admin/main-view.php:583
602
- #, fuzzy
603
- msgid ""
604
- "The plugin will first check if the post contains a thumbnail. If it doesn't "
605
- "then it will check the meta field. If this is not available, then it will "
606
- "show the default image as specified above."
607
- msgstr ""
608
- "El plugin primero verificará si el post contiene miniaturas. Si no tiene "
609
- "ninguno verificará el campo meta. Si no está disponible, entonces mostrará "
610
- "la imágen padrón especificada a continuación:"
611
-
612
- #: admin/main-view.php:624
613
- msgid "Style of the related posts:"
614
- msgstr ""
615
-
616
- #: admin/main-view.php:627
617
- msgid "No styles"
618
- msgstr ""
619
-
620
- #: admin/main-view.php:629
621
- msgid "Select this option if you plan to add your own styles"
622
- msgstr ""
623
-
624
- #: admin/main-view.php:633
625
- msgid "Rounded Thumbnails"
626
- msgstr ""
627
-
628
- #: admin/main-view.php:636
629
- msgid ""
630
- "Enabling this option will turn on the thumbnails and set their width and "
631
- "height to 150px. It will also turn off the display of the author, excerpt "
632
- "and date if already enabled. Disabling this option will not revert any "
633
- "settings."
634
- msgstr ""
635
-
636
- #: admin/main-view.php:637
637
- #, php-format
638
- msgid ""
639
- "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
640
- msgstr ""
641
-
642
- #: admin/main-view.php:641
643
- msgid "Text only"
644
- msgstr ""
645
-
646
- #: admin/main-view.php:643
647
- msgid ""
648
- "Enabling this option will disable thumbnails and no longer include the "
649
- "default style sheet included in the plugin."
650
- msgstr ""
651
-
652
- #: admin/main-view.php:658
653
- msgid "Custom CSS to add to header:"
654
- msgstr ""
655
-
656
- #: admin/main-view.php:662
657
- msgid ""
658
- "Do not include <code>style</code> tags. Check out the <a href=\"http://"
659
- "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
660
- "\">FAQ</a> for available CSS classes to style."
661
- msgstr ""
662
-
663
- #: admin/main-view.php:702
664
- msgid ""
665
- "Below options override the related posts settings for your blog feed. These "
666
- "only apply if you have selected to add related posts to Feeds in the General "
667
- "Options tab."
668
- msgstr ""
669
-
670
- #: admin/main-view.php:730
671
- msgid "Maximum width of the thumbnail: "
672
- msgstr ""
673
-
674
- #: admin/main-view.php:733
675
- msgid "Maximum height of the thumbnail: "
676
- msgstr ""
677
-
678
- #: admin/main-view.php:768
679
- #, fuzzy
680
- msgid "Default Options"
681
- msgstr "Opciones de Salida:"
682
-
683
- #: admin/main-view.php:768
684
- msgid "Do you want to set options to Default?"
685
- msgstr "¿Quieres resetear las opciones?"
686
-
687
- #: admin/main-view.php:769
688
- msgid "Recreate Index"
689
- msgstr ""
690
-
691
- #: admin/main-view.php:769
692
- msgid "Are you sure you want to recreate the index?"
693
- msgstr "¿Está seguro que quiere recrear el index?"
694
-
695
- #: admin/main-view.php:774
696
- msgid ""
697
- "One or more FULLTEXT indices are missing. Please hit the <a href="
698
- "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
699
- "this."
700
- msgstr ""
701
-
702
- #: admin/metabox.php:98
703
- msgid "Location of thumbnail:"
704
- msgstr ""
705
-
706
- #: admin/metabox.php:100
707
- msgid ""
708
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
709
- "image will be used for the post. It will be resized to the thumbnail size "
710
- "set under Settings &raquo; Related Posts &raquo; Output Options"
711
- msgstr ""
712
-
713
- #: admin/metabox.php:101
714
- msgid "The URL above is saved in the meta field:"
715
- msgstr ""
716
-
717
- #: admin/metabox.php:106
718
- msgid ""
719
- "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
720
- "thumbnail, then you'll need to make the same change in the Top 10 meta box "
721
- "on this page."
722
- msgstr ""
723
-
724
- #: admin/metabox.php:117
725
- msgid "Disable Related Posts display:"
726
- msgstr ""
727
-
728
- #: admin/metabox.php:120
729
- msgid ""
730
- "If this is checked, then Contextual Related Posts will not automatically "
731
- "insert the related posts at the end of post content."
732
- msgstr ""
733
-
734
- #: admin/metabox.php:125 admin/metabox.php:133
735
- msgid "Manual related posts:"
736
- msgstr ""
737
-
738
- #: admin/metabox.php:127
739
- msgid ""
740
- "Comma separated list of post, page or custom post type IDs. e.g. "
741
- "188,320,500. These will be given preference over the related posts generated "
742
- "by the plugin."
743
- msgstr ""
744
-
745
- #: admin/metabox.php:128
746
- msgid ""
747
- "Once you enter the list above and save this page, the plugin will display "
748
- "the titles of the posts below for your reference. Only IDs corresponding to "
749
- "published posts or custom post types will be retained."
750
- msgstr ""
751
-
752
- #: admin/metabox.php:142
753
- msgid "This post type is:"
754
- msgstr ""
755
-
756
- #: admin/sidebar-view.php:20
757
- msgid "Support the development"
758
- msgstr "Apoya el desarrollo"
759
-
760
- #: admin/sidebar-view.php:27
761
- #, fuzzy
762
- msgid "Donation for Contextual Related Posts"
763
- msgstr "Posts Relacionados Contextualmente"
764
-
765
- #: admin/sidebar-view.php:29
766
- #, fuzzy
767
- msgid "Enter amount in USD:"
768
- msgstr "Ingresa monto en USD:"
769
-
770
- #: admin/sidebar-view.php:33
771
- msgid "Send your donation to the author of"
772
- msgstr "Enviar tu donación al autor de"
773
-
774
- #: admin/sidebar-view.php:41
775
- msgid "Follow me"
776
- msgstr ""
777
-
778
- #: admin/sidebar-view.php:66
779
- #, fuzzy
780
- msgid "Quick links"
781
- msgstr "Links rápidos"
782
-
783
- #: admin/sidebar-view.php:70
784
- msgid "Plugin homepage"
785
- msgstr ""
786
-
787
- #: admin/sidebar-view.php:71
788
- msgid "FAQ"
789
- msgstr ""
790
-
791
- #: admin/sidebar-view.php:73
792
- msgid "Reviews"
793
- msgstr ""
794
-
795
- #: admin/sidebar-view.php:74
796
- msgid "Github repository"
797
- msgstr ""
798
-
799
- #: admin/sidebar-view.php:75
800
- msgid "Other plugins"
801
- msgstr "Otros plugins"
802
-
803
- #: admin/sidebar-view.php:76
804
- msgid "Ajay's blog"
805
- msgstr ""
806
-
807
- #: contextual-related-posts.php:232
808
- #, php-format
809
- msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
810
- msgstr ""
811
-
812
- #: contextual-related-posts.php:710
813
- msgid "<h3>Related Posts:</h3>"
814
- msgstr "<h3>Post Relacionados:</h3>"
815
-
816
- #: contextual-related-posts.php:712
817
- #, fuzzy
818
- msgid "No related posts found"
819
- msgstr "No hay posts relacionados"
820
-
821
- #: includes/class-crp-widget.php:33
822
- #, fuzzy
823
- msgid "Related Posts [CRP]"
824
- msgstr "Post Relacionados"
825
-
826
- #: includes/class-crp-widget.php:34
827
- #, fuzzy
828
- msgid "Display Related Posts"
829
- msgstr "Mostrar \"Posts No Relacionados\""
830
-
831
- #: includes/class-crp-widget.php:69
832
- msgid "Title"
833
- msgstr ""
834
-
835
- #: includes/class-crp-widget.php:74
836
- msgid "No. of posts"
837
- msgstr ""
838
-
839
- #: includes/class-crp-widget.php:79
840
- #, fuzzy
841
- msgid " Show excerpt?"
842
- msgstr "¿Mostrar extracto con los items?"
843
-
844
- #: includes/class-crp-widget.php:84
845
- msgid " Show author?"
846
- msgstr ""
847
-
848
- #: includes/class-crp-widget.php:89
849
- #, fuzzy
850
- msgid " Show date?"
851
- msgstr "¿Mostrar extracto con los items?"
852
-
853
- #: includes/class-crp-widget.php:95
854
- #, fuzzy
855
- msgid "Thumbnails inline, before title"
856
- msgstr "Miniaturas en línea con los posts"
857
-
858
- #: includes/class-crp-widget.php:96
859
- #, fuzzy
860
- msgid "Thumbnails inline, after title"
861
- msgstr "Miniaturas en línea con los posts"
862
-
863
- #: includes/class-crp-widget.php:97
864
- #, fuzzy
865
- msgid "Only thumbnails, no text"
866
- msgstr "Solo miniaturas, sin texto"
867
-
868
- #: includes/class-crp-widget.php:98
869
- #, fuzzy
870
- msgid "No thumbnails, only text."
871
- msgstr "No mostrar miniaturas, solo texto."
872
-
873
- #: includes/class-crp-widget.php:103
874
- #, fuzzy
875
- msgid "Thumbnail height"
876
- msgstr "Opciones de miniaturas en el post:"
877
-
878
- #: includes/class-crp-widget.php:108
879
- #, fuzzy
880
- msgid "Thumbnail width"
881
- msgstr "Opciones de miniaturas en el post:"
882
-
883
- #: includes/class-crp-widget.php:112
884
- msgid "Post types to include:"
885
- msgstr ""
886
-
887
- #: includes/media.php:67
888
- msgid "thumb_timthumb argument has been deprecated"
889
- msgstr ""
890
-
891
- #: includes/media.php:71
892
- msgid "thumb_timthumb_q argument has been deprecated"
893
- msgstr ""
894
-
895
- #: includes/media.php:75
896
- msgid "filter argument has been deprecated"
897
- msgstr ""
898
-
899
- #: includes/output-generator.php:238
900
- msgid " by "
901
- msgstr ""
902
-
903
- #~ msgid "Contextual Related Posts"
904
- #~ msgstr "Posts Relacionados Contextualmente"
905
-
906
- #, fuzzy
907
- #~ msgid "Contextual Related Posts plugin page"
908
- #~ msgstr "Posts relacionados contextualmente"
909
-
910
- #~ msgid "Options saved successfully."
911
- #~ msgstr "Opciones guardadas correctament."
912
-
913
- #, fuzzy
914
- #~ msgid "Add related posts to:"
915
- #~ msgstr "Agregar posts relacionados al feed"
916
-
917
- #, fuzzy
918
- #~ msgid ""
919
- #~ "If unchecked, only posts titles are used. I recommend using a caching "
920
- #~ "plugin or enabling \"Cache output\" above if you enable this."
921
- #~ msgstr ""
922
- #~ "Encuentra posts relacionados basados en el contexto y el título. Si es "
923
- #~ "deseleccionado, solo los títulos serán usados. (Recomiendo usar un plugin "
924
- #~ "de caché si activas esto)"
925
-
926
- #~ msgid "Title of related posts: "
927
- #~ msgstr "Título de posts relacionados:"
928
-
929
- #~ msgid "Length of excerpt (in words): "
930
- #~ msgstr "Tamaño del extracto (en palabras):"
931
-
932
- #~ msgid "Post thumbnail options:"
933
- #~ msgstr "Opciones de miniaturas en el post:"
934
-
935
- #~ msgid "Powered by"
936
- #~ msgstr "Creado por"
937
-
938
- #, fuzzy
939
- #~ msgid ""
940
- #~ "If the postmeta is not set, then should the plugin extract the first "
941
- #~ "image from the post?"
942
- #~ msgstr ""
943
- #~ "Si el postmeta no está definido, entonces el plugin extrae la primera "
944
- #~ "imágen del post. Esto puede relentizar la carga si la primera imágen es "
945
- #~ "de gran tamaño"
946
-
947
- #, fuzzy
948
- #~ msgid ""
949
- #~ "This can slow down the loading of your page if the first image in the "
950
- #~ "related posts is large in file-size"
951
- #~ msgstr ""
952
- #~ "Si el postmeta no está definido, entonces el plugin extrae la primera "
953
- #~ "imágen del post. Esto puede relentizar la carga si la primera imágen es "
954
- #~ "de gran tamaño"
955
-
956
- #~ msgid "Recent developments"
957
- #~ msgstr "Desarrollos recientes"
958
-
959
- #, fuzzy
960
- #~ msgid " Posted by "
961
- #~ msgstr "Creado por"
962
-
963
- #~ msgid "Follow @ajaydsouza on Twitter"
964
- #~ msgstr "Seguir @ajaydsouza en Twitter"
965
-
966
- #~ msgid "Display \"No Related Posts\""
967
- #~ msgstr "Mostrar \"Posts No Relacionados\""
968
-
969
- #~ msgid "Exclude Categories: "
970
- #~ msgstr "Excluir Categorías:"
971
-
972
- #~ msgid "plugin page"
973
- #~ msgstr "sitio del plugin"
974
-
975
- #~ msgid "Exclude Pages in Related Posts"
976
- #~ msgstr "Excluir Post Relacionados de las Páginas"
977
-
978
- #~ msgid ""
979
- #~ "Add related posts to the post content on single posts. <br />If you "
980
- #~ "choose to disable this, please add <code>&lt;?php "
981
- #~ "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> to your "
982
- #~ "template file where you want it displayed"
983
- #~ msgstr ""
984
- #~ "Agregar posts relacionados al contenido en posts únicos. <br />Si eliges "
985
- #~ "desabilitar esto, por favor agrega <code>&lt;?php "
986
- #~ "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> a tu "
987
- #~ "archivo de template donde quieras q se muestre"
988
-
989
- #~ msgid ""
990
- #~ "Append link to this plugin as item. Optional, but would be nice to give "
991
- #~ "me some link love"
992
- #~ msgstr ""
993
- #~ "Agregar link al creador del plugin. Opcional, pero seria bueno que me "
994
- #~ "dieran algo de enlace de cariño."
995
-
996
- #~ msgid ""
997
- #~ "Post thumbnail meta field (the meta should point contain the image "
998
- #~ "source): "
999
- #~ msgstr ""
1000
- #~ "Campo meta de miniatura del post (debe apuntar al código de la imágen)"
1001
-
1002
- #~ msgid "Thumbnail dimensions:"
1003
- #~ msgstr "Dimensiones miniatura:"
1004
-
1005
- #~ msgid "Max width: "
1006
- #~ msgstr "Ancho máximo:"
1007
-
1008
- #~ msgid "Max height: "
1009
- #~ msgstr "Altura máxima:"
1010
-
1011
- #~ msgid "Support forum"
1012
- #~ msgstr "Forum de Soporte"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/contextual-related-posts-fr_FR.mo DELETED
Binary file
languages/contextual-related-posts-fr_FR.po DELETED
@@ -1,1010 +0,0 @@
1
- #
2
- # Translators:
3
- # Franck, 2015
4
- # FX Bénard <fxb@wp-translations.org>, 2015
5
- # FX Bénard <fxb@wp-translations.org>, 2014
6
- # Jean-Christophe Brebion <pro@jcbrebion.com>, 2014-2015
7
- msgid ""
8
- msgstr ""
9
- "Project-Id-Version: Contextual Related Posts\n"
10
- "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2015-09-27 13:33+0100\n"
12
- "PO-Revision-Date: 2015-09-27 13:33+0100\n"
13
- "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
14
- "Language-Team: French (France) (http://www.transifex.com/wp-translations/"
15
- "contextual-related-posts/language/fr_FR/)\n"
16
- "Language: fr_FR\n"
17
- "MIME-Version: 1.0\n"
18
- "Content-Type: text/plain; charset=UTF-8\n"
19
- "Content-Transfer-Encoding: 8bit\n"
20
- "Plural-Forms: nplurals=2; plural=(n > 1);\n"
21
- "X-Generator: Poedit 1.8.4\n"
22
- "X-Poedit-Basepath: ..\n"
23
- "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
24
- "X-Poedit-SourceCharset: UTF-8\n"
25
- "X-Poedit-SearchPath-0: .\n"
26
-
27
- #: admin/admin.php:191
28
- msgid "Options saved successfully. If enabled, the cache has been cleared."
29
- msgstr ""
30
- "Les options ont bien été sauvegardées. Si actif, le cache a été nettoyé."
31
-
32
- #: admin/admin.php:194
33
- msgid ""
34
- "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
35
- "displayed."
36
- msgstr ""
37
- "Le style \"Miniatures arrondies\" est sélectionné. L'auteur, l'extrait et la "
38
- "date ne seront pas affichés."
39
-
40
- #: admin/admin.php:197
41
- msgid "Text Only style selected. Thumbnails will not be displayed."
42
- msgstr ""
43
- "Le style \"Texte uniquement\" est sélectionné. Les miniatures ne seront pas "
44
- "affichées."
45
-
46
- #: admin/admin.php:200
47
- #, php-format
48
- msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
49
- msgstr ""
50
- "La miniature intégrée est sélectionnée. Sa taille est définie à %d x %d."
51
-
52
- #: admin/admin.php:224
53
- msgid "Options set to Default."
54
- msgstr "Options remises à la valeur par défaut."
55
-
56
- #: admin/admin.php:233
57
- msgid "Index recreated"
58
- msgstr "Index recrée"
59
-
60
- #: admin/admin.php:250
61
- msgid "Related Posts"
62
- msgstr "Articles relatifs"
63
-
64
- #: admin/cache.php:42
65
- msgid ""
66
- "An error occurred clearing the cache. Please contact your site administrator."
67
- "\\n\\nError message:\\n"
68
- msgstr ""
69
- "Une erreur s'est produite lors du nettoyage du cache. Veuillez contacter "
70
- "l'administrateur de votre site.\\n\\nMessage d'erreur :\\n"
71
-
72
- #: admin/cache.php:47
73
- msgid " cached row(s) cleared"
74
- msgstr "rang(s) en cache nettoyé(s)"
75
-
76
- #: admin/loader.php:24
77
- msgid "Settings"
78
- msgstr "Réglages"
79
-
80
- #: admin/loader.php:46 admin/sidebar-view.php:72
81
- msgid "Support"
82
- msgstr "Aide"
83
-
84
- #: admin/loader.php:47
85
- msgid "Donate"
86
- msgstr "Faire un don"
87
-
88
- #: admin/loader.php:48
89
- msgid "Contribute"
90
- msgstr "Contribuer"
91
-
92
- #: admin/loader.php:64
93
- msgid "plugin settings page"
94
- msgstr "Page des réglages de l'extension"
95
-
96
- #: admin/main-view.php:32 admin/main-view.php:55
97
- msgid "General options"
98
- msgstr "Options générales"
99
-
100
- #: admin/main-view.php:33 admin/main-view.php:142
101
- msgid "List tuning options"
102
- msgstr "Liste des options de personnalisation"
103
-
104
- #: admin/main-view.php:34 admin/main-view.php:249
105
- msgid "Output options"
106
- msgstr "Options de sortie"
107
-
108
- #: admin/main-view.php:35 admin/main-view.php:453
109
- #: includes/class-crp-widget.php:93
110
- msgid "Thumbnail options"
111
- msgstr "Options de la miniature"
112
-
113
- #: admin/main-view.php:36 admin/main-view.php:608
114
- msgid "Styles"
115
- msgstr "Styles"
116
-
117
- #: admin/main-view.php:37 admin/main-view.php:686
118
- msgid "Feed options"
119
- msgstr "Options du flux"
120
-
121
- #: admin/main-view.php:71
122
- msgid "Cache output?"
123
- msgstr "Mettre en cache la sortie ?"
124
-
125
- #: admin/main-view.php:73
126
- msgid ""
127
- "Enabling this option will cache the related posts output when the post is "
128
- "visited the first time. The cache is cleaned when you save this page."
129
- msgstr ""
130
- "L'activation de cette option met en cache la sortie des articles relatifs "
131
- "lorsque l'article est lu la première fois. Le cache est vidé lorsque vous "
132
- "enregistrez cette page."
133
-
134
- #: admin/main-view.php:74
135
- msgid ""
136
- "The CRP cache works independently and in addition to any of your caching "
137
- "plugins like WP Super Cache or W3 Total Cache. It is recommended that you "
138
- "enable this on your blog."
139
- msgstr ""
140
- "Le cache de CRP fonctionne indépendamment et en plus de l'une de vos "
141
- "extension de cache comme WP Super Cache ou W3 Total Cache. Il vous est "
142
- "recommandé de l'activer sur votre blog."
143
-
144
- #: admin/main-view.php:75
145
- msgid "Clear cache"
146
- msgstr "Nettoyer le cache"
147
-
148
- #: admin/main-view.php:79
149
- msgid "Automatically add related posts to:"
150
- msgstr "Ajouter automatiquement les articles relatifs aux :"
151
-
152
- #: admin/main-view.php:81
153
- msgid "Posts"
154
- msgstr "Articles"
155
-
156
- #: admin/main-view.php:82
157
- msgid "Pages"
158
- msgstr "Pages"
159
-
160
- #: admin/main-view.php:83
161
- msgid "Home page"
162
- msgstr "Page d'accueil"
163
-
164
- #: admin/main-view.php:84
165
- msgid "Feeds"
166
- msgstr "Flux"
167
-
168
- #: admin/main-view.php:85
169
- msgid "Category archives"
170
- msgstr "Archives de catégorie"
171
-
172
- #: admin/main-view.php:86
173
- msgid "Tag archives"
174
- msgstr "Archives d'étiquette"
175
-
176
- #: admin/main-view.php:87
177
- msgid "Other archives"
178
- msgstr "Autres archives"
179
-
180
- #: admin/main-view.php:88
181
- msgid ""
182
- "If you choose to disable this, please add <code>&lt;?php if "
183
- "( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your "
184
- "template file where you want it displayed"
185
- msgstr ""
186
- "Si vous décidez de le désactiver, s'il vous plaît veuillez ajouter "
187
- "<code>&lt;?php if ( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;"
188
- "</code> dans votre modèle où vous voulez l'afficher."
189
-
190
- #: admin/main-view.php:92
191
- msgid "Display location priority:"
192
- msgstr "Afficher la priorité de l'emplacement&nbsp;:"
193
-
194
- #: admin/main-view.php:95
195
- msgid ""
196
- "If you select to automatically add the related posts, CRP will hook into the "
197
- "Content Filter at a priority as specified in this option."
198
- msgstr ""
199
- "Si vous choisissez d'ajouter automatiquement les messages relatifs, CRP "
200
- "accrochera dans le filtre de contenu à avec la priorité spécifiée dans cette "
201
- "option."
202
-
203
- #: admin/main-view.php:96
204
- msgid ""
205
- "A higher number will cause the related posts to be processed later and move "
206
- "their display further down after the post content. Any number below 10 is "
207
- "not recommended."
208
- msgstr ""
209
- "Un nombre plus élevé entraînera les articles concernés à être traités plus "
210
- "tard et déplacer leur affichage plus bas après le contenu du message. Une "
211
- "valeur inférieure à 10 est déconseillée."
212
-
213
- #: admin/main-view.php:100
214
- msgid "Show metabox:"
215
- msgstr "Afficher la boîte méta&nbsp;:"
216
-
217
- #: admin/main-view.php:103
218
- msgid ""
219
- "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
220
- "Posts screens. Also applies to Pages and Custom Post Types."
221
- msgstr ""
222
- "Cela ajoutera la boîte méta Contextual Related Posts sur \"Modifier les "
223
- "articles\" ou \"Ajouter des écrans de nouveaux articles\". Cela s'applique "
224
- "également aux pages et types de contenu personnalisé."
225
-
226
- #: admin/main-view.php:107
227
- msgid "Limit metabox to Admins only:"
228
- msgstr "Limiter la boîte méta uniquement aux admins&nbsp;;"
229
-
230
- #: admin/main-view.php:110
231
- msgid ""
232
- "If this is selected, the metabox will be hidden from anyone who is not an "
233
- "Admin. Otherwise, by default, Contributors and above will be able to see the "
234
- "metabox. This applies only if the above option is selected."
235
- msgstr ""
236
- "Si cette option est sélectionnée, la boîte méta sera cachée de toute "
237
- "personne qui est pas un administrateur. Sinon, par défaut, contributeurs et "
238
- "supérieur seront en mesure de voir la boîte méta. Cela ne s'applique "
239
- "uniquement que si l'option ci-dessus est sélectionnée."
240
-
241
- #: admin/main-view.php:114
242
- msgid "Tell the world you're using Contextual Related Posts:"
243
- msgstr "Annoncer au monde que vous utilisez Contextual Related Posts :"
244
-
245
- #: admin/main-view.php:116
246
- msgid " <em>Optional</em>"
247
- msgstr " <em>Facultatif</em>"
248
-
249
- #: admin/main-view.php:117
250
- msgid ""
251
- "Adds a nofollow link to Contextual Related Posts homepage as the last time "
252
- "in the list."
253
- msgstr ""
254
- "Ajoute un lien nofollow vers la page d'accueil de Contextual Related Posts "
255
- "comme la dernière fois dans la liste."
256
-
257
- #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
258
- #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
259
- #: admin/main-view.php:767
260
- msgid "Save Options"
261
- msgstr "Sauvegarder les options"
262
-
263
- #: admin/main-view.php:158 admin/main-view.php:704
264
- msgid "Number of related posts to display: "
265
- msgstr "Nombre d'articles relatifs à afficher :"
266
-
267
- #: admin/main-view.php:161
268
- msgid ""
269
- "Maximum number of posts that will be displayed. The actual number may be "
270
- "smaller if less related posts are found."
271
- msgstr ""
272
- "Nombre maximal d'articles à afficher. Le nombre réel peut être plus petit si "
273
- "moins d'articles relatifs sont trouvés."
274
-
275
- #: admin/main-view.php:165
276
- msgid "Related posts should be newer than:"
277
- msgstr "Les articles relatifs doivent être plus récents que :"
278
-
279
- #: admin/main-view.php:167
280
- msgid "days"
281
- msgstr "jours"
282
-
283
- #: admin/main-view.php:168
284
- msgid ""
285
- "This sets the cutoff period for which posts will be displayed. e.g. setting "
286
- "it to 365 will show related posts from the last year only. Set to 0 to "
287
- "disable limiting posts by date."
288
- msgstr ""
289
- "Ceci définit la période de coupure pendant laquelle les articles seront "
290
- "affichés. La fixer par exemple à 365 affichera les messages relatifs de la "
291
- "dernière année seulement. Mettre à 0 pour désactiver la limitation "
292
- "d'articles par jour."
293
-
294
- #: admin/main-view.php:172
295
- msgid "Find related posts based on content as well as title:"
296
- msgstr "Trouver des articles relatifs en se servant du contenu et du titre :"
297
-
298
- #: admin/main-view.php:174
299
- msgid ""
300
- "If unchecked, only posts titles are used. I recommend using a caching plugin "
301
- "or enabling \"Cache output\" above if you enable this. Each site is "
302
- "different, so toggle this option to see which setting gives you better "
303
- "quality related posts."
304
- msgstr ""
305
- "Si c'est décoché, seuls les titres des articles sont utilisés. Je recommande "
306
- "d'utiliser une extension de mise en cache ou activer la \"mise en cache de "
307
- "la sortie\" ci-dessus si vous l'activez. Chaque site est différent, donc "
308
- "changer cette option pour voir ce qui donne des articles relatifs de "
309
- "meilleure qualité."
310
-
311
- #: admin/main-view.php:178
312
- msgid "Limit content to be compared:"
313
- msgstr "Limite de contenu à comparer&nbsp;:"
314
-
315
- #: admin/main-view.php:180
316
- msgid ""
317
- "This sets the maximum words of the content that will be matched. Set to 0 "
318
- "for no limit. Only applies if you active the above option."
319
- msgstr ""
320
- "Ceci définit le maximum de mots du contenu qui devront correspondre. Mettre "
321
- "à 0 pour aucune limite. Ne s'applique uniquement que si vous activez "
322
- "l'option ci-dessus."
323
-
324
- #: admin/main-view.php:184
325
- msgid "Post types to include in results:"
326
- msgstr "Types d'articles à inclure dans les résultats :"
327
-
328
- #: admin/main-view.php:191
329
- msgid ""
330
- "These post types will be displayed in the list. Includes custom post types."
331
- msgstr ""
332
- "Ces types d'articles seront affichés en liste. Cela inclut les types "
333
- "d'articles personnalisés."
334
-
335
- #: admin/main-view.php:195
336
- msgid "List of post or page IDs to exclude from the results:"
337
- msgstr "La liste des IDs d'articles ou de pages à exclure des résultats :"
338
-
339
- #: admin/main-view.php:197 admin/main-view.php:377
340
- msgid ""
341
- "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
342
- msgstr ""
343
- "Une liste séparée par des virgules d'IDs d'articles, pages ou types "
344
- "d'articles personnalisés. P.ex. 188,320,500"
345
-
346
- #: admin/main-view.php:201
347
- msgid "Categories to exclude from the results: "
348
- msgstr "Les catégories à exclure des résultats :"
349
-
350
- #: admin/main-view.php:213
351
- msgid ""
352
- "Comma separated list of category slugs. The field above has an autocomplete "
353
- "so simply start typing in the beginning of your category name and it will "
354
- "prompt you with options."
355
- msgstr ""
356
- "Une liste séparée par des virgules d'identifiants de catégorie. Le champ "
357
- "utilise l'auto-complétion, commencez à remplir le début du nom de la "
358
- "catégorie pour voir des résultats s'afficher."
359
-
360
- #: admin/main-view.php:216
361
- msgid "Excluded category IDs are:"
362
- msgstr "Les IDs des catégories exclues sont&nbsp;:"
363
-
364
- #: admin/main-view.php:222
365
- msgid ""
366
- "These might differ from the IDs visible in the Categories page which use the "
367
- "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
368
- "unique to this taxonomy."
369
- msgstr ""
370
-
371
- #: admin/main-view.php:265
372
- msgid "Title of related posts:"
373
- msgstr "Titre des articles relatifs :"
374
-
375
- #: admin/main-view.php:268
376
- msgid ""
377
- "This is the main heading of the related posts. You can also display the "
378
- "current post title by using <code>%postname%</code>. e.g. <code>Related "
379
- "Posts to %postname%</code>"
380
- msgstr ""
381
- "C'est le titre principal des articles relatifs. Vous pouvez également "
382
- "afficher le titre de l'article en utilisant <code>%postname%</code>. p.ex. "
383
- "<code>Articles relatifs à %postname%</code>"
384
-
385
- #: admin/main-view.php:272
386
- msgid "When there are no posts, what should be shown?"
387
- msgstr "Quand il n'y a aucun article, qu'est-ce qui doit être affiché ?"
388
-
389
- #: admin/main-view.php:276
390
- msgid "Blank Output"
391
- msgstr "Sortie vide"
392
-
393
- #: admin/main-view.php:281
394
- msgid "Display:"
395
- msgstr "Affichage :"
396
-
397
- #: admin/main-view.php:287 admin/main-view.php:707
398
- msgid "Show post excerpt in list?"
399
- msgstr "Afficher l'extrait de l'article en liste ?"
400
-
401
- #: admin/main-view.php:290
402
- #, php-format
403
- msgid ""
404
- "Displays the excerpt of the post. If you do not provide an explicit excerpt "
405
- "to a post (in the post editor's optional excerpt field), it will display an "
406
- "automatic excerpt which refers to the first %d words of the post's content"
407
- msgstr ""
408
- "Affiche l'extrait de l'article. Si vous ne fournissez pas un extrait d'un "
409
- "article (dans le champ d'extrait en option de l'éditeur d'article), un "
410
- "extrait automatique sera affiché qui prendra en compte les premiers %d mots "
411
- "du contenu de celui-ci."
412
-
413
- #: admin/main-view.php:293
414
- msgid ""
415
- "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
416
- "is disabled."
417
- msgstr ""
418
- "Le style \"Miniatures arrondies\" est sélectionné sous les styles "
419
- "personnalisés. L'affichage de l'extrait est désactivé."
420
-
421
- #: admin/main-view.php:298
422
- msgid "Length of excerpt (in words):"
423
- msgstr "Longueur de l'extrait (en mots)&nbsp;:"
424
-
425
- #: admin/main-view.php:304
426
- msgid "Show post author in list?"
427
- msgstr "Afficher l'auteur de l'article en liste ?"
428
-
429
- #: admin/main-view.php:307
430
- msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
431
- msgstr ""
432
- "Affiche le nom de l'auteur préfixé avec \"de\". p.ex. de Pierre Paul Jacques"
433
-
434
- #: admin/main-view.php:310
435
- msgid ""
436
- "Rounded Thumbnails style selected under the Custom Styles. Author display is "
437
- "disabled."
438
- msgstr ""
439
- "Le style \"Miniatures arrondies\" est sélectionné sous les styles "
440
- "personnalisés. L'affichage de l'auteur est désactivé."
441
-
442
- #: admin/main-view.php:315
443
- msgid "Show post date in list?"
444
- msgstr "Afficher la date de l'article en liste ?"
445
-
446
- #: admin/main-view.php:318
447
- msgid ""
448
- "Displays the date of the post. Uses the same date format set in General "
449
- "Options"
450
- msgstr ""
451
- "Affiche la date de l'article. Utilise le même format que celui de vos "
452
- "options générales"
453
-
454
- #: admin/main-view.php:321
455
- msgid ""
456
- "Rounded Thumbnails style selected under the Custom Styles. Date display is "
457
- "disabled."
458
- msgstr ""
459
- "Le style \"Miniatures arrondies\" est sélectionné sous les styles "
460
- "personnalisés. L'affichage de la date est désactivé."
461
-
462
- #: admin/main-view.php:326
463
- msgid "Limit post title length (in characters)"
464
- msgstr "Limiter la longueur du titre de l'article (en caractères)"
465
-
466
- #: admin/main-view.php:329
467
- msgid ""
468
- "Any title longer than the number of characters set above will be cut and "
469
- "appended with an ellipsis (&hellip;)"
470
- msgstr ""
471
- "Tous les titres plus longs que le nombre de caractères définis ci-dessus "
472
- "seront coupés et une ellipse (&hellip;) sera ajoutée."
473
-
474
- #: admin/main-view.php:333
475
- msgid "Open links in new window"
476
- msgstr "Ouvrir les liens dans une nouvelle fenêtre"
477
-
478
- #: admin/main-view.php:339
479
- msgid "Add nofollow attribute to links in the list"
480
- msgstr "Ajouter un attribut de nofollow aux liens de la liste"
481
-
482
- #: admin/main-view.php:372
483
- msgid "Exclusion settings:"
484
- msgstr "Réglages d'exclusion :"
485
-
486
- #: admin/main-view.php:374
487
- msgid "Exclude display of related posts on these posts / pages"
488
- msgstr "Exclure l'affichage des articles relatifs sur ces articles / pages"
489
-
490
- #: admin/main-view.php:380
491
- msgid "Exclude display of related posts on these post types."
492
- msgstr "Exclure l'affichage des articles relatifs sur ces types d'articles."
493
-
494
- #: admin/main-view.php:387
495
- msgid ""
496
- "The related posts will not display on any of the above selected post types"
497
- msgstr ""
498
- "Les articles relatifs ne seront pas affichés sur aucun des types d'articles "
499
- "ci-dessus."
500
-
501
- #: admin/main-view.php:417
502
- msgid "Customize the output:"
503
- msgstr "Personnaliser la sortie :"
504
-
505
- #: admin/main-view.php:419
506
- msgid "HTML to display before the list of posts: "
507
- msgstr "HTML à afficher avant la liste des articles :"
508
-
509
- #: admin/main-view.php:422
510
- msgid "HTML to display before each list item: "
511
- msgstr "HTML à afficher avant chaque élément de la liste :"
512
-
513
- #: admin/main-view.php:425
514
- msgid "HTML to display after each list item: "
515
- msgstr "HTML à afficher après chaque élément de la liste :"
516
-
517
- #: admin/main-view.php:428
518
- msgid "HTML to display after the list of posts: "
519
- msgstr "HTML à afficher après la liste d'articles :"
520
-
521
- #: admin/main-view.php:469 admin/main-view.php:710
522
- msgid "Location of post thumbnail:"
523
- msgstr "Emplacement de la miniature de l'article :"
524
-
525
- #: admin/main-view.php:473 admin/main-view.php:714
526
- msgid "Display thumbnails inline with posts, before title"
527
- msgstr "Afficher les miniatures avec l'article, avant le titre"
528
-
529
- #: admin/main-view.php:477 admin/main-view.php:718
530
- msgid "Display thumbnails inline with posts, after title"
531
- msgstr "Afficher les miniatures avec l'article, après le titre"
532
-
533
- #: admin/main-view.php:481 admin/main-view.php:722
534
- msgid "Display only thumbnails, no text"
535
- msgstr "N'afficher que les miniatures, pas de texte"
536
-
537
- #: admin/main-view.php:485 admin/main-view.php:726
538
- msgid "Do not display thumbnails, only text."
539
- msgstr "Ne pas afficher de miniature, que le texte"
540
-
541
- #: admin/main-view.php:488
542
- msgid ""
543
- "This setting cannot be changed because an inbuilt style has been selected "
544
- "under the Styles section. If you would like to change this option, please "
545
- "select <strong>No styles</strong> under the Styles section."
546
- msgstr ""
547
- "Ce paramètre ne peut pas être modifié en raison d'un style intégré qui a été "
548
- "sélectionné dans la section Styles. Si vous souhaitez modifier cette option, "
549
- "veuillez sélectionnez <strong>Pas de styles</strong> dans la section Styles."
550
-
551
- #: admin/main-view.php:492
552
- msgid "Thumbnail size:"
553
- msgstr "Taille des miniatures&nbsp;:"
554
-
555
- #: admin/main-view.php:516
556
- msgid "Custom size"
557
- msgstr "Taille personnalisée"
558
-
559
- #: admin/main-view.php:519
560
- msgid "You can choose from existing image sizes above or create a custom size."
561
- msgstr ""
562
- "Vous pouvez choisir parmi les tailles d'images existantes ci-dessus ou créer "
563
- "un format personnalisé."
564
-
565
- #: admin/main-view.php:520
566
- msgid ""
567
- "If you choose an existing size, then the width, height and crop mode "
568
- "settings in the three options below will be automatically updated to reflect "
569
- "the correct dimensions of the setting."
570
- msgstr ""
571
- "Si vous choisissez une taille existante, alors les réglages de la largeur, "
572
- "la hauteur et du mode de recadrage dans les trois options ci-dessous seront "
573
- "automatiquement mise à jour pour refléter les dimensions correctes de la "
574
- "configuration."
575
-
576
- #: admin/main-view.php:521
577
- msgid ""
578
- "If you have chosen Custom size above, then enter the width, height and crop "
579
- "settings below. For best results, use a cropped image with the same width "
580
- "and height. The default setting is 150x150 cropped image."
581
- msgstr ""
582
- "Si vous avez choisi la taille personnalisée ci-dessus, alors entrez la "
583
- "largeur, la hauteur et les paramètres de recadrage ci-dessous. Pour de "
584
- "meilleurs résultats, utilisez une image recadrée avec les mêmes largeur et "
585
- "hauteur. Le réglage par défaut est 150x150 image recadrée."
586
-
587
- #: admin/main-view.php:522
588
- msgid ""
589
- "Any changes to the thumbnail settings doesn't automatically resize existing "
590
- "images."
591
- msgstr ""
592
- "Les modifications apportées aux paramètres de miniatures ne redimensionnent "
593
- "pas automatiquement les images existantes."
594
-
595
- #: admin/main-view.php:523
596
- #, php-format
597
- msgid ""
598
- "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
599
- "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
600
- "all image sizes."
601
- msgstr ""
602
- "Je recommande d'utiliser <a href='%s' class='thickbox'>OTF Regenerate "
603
- "Thumbnails</a> ou <a href='%s' class='thickbox'>Regenerate Thumbnails</a> "
604
- "pour régénérer toutes les tailles d'image ."
605
-
606
- #: admin/main-view.php:527
607
- msgid "Width of the thumbnail:"
608
- msgstr "Largeur de la miniature&nbsp;:"
609
-
610
- #: admin/main-view.php:530
611
- msgid "Height of the thumbnail: "
612
- msgstr "Hauteur de la miniature&nbsp;:"
613
-
614
- #: admin/main-view.php:535
615
- msgid "Crop mode:"
616
- msgstr "Mode de recadrage&nbsp;:"
617
-
618
- #: admin/main-view.php:539
619
- msgid ""
620
- "By default, thumbnails will be hard cropped. Uncheck this box to "
621
- "proportionately/soft crop the thumbnails."
622
- msgstr ""
623
- "Par défaut, les miniatures seront recadrées de façon non proportionnée. "
624
- "Décochez cette case pour recadrer de façon proportionnée les miniatures. "
625
-
626
- #: admin/main-view.php:540
627
- #, php-format
628
- msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
629
- msgstr ""
630
- "<a href='%s' target='_blank'>La différence entre le redimensionnement soft "
631
- "et hard.</a>"
632
-
633
- #: admin/main-view.php:544
634
- msgid "Image size attributes:"
635
- msgstr "Attributs de taille de l'image :"
636
-
637
- #: admin/main-view.php:548
638
- msgid "Style attributes are used for width and height."
639
- msgstr "Les attributs de style sont utilisés pour la hauteur et la largeur."
640
-
641
- #: admin/main-view.php:554
642
- msgid "HTML width and height attributes are used for width and height."
643
- msgstr ""
644
- "Les attributs HTML de hauteur et de largeur sont utilisés pour la hauteur et "
645
- "la largeur."
646
-
647
- #: admin/main-view.php:560
648
- msgid "No HTML or Style attributes set for width and height"
649
- msgstr "Aucun attribut HTML ou de style utilisé pour la hauteur et la largeur"
650
-
651
- #: admin/main-view.php:565
652
- msgid "Post thumbnail meta field name:"
653
- msgstr "Nom du champ méta de la miniature de l'article&nbsp:;"
654
-
655
- #: admin/main-view.php:567
656
- msgid ""
657
- "The value of this field should contain a direct link to the image. This is "
658
- "set in the meta box in the <em>Add New Post</em> screen."
659
- msgstr ""
660
- "La valeur de ce champ doit contenir un lien direct vers l'image. Ceci est "
661
- "défini dans la boîte méta dans l'écran <em>Ajouter un nouvel article</em>."
662
-
663
- #: admin/main-view.php:570
664
- msgid "Extract the first image from the post?"
665
- msgstr "Extraire la première image de l'article ?"
666
-
667
- #: admin/main-view.php:572
668
- msgid ""
669
- "This will only happen if there is no post thumbnail set and no image URL is "
670
- "specified in the meta field."
671
- msgstr ""
672
- "Cela se produit uniquement que s'il n'y a aucune miniature d'article et "
673
- "qu'aucune URL d'image n'est spécifiée dans le champ des métadonnées."
674
-
675
- #: admin/main-view.php:575
676
- msgid "Use default thumbnail?"
677
- msgstr "Utiliser la miniature par défaut ?"
678
-
679
- #: admin/main-view.php:577
680
- msgid ""
681
- "If checked, when no thumbnail is found, show a default one from the URL "
682
- "below. If not checked and no thumbnail is found, no image will be shown."
683
- msgstr ""
684
- "Si coché, quand aucune miniature n'est trouvée, celle par défaut à l'URL ci-"
685
- "dessous est utilisée. Si décoché et qu'aucune miniature n'est trouvée, "
686
- "aucune image ne sera affichée."
687
-
688
- #: admin/main-view.php:580
689
- msgid "Default thumbnail:"
690
- msgstr "Miniature par défaut&nbsp;:"
691
-
692
- #: admin/main-view.php:583
693
- msgid ""
694
- "The plugin will first check if the post contains a thumbnail. If it doesn't "
695
- "then it will check the meta field. If this is not available, then it will "
696
- "show the default image as specified above."
697
- msgstr ""
698
- "L'extension va d'abord vérifier si l'article contient une miniature. Si ce "
699
- "n'est pas le cas alors elle vérifie les métadonnées. Si aucune n'est "
700
- "toujours disponible, alors elle affichera l'image par défaut comme indiquée "
701
- "ci-dessus."
702
-
703
- #: admin/main-view.php:624
704
- msgid "Style of the related posts:"
705
- msgstr "Style des articles relatifs :"
706
-
707
- #: admin/main-view.php:627
708
- msgid "No styles"
709
- msgstr "Aucun style"
710
-
711
- #: admin/main-view.php:629
712
- msgid "Select this option if you plan to add your own styles"
713
- msgstr "Sélectionner cette option si vous comptez ajouter vos propres styles."
714
-
715
- #: admin/main-view.php:633
716
- msgid "Rounded Thumbnails"
717
- msgstr "Miniatures arrondies"
718
-
719
- #: admin/main-view.php:636
720
- msgid ""
721
- "Enabling this option will turn on the thumbnails and set their width and "
722
- "height to 150px. It will also turn off the display of the author, excerpt "
723
- "and date if already enabled. Disabling this option will not revert any "
724
- "settings."
725
- msgstr ""
726
- "L'activation de cette option activera les miniatures et réglera leur largeur "
727
- "et leur hauteur à 150px. Cela désactivera aussi l'affichage de l'auteur, de "
728
- "l'extrait et de la date s'ils sont déjà activés. La désactivation de cette "
729
- "option ne réinitialisera aucun réglage."
730
-
731
- #: admin/main-view.php:637
732
- #, php-format
733
- msgid ""
734
- "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
735
- msgstr ""
736
- "Vous pouvez voir le style par défaut sur <a href=\"%1$s\" target=\"_blank\">"
737
- "%1$s</a>."
738
-
739
- #: admin/main-view.php:641
740
- msgid "Text only"
741
- msgstr "Texte seul"
742
-
743
- #: admin/main-view.php:643
744
- msgid ""
745
- "Enabling this option will disable thumbnails and no longer include the "
746
- "default style sheet included in the plugin."
747
- msgstr ""
748
- "L'activation de cette option désactivera les miniatures et le style par "
749
- "défaut de l'extension. "
750
-
751
- #: admin/main-view.php:658
752
- msgid "Custom CSS to add to header:"
753
- msgstr "CSS personnalisé à ajouter dans l'en-tête :"
754
-
755
- #: admin/main-view.php:662
756
- msgid ""
757
- "Do not include <code>style</code> tags. Check out the <a href=\"http://"
758
- "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
759
- "\">FAQ</a> for available CSS classes to style."
760
- msgstr ""
761
- "Ne pas inclure de mots-clefs de <code>style</code>. Consultez la <a href="
762
- "\"http://wordpress.org/extend/plugins/contextual-related-posts/faq/\" target="
763
- "\"_blank\">FAQ</a> pour connaitre les classes de style CSS disponibles."
764
-
765
- #: admin/main-view.php:702
766
- msgid ""
767
- "Below options override the related posts settings for your blog feed. These "
768
- "only apply if you have selected to add related posts to Feeds in the General "
769
- "Options tab."
770
- msgstr ""
771
- "Les options ci-dessous remplacent les réglages des articles relatifs pour "
772
- "les flux de votre blog. Celles-ci ne s'appliquent que si vous avez choisi "
773
- "d'ajouter des articles relatifs à vos flux dans l'onglet Options générales."
774
-
775
- #: admin/main-view.php:730
776
- msgid "Maximum width of the thumbnail: "
777
- msgstr "Largeur maximale de la miniature :"
778
-
779
- #: admin/main-view.php:733
780
- msgid "Maximum height of the thumbnail: "
781
- msgstr "Hauteur maximale de la miniature :"
782
-
783
- #: admin/main-view.php:768
784
- msgid "Default Options"
785
- msgstr "Options par défaut"
786
-
787
- #: admin/main-view.php:768
788
- msgid "Do you want to set options to Default?"
789
- msgstr "Voulez-vous réinitialiser les options à leurs valeurs par défaut ?"
790
-
791
- #: admin/main-view.php:769
792
- msgid "Recreate Index"
793
- msgstr "Recréer l'index"
794
-
795
- #: admin/main-view.php:769
796
- msgid "Are you sure you want to recreate the index?"
797
- msgstr "Voulez-vous vraiment recréer l'index ?"
798
-
799
- #: admin/main-view.php:774
800
- msgid ""
801
- "One or more FULLTEXT indices are missing. Please hit the <a href="
802
- "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
803
- "this."
804
- msgstr ""
805
- "Un ou plusieurs indices FULLTEXT sont manquants. Veuillez appuyer sur le <a "
806
- "href=\"#crp_recreate\">Bouton recréer l'indice</a> en bas de la page pour "
807
- "corriger ce problème."
808
-
809
- #: admin/metabox.php:98
810
- msgid "Location of thumbnail:"
811
- msgstr "Emplacement de la miniature :"
812
-
813
- #: admin/metabox.php:100
814
- msgid ""
815
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
816
- "image will be used for the post. It will be resized to the thumbnail size "
817
- "set under Settings &raquo; Related Posts &raquo; Output Options"
818
- msgstr ""
819
- "Entrer l'URL complète vers l'image (JPG, PNG ou GIF) que vous souhaitez "
820
- "utiliser. Cette image sera utilisée pour l'article. Elle sera redimensionnée "
821
- "en fonction des dimensions réglées dans les réglages des options de sortie"
822
-
823
- #: admin/metabox.php:101
824
- msgid "The URL above is saved in the meta field:"
825
- msgstr "L'URL ci-dessus est sauvegardée dans les champs méta&nbsp;:"
826
-
827
- #: admin/metabox.php:106
828
- msgid ""
829
- "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
830
- "thumbnail, then you'll need to make the same change in the Top 10 meta box "
831
- "on this page."
832
- msgstr ""
833
- "Vous avez installé l'extension WordPress Top 10. Si vous essayez de modifier "
834
- "la miniature, alors vous aurez besoin de faire le même changement dans la "
835
- "boîte méta Top 10 sur cette page."
836
-
837
- #: admin/metabox.php:117
838
- msgid "Disable Related Posts display:"
839
- msgstr "Désactiver l'affichage des articles relatifs&nbsp;:"
840
-
841
- #: admin/metabox.php:120
842
- msgid ""
843
- "If this is checked, then Contextual Related Posts will not automatically "
844
- "insert the related posts at the end of post content."
845
- msgstr ""
846
- "Si cette case est cochée, alors Contextual Related Posts n'insérera pas "
847
- "automatiquement les articles relatifs à la fin du contenu de l'article."
848
-
849
- #: admin/metabox.php:125 admin/metabox.php:133
850
- msgid "Manual related posts:"
851
- msgstr "Articles relatifs manuels&nbsp;:"
852
-
853
- #: admin/metabox.php:127
854
- msgid ""
855
- "Comma separated list of post, page or custom post type IDs. e.g. "
856
- "188,320,500. These will be given preference over the related posts generated "
857
- "by the plugin."
858
- msgstr ""
859
- "Une liste des identifiants des articles, pages ou types de contenu "
860
- "personnalisé séparés par des virgules. Par exemple 188,320,500. Ceux-ci "
861
- "auront la préférence sur les articles relatifs générés par l'extension."
862
-
863
- #: admin/metabox.php:128
864
- msgid ""
865
- "Once you enter the list above and save this page, the plugin will display "
866
- "the titles of the posts below for your reference. Only IDs corresponding to "
867
- "published posts or custom post types will be retained."
868
- msgstr ""
869
- "Une fois que vous avez saisi dans la liste ci-dessus et enregistré cette "
870
- "page, l'extension affichera les titres des messages ci-dessous pour votre "
871
- "référence. Seuls les identifiants correspondant aux articles publiés ou "
872
- "types de contenu personnalisé seront conservés."
873
-
874
- #: admin/metabox.php:142
875
- msgid "This post type is:"
876
- msgstr "Ce type d'article est&nbsp;:"
877
-
878
- #: admin/sidebar-view.php:20
879
- msgid "Support the development"
880
- msgstr "Aidez le développement"
881
-
882
- #: admin/sidebar-view.php:27
883
- msgid "Donation for Contextual Related Posts"
884
- msgstr "Don pour Contextual Related Posts"
885
-
886
- #: admin/sidebar-view.php:29
887
- msgid "Enter amount in USD:"
888
- msgstr "Entrez le montant en USD :"
889
-
890
- #: admin/sidebar-view.php:33
891
- msgid "Send your donation to the author of"
892
- msgstr "Envoyez votre don à l'auteur de"
893
-
894
- #: admin/sidebar-view.php:41
895
- msgid "Follow me"
896
- msgstr "Suivez-moi"
897
-
898
- #: admin/sidebar-view.php:66
899
- msgid "Quick links"
900
- msgstr "Liens rapides"
901
-
902
- #: admin/sidebar-view.php:70
903
- msgid "Plugin homepage"
904
- msgstr "Page d'accueil de l'extension"
905
-
906
- #: admin/sidebar-view.php:71
907
- msgid "FAQ"
908
- msgstr "FAQ"
909
-
910
- #: admin/sidebar-view.php:73
911
- msgid "Reviews"
912
- msgstr "Avis"
913
-
914
- #: admin/sidebar-view.php:74
915
- msgid "Github repository"
916
- msgstr "Dépôt Github"
917
-
918
- #: admin/sidebar-view.php:75
919
- msgid "Other plugins"
920
- msgstr "Autres extensions"
921
-
922
- #: admin/sidebar-view.php:76
923
- msgid "Ajay's blog"
924
- msgstr "Blog de Ajay"
925
-
926
- #: contextual-related-posts.php:232
927
- #, php-format
928
- msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
929
- msgstr ""
930
- "Propulsé par <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
931
-
932
- #: contextual-related-posts.php:710
933
- msgid "<h3>Related Posts:</h3>"
934
- msgstr "<h3>Articles relatifs :</h3>"
935
-
936
- #: contextual-related-posts.php:712
937
- msgid "No related posts found"
938
- msgstr "Aucun article relatif trouvé."
939
-
940
- #: includes/class-crp-widget.php:33
941
- msgid "Related Posts [CRP]"
942
- msgstr "Articles relatifs [CRP]"
943
-
944
- #: includes/class-crp-widget.php:34
945
- msgid "Display Related Posts"
946
- msgstr "Afficher les articles relatifs"
947
-
948
- #: includes/class-crp-widget.php:69
949
- msgid "Title"
950
- msgstr "Titre"
951
-
952
- #: includes/class-crp-widget.php:74
953
- msgid "No. of posts"
954
- msgstr "No. de l'articles"
955
-
956
- #: includes/class-crp-widget.php:79
957
- msgid " Show excerpt?"
958
- msgstr "Afficher l'extrait ?"
959
-
960
- #: includes/class-crp-widget.php:84
961
- msgid " Show author?"
962
- msgstr "Afficher l'auteur ?"
963
-
964
- #: includes/class-crp-widget.php:89
965
- msgid " Show date?"
966
- msgstr "Afficher la date ?"
967
-
968
- #: includes/class-crp-widget.php:95
969
- msgid "Thumbnails inline, before title"
970
- msgstr "Miniature avant le titre"
971
-
972
- #: includes/class-crp-widget.php:96
973
- msgid "Thumbnails inline, after title"
974
- msgstr "Miniatures après le titre"
975
-
976
- #: includes/class-crp-widget.php:97
977
- msgid "Only thumbnails, no text"
978
- msgstr "Que les miniatures, pas de texte"
979
-
980
- #: includes/class-crp-widget.php:98
981
- msgid "No thumbnails, only text."
982
- msgstr "Pas de miniature, que le texte"
983
-
984
- #: includes/class-crp-widget.php:103
985
- msgid "Thumbnail height"
986
- msgstr "Hauteur de la miniature"
987
-
988
- #: includes/class-crp-widget.php:108
989
- msgid "Thumbnail width"
990
- msgstr "Largeur de la miniature"
991
-
992
- #: includes/class-crp-widget.php:112
993
- msgid "Post types to include:"
994
- msgstr "Types d'articles à inclure&nbsp;:"
995
-
996
- #: includes/media.php:67
997
- msgid "thumb_timthumb argument has been deprecated"
998
- msgstr "L'argument thumb_timthumb est devenu obsolète"
999
-
1000
- #: includes/media.php:71
1001
- msgid "thumb_timthumb_q argument has been deprecated"
1002
- msgstr "L'argument thumb_timthumb_q est devenu obsolète"
1003
-
1004
- #: includes/media.php:75
1005
- msgid "filter argument has been deprecated"
1006
- msgstr "L'argument filter est devenu obsolète"
1007
-
1008
- #: includes/output-generator.php:238
1009
- msgid " by "
1010
- msgstr " par"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/contextual-related-posts-it_IT.mo DELETED
Binary file
languages/contextual-related-posts-it_IT.po DELETED
@@ -1,1037 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Contextual Related Posts in italiano\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-27 13:33+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
- "Language-Team: Gianni Diurno | http://gidibao.net/ <gidibao@gmail.com>\n"
9
- "Language: it_IT\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "X-Generator: Poedit 1.8.4\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
-
19
- #: admin/admin.php:191
20
- msgid "Options saved successfully. If enabled, the cache has been cleared."
21
- msgstr ""
22
-
23
- #: admin/admin.php:194
24
- msgid ""
25
- "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
26
- "displayed."
27
- msgstr ""
28
-
29
- #: admin/admin.php:197
30
- msgid "Text Only style selected. Thumbnails will not be displayed."
31
- msgstr ""
32
-
33
- #: admin/admin.php:200
34
- #, php-format
35
- msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
36
- msgstr ""
37
-
38
- #: admin/admin.php:224
39
- msgid "Options set to Default."
40
- msgstr "Opzioni impostate alle predefinite."
41
-
42
- #: admin/admin.php:233
43
- msgid "Index recreated"
44
- msgstr "E' stato ricreato l'indice"
45
-
46
- #: admin/admin.php:250
47
- msgid "Related Posts"
48
- msgstr "Related Posts"
49
-
50
- #: admin/cache.php:42
51
- msgid ""
52
- "An error occurred clearing the cache. Please contact your site administrator."
53
- "\\n\\nError message:\\n"
54
- msgstr ""
55
-
56
- #: admin/cache.php:47
57
- msgid " cached row(s) cleared"
58
- msgstr ""
59
-
60
- #: admin/loader.php:24
61
- msgid "Settings"
62
- msgstr "Impostazioni"
63
-
64
- #: admin/loader.php:46 admin/sidebar-view.php:72
65
- msgid "Support"
66
- msgstr "Supporto"
67
-
68
- #: admin/loader.php:47
69
- msgid "Donate"
70
- msgstr "Donazioni"
71
-
72
- #: admin/loader.php:48
73
- msgid "Contribute"
74
- msgstr ""
75
-
76
- #: admin/loader.php:64
77
- #, fuzzy
78
- msgid "plugin settings page"
79
- msgstr "Impostazioni"
80
-
81
- #: admin/main-view.php:32 admin/main-view.php:55
82
- #, fuzzy
83
- msgid "General options"
84
- msgstr "Le opzioni sono state salvate con successo."
85
-
86
- #: admin/main-view.php:33 admin/main-view.php:142
87
- msgid "List tuning options"
88
- msgstr ""
89
-
90
- #: admin/main-view.php:34 admin/main-view.php:249
91
- #, fuzzy
92
- msgid "Output options"
93
- msgstr "Le opzioni sono state salvate con successo."
94
-
95
- #: admin/main-view.php:35 admin/main-view.php:453
96
- #: includes/class-crp-widget.php:93
97
- #, fuzzy
98
- msgid "Thumbnail options"
99
- msgstr "Opzioni miniature articolo:"
100
-
101
- #: admin/main-view.php:36 admin/main-view.php:608
102
- msgid "Styles"
103
- msgstr ""
104
-
105
- #: admin/main-view.php:37 admin/main-view.php:686
106
- #, fuzzy
107
- msgid "Feed options"
108
- msgstr "Le opzioni sono state salvate con successo."
109
-
110
- #: admin/main-view.php:71
111
- msgid "Cache output?"
112
- msgstr ""
113
-
114
- #: admin/main-view.php:73
115
- msgid ""
116
- "Enabling this option will cache the related posts output when the post is "
117
- "visited the first time. The cache is cleaned when you save this page."
118
- msgstr ""
119
-
120
- #: admin/main-view.php:74
121
- msgid ""
122
- "The CRP cache works independently and in addition to any of your caching "
123
- "plugins like WP Super Cache or W3 Total Cache. It is recommended that you "
124
- "enable this on your blog."
125
- msgstr ""
126
-
127
- #: admin/main-view.php:75
128
- msgid "Clear cache"
129
- msgstr ""
130
-
131
- #: admin/main-view.php:79
132
- msgid "Automatically add related posts to:"
133
- msgstr ""
134
-
135
- #: admin/main-view.php:81
136
- #, fuzzy
137
- msgid "Posts"
138
- msgstr "Gli articoli più popolari"
139
-
140
- #: admin/main-view.php:82
141
- msgid "Pages"
142
- msgstr ""
143
-
144
- #: admin/main-view.php:83
145
- #, fuzzy
146
- msgid "Home page"
147
- msgstr "Risultati per pagina:"
148
-
149
- #: admin/main-view.php:84
150
- msgid "Feeds"
151
- msgstr ""
152
-
153
- #: admin/main-view.php:85
154
- msgid "Category archives"
155
- msgstr ""
156
-
157
- #: admin/main-view.php:86
158
- msgid "Tag archives"
159
- msgstr ""
160
-
161
- #: admin/main-view.php:87
162
- #, fuzzy
163
- msgid "Other archives"
164
- msgstr "Altri plugin"
165
-
166
- #: admin/main-view.php:88
167
- #, fuzzy
168
- msgid ""
169
- "If you choose to disable this, please add <code>&lt;?php if "
170
- "( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your "
171
- "template file where you want it displayed"
172
- msgstr ""
173
- "aggiungi gli articoli correlati alle pagine. <br />oppure disattiva ed "
174
- "inserisci <code>&lt;?php if(function_exists('echo_ald_crp')) "
175
- "echo_ald_crp(); ?&gt;</code> nel tuo template laddove desideri che siano "
176
- "visualizzati"
177
-
178
- #: admin/main-view.php:92
179
- msgid "Display location priority:"
180
- msgstr ""
181
-
182
- #: admin/main-view.php:95
183
- msgid ""
184
- "If you select to automatically add the related posts, CRP will hook into the "
185
- "Content Filter at a priority as specified in this option."
186
- msgstr ""
187
-
188
- #: admin/main-view.php:96
189
- msgid ""
190
- "A higher number will cause the related posts to be processed later and move "
191
- "their display further down after the post content. Any number below 10 is "
192
- "not recommended."
193
- msgstr ""
194
-
195
- #: admin/main-view.php:100
196
- msgid "Show metabox:"
197
- msgstr ""
198
-
199
- #: admin/main-view.php:103
200
- msgid ""
201
- "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
202
- "Posts screens. Also applies to Pages and Custom Post Types."
203
- msgstr ""
204
-
205
- #: admin/main-view.php:107
206
- msgid "Limit metabox to Admins only:"
207
- msgstr ""
208
-
209
- #: admin/main-view.php:110
210
- msgid ""
211
- "If this is selected, the metabox will be hidden from anyone who is not an "
212
- "Admin. Otherwise, by default, Contributors and above will be able to see the "
213
- "metabox. This applies only if the above option is selected."
214
- msgstr ""
215
-
216
- #: admin/main-view.php:114
217
- #, fuzzy
218
- msgid "Tell the world you're using Contextual Related Posts:"
219
- msgstr "Contextual Related Posts"
220
-
221
- #: admin/main-view.php:116
222
- msgid " <em>Optional</em>"
223
- msgstr ""
224
-
225
- #: admin/main-view.php:117
226
- #, fuzzy
227
- msgid ""
228
- "Adds a nofollow link to Contextual Related Posts homepage as the last time "
229
- "in the list."
230
- msgstr "Contextual Related Posts "
231
-
232
- #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
233
- #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
234
- #: admin/main-view.php:767
235
- #, fuzzy
236
- msgid "Save Options"
237
- msgstr "Le opzioni sono state salvate con successo."
238
-
239
- #: admin/main-view.php:158 admin/main-view.php:704
240
- msgid "Number of related posts to display: "
241
- msgstr "numero di articoli correlati da mostrare:"
242
-
243
- #: admin/main-view.php:161
244
- msgid ""
245
- "Maximum number of posts that will be displayed. The actual number may be "
246
- "smaller if less related posts are found."
247
- msgstr ""
248
-
249
- #: admin/main-view.php:165
250
- msgid "Related posts should be newer than:"
251
- msgstr ""
252
-
253
- #: admin/main-view.php:167
254
- #, fuzzy
255
- msgid "days"
256
- msgstr ""
257
- "Quanti giorni desideri siano considerati per il computo delle "
258
- "visualizzazioni per articoli più popolari del giorno?"
259
-
260
- #: admin/main-view.php:168
261
- msgid ""
262
- "This sets the cutoff period for which posts will be displayed. e.g. setting "
263
- "it to 365 will show related posts from the last year only. Set to 0 to "
264
- "disable limiting posts by date."
265
- msgstr ""
266
-
267
- #: admin/main-view.php:172
268
- msgid "Find related posts based on content as well as title:"
269
- msgstr ""
270
-
271
- #: admin/main-view.php:174
272
- msgid ""
273
- "If unchecked, only posts titles are used. I recommend using a caching plugin "
274
- "or enabling \"Cache output\" above if you enable this. Each site is "
275
- "different, so toggle this option to see which setting gives you better "
276
- "quality related posts."
277
- msgstr ""
278
-
279
- #: admin/main-view.php:178
280
- msgid "Limit content to be compared:"
281
- msgstr ""
282
-
283
- #: admin/main-view.php:180
284
- msgid ""
285
- "This sets the maximum words of the content that will be matched. Set to 0 "
286
- "for no limit. Only applies if you active the above option."
287
- msgstr ""
288
-
289
- #: admin/main-view.php:184
290
- #, fuzzy
291
- msgid "Post types to include in results:"
292
- msgstr "Escludi categorie:"
293
-
294
- #: admin/main-view.php:191
295
- msgid ""
296
- "These post types will be displayed in the list. Includes custom post types."
297
- msgstr ""
298
-
299
- #: admin/main-view.php:195
300
- #, fuzzy
301
- msgid "List of post or page IDs to exclude from the results:"
302
- msgstr "Escludi categorie:"
303
-
304
- #: admin/main-view.php:197 admin/main-view.php:377
305
- msgid ""
306
- "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
307
- msgstr ""
308
-
309
- #: admin/main-view.php:201
310
- #, fuzzy
311
- msgid "Categories to exclude from the results: "
312
- msgstr "Escludi categorie:"
313
-
314
- #: admin/main-view.php:213
315
- msgid ""
316
- "Comma separated list of category slugs. The field above has an autocomplete "
317
- "so simply start typing in the beginning of your category name and it will "
318
- "prompt you with options."
319
- msgstr ""
320
-
321
- #: admin/main-view.php:216
322
- msgid "Excluded category IDs are:"
323
- msgstr ""
324
-
325
- #: admin/main-view.php:222
326
- msgid ""
327
- "These might differ from the IDs visible in the Categories page which use the "
328
- "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
329
- "unique to this taxonomy."
330
- msgstr ""
331
-
332
- #: admin/main-view.php:265
333
- msgid "Title of related posts:"
334
- msgstr ""
335
-
336
- #: admin/main-view.php:268
337
- msgid ""
338
- "This is the main heading of the related posts. You can also display the "
339
- "current post title by using <code>%postname%</code>. e.g. <code>Related "
340
- "Posts to %postname%</code>"
341
- msgstr ""
342
-
343
- #: admin/main-view.php:272
344
- msgid "When there are no posts, what should be shown?"
345
- msgstr "Cosa desideri mostrare in assenza di articoli?"
346
-
347
- #: admin/main-view.php:276
348
- msgid "Blank Output"
349
- msgstr "nulla"
350
-
351
- #: admin/main-view.php:281
352
- #, fuzzy
353
- msgid "Display:"
354
- msgstr "Numero degli articoli più popolari da mostrare:"
355
-
356
- #: admin/main-view.php:287 admin/main-view.php:707
357
- msgid "Show post excerpt in list?"
358
- msgstr "Desideri mostrare gli estratti?"
359
-
360
- #: admin/main-view.php:290
361
- #, php-format
362
- msgid ""
363
- "Displays the excerpt of the post. If you do not provide an explicit excerpt "
364
- "to a post (in the post editor's optional excerpt field), it will display an "
365
- "automatic excerpt which refers to the first %d words of the post's content"
366
- msgstr ""
367
-
368
- #: admin/main-view.php:293
369
- msgid ""
370
- "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
371
- "is disabled."
372
- msgstr ""
373
-
374
- #: admin/main-view.php:298
375
- msgid "Length of excerpt (in words):"
376
- msgstr ""
377
-
378
- #: admin/main-view.php:304
379
- #, fuzzy
380
- msgid "Show post author in list?"
381
- msgstr "Desideri mostrare gli estratti?"
382
-
383
- #: admin/main-view.php:307
384
- msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
385
- msgstr ""
386
-
387
- #: admin/main-view.php:310
388
- msgid ""
389
- "Rounded Thumbnails style selected under the Custom Styles. Author display is "
390
- "disabled."
391
- msgstr ""
392
-
393
- #: admin/main-view.php:315
394
- #, fuzzy
395
- msgid "Show post date in list?"
396
- msgstr "Desideri mostrare gli estratti?"
397
-
398
- #: admin/main-view.php:318
399
- msgid ""
400
- "Displays the date of the post. Uses the same date format set in General "
401
- "Options"
402
- msgstr ""
403
-
404
- #: admin/main-view.php:321
405
- msgid ""
406
- "Rounded Thumbnails style selected under the Custom Styles. Date display is "
407
- "disabled."
408
- msgstr ""
409
-
410
- #: admin/main-view.php:326
411
- msgid "Limit post title length (in characters)"
412
- msgstr ""
413
-
414
- #: admin/main-view.php:329
415
- msgid ""
416
- "Any title longer than the number of characters set above will be cut and "
417
- "appended with an ellipsis (&hellip;)"
418
- msgstr ""
419
-
420
- #: admin/main-view.php:333
421
- msgid "Open links in new window"
422
- msgstr ""
423
-
424
- #: admin/main-view.php:339
425
- msgid "Add nofollow attribute to links in the list"
426
- msgstr ""
427
-
428
- #: admin/main-view.php:372
429
- #, fuzzy
430
- msgid "Exclusion settings:"
431
- msgstr "Impostazioni"
432
-
433
- #: admin/main-view.php:374
434
- #, fuzzy
435
- msgid "Exclude display of related posts on these posts / pages"
436
- msgstr "aggiungi gli articoli correlati al feed"
437
-
438
- #: admin/main-view.php:380
439
- #, fuzzy
440
- msgid "Exclude display of related posts on these post types."
441
- msgstr "aggiungi gli articoli correlati al feed"
442
-
443
- #: admin/main-view.php:387
444
- msgid ""
445
- "The related posts will not display on any of the above selected post types"
446
- msgstr ""
447
-
448
- #: admin/main-view.php:417
449
- msgid "Customize the output:"
450
- msgstr "Personalizzazione output:"
451
-
452
- #: admin/main-view.php:419
453
- msgid "HTML to display before the list of posts: "
454
- msgstr "HTML da mostrare davanti alla lista degli articoli:"
455
-
456
- #: admin/main-view.php:422
457
- msgid "HTML to display before each list item: "
458
- msgstr "HTML da mostrare davanti ad ogni singola lista:"
459
-
460
- #: admin/main-view.php:425
461
- msgid "HTML to display after each list item: "
462
- msgstr "HTML da mostrare dopo ogni lista:"
463
-
464
- #: admin/main-view.php:428
465
- msgid "HTML to display after the list of posts: "
466
- msgstr "HTML da mostrare dopo la lista degli articoli:"
467
-
468
- #: admin/main-view.php:469 admin/main-view.php:710
469
- #, fuzzy
470
- msgid "Location of post thumbnail:"
471
- msgstr "Opzioni miniature articolo:"
472
-
473
- #: admin/main-view.php:473 admin/main-view.php:714
474
- #, fuzzy
475
- msgid "Display thumbnails inline with posts, before title"
476
- msgstr "Mostra gli articoli con le miniature inline prima del titolo"
477
-
478
- #: admin/main-view.php:477 admin/main-view.php:718
479
- #, fuzzy
480
- msgid "Display thumbnails inline with posts, after title"
481
- msgstr "Mostra gli articoli con le miniature inline dopo il titolo"
482
-
483
- #: admin/main-view.php:481 admin/main-view.php:722
484
- msgid "Display only thumbnails, no text"
485
- msgstr "Mostra le sole miniature, nessun testo"
486
-
487
- #: admin/main-view.php:485 admin/main-view.php:726
488
- msgid "Do not display thumbnails, only text."
489
- msgstr "Non mostrare le miniature, solo testo."
490
-
491
- #: admin/main-view.php:488
492
- msgid ""
493
- "This setting cannot be changed because an inbuilt style has been selected "
494
- "under the Styles section. If you would like to change this option, please "
495
- "select <strong>No styles</strong> under the Styles section."
496
- msgstr ""
497
-
498
- #: admin/main-view.php:492
499
- msgid "Thumbnail size:"
500
- msgstr ""
501
-
502
- #: admin/main-view.php:516
503
- msgid "Custom size"
504
- msgstr ""
505
-
506
- #: admin/main-view.php:519
507
- msgid "You can choose from existing image sizes above or create a custom size."
508
- msgstr ""
509
-
510
- #: admin/main-view.php:520
511
- msgid ""
512
- "If you choose an existing size, then the width, height and crop mode "
513
- "settings in the three options below will be automatically updated to reflect "
514
- "the correct dimensions of the setting."
515
- msgstr ""
516
-
517
- #: admin/main-view.php:521
518
- msgid ""
519
- "If you have chosen Custom size above, then enter the width, height and crop "
520
- "settings below. For best results, use a cropped image with the same width "
521
- "and height. The default setting is 150x150 cropped image."
522
- msgstr ""
523
-
524
- #: admin/main-view.php:522
525
- msgid ""
526
- "Any changes to the thumbnail settings doesn't automatically resize existing "
527
- "images."
528
- msgstr ""
529
-
530
- #: admin/main-view.php:523
531
- #, php-format
532
- msgid ""
533
- "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
534
- "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
535
- "all image sizes."
536
- msgstr ""
537
-
538
- #: admin/main-view.php:527
539
- msgid "Width of the thumbnail:"
540
- msgstr ""
541
-
542
- #: admin/main-view.php:530
543
- msgid "Height of the thumbnail: "
544
- msgstr ""
545
-
546
- #: admin/main-view.php:535
547
- msgid "Crop mode:"
548
- msgstr ""
549
-
550
- #: admin/main-view.php:539
551
- msgid ""
552
- "By default, thumbnails will be hard cropped. Uncheck this box to "
553
- "proportionately/soft crop the thumbnails."
554
- msgstr ""
555
-
556
- #: admin/main-view.php:540
557
- #, php-format
558
- msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
559
- msgstr ""
560
-
561
- #: admin/main-view.php:544
562
- msgid "Image size attributes:"
563
- msgstr ""
564
-
565
- #: admin/main-view.php:548
566
- msgid "Style attributes are used for width and height."
567
- msgstr ""
568
-
569
- #: admin/main-view.php:554
570
- msgid "HTML width and height attributes are used for width and height."
571
- msgstr ""
572
-
573
- #: admin/main-view.php:560
574
- msgid "No HTML or Style attributes set for width and height"
575
- msgstr ""
576
-
577
- #: admin/main-view.php:565
578
- #, fuzzy
579
- msgid "Post thumbnail meta field name:"
580
- msgstr "Opzioni miniature articolo:"
581
-
582
- #: admin/main-view.php:567
583
- msgid ""
584
- "The value of this field should contain a direct link to the image. This is "
585
- "set in the meta box in the <em>Add New Post</em> screen."
586
- msgstr ""
587
-
588
- #: admin/main-view.php:570
589
- msgid "Extract the first image from the post?"
590
- msgstr ""
591
-
592
- #: admin/main-view.php:572
593
- msgid ""
594
- "This will only happen if there is no post thumbnail set and no image URL is "
595
- "specified in the meta field."
596
- msgstr ""
597
-
598
- #: admin/main-view.php:575
599
- msgid "Use default thumbnail?"
600
- msgstr ""
601
-
602
- #: admin/main-view.php:577
603
- #, fuzzy
604
- msgid ""
605
- "If checked, when no thumbnail is found, show a default one from the URL "
606
- "below. If not checked and no thumbnail is found, no image will be shown."
607
- msgstr ""
608
- "Se attiva, in assenza di miniatura ne mostrerà una predefinita da URL qui "
609
- "sotto. Se inattiva e senza miniatura, non verrà mostrata nessuna immagine."
610
-
611
- #: admin/main-view.php:580
612
- #, fuzzy
613
- msgid "Default thumbnail:"
614
- msgstr "Opzioni impostate alle predefinite."
615
-
616
- #: admin/main-view.php:583
617
- #, fuzzy
618
- msgid ""
619
- "The plugin will first check if the post contains a thumbnail. If it doesn't "
620
- "then it will check the meta field. If this is not available, then it will "
621
- "show the default image as specified above."
622
- msgstr ""
623
- "Come prima operazione, il plugin controllerà la presenza di una miniatura "
624
- "nell'articolo. Nel caso in cui non fosse presente, verificherà il campo "
625
- "meta. Qualora non fosse disponibile, mostrerà l'immagine predefinita come "
626
- "specificato qui sotto:"
627
-
628
- #: admin/main-view.php:624
629
- msgid "Style of the related posts:"
630
- msgstr ""
631
-
632
- #: admin/main-view.php:627
633
- msgid "No styles"
634
- msgstr ""
635
-
636
- #: admin/main-view.php:629
637
- msgid "Select this option if you plan to add your own styles"
638
- msgstr ""
639
-
640
- #: admin/main-view.php:633
641
- msgid "Rounded Thumbnails"
642
- msgstr ""
643
-
644
- #: admin/main-view.php:636
645
- msgid ""
646
- "Enabling this option will turn on the thumbnails and set their width and "
647
- "height to 150px. It will also turn off the display of the author, excerpt "
648
- "and date if already enabled. Disabling this option will not revert any "
649
- "settings."
650
- msgstr ""
651
-
652
- #: admin/main-view.php:637
653
- #, php-format
654
- msgid ""
655
- "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
656
- msgstr ""
657
-
658
- #: admin/main-view.php:641
659
- msgid "Text only"
660
- msgstr ""
661
-
662
- #: admin/main-view.php:643
663
- msgid ""
664
- "Enabling this option will disable thumbnails and no longer include the "
665
- "default style sheet included in the plugin."
666
- msgstr ""
667
-
668
- #: admin/main-view.php:658
669
- msgid "Custom CSS to add to header:"
670
- msgstr ""
671
-
672
- #: admin/main-view.php:662
673
- msgid ""
674
- "Do not include <code>style</code> tags. Check out the <a href=\"http://"
675
- "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
676
- "\">FAQ</a> for available CSS classes to style."
677
- msgstr ""
678
-
679
- #: admin/main-view.php:702
680
- msgid ""
681
- "Below options override the related posts settings for your blog feed. These "
682
- "only apply if you have selected to add related posts to Feeds in the General "
683
- "Options tab."
684
- msgstr ""
685
-
686
- #: admin/main-view.php:730
687
- #, fuzzy
688
- msgid "Maximum width of the thumbnail: "
689
- msgstr "Opzioni miniature articolo:"
690
-
691
- #: admin/main-view.php:733
692
- #, fuzzy
693
- msgid "Maximum height of the thumbnail: "
694
- msgstr "Opzioni miniature articolo:"
695
-
696
- #: admin/main-view.php:768
697
- #, fuzzy
698
- msgid "Default Options"
699
- msgstr "Opzioni impostate alle predefinite."
700
-
701
- #: admin/main-view.php:768
702
- msgid "Do you want to set options to Default?"
703
- msgstr "Sei certo di volere impostare alle opzioni predefinite?"
704
-
705
- #: admin/main-view.php:769
706
- msgid "Recreate Index"
707
- msgstr ""
708
-
709
- #: admin/main-view.php:769
710
- msgid "Are you sure you want to recreate the index?"
711
- msgstr "Sei certo di volere ricreare l'indice?"
712
-
713
- #: admin/main-view.php:774
714
- msgid ""
715
- "One or more FULLTEXT indices are missing. Please hit the <a href="
716
- "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
717
- "this."
718
- msgstr ""
719
-
720
- #: admin/metabox.php:98
721
- #, fuzzy
722
- msgid "Location of thumbnail:"
723
- msgstr "Opzioni miniature articolo:"
724
-
725
- #: admin/metabox.php:100
726
- msgid ""
727
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
728
- "image will be used for the post. It will be resized to the thumbnail size "
729
- "set under Settings &raquo; Related Posts &raquo; Output Options"
730
- msgstr ""
731
-
732
- #: admin/metabox.php:101
733
- msgid "The URL above is saved in the meta field:"
734
- msgstr ""
735
-
736
- #: admin/metabox.php:106
737
- msgid ""
738
- "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
739
- "thumbnail, then you'll need to make the same change in the Top 10 meta box "
740
- "on this page."
741
- msgstr ""
742
-
743
- #: admin/metabox.php:117
744
- msgid "Disable Related Posts display:"
745
- msgstr ""
746
-
747
- #: admin/metabox.php:120
748
- msgid ""
749
- "If this is checked, then Contextual Related Posts will not automatically "
750
- "insert the related posts at the end of post content."
751
- msgstr ""
752
-
753
- #: admin/metabox.php:125 admin/metabox.php:133
754
- msgid "Manual related posts:"
755
- msgstr ""
756
-
757
- #: admin/metabox.php:127
758
- msgid ""
759
- "Comma separated list of post, page or custom post type IDs. e.g. "
760
- "188,320,500. These will be given preference over the related posts generated "
761
- "by the plugin."
762
- msgstr ""
763
-
764
- #: admin/metabox.php:128
765
- msgid ""
766
- "Once you enter the list above and save this page, the plugin will display "
767
- "the titles of the posts below for your reference. Only IDs corresponding to "
768
- "published posts or custom post types will be retained."
769
- msgstr ""
770
-
771
- #: admin/metabox.php:142
772
- msgid "This post type is:"
773
- msgstr ""
774
-
775
- #: admin/sidebar-view.php:20
776
- msgid "Support the development"
777
- msgstr "Sostieni lo sviluppo"
778
-
779
- #: admin/sidebar-view.php:27
780
- #, fuzzy
781
- msgid "Donation for Contextual Related Posts"
782
- msgstr "Contextual Related Posts"
783
-
784
- #: admin/sidebar-view.php:29
785
- #, fuzzy
786
- msgid "Enter amount in USD:"
787
- msgstr "Inserisci la cifra in USD: "
788
-
789
- #: admin/sidebar-view.php:33
790
- msgid "Send your donation to the author of"
791
- msgstr "Invia la tua donazione all'autore di"
792
-
793
- #: admin/sidebar-view.php:41
794
- msgid "Follow me"
795
- msgstr ""
796
-
797
- #: admin/sidebar-view.php:66
798
- #, fuzzy
799
- msgid "Quick links"
800
- msgstr "Collegamenti veloci"
801
-
802
- #: admin/sidebar-view.php:70
803
- msgid "Plugin homepage"
804
- msgstr ""
805
-
806
- #: admin/sidebar-view.php:71
807
- msgid "FAQ"
808
- msgstr ""
809
-
810
- #: admin/sidebar-view.php:73
811
- msgid "Reviews"
812
- msgstr ""
813
-
814
- #: admin/sidebar-view.php:74
815
- msgid "Github repository"
816
- msgstr ""
817
-
818
- #: admin/sidebar-view.php:75
819
- msgid "Other plugins"
820
- msgstr "Altri plugin"
821
-
822
- #: admin/sidebar-view.php:76
823
- msgid "Ajay's blog"
824
- msgstr "Il blog di Ajay"
825
-
826
- #: contextual-related-posts.php:232
827
- #, php-format
828
- msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
829
- msgstr ""
830
-
831
- #: contextual-related-posts.php:710
832
- msgid "<h3>Related Posts:</h3>"
833
- msgstr "<h3>Related Posts:</h3>"
834
-
835
- #: contextual-related-posts.php:712
836
- #, fuzzy
837
- msgid "No related posts found"
838
- msgstr "Non é stato trovato alcun articolo correlato"
839
-
840
- #: includes/class-crp-widget.php:33
841
- #, fuzzy
842
- msgid "Related Posts [CRP]"
843
- msgstr "Related Posts"
844
-
845
- #: includes/class-crp-widget.php:34
846
- #, fuzzy
847
- msgid "Display Related Posts"
848
- msgstr "Numero degli articoli più popolari da mostrare:"
849
-
850
- #: includes/class-crp-widget.php:69
851
- #, fuzzy
852
- msgid "Title"
853
- msgstr "Titolo per gli articoli più popolari:"
854
-
855
- #: includes/class-crp-widget.php:74
856
- #, fuzzy
857
- msgid "No. of posts"
858
- msgstr "Gli articoli più popolari"
859
-
860
- #: includes/class-crp-widget.php:79
861
- #, fuzzy
862
- msgid " Show excerpt?"
863
- msgstr "Desideri mostrare gli estratti?"
864
-
865
- #: includes/class-crp-widget.php:84
866
- #, fuzzy
867
- msgid " Show author?"
868
- msgstr "Invia la tua donazione all'autore di"
869
-
870
- #: includes/class-crp-widget.php:89
871
- #, fuzzy
872
- msgid " Show date?"
873
- msgstr "Desideri mostrare gli estratti?"
874
-
875
- #: includes/class-crp-widget.php:95
876
- #, fuzzy
877
- msgid "Thumbnails inline, before title"
878
- msgstr "Mostra gli articoli con le miniature inline prima del titolo"
879
-
880
- #: includes/class-crp-widget.php:96
881
- #, fuzzy
882
- msgid "Thumbnails inline, after title"
883
- msgstr "Mostra gli articoli con le miniature inline dopo il titolo"
884
-
885
- #: includes/class-crp-widget.php:97
886
- #, fuzzy
887
- msgid "Only thumbnails, no text"
888
- msgstr "Mostra le sole miniature, nessun testo"
889
-
890
- #: includes/class-crp-widget.php:98
891
- #, fuzzy
892
- msgid "No thumbnails, only text."
893
- msgstr "Non mostrare le miniature, solo testo."
894
-
895
- #: includes/class-crp-widget.php:103
896
- #, fuzzy
897
- msgid "Thumbnail height"
898
- msgstr "Opzioni miniature articolo:"
899
-
900
- #: includes/class-crp-widget.php:108
901
- #, fuzzy
902
- msgid "Thumbnail width"
903
- msgstr "Opzioni miniature articolo:"
904
-
905
- #: includes/class-crp-widget.php:112
906
- msgid "Post types to include:"
907
- msgstr ""
908
-
909
- #: includes/media.php:67
910
- msgid "thumb_timthumb argument has been deprecated"
911
- msgstr ""
912
-
913
- #: includes/media.php:71
914
- msgid "thumb_timthumb_q argument has been deprecated"
915
- msgstr ""
916
-
917
- #: includes/media.php:75
918
- msgid "filter argument has been deprecated"
919
- msgstr ""
920
-
921
- #: includes/output-generator.php:238
922
- msgid " by "
923
- msgstr ""
924
-
925
- #~ msgid "Contextual Related Posts"
926
- #~ msgstr "Contextual Related Posts"
927
-
928
- #, fuzzy
929
- #~ msgid "Contextual Related Posts plugin page"
930
- #~ msgstr "Contextual Related Posts "
931
-
932
- #~ msgid "Options saved successfully."
933
- #~ msgstr "Le opzioni sono state salvate correttamente."
934
-
935
- #, fuzzy
936
- #~ msgid "Add related posts to:"
937
- #~ msgstr "Gli articoli più popolari"
938
-
939
- #, fuzzy
940
- #~ msgid ""
941
- #~ "If unchecked, only posts titles are used. I recommend using a caching "
942
- #~ "plugin or enabling \"Cache output\" above if you enable this."
943
- #~ msgstr ""
944
- #~ "Ricerca degli articoli correlati in relazione al contenuto ed al titolo. "
945
- #~ "Se disattivata, verranno utilizzati i soli titoli dei post. (in questo "
946
- #~ "caso é preferibile attivare un plugin per la cache)"
947
-
948
- #~ msgid "Title of related posts: "
949
- #~ msgstr "titolo per gli articoli correlati:"
950
-
951
- #~ msgid "Length of excerpt (in words): "
952
- #~ msgstr "Lunghezza estratto (in parole): "
953
-
954
- #~ msgid "Post thumbnail options:"
955
- #~ msgstr "Opzioni miniature articolo:"
956
-
957
- #, fuzzy
958
- #~ msgid "Maximum width of the thumbnail:"
959
- #~ msgstr "Opzioni miniature articolo:"
960
-
961
- #~ msgid "Powered by"
962
- #~ msgstr "Powered by"
963
-
964
- #, fuzzy
965
- #~ msgid ""
966
- #~ "If the postmeta is not set, then should the plugin extract the first "
967
- #~ "image from the post?"
968
- #~ msgstr ""
969
- #~ "Se il postmeta non fosse stato impostato, il plugin estrarrà "
970
- #~ "dall'articolo la prima immagine. Questa operazione potrebbe rallentare il "
971
- #~ "caricamento del tuo articolo nel caso in cui la prima immagine corelata "
972
- #~ "fosse di grandi dimensioni"
973
-
974
- #, fuzzy
975
- #~ msgid ""
976
- #~ "This can slow down the loading of your page if the first image in the "
977
- #~ "related posts is large in file-size"
978
- #~ msgstr ""
979
- #~ "Se il postmeta non fosse stato impostato, il plugin estrarrà "
980
- #~ "dall'articolo la prima immagine. Questa operazione potrebbe rallentare il "
981
- #~ "caricamento del tuo articolo nel caso in cui la prima immagine corelata "
982
- #~ "fosse di grandi dimensioni"
983
-
984
- #~ msgid "Recent developments"
985
- #~ msgstr "Sviluppi recenti"
986
-
987
- #, fuzzy
988
- #~ msgid " Posted by "
989
- #~ msgstr "Powered by"
990
-
991
- #~ msgid "Follow @ajaydsouza on Twitter"
992
- #~ msgstr "Segui @ajaydsouza su Twitter"
993
-
994
- #~ msgid "Display \"No Related Posts\""
995
- #~ msgstr "\"Nessun articolo correlato\""
996
-
997
- #~ msgid "Exclude Categories: "
998
- #~ msgstr "escludi le categorie:"
999
-
1000
- #~ msgid "plugin page"
1001
- #~ msgstr "pagina plugin"
1002
-
1003
- #~ msgid "Exclude Pages in Related Posts"
1004
- #~ msgstr "Escludi le pagine da Related Posts"
1005
-
1006
- #~ msgid ""
1007
- #~ "Add related posts to the post content on single posts. <br />If you "
1008
- #~ "choose to disable this, please add <code>&lt;?php "
1009
- #~ "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> to your "
1010
- #~ "template file where you want it displayed"
1011
- #~ msgstr ""
1012
- #~ "aggiungi gli articoli correlati ai contenuti del post (articoli singoli). "
1013
- #~ "<br />oppure disattiva ed inserisci <code>&lt;?php "
1014
- #~ "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> nel tuo "
1015
- #~ "template laddove desideri che siano visualizzati"
1016
-
1017
- #~ msgid ""
1018
- #~ "Append link to this plugin as item. Optional, but would be nice to give "
1019
- #~ "me some link love"
1020
- #~ msgstr "Inserisci link di credito. Facoltativo, ma gradito"
1021
-
1022
- #~ msgid ""
1023
- #~ "Post thumbnail meta field (the meta should point contain the image "
1024
- #~ "source): "
1025
- #~ msgstr "Campo meta per le miniature (il valore deve puntare alla immagine):"
1026
-
1027
- #~ msgid "Thumbnail dimensions:"
1028
- #~ msgstr "Dimensione miniature:"
1029
-
1030
- #~ msgid "Max width: "
1031
- #~ msgstr "Larghezza massima:"
1032
-
1033
- #~ msgid "Max height: "
1034
- #~ msgstr "Altezza massima:"
1035
-
1036
- #~ msgid "Support forum"
1037
- #~ msgstr "Forum di supporto"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/contextual-related-posts-lt_LT.mo DELETED
Binary file
languages/contextual-related-posts-lt_LT.po DELETED
@@ -1,1010 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Contextual Related Posts\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-27 13:33+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
- "Language-Team: me@ajaydsouza.com\n"
9
- "Language: ru_RU\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "X-Generator: Poedit 1.8.4\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
-
19
- #: admin/admin.php:191
20
- msgid "Options saved successfully. If enabled, the cache has been cleared."
21
- msgstr ""
22
-
23
- #: admin/admin.php:194
24
- msgid ""
25
- "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
26
- "displayed."
27
- msgstr ""
28
-
29
- #: admin/admin.php:197
30
- msgid "Text Only style selected. Thumbnails will not be displayed."
31
- msgstr ""
32
-
33
- #: admin/admin.php:200
34
- #, php-format
35
- msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
36
- msgstr ""
37
-
38
- #: admin/admin.php:224
39
- msgid "Options set to Default."
40
- msgstr "Opcijas iestatīts uz Default."
41
-
42
- #: admin/admin.php:233
43
- msgid "Index recreated"
44
- msgstr "indekss pārbūvēts"
45
-
46
- #: admin/admin.php:250
47
- msgid "Related Posts"
48
- msgstr "Related Posts"
49
-
50
- #: admin/cache.php:42
51
- msgid ""
52
- "An error occurred clearing the cache. Please contact your site administrator."
53
- "\\n\\nError message:\\n"
54
- msgstr ""
55
-
56
- #: admin/cache.php:47
57
- msgid " cached row(s) cleared"
58
- msgstr ""
59
-
60
- #: admin/loader.php:24
61
- msgid "Settings"
62
- msgstr "iestatījumi"
63
-
64
- #: admin/loader.php:46 admin/sidebar-view.php:72
65
- msgid "Support"
66
- msgstr "atbalstīt"
67
-
68
- #: admin/loader.php:47
69
- msgid "Donate"
70
- msgstr "ziedot"
71
-
72
- #: admin/loader.php:48
73
- msgid "Contribute"
74
- msgstr ""
75
-
76
- #: admin/loader.php:64
77
- msgid "plugin settings page"
78
- msgstr "spraudnis iestatījumu lapa"
79
-
80
- #: admin/main-view.php:32 admin/main-view.php:55
81
- #, fuzzy
82
- msgid "General options"
83
- msgstr "Настройки сохранены."
84
-
85
- #: admin/main-view.php:33 admin/main-view.php:142
86
- msgid "List tuning options"
87
- msgstr ""
88
-
89
- #: admin/main-view.php:34 admin/main-view.php:249
90
- msgid "Output options"
91
- msgstr "Izejas opcijas:"
92
-
93
- #: admin/main-view.php:35 admin/main-view.php:453
94
- #: includes/class-crp-widget.php:93
95
- msgid "Thumbnail options"
96
- msgstr "sīktēlu iespējas"
97
-
98
- #: admin/main-view.php:36 admin/main-view.php:608
99
- msgid "Styles"
100
- msgstr ""
101
-
102
- #: admin/main-view.php:37 admin/main-view.php:686
103
- msgid "Feed options"
104
- msgstr "Iespējas:"
105
-
106
- #: admin/main-view.php:71
107
- msgid "Cache output?"
108
- msgstr ""
109
-
110
- #: admin/main-view.php:73
111
- msgid ""
112
- "Enabling this option will cache the related posts output when the post is "
113
- "visited the first time. The cache is cleaned when you save this page."
114
- msgstr ""
115
-
116
- #: admin/main-view.php:74
117
- msgid ""
118
- "The CRP cache works independently and in addition to any of your caching "
119
- "plugins like WP Super Cache or W3 Total Cache. It is recommended that you "
120
- "enable this on your blog."
121
- msgstr ""
122
-
123
- #: admin/main-view.php:75
124
- msgid "Clear cache"
125
- msgstr ""
126
-
127
- #: admin/main-view.php:79
128
- msgid "Automatically add related posts to:"
129
- msgstr ""
130
-
131
- #: admin/main-view.php:81
132
- #, fuzzy
133
- msgid "Posts"
134
- msgstr "Популярные записи"
135
-
136
- #: admin/main-view.php:82
137
- msgid "Pages"
138
- msgstr ""
139
-
140
- #: admin/main-view.php:83
141
- #, fuzzy
142
- msgid "Home page"
143
- msgstr "Результатов на страницу:"
144
-
145
- #: admin/main-view.php:84
146
- msgid "Feeds"
147
- msgstr ""
148
-
149
- #: admin/main-view.php:85
150
- msgid "Category archives"
151
- msgstr ""
152
-
153
- #: admin/main-view.php:86
154
- msgid "Tag archives"
155
- msgstr ""
156
-
157
- #: admin/main-view.php:87
158
- #, fuzzy
159
- msgid "Other archives"
160
- msgstr "Другие плагины автора"
161
-
162
- #: admin/main-view.php:88
163
- #, fuzzy
164
- msgid ""
165
- "If you choose to disable this, please add <code>&lt;?php if "
166
- "( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your "
167
- "template file where you want it displayed"
168
- msgstr ""
169
- "Ja vēlaties atslēgt šo, lūdzu, pievienojiet <code> <php if (function_exists "
170
- "(\"echo_ald_crp\")) echo_ald_crp ();?> </ Code>, lai jūsu veidnes failu, kur "
171
- "vēlaties to parādīt"
172
-
173
- #: admin/main-view.php:92
174
- msgid "Display location priority:"
175
- msgstr ""
176
-
177
- #: admin/main-view.php:95
178
- msgid ""
179
- "If you select to automatically add the related posts, CRP will hook into the "
180
- "Content Filter at a priority as specified in this option."
181
- msgstr ""
182
-
183
- #: admin/main-view.php:96
184
- msgid ""
185
- "A higher number will cause the related posts to be processed later and move "
186
- "their display further down after the post content. Any number below 10 is "
187
- "not recommended."
188
- msgstr ""
189
-
190
- #: admin/main-view.php:100
191
- msgid "Show metabox:"
192
- msgstr ""
193
-
194
- #: admin/main-view.php:103
195
- msgid ""
196
- "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
197
- "Posts screens. Also applies to Pages and Custom Post Types."
198
- msgstr ""
199
-
200
- #: admin/main-view.php:107
201
- msgid "Limit metabox to Admins only:"
202
- msgstr ""
203
-
204
- #: admin/main-view.php:110
205
- msgid ""
206
- "If this is selected, the metabox will be hidden from anyone who is not an "
207
- "Admin. Otherwise, by default, Contributors and above will be able to see the "
208
- "metabox. This applies only if the above option is selected."
209
- msgstr ""
210
-
211
- #: admin/main-view.php:114
212
- #, fuzzy
213
- msgid "Tell the world you're using Contextual Related Posts:"
214
- msgstr "Konteksta Related Posts"
215
-
216
- #: admin/main-view.php:116
217
- msgid " <em>Optional</em>"
218
- msgstr ""
219
-
220
- #: admin/main-view.php:117
221
- #, fuzzy
222
- msgid ""
223
- "Adds a nofollow link to Contextual Related Posts homepage as the last time "
224
- "in the list."
225
- msgstr "Konteksta saistītus amatus"
226
-
227
- #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
228
- #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
229
- #: admin/main-view.php:767
230
- msgid "Save Options"
231
- msgstr "Saglabāt opcijas"
232
-
233
- #: admin/main-view.php:158 admin/main-view.php:704
234
- msgid "Number of related posts to display: "
235
- msgstr "Skaits saistītus amatus, lai parādītu:"
236
-
237
- #: admin/main-view.php:161
238
- msgid ""
239
- "Maximum number of posts that will be displayed. The actual number may be "
240
- "smaller if less related posts are found."
241
- msgstr ""
242
-
243
- #: admin/main-view.php:165
244
- msgid "Related posts should be newer than:"
245
- msgstr ""
246
-
247
- #: admin/main-view.php:167
248
- #, fuzzy
249
- msgid "days"
250
- msgstr ""
251
- "За сколько дней считать просмотры для списка Популярных сегодня записей?"
252
-
253
- #: admin/main-view.php:168
254
- msgid ""
255
- "This sets the cutoff period for which posts will be displayed. e.g. setting "
256
- "it to 365 will show related posts from the last year only. Set to 0 to "
257
- "disable limiting posts by date."
258
- msgstr ""
259
-
260
- #: admin/main-view.php:172
261
- msgid "Find related posts based on content as well as title:"
262
- msgstr ""
263
-
264
- #: admin/main-view.php:174
265
- msgid ""
266
- "If unchecked, only posts titles are used. I recommend using a caching plugin "
267
- "or enabling \"Cache output\" above if you enable this. Each site is "
268
- "different, so toggle this option to see which setting gives you better "
269
- "quality related posts."
270
- msgstr ""
271
-
272
- #: admin/main-view.php:178
273
- msgid "Limit content to be compared:"
274
- msgstr ""
275
-
276
- #: admin/main-view.php:180
277
- msgid ""
278
- "This sets the maximum words of the content that will be matched. Set to 0 "
279
- "for no limit. Only applies if you active the above option."
280
- msgstr ""
281
-
282
- #: admin/main-view.php:184
283
- #, fuzzy
284
- msgid "Post types to include in results:"
285
- msgstr "Исключить рубрики:"
286
-
287
- #: admin/main-view.php:191
288
- msgid ""
289
- "These post types will be displayed in the list. Includes custom post types."
290
- msgstr ""
291
-
292
- #: admin/main-view.php:195
293
- #, fuzzy
294
- msgid "List of post or page IDs to exclude from the results:"
295
- msgstr "Исключить рубрики:"
296
-
297
- #: admin/main-view.php:197 admin/main-view.php:377
298
- msgid ""
299
- "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
300
- msgstr ""
301
-
302
- #: admin/main-view.php:201
303
- #, fuzzy
304
- msgid "Categories to exclude from the results: "
305
- msgstr "Исключить рубрики:"
306
-
307
- #: admin/main-view.php:213
308
- msgid ""
309
- "Comma separated list of category slugs. The field above has an autocomplete "
310
- "so simply start typing in the beginning of your category name and it will "
311
- "prompt you with options."
312
- msgstr ""
313
-
314
- #: admin/main-view.php:216
315
- msgid "Excluded category IDs are:"
316
- msgstr ""
317
-
318
- #: admin/main-view.php:222
319
- msgid ""
320
- "These might differ from the IDs visible in the Categories page which use the "
321
- "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
322
- "unique to this taxonomy."
323
- msgstr ""
324
-
325
- #: admin/main-view.php:265
326
- msgid "Title of related posts:"
327
- msgstr ""
328
-
329
- #: admin/main-view.php:268
330
- msgid ""
331
- "This is the main heading of the related posts. You can also display the "
332
- "current post title by using <code>%postname%</code>. e.g. <code>Related "
333
- "Posts to %postname%</code>"
334
- msgstr ""
335
-
336
- #: admin/main-view.php:272
337
- msgid "When there are no posts, what should be shown?"
338
- msgstr "Ja nav amati, kas būtu redzams?"
339
-
340
- #: admin/main-view.php:276
341
- msgid "Blank Output"
342
- msgstr "tukša izeja"
343
-
344
- #: admin/main-view.php:281
345
- #, fuzzy
346
- msgid "Display:"
347
- msgstr "Количество Популярных записей в списке:"
348
-
349
- #: admin/main-view.php:287 admin/main-view.php:707
350
- msgid "Show post excerpt in list?"
351
- msgstr "Rādīt post izvilkumu sarakstā?"
352
-
353
- #: admin/main-view.php:290
354
- #, php-format
355
- msgid ""
356
- "Displays the excerpt of the post. If you do not provide an explicit excerpt "
357
- "to a post (in the post editor's optional excerpt field), it will display an "
358
- "automatic excerpt which refers to the first %d words of the post's content"
359
- msgstr ""
360
-
361
- #: admin/main-view.php:293
362
- msgid ""
363
- "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
364
- "is disabled."
365
- msgstr ""
366
-
367
- #: admin/main-view.php:298
368
- msgid "Length of excerpt (in words):"
369
- msgstr ""
370
-
371
- #: admin/main-view.php:304
372
- #, fuzzy
373
- msgid "Show post author in list?"
374
- msgstr "Показывать текст записи в списке?"
375
-
376
- #: admin/main-view.php:307
377
- msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
378
- msgstr ""
379
-
380
- #: admin/main-view.php:310
381
- msgid ""
382
- "Rounded Thumbnails style selected under the Custom Styles. Author display is "
383
- "disabled."
384
- msgstr ""
385
-
386
- #: admin/main-view.php:315
387
- #, fuzzy
388
- msgid "Show post date in list?"
389
- msgstr "Показывать текст записи в списке?"
390
-
391
- #: admin/main-view.php:318
392
- msgid ""
393
- "Displays the date of the post. Uses the same date format set in General "
394
- "Options"
395
- msgstr ""
396
-
397
- #: admin/main-view.php:321
398
- msgid ""
399
- "Rounded Thumbnails style selected under the Custom Styles. Date display is "
400
- "disabled."
401
- msgstr ""
402
-
403
- #: admin/main-view.php:326
404
- msgid "Limit post title length (in characters)"
405
- msgstr ""
406
-
407
- #: admin/main-view.php:329
408
- msgid ""
409
- "Any title longer than the number of characters set above will be cut and "
410
- "appended with an ellipsis (&hellip;)"
411
- msgstr ""
412
-
413
- #: admin/main-view.php:333
414
- msgid "Open links in new window"
415
- msgstr ""
416
-
417
- #: admin/main-view.php:339
418
- msgid "Add nofollow attribute to links in the list"
419
- msgstr ""
420
-
421
- #: admin/main-view.php:372
422
- #, fuzzy
423
- msgid "Exclusion settings:"
424
- msgstr "spraudnis iestatījumu lapa"
425
-
426
- #: admin/main-view.php:374
427
- msgid "Exclude display of related posts on these posts / pages"
428
- msgstr "Pievienot saistītus amatus barībā"
429
-
430
- #: admin/main-view.php:380
431
- #, fuzzy
432
- msgid "Exclude display of related posts on these post types."
433
- msgstr "Pievienot saistītus amatus barībā"
434
-
435
- #: admin/main-view.php:387
436
- msgid ""
437
- "The related posts will not display on any of the above selected post types"
438
- msgstr ""
439
-
440
- #: admin/main-view.php:417
441
- msgid "Customize the output:"
442
- msgstr "Pielāgot izejas:"
443
-
444
- #: admin/main-view.php:419
445
- msgid "HTML to display before the list of posts: "
446
- msgstr "HTML, lai parādītu, pirms amatu sarakstu:"
447
-
448
- #: admin/main-view.php:422
449
- msgid "HTML to display before each list item: "
450
- msgstr "HTML, lai parādītu pirms katras saraksta elementa:"
451
-
452
- #: admin/main-view.php:425
453
- msgid "HTML to display after each list item: "
454
- msgstr "HTML, lai parādītu pēc katra saraksta elementa:"
455
-
456
- #: admin/main-view.php:428
457
- msgid "HTML to display after the list of posts: "
458
- msgstr "HTML, lai parādītu pēc amatu sarakstā:"
459
-
460
- #: admin/main-view.php:469 admin/main-view.php:710
461
- #, fuzzy
462
- msgid "Location of post thumbnail:"
463
- msgstr "Настройки превью к записям:"
464
-
465
- #: admin/main-view.php:473 admin/main-view.php:714
466
- msgid "Display thumbnails inline with posts, before title"
467
- msgstr "Rādīt skices ar ziņojumiem"
468
-
469
- #: admin/main-view.php:477 admin/main-view.php:718
470
- msgid "Display thumbnails inline with posts, after title"
471
- msgstr "Rādīt sīktēlus saskaņā ar soobscheniyamiazat skicēm ar ziņojumiem"
472
-
473
- #: admin/main-view.php:481 admin/main-view.php:722
474
- msgid "Display only thumbnails, no text"
475
- msgstr "Attēlotu tikai sīktēlus, teksts"
476
-
477
- #: admin/main-view.php:485 admin/main-view.php:726
478
- msgid "Do not display thumbnails, only text."
479
- msgstr "Nerādīt sīktēlus, tikai tekstu."
480
-
481
- #: admin/main-view.php:488
482
- msgid ""
483
- "This setting cannot be changed because an inbuilt style has been selected "
484
- "under the Styles section. If you would like to change this option, please "
485
- "select <strong>No styles</strong> under the Styles section."
486
- msgstr ""
487
-
488
- #: admin/main-view.php:492
489
- msgid "Thumbnail size:"
490
- msgstr ""
491
-
492
- #: admin/main-view.php:516
493
- msgid "Custom size"
494
- msgstr ""
495
-
496
- #: admin/main-view.php:519
497
- msgid "You can choose from existing image sizes above or create a custom size."
498
- msgstr ""
499
-
500
- #: admin/main-view.php:520
501
- msgid ""
502
- "If you choose an existing size, then the width, height and crop mode "
503
- "settings in the three options below will be automatically updated to reflect "
504
- "the correct dimensions of the setting."
505
- msgstr ""
506
-
507
- #: admin/main-view.php:521
508
- msgid ""
509
- "If you have chosen Custom size above, then enter the width, height and crop "
510
- "settings below. For best results, use a cropped image with the same width "
511
- "and height. The default setting is 150x150 cropped image."
512
- msgstr ""
513
-
514
- #: admin/main-view.php:522
515
- msgid ""
516
- "Any changes to the thumbnail settings doesn't automatically resize existing "
517
- "images."
518
- msgstr ""
519
-
520
- #: admin/main-view.php:523
521
- #, php-format
522
- msgid ""
523
- "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
524
- "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
525
- "all image sizes."
526
- msgstr ""
527
-
528
- #: admin/main-view.php:527
529
- msgid "Width of the thumbnail:"
530
- msgstr ""
531
-
532
- #: admin/main-view.php:530
533
- msgid "Height of the thumbnail: "
534
- msgstr ""
535
-
536
- #: admin/main-view.php:535
537
- msgid "Crop mode:"
538
- msgstr ""
539
-
540
- #: admin/main-view.php:539
541
- msgid ""
542
- "By default, thumbnails will be hard cropped. Uncheck this box to "
543
- "proportionately/soft crop the thumbnails."
544
- msgstr ""
545
-
546
- #: admin/main-view.php:540
547
- #, php-format
548
- msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
549
- msgstr ""
550
-
551
- #: admin/main-view.php:544
552
- msgid "Image size attributes:"
553
- msgstr ""
554
-
555
- #: admin/main-view.php:548
556
- msgid "Style attributes are used for width and height."
557
- msgstr ""
558
-
559
- #: admin/main-view.php:554
560
- msgid "HTML width and height attributes are used for width and height."
561
- msgstr ""
562
-
563
- #: admin/main-view.php:560
564
- msgid "No HTML or Style attributes set for width and height"
565
- msgstr ""
566
-
567
- #: admin/main-view.php:565
568
- #, fuzzy
569
- msgid "Post thumbnail meta field name:"
570
- msgstr "Attēlu rīki post:"
571
-
572
- #: admin/main-view.php:567
573
- msgid ""
574
- "The value of this field should contain a direct link to the image. This is "
575
- "set in the meta box in the <em>Add New Post</em> screen."
576
- msgstr ""
577
-
578
- #: admin/main-view.php:570
579
- msgid "Extract the first image from the post?"
580
- msgstr ""
581
-
582
- #: admin/main-view.php:572
583
- msgid ""
584
- "This will only happen if there is no post thumbnail set and no image URL is "
585
- "specified in the meta field."
586
- msgstr ""
587
-
588
- #: admin/main-view.php:575
589
- msgid "Use default thumbnail?"
590
- msgstr ""
591
-
592
- #: admin/main-view.php:577
593
- #, fuzzy
594
- msgid ""
595
- "If checked, when no thumbnail is found, show a default one from the URL "
596
- "below. If not checked and no thumbnail is found, no image will be shown."
597
- msgstr ""
598
- "Если превью к записи не будет найдено автоматичкески, то вместо него будет "
599
- "добавлено стандартное изображение. Если превью задано к записи - будет "
600
- "отображаться только оно."
601
-
602
- #: admin/main-view.php:580
603
- #, fuzzy
604
- msgid "Default thumbnail:"
605
- msgstr "noklusējuma opcijas"
606
-
607
- #: admin/main-view.php:583
608
- #, fuzzy
609
- msgid ""
610
- "The plugin will first check if the post contains a thumbnail. If it doesn't "
611
- "then it will check the meta field. If this is not available, then it will "
612
- "show the default image as specified above."
613
- msgstr ""
614
- "Spraudnis vispirms pārbaudīt, vai sūtījums satur sīktēlu. Ja tā nav, tad tas "
615
- "būs pārbaudīt meta laukā. Ja šāda informācija nav pieejama, tad tas rādīs "
616
- "noklusējuma attēlu, kā minēts iepriekš"
617
-
618
- #: admin/main-view.php:624
619
- msgid "Style of the related posts:"
620
- msgstr ""
621
-
622
- #: admin/main-view.php:627
623
- msgid "No styles"
624
- msgstr ""
625
-
626
- #: admin/main-view.php:629
627
- msgid "Select this option if you plan to add your own styles"
628
- msgstr ""
629
-
630
- #: admin/main-view.php:633
631
- msgid "Rounded Thumbnails"
632
- msgstr ""
633
-
634
- #: admin/main-view.php:636
635
- msgid ""
636
- "Enabling this option will turn on the thumbnails and set their width and "
637
- "height to 150px. It will also turn off the display of the author, excerpt "
638
- "and date if already enabled. Disabling this option will not revert any "
639
- "settings."
640
- msgstr ""
641
-
642
- #: admin/main-view.php:637
643
- #, php-format
644
- msgid ""
645
- "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
646
- msgstr ""
647
-
648
- #: admin/main-view.php:641
649
- msgid "Text only"
650
- msgstr ""
651
-
652
- #: admin/main-view.php:643
653
- msgid ""
654
- "Enabling this option will disable thumbnails and no longer include the "
655
- "default style sheet included in the plugin."
656
- msgstr ""
657
-
658
- #: admin/main-view.php:658
659
- msgid "Custom CSS to add to header:"
660
- msgstr ""
661
-
662
- #: admin/main-view.php:662
663
- msgid ""
664
- "Do not include <code>style</code> tags. Check out the <a href=\"http://"
665
- "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
666
- "\">FAQ</a> for available CSS classes to style."
667
- msgstr ""
668
-
669
- #: admin/main-view.php:702
670
- msgid ""
671
- "Below options override the related posts settings for your blog feed. These "
672
- "only apply if you have selected to add related posts to Feeds in the General "
673
- "Options tab."
674
- msgstr ""
675
-
676
- #: admin/main-view.php:730
677
- #, fuzzy
678
- msgid "Maximum width of the thumbnail: "
679
- msgstr "Настройки превью к записям:"
680
-
681
- #: admin/main-view.php:733
682
- #, fuzzy
683
- msgid "Maximum height of the thumbnail: "
684
- msgstr "Настройки превью к записям:"
685
-
686
- #: admin/main-view.php:768
687
- msgid "Default Options"
688
- msgstr "noklusējuma opcijas"
689
-
690
- #: admin/main-view.php:768
691
- msgid "Do you want to set options to Default?"
692
- msgstr "Vai jūs vēlaties, lai uzstādītu iespējas Default?"
693
-
694
- #: admin/main-view.php:769
695
- msgid "Recreate Index"
696
- msgstr ""
697
-
698
- #: admin/main-view.php:769
699
- msgid "Are you sure you want to recreate the index?"
700
- msgstr "Vai jūs tiešām vēlaties, lai atjaunotu indeksu?"
701
-
702
- #: admin/main-view.php:774
703
- msgid ""
704
- "One or more FULLTEXT indices are missing. Please hit the <a href="
705
- "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
706
- "this."
707
- msgstr ""
708
-
709
- #: admin/metabox.php:98
710
- #, fuzzy
711
- msgid "Location of thumbnail:"
712
- msgstr "Настройки превью к записям:"
713
-
714
- #: admin/metabox.php:100
715
- msgid ""
716
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
717
- "image will be used for the post. It will be resized to the thumbnail size "
718
- "set under Settings &raquo; Related Posts &raquo; Output Options"
719
- msgstr ""
720
-
721
- #: admin/metabox.php:101
722
- msgid "The URL above is saved in the meta field:"
723
- msgstr ""
724
-
725
- #: admin/metabox.php:106
726
- msgid ""
727
- "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
728
- "thumbnail, then you'll need to make the same change in the Top 10 meta box "
729
- "on this page."
730
- msgstr ""
731
-
732
- #: admin/metabox.php:117
733
- msgid "Disable Related Posts display:"
734
- msgstr ""
735
-
736
- #: admin/metabox.php:120
737
- msgid ""
738
- "If this is checked, then Contextual Related Posts will not automatically "
739
- "insert the related posts at the end of post content."
740
- msgstr ""
741
-
742
- #: admin/metabox.php:125 admin/metabox.php:133
743
- msgid "Manual related posts:"
744
- msgstr ""
745
-
746
- #: admin/metabox.php:127
747
- msgid ""
748
- "Comma separated list of post, page or custom post type IDs. e.g. "
749
- "188,320,500. These will be given preference over the related posts generated "
750
- "by the plugin."
751
- msgstr ""
752
-
753
- #: admin/metabox.php:128
754
- msgid ""
755
- "Once you enter the list above and save this page, the plugin will display "
756
- "the titles of the posts below for your reference. Only IDs corresponding to "
757
- "published posts or custom post types will be retained."
758
- msgstr ""
759
-
760
- #: admin/metabox.php:142
761
- msgid "This post type is:"
762
- msgstr ""
763
-
764
- #: admin/sidebar-view.php:20
765
- msgid "Support the development"
766
- msgstr "Atbalstīt"
767
-
768
- #: admin/sidebar-view.php:27
769
- #, fuzzy
770
- msgid "Donation for Contextual Related Posts"
771
- msgstr "Konteksta Related Posts"
772
-
773
- #: admin/sidebar-view.php:29
774
- #, fuzzy
775
- msgid "Enter amount in USD:"
776
- msgstr "Ievadiet summu USD:"
777
-
778
- #: admin/sidebar-view.php:33
779
- msgid "Send your donation to the author of"
780
- msgstr "Sūtiet savu ziedojumu autoram"
781
-
782
- #: admin/sidebar-view.php:41
783
- msgid "Follow me"
784
- msgstr ""
785
-
786
- #: admin/sidebar-view.php:66
787
- #, fuzzy
788
- msgid "Quick links"
789
- msgstr "Ātrās saites"
790
-
791
- #: admin/sidebar-view.php:70
792
- msgid "Plugin homepage"
793
- msgstr ""
794
-
795
- #: admin/sidebar-view.php:71
796
- msgid "FAQ"
797
- msgstr ""
798
-
799
- #: admin/sidebar-view.php:73
800
- msgid "Reviews"
801
- msgstr ""
802
-
803
- #: admin/sidebar-view.php:74
804
- msgid "Github repository"
805
- msgstr ""
806
-
807
- #: admin/sidebar-view.php:75
808
- msgid "Other plugins"
809
- msgstr "citas plugins"
810
-
811
- #: admin/sidebar-view.php:76
812
- msgid "Ajay's blog"
813
- msgstr "Ajay blogs"
814
-
815
- #: contextual-related-posts.php:232
816
- #, php-format
817
- msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
818
- msgstr ""
819
-
820
- #: contextual-related-posts.php:710
821
- msgid "<h3>Related Posts:</h3>"
822
- msgstr "<h3>saistīta posts:</h3>"
823
-
824
- #: contextual-related-posts.php:712
825
- msgid "No related posts found"
826
- msgstr "Nr saistītus amatus atrasts"
827
-
828
- #: includes/class-crp-widget.php:33
829
- #, fuzzy
830
- msgid "Related Posts [CRP]"
831
- msgstr "Related Posts"
832
-
833
- #: includes/class-crp-widget.php:34
834
- msgid "Display Related Posts"
835
- msgstr "Displeja Related Posts"
836
-
837
- #: includes/class-crp-widget.php:69
838
- #, fuzzy
839
- msgid "Title"
840
- msgstr "Заголовок списка Популярных записей:"
841
-
842
- #: includes/class-crp-widget.php:74
843
- #, fuzzy
844
- msgid "No. of posts"
845
- msgstr "Популярные записи"
846
-
847
- #: includes/class-crp-widget.php:79
848
- msgid " Show excerpt?"
849
- msgstr "Rādīt izvilkumu?"
850
-
851
- #: includes/class-crp-widget.php:84
852
- #, fuzzy
853
- msgid " Show author?"
854
- msgstr "Отправьте пожертвование автору"
855
-
856
- #: includes/class-crp-widget.php:89
857
- #, fuzzy
858
- msgid " Show date?"
859
- msgstr "Показывать текст записи в списке?"
860
-
861
- #: includes/class-crp-widget.php:95
862
- msgid "Thumbnails inline, before title"
863
- msgstr "Sīktēli inline, pirms virsraksta"
864
-
865
- #: includes/class-crp-widget.php:96
866
- msgid "Thumbnails inline, after title"
867
- msgstr "Sīktēli inline, pēc nosaukuma"
868
-
869
- #: includes/class-crp-widget.php:97
870
- msgid "Only thumbnails, no text"
871
- msgstr "Tikai sīktēlus, bez teksta"
872
-
873
- #: includes/class-crp-widget.php:98
874
- msgid "No thumbnails, only text."
875
- msgstr "Nav sīktēlus, tikai tekstu."
876
-
877
- #: includes/class-crp-widget.php:103
878
- msgid "Thumbnail height"
879
- msgstr "sīktēls augstums"
880
-
881
- #: includes/class-crp-widget.php:108
882
- msgid "Thumbnail width"
883
- msgstr "Thumbnail platums"
884
-
885
- #: includes/class-crp-widget.php:112
886
- msgid "Post types to include:"
887
- msgstr ""
888
-
889
- #: includes/media.php:67
890
- msgid "thumb_timthumb argument has been deprecated"
891
- msgstr ""
892
-
893
- #: includes/media.php:71
894
- msgid "thumb_timthumb_q argument has been deprecated"
895
- msgstr ""
896
-
897
- #: includes/media.php:75
898
- msgid "filter argument has been deprecated"
899
- msgstr ""
900
-
901
- #: includes/output-generator.php:238
902
- msgid " by "
903
- msgstr ""
904
-
905
- #~ msgid "Contextual Related Posts"
906
- #~ msgstr "Konteksta Related Posts"
907
-
908
- #~ msgid "Contextual Related Posts plugin page"
909
- #~ msgstr "Konteksta saistītus amatus"
910
-
911
- #~ msgid "Options saved successfully."
912
- #~ msgstr "Opcijas veiksmīgi saglabāts."
913
-
914
- #~ msgid "Add related posts to:"
915
- #~ msgstr "Pievienot saistītus amatus barībā"
916
-
917
- #, fuzzy
918
- #~ msgid ""
919
- #~ "If unchecked, only posts titles are used. I recommend using a caching "
920
- #~ "plugin or enabling \"Cache output\" above if you enable this."
921
- #~ msgstr ""
922
- #~ "Ja nekontrolēti, tikai amati nosaukumi tiek izmantoti. (Es ieteiktu "
923
- #~ "izmantot caching spraudnis, ja aktivizēsiet šo)"
924
-
925
- #~ msgid "Title of related posts: "
926
- #~ msgstr "Nosaukums saistītus amatus:"
927
-
928
- #~ msgid "Length of excerpt (in words): "
929
- #~ msgstr "Garums izrakstā (vārdiem)"
930
-
931
- #~ msgid "Post thumbnail options:"
932
- #~ msgstr "Post sīktēlu iespējas:"
933
-
934
- #, fuzzy
935
- #~ msgid "Maximum width of the thumbnail:"
936
- #~ msgstr "Настройки превью к записям:"
937
-
938
- #~ msgid "Powered by"
939
- #~ msgstr "Powered by"
940
-
941
- #~ msgid ""
942
- #~ "If the postmeta is not set, then should the plugin extract the first "
943
- #~ "image from the post?"
944
- #~ msgstr ""
945
- #~ "Ja postmeta nav noteikts, tad būtu spraudnis iegūt pirmo attēlu no amata?"
946
-
947
- #~ msgid ""
948
- #~ "This can slow down the loading of your page if the first image in the "
949
- #~ "related posts is large in file-size"
950
- #~ msgstr ""
951
- #~ "Tas var palēnināt iekraušana lapas, ja pirmo attēlu saistītajos amatos ir "
952
- #~ "liela faila izmēra"
953
-
954
- #~ msgid "Recent developments"
955
- #~ msgstr "Nesenie notikumi"
956
-
957
- #, fuzzy
958
- #~ msgid " Posted by "
959
- #~ msgstr "Powered by"
960
-
961
- #~ msgid "Follow @ajaydsouza on Twitter"
962
- #~ msgstr "Следовать @ajaydsouza на Твиттере"
963
-
964
- #~ msgid "Display \"No Related Posts\""
965
- #~ msgstr "Показывать \"Нет похожих постов\""
966
-
967
- #~ msgid "Exclude Categories: "
968
- #~ msgstr "Исключить категории:"
969
-
970
- #~ msgid "plugin page"
971
- #~ msgstr "Страница плагина"
972
-
973
- #~ msgid "Exclude Pages in Related Posts"
974
- #~ msgstr "Исключить страницы в Похожих постах"
975
-
976
- #~ msgid ""
977
- #~ "Add related posts to the post content on single posts. <br />If you "
978
- #~ "choose to disable this, please add <code>&lt;?php "
979
- #~ "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> to your "
980
- #~ "template file where you want it displayed"
981
- #~ msgstr ""
982
- #~ "Добавить связанные посты в содержание поста. Если вы захотите отключить "
983
- #~ "это, пожалуйста, добавьте код: <code>&lt;?php "
984
- #~ "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code>, в файл "
985
- #~ "шаблона вашего сайта"
986
-
987
- #~ msgid ""
988
- #~ "Append link to this plugin as item. Optional, but would be nice to give "
989
- #~ "me some link love"
990
- #~ msgstr ""
991
- #~ "Добавить ссылку на этот плагин в качестве пункта. Необязательно, но было "
992
- #~ "бы неплохо, чтобы поддержать разработчика."
993
-
994
- #~ msgid ""
995
- #~ "Post thumbnail meta field (the meta should point contain the image "
996
- #~ "source): "
997
- #~ msgstr ""
998
- #~ "Мета-данные изображения поста (они должны содержать источник изображения):"
999
-
1000
- #~ msgid "Thumbnail dimensions:"
1001
- #~ msgstr "Размеры уменьшенного изображения:"
1002
-
1003
- #~ msgid "Max width: "
1004
- #~ msgstr "Максимальная ширина:"
1005
-
1006
- #~ msgid "Max height: "
1007
- #~ msgstr "Максимальная высота:"
1008
-
1009
- #~ msgid "Support forum"
1010
- #~ msgstr "Форум поддержки"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/contextual-related-posts-nl_NL.mo DELETED
Binary file
languages/contextual-related-posts-nl_NL.po DELETED
@@ -1,1033 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Contextual Related Posts\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-27 13:33+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
- "Language-Team: http://WPwebshop.com <info@wppg.me>\n"
9
- "Language: nl_NL\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "X-Generator: Poedit 1.8.4\n"
18
- "X-Poedit-SearchPath-0: .\n"
19
-
20
- #: admin/admin.php:191
21
- msgid "Options saved successfully. If enabled, the cache has been cleared."
22
- msgstr ""
23
-
24
- #: admin/admin.php:194
25
- msgid ""
26
- "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
27
- "displayed."
28
- msgstr ""
29
-
30
- #: admin/admin.php:197
31
- msgid "Text Only style selected. Thumbnails will not be displayed."
32
- msgstr ""
33
-
34
- #: admin/admin.php:200
35
- #, php-format
36
- msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
37
- msgstr ""
38
-
39
- #: admin/admin.php:224
40
- msgid "Options set to Default."
41
- msgstr "Opties ingesteld op standaard."
42
-
43
- #: admin/admin.php:233
44
- msgid "Index recreated"
45
- msgstr "Index opnieuw gemaakt"
46
-
47
- #: admin/admin.php:250
48
- msgid "Related Posts"
49
- msgstr "Gerelateerde Berichten"
50
-
51
- #: admin/cache.php:42
52
- msgid ""
53
- "An error occurred clearing the cache. Please contact your site administrator."
54
- "\\n\\nError message:\\n"
55
- msgstr ""
56
-
57
- #: admin/cache.php:47
58
- msgid " cached row(s) cleared"
59
- msgstr ""
60
-
61
- #: admin/loader.php:24
62
- msgid "Settings"
63
- msgstr "Instellingen"
64
-
65
- #: admin/loader.php:46 admin/sidebar-view.php:72
66
- msgid "Support"
67
- msgstr "Ondersteuning"
68
-
69
- #: admin/loader.php:47
70
- msgid "Donate"
71
- msgstr "Doneren"
72
-
73
- #: admin/loader.php:48
74
- msgid "Contribute"
75
- msgstr ""
76
-
77
- #: admin/loader.php:64
78
- #, fuzzy
79
- msgid "plugin settings page"
80
- msgstr "Instellingen"
81
-
82
- #: admin/main-view.php:32 admin/main-view.php:55
83
- #, fuzzy
84
- msgid "General options"
85
- msgstr "Opties succesvol opgeslagen."
86
-
87
- #: admin/main-view.php:33 admin/main-view.php:142
88
- msgid "List tuning options"
89
- msgstr ""
90
-
91
- #: admin/main-view.php:34 admin/main-view.php:249
92
- #, fuzzy
93
- msgid "Output options"
94
- msgstr "Opties succesvol opgeslagen."
95
-
96
- #: admin/main-view.php:35 admin/main-view.php:453
97
- #: includes/class-crp-widget.php:93
98
- #, fuzzy
99
- msgid "Thumbnail options"
100
- msgstr "Bericht miniatuurafbeelding opties:"
101
-
102
- #: admin/main-view.php:36 admin/main-view.php:608
103
- msgid "Styles"
104
- msgstr ""
105
-
106
- #: admin/main-view.php:37 admin/main-view.php:686
107
- #, fuzzy
108
- msgid "Feed options"
109
- msgstr "Opties succesvol opgeslagen."
110
-
111
- #: admin/main-view.php:71
112
- msgid "Cache output?"
113
- msgstr ""
114
-
115
- #: admin/main-view.php:73
116
- msgid ""
117
- "Enabling this option will cache the related posts output when the post is "
118
- "visited the first time. The cache is cleaned when you save this page."
119
- msgstr ""
120
-
121
- #: admin/main-view.php:74
122
- msgid ""
123
- "The CRP cache works independently and in addition to any of your caching "
124
- "plugins like WP Super Cache or W3 Total Cache. It is recommended that you "
125
- "enable this on your blog."
126
- msgstr ""
127
-
128
- #: admin/main-view.php:75
129
- msgid "Clear cache"
130
- msgstr ""
131
-
132
- #: admin/main-view.php:79
133
- msgid "Automatically add related posts to:"
134
- msgstr ""
135
-
136
- #: admin/main-view.php:81
137
- #, fuzzy
138
- msgid "Posts"
139
- msgstr "Populaire Berichten"
140
-
141
- #: admin/main-view.php:82
142
- msgid "Pages"
143
- msgstr ""
144
-
145
- #: admin/main-view.php:83
146
- #, fuzzy
147
- msgid "Home page"
148
- msgstr "Resultaten per pagina:"
149
-
150
- #: admin/main-view.php:84
151
- msgid "Feeds"
152
- msgstr ""
153
-
154
- #: admin/main-view.php:85
155
- msgid "Category archives"
156
- msgstr ""
157
-
158
- #: admin/main-view.php:86
159
- msgid "Tag archives"
160
- msgstr ""
161
-
162
- #: admin/main-view.php:87
163
- #, fuzzy
164
- msgid "Other archives"
165
- msgstr "Andere plugins"
166
-
167
- #: admin/main-view.php:88
168
- #, fuzzy
169
- msgid ""
170
- "If you choose to disable this, please add <code>&lt;?php if "
171
- "( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your "
172
- "template file where you want it displayed"
173
- msgstr ""
174
- "Voeg gerelateerde berichten toe aan pagina's. <br />Wanneer je ervoor kiest "
175
- "om dit uit te zetten moet je de code <code>&lt;?php "
176
- "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> toevoegen "
177
- "aan je sjabloon bestand waar je het wilt laten weergeven"
178
-
179
- #: admin/main-view.php:92
180
- msgid "Display location priority:"
181
- msgstr ""
182
-
183
- #: admin/main-view.php:95
184
- msgid ""
185
- "If you select to automatically add the related posts, CRP will hook into the "
186
- "Content Filter at a priority as specified in this option."
187
- msgstr ""
188
-
189
- #: admin/main-view.php:96
190
- msgid ""
191
- "A higher number will cause the related posts to be processed later and move "
192
- "their display further down after the post content. Any number below 10 is "
193
- "not recommended."
194
- msgstr ""
195
-
196
- #: admin/main-view.php:100
197
- msgid "Show metabox:"
198
- msgstr ""
199
-
200
- #: admin/main-view.php:103
201
- msgid ""
202
- "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
203
- "Posts screens. Also applies to Pages and Custom Post Types."
204
- msgstr ""
205
-
206
- #: admin/main-view.php:107
207
- msgid "Limit metabox to Admins only:"
208
- msgstr ""
209
-
210
- #: admin/main-view.php:110
211
- msgid ""
212
- "If this is selected, the metabox will be hidden from anyone who is not an "
213
- "Admin. Otherwise, by default, Contributors and above will be able to see the "
214
- "metabox. This applies only if the above option is selected."
215
- msgstr ""
216
-
217
- #: admin/main-view.php:114
218
- #, fuzzy
219
- msgid "Tell the world you're using Contextual Related Posts:"
220
- msgstr "Contextual Related Posts"
221
-
222
- #: admin/main-view.php:116
223
- msgid " <em>Optional</em>"
224
- msgstr ""
225
-
226
- #: admin/main-view.php:117
227
- #, fuzzy
228
- msgid ""
229
- "Adds a nofollow link to Contextual Related Posts homepage as the last time "
230
- "in the list."
231
- msgstr "Contextual Related Posts "
232
-
233
- #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
234
- #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
235
- #: admin/main-view.php:767
236
- #, fuzzy
237
- msgid "Save Options"
238
- msgstr "Opties succesvol opgeslagen."
239
-
240
- #: admin/main-view.php:158 admin/main-view.php:704
241
- msgid "Number of related posts to display: "
242
- msgstr "Aantal weer te geven gerelateerde berichten:"
243
-
244
- #: admin/main-view.php:161
245
- msgid ""
246
- "Maximum number of posts that will be displayed. The actual number may be "
247
- "smaller if less related posts are found."
248
- msgstr ""
249
-
250
- #: admin/main-view.php:165
251
- msgid "Related posts should be newer than:"
252
- msgstr ""
253
-
254
- #: admin/main-view.php:167
255
- #, fuzzy
256
- msgid "days"
257
- msgstr "Van hoeveel dagen moet Dagelijks Populair weergaves bevatten ?"
258
-
259
- #: admin/main-view.php:168
260
- msgid ""
261
- "This sets the cutoff period for which posts will be displayed. e.g. setting "
262
- "it to 365 will show related posts from the last year only. Set to 0 to "
263
- "disable limiting posts by date."
264
- msgstr ""
265
-
266
- #: admin/main-view.php:172
267
- msgid "Find related posts based on content as well as title:"
268
- msgstr ""
269
-
270
- #: admin/main-view.php:174
271
- msgid ""
272
- "If unchecked, only posts titles are used. I recommend using a caching plugin "
273
- "or enabling \"Cache output\" above if you enable this. Each site is "
274
- "different, so toggle this option to see which setting gives you better "
275
- "quality related posts."
276
- msgstr ""
277
-
278
- #: admin/main-view.php:178
279
- msgid "Limit content to be compared:"
280
- msgstr ""
281
-
282
- #: admin/main-view.php:180
283
- msgid ""
284
- "This sets the maximum words of the content that will be matched. Set to 0 "
285
- "for no limit. Only applies if you active the above option."
286
- msgstr ""
287
-
288
- #: admin/main-view.php:184
289
- msgid "Post types to include in results:"
290
- msgstr ""
291
-
292
- #: admin/main-view.php:191
293
- msgid ""
294
- "These post types will be displayed in the list. Includes custom post types."
295
- msgstr ""
296
-
297
- #: admin/main-view.php:195
298
- msgid "List of post or page IDs to exclude from the results:"
299
- msgstr ""
300
-
301
- #: admin/main-view.php:197 admin/main-view.php:377
302
- msgid ""
303
- "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
304
- msgstr ""
305
-
306
- #: admin/main-view.php:201
307
- msgid "Categories to exclude from the results: "
308
- msgstr ""
309
-
310
- #: admin/main-view.php:213
311
- msgid ""
312
- "Comma separated list of category slugs. The field above has an autocomplete "
313
- "so simply start typing in the beginning of your category name and it will "
314
- "prompt you with options."
315
- msgstr ""
316
-
317
- #: admin/main-view.php:216
318
- msgid "Excluded category IDs are:"
319
- msgstr ""
320
-
321
- #: admin/main-view.php:222
322
- msgid ""
323
- "These might differ from the IDs visible in the Categories page which use the "
324
- "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
325
- "unique to this taxonomy."
326
- msgstr ""
327
-
328
- #: admin/main-view.php:265
329
- msgid "Title of related posts:"
330
- msgstr ""
331
-
332
- #: admin/main-view.php:268
333
- msgid ""
334
- "This is the main heading of the related posts. You can also display the "
335
- "current post title by using <code>%postname%</code>. e.g. <code>Related "
336
- "Posts to %postname%</code>"
337
- msgstr ""
338
-
339
- #: admin/main-view.php:272
340
- msgid "When there are no posts, what should be shown?"
341
- msgstr "Wat moet er weergegeven worden wanneer er geen berichten zijn?"
342
-
343
- #: admin/main-view.php:276
344
- msgid "Blank Output"
345
- msgstr "Lege Output"
346
-
347
- #: admin/main-view.php:281
348
- #, fuzzy
349
- msgid "Display:"
350
- msgstr "Aantal populaire berichten om weer te geven:"
351
-
352
- #: admin/main-view.php:287 admin/main-view.php:707
353
- msgid "Show post excerpt in list?"
354
- msgstr "Laat bericht uittreksel zien in lijst?"
355
-
356
- #: admin/main-view.php:290
357
- #, php-format
358
- msgid ""
359
- "Displays the excerpt of the post. If you do not provide an explicit excerpt "
360
- "to a post (in the post editor's optional excerpt field), it will display an "
361
- "automatic excerpt which refers to the first %d words of the post's content"
362
- msgstr ""
363
-
364
- #: admin/main-view.php:293
365
- msgid ""
366
- "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
367
- "is disabled."
368
- msgstr ""
369
-
370
- #: admin/main-view.php:298
371
- msgid "Length of excerpt (in words):"
372
- msgstr ""
373
-
374
- #: admin/main-view.php:304
375
- #, fuzzy
376
- msgid "Show post author in list?"
377
- msgstr "Laat bericht samenvatting zien in lijst?"
378
-
379
- #: admin/main-view.php:307
380
- msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
381
- msgstr ""
382
-
383
- #: admin/main-view.php:310
384
- msgid ""
385
- "Rounded Thumbnails style selected under the Custom Styles. Author display is "
386
- "disabled."
387
- msgstr ""
388
-
389
- #: admin/main-view.php:315
390
- #, fuzzy
391
- msgid "Show post date in list?"
392
- msgstr "Laat bericht samenvatting zien in lijst?"
393
-
394
- #: admin/main-view.php:318
395
- msgid ""
396
- "Displays the date of the post. Uses the same date format set in General "
397
- "Options"
398
- msgstr ""
399
-
400
- #: admin/main-view.php:321
401
- msgid ""
402
- "Rounded Thumbnails style selected under the Custom Styles. Date display is "
403
- "disabled."
404
- msgstr ""
405
-
406
- #: admin/main-view.php:326
407
- msgid "Limit post title length (in characters)"
408
- msgstr ""
409
-
410
- #: admin/main-view.php:329
411
- msgid ""
412
- "Any title longer than the number of characters set above will be cut and "
413
- "appended with an ellipsis (&hellip;)"
414
- msgstr ""
415
-
416
- #: admin/main-view.php:333
417
- msgid "Open links in new window"
418
- msgstr ""
419
-
420
- #: admin/main-view.php:339
421
- msgid "Add nofollow attribute to links in the list"
422
- msgstr ""
423
-
424
- #: admin/main-view.php:372
425
- #, fuzzy
426
- msgid "Exclusion settings:"
427
- msgstr "Instellingen"
428
-
429
- #: admin/main-view.php:374
430
- #, fuzzy
431
- msgid "Exclude display of related posts on these posts / pages"
432
- msgstr "Voeg gerelateerde berichten toe aan feed"
433
-
434
- #: admin/main-view.php:380
435
- #, fuzzy
436
- msgid "Exclude display of related posts on these post types."
437
- msgstr "Voeg gerelateerde berichten toe aan feed"
438
-
439
- #: admin/main-view.php:387
440
- msgid ""
441
- "The related posts will not display on any of the above selected post types"
442
- msgstr ""
443
-
444
- #: admin/main-view.php:417
445
- msgid "Customize the output:"
446
- msgstr "Aanpassen van de output:"
447
-
448
- #: admin/main-view.php:419
449
- msgid "HTML to display before the list of posts: "
450
- msgstr "Weer te geven HTML voor de berichtenlijst:"
451
-
452
- #: admin/main-view.php:422
453
- msgid "HTML to display before each list item: "
454
- msgstr "Weer te geven HTML voor elk item in de lijst:"
455
-
456
- #: admin/main-view.php:425
457
- msgid "HTML to display after each list item: "
458
- msgstr "Weer te geven HTML na elk item in de lijst:"
459
-
460
- #: admin/main-view.php:428
461
- msgid "HTML to display after the list of posts: "
462
- msgstr "Weer te geven HTML na de berichtenlijst:"
463
-
464
- #: admin/main-view.php:469 admin/main-view.php:710
465
- #, fuzzy
466
- msgid "Location of post thumbnail:"
467
- msgstr "Bericht miniatuurafbeelding opties:"
468
-
469
- #: admin/main-view.php:473 admin/main-view.php:714
470
- #, fuzzy
471
- msgid "Display thumbnails inline with posts, before title"
472
- msgstr "Toon miniatuurafbeeldingen inline met berichten"
473
-
474
- #: admin/main-view.php:477 admin/main-view.php:718
475
- #, fuzzy
476
- msgid "Display thumbnails inline with posts, after title"
477
- msgstr "Toon miniatuurafbeeldingen inline met berichten"
478
-
479
- #: admin/main-view.php:481 admin/main-view.php:722
480
- msgid "Display only thumbnails, no text"
481
- msgstr "Alleen miniatuurafbeeldingen weergeven, geen tekst"
482
-
483
- #: admin/main-view.php:485 admin/main-view.php:726
484
- msgid "Do not display thumbnails, only text."
485
- msgstr "Geen miniatuurafbeeldingen weergeven, alleen tekst."
486
-
487
- #: admin/main-view.php:488
488
- msgid ""
489
- "This setting cannot be changed because an inbuilt style has been selected "
490
- "under the Styles section. If you would like to change this option, please "
491
- "select <strong>No styles</strong> under the Styles section."
492
- msgstr ""
493
-
494
- #: admin/main-view.php:492
495
- msgid "Thumbnail size:"
496
- msgstr ""
497
-
498
- #: admin/main-view.php:516
499
- msgid "Custom size"
500
- msgstr ""
501
-
502
- #: admin/main-view.php:519
503
- msgid "You can choose from existing image sizes above or create a custom size."
504
- msgstr ""
505
-
506
- #: admin/main-view.php:520
507
- msgid ""
508
- "If you choose an existing size, then the width, height and crop mode "
509
- "settings in the three options below will be automatically updated to reflect "
510
- "the correct dimensions of the setting."
511
- msgstr ""
512
-
513
- #: admin/main-view.php:521
514
- msgid ""
515
- "If you have chosen Custom size above, then enter the width, height and crop "
516
- "settings below. For best results, use a cropped image with the same width "
517
- "and height. The default setting is 150x150 cropped image."
518
- msgstr ""
519
-
520
- #: admin/main-view.php:522
521
- msgid ""
522
- "Any changes to the thumbnail settings doesn't automatically resize existing "
523
- "images."
524
- msgstr ""
525
-
526
- #: admin/main-view.php:523
527
- #, php-format
528
- msgid ""
529
- "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
530
- "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
531
- "all image sizes."
532
- msgstr ""
533
-
534
- #: admin/main-view.php:527
535
- msgid "Width of the thumbnail:"
536
- msgstr ""
537
-
538
- #: admin/main-view.php:530
539
- msgid "Height of the thumbnail: "
540
- msgstr ""
541
-
542
- #: admin/main-view.php:535
543
- msgid "Crop mode:"
544
- msgstr ""
545
-
546
- #: admin/main-view.php:539
547
- msgid ""
548
- "By default, thumbnails will be hard cropped. Uncheck this box to "
549
- "proportionately/soft crop the thumbnails."
550
- msgstr ""
551
-
552
- #: admin/main-view.php:540
553
- #, php-format
554
- msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
555
- msgstr ""
556
-
557
- #: admin/main-view.php:544
558
- msgid "Image size attributes:"
559
- msgstr ""
560
-
561
- #: admin/main-view.php:548
562
- msgid "Style attributes are used for width and height."
563
- msgstr ""
564
-
565
- #: admin/main-view.php:554
566
- msgid "HTML width and height attributes are used for width and height."
567
- msgstr ""
568
-
569
- #: admin/main-view.php:560
570
- msgid "No HTML or Style attributes set for width and height"
571
- msgstr ""
572
-
573
- #: admin/main-view.php:565
574
- #, fuzzy
575
- msgid "Post thumbnail meta field name:"
576
- msgstr "Berichtopties miniatuurafbeelding:"
577
-
578
- #: admin/main-view.php:567
579
- msgid ""
580
- "The value of this field should contain a direct link to the image. This is "
581
- "set in the meta box in the <em>Add New Post</em> screen."
582
- msgstr ""
583
-
584
- #: admin/main-view.php:570
585
- msgid "Extract the first image from the post?"
586
- msgstr ""
587
-
588
- #: admin/main-view.php:572
589
- msgid ""
590
- "This will only happen if there is no post thumbnail set and no image URL is "
591
- "specified in the meta field."
592
- msgstr ""
593
-
594
- #: admin/main-view.php:575
595
- #, fuzzy
596
- msgid "Use default thumbnail?"
597
- msgstr "Bericht miniatuurafbeelding opties:"
598
-
599
- #: admin/main-view.php:577
600
- msgid ""
601
- "If checked, when no thumbnail is found, show a default one from the URL "
602
- "below. If not checked and no thumbnail is found, no image will be shown."
603
- msgstr ""
604
-
605
- #: admin/main-view.php:580
606
- #, fuzzy
607
- msgid "Default thumbnail:"
608
- msgstr "Bericht miniatuurafbeelding opties:"
609
-
610
- #: admin/main-view.php:583
611
- #, fuzzy
612
- msgid ""
613
- "The plugin will first check if the post contains a thumbnail. If it doesn't "
614
- "then it will check the meta field. If this is not available, then it will "
615
- "show the default image as specified above."
616
- msgstr ""
617
- "De plugin zal eerst controleren of het bericht een miniatuurafbeelding "
618
- "bevat, zoniet dan zal de plugin het metaveld controleren. Wanneer het geen "
619
- "miniatuurafbeelding bevat wordt de standaard afbeelding getoond zoals "
620
- "hieronder aangegeven:"
621
-
622
- #: admin/main-view.php:624
623
- msgid "Style of the related posts:"
624
- msgstr ""
625
-
626
- #: admin/main-view.php:627
627
- msgid "No styles"
628
- msgstr ""
629
-
630
- #: admin/main-view.php:629
631
- msgid "Select this option if you plan to add your own styles"
632
- msgstr ""
633
-
634
- #: admin/main-view.php:633
635
- msgid "Rounded Thumbnails"
636
- msgstr ""
637
-
638
- #: admin/main-view.php:636
639
- msgid ""
640
- "Enabling this option will turn on the thumbnails and set their width and "
641
- "height to 150px. It will also turn off the display of the author, excerpt "
642
- "and date if already enabled. Disabling this option will not revert any "
643
- "settings."
644
- msgstr ""
645
-
646
- #: admin/main-view.php:637
647
- #, php-format
648
- msgid ""
649
- "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
650
- msgstr ""
651
-
652
- #: admin/main-view.php:641
653
- msgid "Text only"
654
- msgstr ""
655
-
656
- #: admin/main-view.php:643
657
- msgid ""
658
- "Enabling this option will disable thumbnails and no longer include the "
659
- "default style sheet included in the plugin."
660
- msgstr ""
661
-
662
- #: admin/main-view.php:658
663
- msgid "Custom CSS to add to header:"
664
- msgstr ""
665
-
666
- #: admin/main-view.php:662
667
- msgid ""
668
- "Do not include <code>style</code> tags. Check out the <a href=\"http://"
669
- "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
670
- "\">FAQ</a> for available CSS classes to style."
671
- msgstr ""
672
-
673
- #: admin/main-view.php:702
674
- msgid ""
675
- "Below options override the related posts settings for your blog feed. These "
676
- "only apply if you have selected to add related posts to Feeds in the General "
677
- "Options tab."
678
- msgstr ""
679
-
680
- #: admin/main-view.php:730
681
- #, fuzzy
682
- msgid "Maximum width of the thumbnail: "
683
- msgstr "Bericht miniatuurafbeelding opties:"
684
-
685
- #: admin/main-view.php:733
686
- #, fuzzy
687
- msgid "Maximum height of the thumbnail: "
688
- msgstr "Bericht miniatuurafbeelding opties:"
689
-
690
- #: admin/main-view.php:768
691
- #, fuzzy
692
- msgid "Default Options"
693
- msgstr "Opties ingesteld op Standaard."
694
-
695
- #: admin/main-view.php:768
696
- msgid "Do you want to set options to Default?"
697
- msgstr "Wil je opties terug naar standaard instellen?"
698
-
699
- #: admin/main-view.php:769
700
- msgid "Recreate Index"
701
- msgstr ""
702
-
703
- #: admin/main-view.php:769
704
- msgid "Are you sure you want to recreate the index?"
705
- msgstr "Weet je zeker dat je de index opnieuw wilt creeëren?"
706
-
707
- #: admin/main-view.php:774
708
- msgid ""
709
- "One or more FULLTEXT indices are missing. Please hit the <a href="
710
- "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
711
- "this."
712
- msgstr ""
713
-
714
- #: admin/metabox.php:98
715
- #, fuzzy
716
- msgid "Location of thumbnail:"
717
- msgstr "Bericht miniatuurafbeelding opties:"
718
-
719
- #: admin/metabox.php:100
720
- msgid ""
721
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
722
- "image will be used for the post. It will be resized to the thumbnail size "
723
- "set under Settings &raquo; Related Posts &raquo; Output Options"
724
- msgstr ""
725
-
726
- #: admin/metabox.php:101
727
- msgid "The URL above is saved in the meta field:"
728
- msgstr ""
729
-
730
- #: admin/metabox.php:106
731
- msgid ""
732
- "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
733
- "thumbnail, then you'll need to make the same change in the Top 10 meta box "
734
- "on this page."
735
- msgstr ""
736
-
737
- #: admin/metabox.php:117
738
- msgid "Disable Related Posts display:"
739
- msgstr ""
740
-
741
- #: admin/metabox.php:120
742
- msgid ""
743
- "If this is checked, then Contextual Related Posts will not automatically "
744
- "insert the related posts at the end of post content."
745
- msgstr ""
746
-
747
- #: admin/metabox.php:125 admin/metabox.php:133
748
- msgid "Manual related posts:"
749
- msgstr ""
750
-
751
- #: admin/metabox.php:127
752
- msgid ""
753
- "Comma separated list of post, page or custom post type IDs. e.g. "
754
- "188,320,500. These will be given preference over the related posts generated "
755
- "by the plugin."
756
- msgstr ""
757
-
758
- #: admin/metabox.php:128
759
- msgid ""
760
- "Once you enter the list above and save this page, the plugin will display "
761
- "the titles of the posts below for your reference. Only IDs corresponding to "
762
- "published posts or custom post types will be retained."
763
- msgstr ""
764
-
765
- #: admin/metabox.php:142
766
- msgid "This post type is:"
767
- msgstr ""
768
-
769
- #: admin/sidebar-view.php:20
770
- msgid "Support the development"
771
- msgstr "Ondersteun de ontwikkeling"
772
-
773
- #: admin/sidebar-view.php:27
774
- #, fuzzy
775
- msgid "Donation for Contextual Related Posts"
776
- msgstr "Contextual Related Posts"
777
-
778
- #: admin/sidebar-view.php:29
779
- #, fuzzy
780
- msgid "Enter amount in USD:"
781
- msgstr "Voer het bedrag in USD in:"
782
-
783
- #: admin/sidebar-view.php:33
784
- msgid "Send your donation to the author of"
785
- msgstr "Stuur je donatie aan de auteur van"
786
-
787
- #: admin/sidebar-view.php:41
788
- msgid "Follow me"
789
- msgstr ""
790
-
791
- #: admin/sidebar-view.php:66
792
- #, fuzzy
793
- msgid "Quick links"
794
- msgstr "Quick links"
795
-
796
- #: admin/sidebar-view.php:70
797
- msgid "Plugin homepage"
798
- msgstr ""
799
-
800
- #: admin/sidebar-view.php:71
801
- msgid "FAQ"
802
- msgstr ""
803
-
804
- #: admin/sidebar-view.php:73
805
- msgid "Reviews"
806
- msgstr ""
807
-
808
- #: admin/sidebar-view.php:74
809
- msgid "Github repository"
810
- msgstr ""
811
-
812
- #: admin/sidebar-view.php:75
813
- msgid "Other plugins"
814
- msgstr "Andere plugins"
815
-
816
- #: admin/sidebar-view.php:76
817
- msgid "Ajay's blog"
818
- msgstr "Ajay's blog"
819
-
820
- #: contextual-related-posts.php:232
821
- #, php-format
822
- msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
823
- msgstr ""
824
-
825
- #: contextual-related-posts.php:710
826
- msgid "<h3>Related Posts:</h3>"
827
- msgstr "<h3>Gerelateerde Berichten:</h3>"
828
-
829
- #: contextual-related-posts.php:712
830
- #, fuzzy
831
- msgid "No related posts found"
832
- msgstr "Populaire Berichten"
833
-
834
- #: includes/class-crp-widget.php:33
835
- #, fuzzy
836
- msgid "Related Posts [CRP]"
837
- msgstr "Gerelateerde Berichten"
838
-
839
- #: includes/class-crp-widget.php:34
840
- #, fuzzy
841
- msgid "Display Related Posts"
842
- msgstr "Aantal populaire berichten om weer te geven:"
843
-
844
- #: includes/class-crp-widget.php:69
845
- #, fuzzy
846
- msgid "Title"
847
- msgstr "Titel van populaire berichten:"
848
-
849
- #: includes/class-crp-widget.php:74
850
- #, fuzzy
851
- msgid "No. of posts"
852
- msgstr "Populaire Berichten"
853
-
854
- #: includes/class-crp-widget.php:79
855
- #, fuzzy
856
- msgid " Show excerpt?"
857
- msgstr "Laat bericht samenvatting zien in lijst?"
858
-
859
- #: includes/class-crp-widget.php:84
860
- #, fuzzy
861
- msgid " Show author?"
862
- msgstr "Zend je donatie naar de auteur van "
863
-
864
- #: includes/class-crp-widget.php:89
865
- #, fuzzy
866
- msgid " Show date?"
867
- msgstr "Laat bericht samenvatting zien in lijst?"
868
-
869
- #: includes/class-crp-widget.php:95
870
- #, fuzzy
871
- msgid "Thumbnails inline, before title"
872
- msgstr "Toon miniatuurafbeeldingen inline met berichten"
873
-
874
- #: includes/class-crp-widget.php:96
875
- #, fuzzy
876
- msgid "Thumbnails inline, after title"
877
- msgstr "Toon miniatuurafbeeldingen inline met berichten"
878
-
879
- #: includes/class-crp-widget.php:97
880
- #, fuzzy
881
- msgid "Only thumbnails, no text"
882
- msgstr "Geef alleen miniatuurafbeeldingen weer, geen text"
883
-
884
- #: includes/class-crp-widget.php:98
885
- #, fuzzy
886
- msgid "No thumbnails, only text."
887
- msgstr "Geef geen miniatuurafbeeldingen weer, alleen text"
888
-
889
- #: includes/class-crp-widget.php:103
890
- #, fuzzy
891
- msgid "Thumbnail height"
892
- msgstr "Bericht miniatuurafbeelding opties:"
893
-
894
- #: includes/class-crp-widget.php:108
895
- #, fuzzy
896
- msgid "Thumbnail width"
897
- msgstr "Bericht miniatuurafbeelding opties:"
898
-
899
- #: includes/class-crp-widget.php:112
900
- msgid "Post types to include:"
901
- msgstr ""
902
-
903
- #: includes/media.php:67
904
- msgid "thumb_timthumb argument has been deprecated"
905
- msgstr ""
906
-
907
- #: includes/media.php:71
908
- msgid "thumb_timthumb_q argument has been deprecated"
909
- msgstr ""
910
-
911
- #: includes/media.php:75
912
- msgid "filter argument has been deprecated"
913
- msgstr ""
914
-
915
- #: includes/output-generator.php:238
916
- msgid " by "
917
- msgstr ""
918
-
919
- #~ msgid "Contextual Related Posts"
920
- #~ msgstr "Contextual Related Posts"
921
-
922
- #, fuzzy
923
- #~ msgid "Contextual Related Posts plugin page"
924
- #~ msgstr "Contextual Related Posts "
925
-
926
- #~ msgid "Options saved successfully."
927
- #~ msgstr "Opties succesvol opgeslagen."
928
-
929
- #, fuzzy
930
- #~ msgid "Add related posts to:"
931
- #~ msgstr "Populaire Berichten"
932
-
933
- #, fuzzy
934
- #~ msgid ""
935
- #~ "If unchecked, only posts titles are used. I recommend using a caching "
936
- #~ "plugin or enabling \"Cache output\" above if you enable this."
937
- #~ msgstr ""
938
- #~ "Vind gerelateerde berichten gebaseerd op zowel content als titel. Indien "
939
- #~ "niet geselecteerd worden er alleen berichttitels gebruikt. (Ik beveel het "
940
- #~ "gebruik van een caching plugin aan wanneer je dit inschakelt)"
941
-
942
- #~ msgid "Title of related posts: "
943
- #~ msgstr "Titel van gerelateerde berichten:"
944
-
945
- #~ msgid "Length of excerpt (in words): "
946
- #~ msgstr "Lengte van uittreksel (in woorden):"
947
-
948
- #~ msgid "Post thumbnail options:"
949
- #~ msgstr "Berichtopties miniatuurafbeelding:"
950
-
951
- #, fuzzy
952
- #~ msgid "Maximum width of the thumbnail:"
953
- #~ msgstr "Bericht miniatuurafbeelding opties:"
954
-
955
- #~ msgid "Powered by"
956
- #~ msgstr "Powered by"
957
-
958
- #, fuzzy
959
- #~ msgid ""
960
- #~ "If the postmeta is not set, then should the plugin extract the first "
961
- #~ "image from the post?"
962
- #~ msgstr ""
963
- #~ "Als de postmeta niet is ingesteld moet de plugin de eerste afbeelding van "
964
- #~ "het bericht uitpakken. Dit kan het laden van uw bericht vertragen, indien "
965
- #~ "het eerste beeld in de gerelateerde berichten groot is qua bestandsgrootte"
966
-
967
- #, fuzzy
968
- #~ msgid ""
969
- #~ "This can slow down the loading of your page if the first image in the "
970
- #~ "related posts is large in file-size"
971
- #~ msgstr ""
972
- #~ "Als de postmeta niet is ingesteld moet de plugin de eerste afbeelding van "
973
- #~ "het bericht uitpakken. Dit kan het laden van uw bericht vertragen, indien "
974
- #~ "het eerste beeld in de gerelateerde berichten groot is qua bestandsgrootte"
975
-
976
- #~ msgid "Recent developments"
977
- #~ msgstr "Recente ontwikkelingen"
978
-
979
- #, fuzzy
980
- #~ msgid " Posted by "
981
- #~ msgstr "Powered by"
982
-
983
- #~ msgid "Follow @ajaydsouza on Twitter"
984
- #~ msgstr "Volg @ajaydsouza via Twitter"
985
-
986
- #~ msgid "Display \"No Related Posts\""
987
- #~ msgstr "Weergave \"Geen Gerelateerde Berichten\""
988
-
989
- #~ msgid "Exclude Categories: "
990
- #~ msgstr "Uitsluiten Categorieën"
991
-
992
- #~ msgid "plugin page"
993
- #~ msgstr "plugin pagina"
994
-
995
- #~ msgid "Exclude Pages in Related Posts"
996
- #~ msgstr "Uitsluiten Pagina's in Gerelateerde Berichten"
997
-
998
- #~ msgid ""
999
- #~ "Add related posts to the post content on single posts. <br />If you "
1000
- #~ "choose to disable this, please add <code>&lt;?php "
1001
- #~ "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> to your "
1002
- #~ "template file where you want it displayed"
1003
- #~ msgstr ""
1004
- #~ "Voeg gerelateerde berichten toe aan de bericht inhoud op enkele pagina's. "
1005
- #~ "<br />Wanneer je ervoor kiest om dit uit te zetten moet je de code "
1006
- #~ "<code>&lt;?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</"
1007
- #~ "code> toevoegen aan je sjabloon bestand waar je het wilt laten weergeven"
1008
-
1009
- #~ msgid ""
1010
- #~ "Append link to this plugin as item. Optional, but would be nice to give "
1011
- #~ "me some link love"
1012
- #~ msgstr ""
1013
- #~ "Voeg een link naar deze plugin als item toe. Optioneel, maar het zou leuk "
1014
- #~ "zijn als je me wat linkgenot geeft"
1015
-
1016
- #~ msgid ""
1017
- #~ "Post thumbnail meta field (the meta should point contain the image "
1018
- #~ "source): "
1019
- #~ msgstr ""
1020
- #~ "Bericht miniatuurafbeelding metaveld (de meta moet de afbeeldingsbron "
1021
- #~ "bevatten):"
1022
-
1023
- #~ msgid "Thumbnail dimensions:"
1024
- #~ msgstr "Afmetingen miniatuurafbeelding:"
1025
-
1026
- #~ msgid "Max width: "
1027
- #~ msgstr "Maximale breedte:"
1028
-
1029
- #~ msgid "Max height: "
1030
- #~ msgstr "Maximale hoogte:"
1031
-
1032
- #~ msgid "Support forum"
1033
- #~ msgstr "Ondersteuningsforum"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/contextual-related-posts-pt_BR.mo DELETED
Binary file
languages/contextual-related-posts-pt_BR.po DELETED
@@ -1,887 +0,0 @@
1
- #
2
- # Translators:
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: Contextual Related Posts\n"
6
- "Report-Msgid-Bugs-To: \n"
7
- "POT-Creation-Date: 2015-09-27 13:33+0100\n"
8
- "PO-Revision-Date: 2015-09-27 13:33+0100\n"
9
- "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
10
- "Language-Team: Portuguese (Brazil) (http://www.transifex.com/wp-translations/"
11
- "contextual-related-posts/language/pt_BR/)\n"
12
- "Language: pt_BR\n"
13
- "MIME-Version: 1.0\n"
14
- "Content-Type: text/plain; charset=UTF-8\n"
15
- "Content-Transfer-Encoding: 8bit\n"
16
- "Plural-Forms: nplurals=2; plural=(n > 1);\n"
17
- "X-Generator: Poedit 1.8.4\n"
18
- "X-Poedit-Basepath: ..\n"
19
- "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
20
- "X-Poedit-SourceCharset: UTF-8\n"
21
- "X-Poedit-SearchPath-0: .\n"
22
-
23
- #: admin/admin.php:191
24
- msgid "Options saved successfully. If enabled, the cache has been cleared."
25
- msgstr ""
26
-
27
- #: admin/admin.php:194
28
- msgid ""
29
- "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
30
- "displayed."
31
- msgstr ""
32
-
33
- #: admin/admin.php:197
34
- msgid "Text Only style selected. Thumbnails will not be displayed."
35
- msgstr ""
36
-
37
- #: admin/admin.php:200
38
- #, php-format
39
- msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
40
- msgstr ""
41
-
42
- #: admin/admin.php:224
43
- msgid "Options set to Default."
44
- msgstr "Opções redefinidas ao padrão."
45
-
46
- #: admin/admin.php:233
47
- msgid "Index recreated"
48
- msgstr "O índice foi recriado"
49
-
50
- #: admin/admin.php:250
51
- msgid "Related Posts"
52
- msgstr "Posts Relacionados"
53
-
54
- #: admin/cache.php:42
55
- msgid ""
56
- "An error occurred clearing the cache. Please contact your site administrator."
57
- "\\n\\nError message:\\n"
58
- msgstr ""
59
- "Ocorreu um erro ao limpar o cache. Entre em contato com seu administrador do "
60
- "site.\\n\\nMensagem de Erro: \\n"
61
-
62
- #: admin/cache.php:47
63
- msgid " cached row(s) cleared"
64
- msgstr " linha(s) de cache limpa(s)"
65
-
66
- #: admin/loader.php:24
67
- msgid "Settings"
68
- msgstr "Configurações"
69
-
70
- #: admin/loader.php:46 admin/sidebar-view.php:72
71
- msgid "Support"
72
- msgstr "Suporte"
73
-
74
- #: admin/loader.php:47
75
- msgid "Donate"
76
- msgstr "Doar"
77
-
78
- #: admin/loader.php:48
79
- msgid "Contribute"
80
- msgstr "Contribuir"
81
-
82
- #: admin/loader.php:64
83
- msgid "plugin settings page"
84
- msgstr "página de configurações do plugin"
85
-
86
- #: admin/main-view.php:32 admin/main-view.php:55
87
- msgid "General options"
88
- msgstr "Opções gerais"
89
-
90
- #: admin/main-view.php:33 admin/main-view.php:142
91
- msgid "List tuning options"
92
- msgstr ""
93
-
94
- #: admin/main-view.php:34 admin/main-view.php:249
95
- msgid "Output options"
96
- msgstr "Opções de Resultado"
97
-
98
- #: admin/main-view.php:35 admin/main-view.php:453
99
- #: includes/class-crp-widget.php:93
100
- msgid "Thumbnail options"
101
- msgstr "Opções de miniatura"
102
-
103
- #: admin/main-view.php:36 admin/main-view.php:608
104
- msgid "Styles"
105
- msgstr ""
106
-
107
- #: admin/main-view.php:37 admin/main-view.php:686
108
- msgid "Feed options"
109
- msgstr "Opções de Feed"
110
-
111
- #: admin/main-view.php:71
112
- msgid "Cache output?"
113
- msgstr "Guardar Resultado em Cache?"
114
-
115
- #: admin/main-view.php:73
116
- msgid ""
117
- "Enabling this option will cache the related posts output when the post is "
118
- "visited the first time. The cache is cleaned when you save this page."
119
- msgstr ""
120
-
121
- #: admin/main-view.php:74
122
- msgid ""
123
- "The CRP cache works independently and in addition to any of your caching "
124
- "plugins like WP Super Cache or W3 Total Cache. It is recommended that you "
125
- "enable this on your blog."
126
- msgstr ""
127
-
128
- #: admin/main-view.php:75
129
- msgid "Clear cache"
130
- msgstr "Limpar cache"
131
-
132
- #: admin/main-view.php:79
133
- msgid "Automatically add related posts to:"
134
- msgstr ""
135
-
136
- #: admin/main-view.php:81
137
- msgid "Posts"
138
- msgstr "Posts"
139
-
140
- #: admin/main-view.php:82
141
- msgid "Pages"
142
- msgstr "Páginas"
143
-
144
- #: admin/main-view.php:83
145
- msgid "Home page"
146
- msgstr "Página inicial"
147
-
148
- #: admin/main-view.php:84
149
- msgid "Feeds"
150
- msgstr "Feeds"
151
-
152
- #: admin/main-view.php:85
153
- msgid "Category archives"
154
- msgstr "Arquivos de categoria"
155
-
156
- #: admin/main-view.php:86
157
- msgid "Tag archives"
158
- msgstr "Arquivos de tag"
159
-
160
- #: admin/main-view.php:87
161
- msgid "Other archives"
162
- msgstr "Outros arquivos"
163
-
164
- #: admin/main-view.php:88
165
- msgid ""
166
- "If you choose to disable this, please add <code>&lt;?php if "
167
- "( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your "
168
- "template file where you want it displayed"
169
- msgstr ""
170
-
171
- #: admin/main-view.php:92
172
- msgid "Display location priority:"
173
- msgstr ""
174
-
175
- #: admin/main-view.php:95
176
- msgid ""
177
- "If you select to automatically add the related posts, CRP will hook into the "
178
- "Content Filter at a priority as specified in this option."
179
- msgstr ""
180
-
181
- #: admin/main-view.php:96
182
- msgid ""
183
- "A higher number will cause the related posts to be processed later and move "
184
- "their display further down after the post content. Any number below 10 is not "
185
- "recommended."
186
- msgstr ""
187
-
188
- #: admin/main-view.php:100
189
- msgid "Show metabox:"
190
- msgstr ""
191
-
192
- #: admin/main-view.php:103
193
- msgid ""
194
- "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
195
- "Posts screens. Also applies to Pages and Custom Post Types."
196
- msgstr ""
197
-
198
- #: admin/main-view.php:107
199
- msgid "Limit metabox to Admins only:"
200
- msgstr ""
201
-
202
- #: admin/main-view.php:110
203
- msgid ""
204
- "If this is selected, the metabox will be hidden from anyone who is not an "
205
- "Admin. Otherwise, by default, Contributors and above will be able to see the "
206
- "metabox. This applies only if the above option is selected."
207
- msgstr ""
208
-
209
- #: admin/main-view.php:114
210
- msgid "Tell the world you're using Contextual Related Posts:"
211
- msgstr "Diga ao mundo que você está usando Posts Relacionados Contextuais:"
212
-
213
- #: admin/main-view.php:116
214
- msgid " <em>Optional</em>"
215
- msgstr "<em>Opcional</em>"
216
-
217
- #: admin/main-view.php:117
218
- msgid ""
219
- "Adds a nofollow link to Contextual Related Posts homepage as the last time in "
220
- "the list."
221
- msgstr ""
222
- "Adiciona um link nofollow à página inicial de Posts Relacionados Contextuais "
223
- "na última vez da lista."
224
-
225
- #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
226
- #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
227
- #: admin/main-view.php:767
228
- msgid "Save Options"
229
- msgstr "Salvar Opções"
230
-
231
- #: admin/main-view.php:158 admin/main-view.php:704
232
- msgid "Number of related posts to display: "
233
- msgstr "Número de posts relacionados a exibir?"
234
-
235
- #: admin/main-view.php:161
236
- msgid ""
237
- "Maximum number of posts that will be displayed. The actual number may be "
238
- "smaller if less related posts are found."
239
- msgstr ""
240
-
241
- #: admin/main-view.php:165
242
- msgid "Related posts should be newer than:"
243
- msgstr ""
244
-
245
- #: admin/main-view.php:167
246
- msgid "days"
247
- msgstr "dias"
248
-
249
- #: admin/main-view.php:168
250
- msgid ""
251
- "This sets the cutoff period for which posts will be displayed. e.g. setting "
252
- "it to 365 will show related posts from the last year only. Set to 0 to "
253
- "disable limiting posts by date."
254
- msgstr ""
255
-
256
- #: admin/main-view.php:172
257
- msgid "Find related posts based on content as well as title:"
258
- msgstr ""
259
-
260
- #: admin/main-view.php:174
261
- msgid ""
262
- "If unchecked, only posts titles are used. I recommend using a caching plugin "
263
- "or enabling \"Cache output\" above if you enable this. Each site is "
264
- "different, so toggle this option to see which setting gives you better "
265
- "quality related posts."
266
- msgstr ""
267
-
268
- #: admin/main-view.php:178
269
- msgid "Limit content to be compared:"
270
- msgstr ""
271
-
272
- #: admin/main-view.php:180
273
- msgid ""
274
- "This sets the maximum words of the content that will be matched. Set to 0 for "
275
- "no limit. Only applies if you active the above option."
276
- msgstr ""
277
-
278
- #: admin/main-view.php:184
279
- msgid "Post types to include in results:"
280
- msgstr "Tipos de post para incluir nos resultados:"
281
-
282
- #: admin/main-view.php:191
283
- msgid ""
284
- "These post types will be displayed in the list. Includes custom post types."
285
- msgstr ""
286
-
287
- #: admin/main-view.php:195
288
- msgid "List of post or page IDs to exclude from the results:"
289
- msgstr ""
290
-
291
- #: admin/main-view.php:197 admin/main-view.php:377
292
- msgid ""
293
- "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
294
- msgstr ""
295
-
296
- #: admin/main-view.php:201
297
- msgid "Categories to exclude from the results: "
298
- msgstr "Excluir estas categorias dos resultados:"
299
-
300
- #: admin/main-view.php:213
301
- msgid ""
302
- "Comma separated list of category slugs. The field above has an autocomplete "
303
- "so simply start typing in the beginning of your category name and it will "
304
- "prompt you with options."
305
- msgstr ""
306
-
307
- #: admin/main-view.php:216
308
- msgid "Excluded category IDs are:"
309
- msgstr ""
310
-
311
- #: admin/main-view.php:222
312
- msgid ""
313
- "These might differ from the IDs visible in the Categories page which use the "
314
- "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
315
- "unique to this taxonomy."
316
- msgstr ""
317
-
318
- #: admin/main-view.php:265
319
- msgid "Title of related posts:"
320
- msgstr ""
321
-
322
- #: admin/main-view.php:268
323
- msgid ""
324
- "This is the main heading of the related posts. You can also display the "
325
- "current post title by using <code>%postname%</code>. e.g. <code>Related Posts "
326
- "to %postname%</code>"
327
- msgstr ""
328
-
329
- #: admin/main-view.php:272
330
- msgid "When there are no posts, what should be shown?"
331
- msgstr "O que mostrar quando não houver nenhum post relacionado?"
332
-
333
- #: admin/main-view.php:276
334
- msgid "Blank Output"
335
- msgstr "Resultado em Branco"
336
-
337
- #: admin/main-view.php:281
338
- msgid "Display:"
339
- msgstr "Mostrar:"
340
-
341
- #: admin/main-view.php:287 admin/main-view.php:707
342
- msgid "Show post excerpt in list?"
343
- msgstr "Lista de resumos dos posts?"
344
-
345
- #: admin/main-view.php:290
346
- #, php-format
347
- msgid ""
348
- "Displays the excerpt of the post. If you do not provide an explicit excerpt "
349
- "to a post (in the post editor's optional excerpt field), it will display an "
350
- "automatic excerpt which refers to the first %d words of the post's content"
351
- msgstr ""
352
-
353
- #: admin/main-view.php:293
354
- msgid ""
355
- "Rounded Thumbnails style selected under the Custom Styles. Excerpt display is "
356
- "disabled."
357
- msgstr ""
358
-
359
- #: admin/main-view.php:298
360
- msgid "Length of excerpt (in words):"
361
- msgstr ""
362
-
363
- #: admin/main-view.php:304
364
- msgid "Show post author in list?"
365
- msgstr "Mostra o autor do post na lista?"
366
-
367
- #: admin/main-view.php:307
368
- msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
369
- msgstr ""
370
-
371
- #: admin/main-view.php:310
372
- msgid ""
373
- "Rounded Thumbnails style selected under the Custom Styles. Author display is "
374
- "disabled."
375
- msgstr ""
376
-
377
- #: admin/main-view.php:315
378
- msgid "Show post date in list?"
379
- msgstr "Mostrar data do post na lista?"
380
-
381
- #: admin/main-view.php:318
382
- msgid ""
383
- "Displays the date of the post. Uses the same date format set in General "
384
- "Options"
385
- msgstr ""
386
-
387
- #: admin/main-view.php:321
388
- msgid ""
389
- "Rounded Thumbnails style selected under the Custom Styles. Date display is "
390
- "disabled."
391
- msgstr ""
392
-
393
- #: admin/main-view.php:326
394
- msgid "Limit post title length (in characters)"
395
- msgstr "Limite do título do post (em caracteres)"
396
-
397
- #: admin/main-view.php:329
398
- msgid ""
399
- "Any title longer than the number of characters set above will be cut and "
400
- "appended with an ellipsis (&hellip;)"
401
- msgstr ""
402
-
403
- #: admin/main-view.php:333
404
- msgid "Open links in new window"
405
- msgstr "Abrir links numa nova janela"
406
-
407
- #: admin/main-view.php:339
408
- msgid "Add nofollow attribute to links in the list"
409
- msgstr "Adicionar atributo nofollow aos links na lista"
410
-
411
- #: admin/main-view.php:372
412
- msgid "Exclusion settings:"
413
- msgstr "Configurações de exclusão:"
414
-
415
- #: admin/main-view.php:374
416
- msgid "Exclude display of related posts on these posts / pages"
417
- msgstr "Não exibir posts relacionados nestes posts/páginas?"
418
-
419
- #: admin/main-view.php:380
420
- msgid "Exclude display of related posts on these post types."
421
- msgstr "Excluir exibição de posts relacionados nestes tipos de post."
422
-
423
- #: admin/main-view.php:387
424
- msgid ""
425
- "The related posts will not display on any of the above selected post types"
426
- msgstr ""
427
-
428
- #: admin/main-view.php:417
429
- msgid "Customize the output:"
430
- msgstr "Personalizar o resultado:"
431
-
432
- #: admin/main-view.php:419
433
- msgid "HTML to display before the list of posts: "
434
- msgstr "HTML para exibir antes da lista de posts: "
435
-
436
- #: admin/main-view.php:422
437
- msgid "HTML to display before each list item: "
438
- msgstr "HTML para exibir antes de cada item da lista: "
439
-
440
- #: admin/main-view.php:425
441
- msgid "HTML to display after each list item: "
442
- msgstr "HTML para exibir depois de cada item da lista: "
443
-
444
- #: admin/main-view.php:428
445
- msgid "HTML to display after the list of posts: "
446
- msgstr "HTML para exibir depois da lista de posts: "
447
-
448
- #: admin/main-view.php:469 admin/main-view.php:710
449
- msgid "Location of post thumbnail:"
450
- msgstr "Localização da miniatura do post:"
451
-
452
- #: admin/main-view.php:473 admin/main-view.php:714
453
- msgid "Display thumbnails inline with posts, before title"
454
- msgstr ""
455
-
456
- #: admin/main-view.php:477 admin/main-view.php:718
457
- msgid "Display thumbnails inline with posts, after title"
458
- msgstr ""
459
-
460
- #: admin/main-view.php:481 admin/main-view.php:722
461
- msgid "Display only thumbnails, no text"
462
- msgstr "Mostrar somente miniaturas, sem texto"
463
-
464
- #: admin/main-view.php:485 admin/main-view.php:726
465
- msgid "Do not display thumbnails, only text."
466
- msgstr "Não mostrar miniaturas, somente texto"
467
-
468
- #: admin/main-view.php:488
469
- msgid ""
470
- "This setting cannot be changed because an inbuilt style has been selected "
471
- "under the Styles section. If you would like to change this option, please "
472
- "select <strong>No styles</strong> under the Styles section."
473
- msgstr ""
474
-
475
- #: admin/main-view.php:492
476
- msgid "Thumbnail size:"
477
- msgstr ""
478
-
479
- #: admin/main-view.php:516
480
- msgid "Custom size"
481
- msgstr ""
482
-
483
- #: admin/main-view.php:519
484
- msgid "You can choose from existing image sizes above or create a custom size."
485
- msgstr ""
486
-
487
- #: admin/main-view.php:520
488
- msgid ""
489
- "If you choose an existing size, then the width, height and crop mode settings "
490
- "in the three options below will be automatically updated to reflect the "
491
- "correct dimensions of the setting."
492
- msgstr ""
493
-
494
- #: admin/main-view.php:521
495
- msgid ""
496
- "If you have chosen Custom size above, then enter the width, height and crop "
497
- "settings below. For best results, use a cropped image with the same width and "
498
- "height. The default setting is 150x150 cropped image."
499
- msgstr ""
500
-
501
- #: admin/main-view.php:522
502
- msgid ""
503
- "Any changes to the thumbnail settings doesn't automatically resize existing "
504
- "images."
505
- msgstr ""
506
-
507
- #: admin/main-view.php:523
508
- #, php-format
509
- msgid ""
510
- "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</a> "
511
- "or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate all "
512
- "image sizes."
513
- msgstr ""
514
-
515
- #: admin/main-view.php:527
516
- msgid "Width of the thumbnail:"
517
- msgstr ""
518
-
519
- #: admin/main-view.php:530
520
- msgid "Height of the thumbnail: "
521
- msgstr ""
522
-
523
- #: admin/main-view.php:535
524
- msgid "Crop mode:"
525
- msgstr "Modo de recorte:"
526
-
527
- #: admin/main-view.php:539
528
- msgid ""
529
- "By default, thumbnails will be hard cropped. Uncheck this box to "
530
- "proportionately/soft crop the thumbnails."
531
- msgstr ""
532
-
533
- #: admin/main-view.php:540
534
- #, php-format
535
- msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
536
- msgstr ""
537
-
538
- #: admin/main-view.php:544
539
- msgid "Image size attributes:"
540
- msgstr ""
541
-
542
- #: admin/main-view.php:548
543
- msgid "Style attributes are used for width and height."
544
- msgstr ""
545
-
546
- #: admin/main-view.php:554
547
- msgid "HTML width and height attributes are used for width and height."
548
- msgstr ""
549
-
550
- #: admin/main-view.php:560
551
- msgid "No HTML or Style attributes set for width and height"
552
- msgstr ""
553
-
554
- #: admin/main-view.php:565
555
- msgid "Post thumbnail meta field name:"
556
- msgstr "Nome do campo meta da miniatura do post:"
557
-
558
- #: admin/main-view.php:567
559
- msgid ""
560
- "The value of this field should contain a direct link to the image. This is "
561
- "set in the meta box in the <em>Add New Post</em> screen."
562
- msgstr ""
563
-
564
- #: admin/main-view.php:570
565
- msgid "Extract the first image from the post?"
566
- msgstr "Extrair a primeira imagem do post?"
567
-
568
- #: admin/main-view.php:572
569
- msgid ""
570
- "This will only happen if there is no post thumbnail set and no image URL is "
571
- "specified in the meta field."
572
- msgstr ""
573
- "Isso só acontecerá se não houver nenhum conjunto de miniaturas de post e "
574
- "nenhuma URL de imagem for definido no campo meta."
575
-
576
- #: admin/main-view.php:575
577
- msgid "Use default thumbnail?"
578
- msgstr "Usar miniatura padrão?"
579
-
580
- #: admin/main-view.php:577
581
- msgid ""
582
- "If checked, when no thumbnail is found, show a default one from the URL "
583
- "below. If not checked and no thumbnail is found, no image will be shown."
584
- msgstr ""
585
- "Se marcada, quando não for encontrada nenhuma miniatura, mostra uma padrão da "
586
- "URL abaixo. Se desmarcada e não encontrar nenhuma miniatura, a imagem não "
587
- "será exibida."
588
-
589
- #: admin/main-view.php:580
590
- msgid "Default thumbnail:"
591
- msgstr "Miniatura padrão:"
592
-
593
- #: admin/main-view.php:583
594
- msgid ""
595
- "The plugin will first check if the post contains a thumbnail. If it doesn't "
596
- "then it will check the meta field. If this is not available, then it will "
597
- "show the default image as specified above."
598
- msgstr ""
599
- "O plugin irá verificar primeiro se o post contém uma miniatura. Se não, então "
600
- "ele irá verificar o campo de meta. Se este não estiver disponível, então "
601
- "mostrará a imagem padrão conforme especificado acima."
602
-
603
- #: admin/main-view.php:624
604
- msgid "Style of the related posts:"
605
- msgstr ""
606
-
607
- #: admin/main-view.php:627
608
- msgid "No styles"
609
- msgstr ""
610
-
611
- #: admin/main-view.php:629
612
- msgid "Select this option if you plan to add your own styles"
613
- msgstr ""
614
-
615
- #: admin/main-view.php:633
616
- msgid "Rounded Thumbnails"
617
- msgstr ""
618
-
619
- #: admin/main-view.php:636
620
- msgid ""
621
- "Enabling this option will turn on the thumbnails and set their width and "
622
- "height to 150px. It will also turn off the display of the author, excerpt and "
623
- "date if already enabled. Disabling this option will not revert any settings."
624
- msgstr ""
625
- "Habilitar esta opção irá ativar as miniaturas e definir sua largura e a "
626
- "altura para 150px. Também desativará a exibição do autor, resumo e data caso "
627
- "já estejam habilitados. Desabilitar esta opção não irá reverter quaisquer "
628
- "configurações."
629
-
630
- #: admin/main-view.php:637
631
- #, php-format
632
- msgid ""
633
- "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
634
- msgstr ""
635
-
636
- #: admin/main-view.php:641
637
- msgid "Text only"
638
- msgstr ""
639
-
640
- #: admin/main-view.php:643
641
- msgid ""
642
- "Enabling this option will disable thumbnails and no longer include the "
643
- "default style sheet included in the plugin."
644
- msgstr ""
645
-
646
- #: admin/main-view.php:658
647
- msgid "Custom CSS to add to header:"
648
- msgstr "CSS personalizado para adicionar ao cabeçalho:"
649
-
650
- #: admin/main-view.php:662
651
- msgid ""
652
- "Do not include <code>style</code> tags. Check out the <a href=\"http://"
653
- "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
654
- "\">FAQ</a> for available CSS classes to style."
655
- msgstr ""
656
- "Não inclua atributos <code>style</code> nas tags. Confira o <a href=\"http://"
657
- "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
658
- "\">FAQ</a> para saber as classes CSS disponíveis para estilizar."
659
-
660
- #: admin/main-view.php:702
661
- msgid ""
662
- "Below options override the related posts settings for your blog feed. These "
663
- "only apply if you have selected to add related posts to Feeds in the General "
664
- "Options tab."
665
- msgstr ""
666
-
667
- #: admin/main-view.php:730
668
- msgid "Maximum width of the thumbnail: "
669
- msgstr "Largura máxima da miniatura:"
670
-
671
- #: admin/main-view.php:733
672
- msgid "Maximum height of the thumbnail: "
673
- msgstr "Altura máxima da miniatura:"
674
-
675
- #: admin/main-view.php:768
676
- msgid "Default Options"
677
- msgstr "Opções Padrão"
678
-
679
- #: admin/main-view.php:768
680
- msgid "Do you want to set options to Default?"
681
- msgstr "Você quer definir opções para o padrão?"
682
-
683
- #: admin/main-view.php:769
684
- msgid "Recreate Index"
685
- msgstr "Recriar Índice"
686
-
687
- #: admin/main-view.php:769
688
- msgid "Are you sure you want to recreate the index?"
689
- msgstr "Tem certeza de que deseja recriar o índice?"
690
-
691
- #: admin/main-view.php:774
692
- msgid ""
693
- "One or more FULLTEXT indices are missing. Please hit the <a href="
694
- "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
695
- "this."
696
- msgstr ""
697
-
698
- #: admin/metabox.php:98
699
- msgid "Location of thumbnail:"
700
- msgstr "Localização da miniatura:"
701
-
702
- #: admin/metabox.php:100
703
- msgid ""
704
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
705
- "image will be used for the post. It will be resized to the thumbnail size set "
706
- "under Settings &raquo; Related Posts &raquo; Output Options"
707
- msgstr ""
708
- "Digite a URL completa para a imagem (JPG, PNG ou GIF) que você quer usar. "
709
- "Esta imagem será utilizada para o post. Ela será redimensionada para o "
710
- "tamanho da miniatura definido em Configurações &raquo; Posts Relacionados "
711
- "&raquo; Opções de Saída"
712
-
713
- #: admin/metabox.php:101
714
- msgid "The URL above is saved in the meta field:"
715
- msgstr ""
716
-
717
- #: admin/metabox.php:106
718
- msgid ""
719
- "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
720
- "thumbnail, then you'll need to make the same change in the Top 10 meta box on "
721
- "this page."
722
- msgstr ""
723
-
724
- #: admin/metabox.php:117
725
- msgid "Disable Related Posts display:"
726
- msgstr ""
727
-
728
- #: admin/metabox.php:120
729
- msgid ""
730
- "If this is checked, then Contextual Related Posts will not automatically "
731
- "insert the related posts at the end of post content."
732
- msgstr ""
733
-
734
- #: admin/metabox.php:125 admin/metabox.php:133
735
- msgid "Manual related posts:"
736
- msgstr ""
737
-
738
- #: admin/metabox.php:127
739
- msgid ""
740
- "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500. "
741
- "These will be given preference over the related posts generated by the plugin."
742
- msgstr ""
743
-
744
- #: admin/metabox.php:128
745
- msgid ""
746
- "Once you enter the list above and save this page, the plugin will display the "
747
- "titles of the posts below for your reference. Only IDs corresponding to "
748
- "published posts or custom post types will be retained."
749
- msgstr ""
750
-
751
- #: admin/metabox.php:142
752
- msgid "This post type is:"
753
- msgstr ""
754
-
755
- #: admin/sidebar-view.php:20
756
- msgid "Support the development"
757
- msgstr "Apoie o desenvolvimento"
758
-
759
- #: admin/sidebar-view.php:27
760
- msgid "Donation for Contextual Related Posts"
761
- msgstr "Doação para Posts Contextuais Relacionados"
762
-
763
- #: admin/sidebar-view.php:29
764
- msgid "Enter amount in USD:"
765
- msgstr "Informe o valor em USD:"
766
-
767
- #: admin/sidebar-view.php:33
768
- msgid "Send your donation to the author of"
769
- msgstr "Envie sua doação para o autor de"
770
-
771
- #: admin/sidebar-view.php:41
772
- msgid "Follow me"
773
- msgstr "Siga-me"
774
-
775
- #: admin/sidebar-view.php:66
776
- msgid "Quick links"
777
- msgstr "Links Rápidos"
778
-
779
- #: admin/sidebar-view.php:70
780
- msgid "Plugin homepage"
781
- msgstr ""
782
-
783
- #: admin/sidebar-view.php:71
784
- msgid "FAQ"
785
- msgstr "FAQ"
786
-
787
- #: admin/sidebar-view.php:73
788
- msgid "Reviews"
789
- msgstr "Avaliações"
790
-
791
- #: admin/sidebar-view.php:74
792
- msgid "Github repository"
793
- msgstr "Repositório no Github."
794
-
795
- #: admin/sidebar-view.php:75
796
- msgid "Other plugins"
797
- msgstr "Outros plugins"
798
-
799
- #: admin/sidebar-view.php:76
800
- msgid "Ajay's blog"
801
- msgstr "Blog do Ajay"
802
-
803
- #: contextual-related-posts.php:232
804
- #, php-format
805
- msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
806
- msgstr ""
807
- "Gerado por <a href=\"%s\" rel=\"nofollow\">Posts Relacionados Contextuais</a>"
808
-
809
- #: contextual-related-posts.php:710
810
- msgid "<h3>Related Posts:</h3>"
811
- msgstr "<h3>Posts Relacionados:</h3>"
812
-
813
- #: contextual-related-posts.php:712
814
- msgid "No related posts found"
815
- msgstr "Nenhum post relacionado foi encontrado"
816
-
817
- #: includes/class-crp-widget.php:33
818
- msgid "Related Posts [CRP]"
819
- msgstr "Posts Relacionados [CRP]"
820
-
821
- #: includes/class-crp-widget.php:34
822
- msgid "Display Related Posts"
823
- msgstr "Mostrar Posts Relacionados"
824
-
825
- #: includes/class-crp-widget.php:69
826
- msgid "Title"
827
- msgstr "Título"
828
-
829
- #: includes/class-crp-widget.php:74
830
- msgid "No. of posts"
831
- msgstr "Nº de posts"
832
-
833
- #: includes/class-crp-widget.php:79
834
- msgid " Show excerpt?"
835
- msgstr " Mostrar resumo?"
836
-
837
- #: includes/class-crp-widget.php:84
838
- msgid " Show author?"
839
- msgstr " Mostrar autor?"
840
-
841
- #: includes/class-crp-widget.php:89
842
- msgid " Show date?"
843
- msgstr " Mostrar data?"
844
-
845
- #: includes/class-crp-widget.php:95
846
- msgid "Thumbnails inline, before title"
847
- msgstr "Miniaturas inline, antes do título"
848
-
849
- #: includes/class-crp-widget.php:96
850
- msgid "Thumbnails inline, after title"
851
- msgstr "Miniaturas inline, após o título"
852
-
853
- #: includes/class-crp-widget.php:97
854
- msgid "Only thumbnails, no text"
855
- msgstr "Apenas miniaturas, sem texto"
856
-
857
- #: includes/class-crp-widget.php:98
858
- msgid "No thumbnails, only text."
859
- msgstr "Sem miniaturas, apenas texto."
860
-
861
- #: includes/class-crp-widget.php:103
862
- msgid "Thumbnail height"
863
- msgstr "Altura da miniatura"
864
-
865
- #: includes/class-crp-widget.php:108
866
- msgid "Thumbnail width"
867
- msgstr "Largura da miniatura"
868
-
869
- #: includes/class-crp-widget.php:112
870
- msgid "Post types to include:"
871
- msgstr ""
872
-
873
- #: includes/media.php:67
874
- msgid "thumb_timthumb argument has been deprecated"
875
- msgstr ""
876
-
877
- #: includes/media.php:71
878
- msgid "thumb_timthumb_q argument has been deprecated"
879
- msgstr ""
880
-
881
- #: includes/media.php:75
882
- msgid "filter argument has been deprecated"
883
- msgstr ""
884
-
885
- #: includes/output-generator.php:238
886
- msgid " by "
887
- msgstr "por"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/contextual-related-posts-ro_RO.mo DELETED
Binary file
languages/contextual-related-posts-ro_RO.po DELETED
@@ -1,918 +0,0 @@
1
- #
2
- # Translators:
3
- # Alex Cristache <alex@qbkl.net>, 2014
4
- msgid ""
5
- msgstr ""
6
- "Project-Id-Version: Contextual Related Posts\n"
7
- "Report-Msgid-Bugs-To: \n"
8
- "POT-Creation-Date: 2015-09-27 13:33+0100\n"
9
- "PO-Revision-Date: 2015-09-27 13:33+0100\n"
10
- "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
11
- "Language-Team: Romanian (Romania) (http://www.transifex.com/wp-translations/"
12
- "contextual-related-posts/language/ro_RO/)\n"
13
- "Language: ro_RO\n"
14
- "MIME-Version: 1.0\n"
15
- "Content-Type: text/plain; charset=UTF-8\n"
16
- "Content-Transfer-Encoding: 8bit\n"
17
- "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
18
- "2:1));\n"
19
- "X-Generator: Poedit 1.8.4\n"
20
- "X-Poedit-Basepath: ..\n"
21
- "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
22
- "X-Poedit-SourceCharset: UTF-8\n"
23
- "X-Poedit-SearchPath-0: .\n"
24
-
25
- #: admin/admin.php:191
26
- msgid "Options saved successfully. If enabled, the cache has been cleared."
27
- msgstr ""
28
-
29
- #: admin/admin.php:194
30
- msgid ""
31
- "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
32
- "displayed."
33
- msgstr ""
34
-
35
- #: admin/admin.php:197
36
- msgid "Text Only style selected. Thumbnails will not be displayed."
37
- msgstr ""
38
-
39
- #: admin/admin.php:200
40
- #, php-format
41
- msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
42
- msgstr ""
43
-
44
- #: admin/admin.php:224
45
- msgid "Options set to Default."
46
- msgstr "Opțiuni setate ca predefinite."
47
-
48
- #: admin/admin.php:233
49
- msgid "Index recreated"
50
- msgstr "Index recreat"
51
-
52
- #: admin/admin.php:250
53
- msgid "Related Posts"
54
- msgstr "Articole asociate"
55
-
56
- #: admin/cache.php:42
57
- msgid ""
58
- "An error occurred clearing the cache. Please contact your site administrator."
59
- "\\n\\nError message:\\n"
60
- msgstr ""
61
- "A apărut o eroare în timpul golirii cache-ului. Vă rugăm să contactați "
62
- "administratorul site-ului.\\n\\nMesaj de eroare:\\n"
63
-
64
- #: admin/cache.php:47
65
- msgid " cached row(s) cleared"
66
- msgstr "rând(uri) cache golit(e)"
67
-
68
- #: admin/loader.php:24
69
- msgid "Settings"
70
- msgstr "Setări"
71
-
72
- #: admin/loader.php:46 admin/sidebar-view.php:72
73
- msgid "Support"
74
- msgstr "Asistenţă"
75
-
76
- #: admin/loader.php:47
77
- msgid "Donate"
78
- msgstr "Donați"
79
-
80
- #: admin/loader.php:48
81
- msgid "Contribute"
82
- msgstr "Contribuie"
83
-
84
- #: admin/loader.php:64
85
- msgid "plugin settings page"
86
- msgstr "pagina de setări ale modulului"
87
-
88
- #: admin/main-view.php:32 admin/main-view.php:55
89
- msgid "General options"
90
- msgstr "Opțiuni generale"
91
-
92
- #: admin/main-view.php:33 admin/main-view.php:142
93
- msgid "List tuning options"
94
- msgstr ""
95
-
96
- #: admin/main-view.php:34 admin/main-view.php:249
97
- msgid "Output options"
98
- msgstr "Opțiuni de afișare"
99
-
100
- #: admin/main-view.php:35 admin/main-view.php:453
101
- #: includes/class-crp-widget.php:93
102
- msgid "Thumbnail options"
103
- msgstr "Opțiuni imagini miniatură"
104
-
105
- #: admin/main-view.php:36 admin/main-view.php:608
106
- msgid "Styles"
107
- msgstr ""
108
-
109
- #: admin/main-view.php:37 admin/main-view.php:686
110
- msgid "Feed options"
111
- msgstr "Opțiuni flux"
112
-
113
- #: admin/main-view.php:71
114
- msgid "Cache output?"
115
- msgstr "Afișare Cache?"
116
-
117
- #: admin/main-view.php:73
118
- msgid ""
119
- "Enabling this option will cache the related posts output when the post is "
120
- "visited the first time. The cache is cleaned when you save this page."
121
- msgstr ""
122
- "Activarea acestei opțiuni va memora afișarea articolelor asociate cand "
123
- "articolul va fi vizitat pentru prima dată. Cache-ul este golit când salvați "
124
- "această pagină."
125
-
126
- #: admin/main-view.php:74
127
- msgid ""
128
- "The CRP cache works independently and in addition to any of your caching "
129
- "plugins like WP Super Cache or W3 Total Cache. It is recommended that you "
130
- "enable this on your blog."
131
- msgstr ""
132
-
133
- #: admin/main-view.php:75
134
- msgid "Clear cache"
135
- msgstr "Golire Cache"
136
-
137
- #: admin/main-view.php:79
138
- msgid "Automatically add related posts to:"
139
- msgstr ""
140
-
141
- #: admin/main-view.php:81
142
- msgid "Posts"
143
- msgstr "Articole"
144
-
145
- #: admin/main-view.php:82
146
- msgid "Pages"
147
- msgstr "Pagini"
148
-
149
- #: admin/main-view.php:83
150
- msgid "Home page"
151
- msgstr "Pagina principală"
152
-
153
- #: admin/main-view.php:84
154
- msgid "Feeds"
155
- msgstr "Fluxuri"
156
-
157
- #: admin/main-view.php:85
158
- msgid "Category archives"
159
- msgstr "Arhive de categorii"
160
-
161
- #: admin/main-view.php:86
162
- msgid "Tag archives"
163
- msgstr "Arhive de etichete"
164
-
165
- #: admin/main-view.php:87
166
- msgid "Other archives"
167
- msgstr "Alte arhive"
168
-
169
- #: admin/main-view.php:88
170
- msgid ""
171
- "If you choose to disable this, please add <code>&lt;?php if "
172
- "( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your "
173
- "template file where you want it displayed"
174
- msgstr ""
175
- "Daca alegeți sa afișați asta, vă rugăm să adaugati <code>&lt;?php if "
176
- "( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> în "
177
- "șablonul dumneavoastră în locul în care doriți afișarea"
178
-
179
- #: admin/main-view.php:92
180
- msgid "Display location priority:"
181
- msgstr ""
182
-
183
- #: admin/main-view.php:95
184
- msgid ""
185
- "If you select to automatically add the related posts, CRP will hook into the "
186
- "Content Filter at a priority as specified in this option."
187
- msgstr ""
188
-
189
- #: admin/main-view.php:96
190
- msgid ""
191
- "A higher number will cause the related posts to be processed later and move "
192
- "their display further down after the post content. Any number below 10 is "
193
- "not recommended."
194
- msgstr ""
195
-
196
- #: admin/main-view.php:100
197
- msgid "Show metabox:"
198
- msgstr ""
199
-
200
- #: admin/main-view.php:103
201
- msgid ""
202
- "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
203
- "Posts screens. Also applies to Pages and Custom Post Types."
204
- msgstr ""
205
-
206
- #: admin/main-view.php:107
207
- msgid "Limit metabox to Admins only:"
208
- msgstr ""
209
-
210
- #: admin/main-view.php:110
211
- msgid ""
212
- "If this is selected, the metabox will be hidden from anyone who is not an "
213
- "Admin. Otherwise, by default, Contributors and above will be able to see the "
214
- "metabox. This applies only if the above option is selected."
215
- msgstr ""
216
-
217
- #: admin/main-view.php:114
218
- msgid "Tell the world you're using Contextual Related Posts:"
219
- msgstr ""
220
- "Spuneți lumii că folosiți \"Contextual Related Posts / Articole Asociate "
221
- "Contextual\":"
222
-
223
- #: admin/main-view.php:116
224
- msgid " <em>Optional</em>"
225
- msgstr "<em>Opțional</em>"
226
-
227
- #: admin/main-view.php:117
228
- msgid ""
229
- "Adds a nofollow link to Contextual Related Posts homepage as the last time "
230
- "in the list."
231
- msgstr ""
232
- "Adaugă ca ultima in listă o legatură nofollow catre pagina principală a "
233
- "Contextual Related Posts."
234
-
235
- #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
236
- #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
237
- #: admin/main-view.php:767
238
- msgid "Save Options"
239
- msgstr "Salvați opțiunile"
240
-
241
- #: admin/main-view.php:158 admin/main-view.php:704
242
- msgid "Number of related posts to display: "
243
- msgstr "Numărul de articole asociate de afișat."
244
-
245
- #: admin/main-view.php:161
246
- msgid ""
247
- "Maximum number of posts that will be displayed. The actual number may be "
248
- "smaller if less related posts are found."
249
- msgstr ""
250
- "Numărul maxim de articole de afișat. Numărul real poate fi mai mic daca se "
251
- "vor găsi mai puține articole asociate."
252
-
253
- #: admin/main-view.php:165
254
- msgid "Related posts should be newer than:"
255
- msgstr "Articolele asociate trebuie să fie mai noi decât:"
256
-
257
- #: admin/main-view.php:167
258
- msgid "days"
259
- msgstr "zile"
260
-
261
- #: admin/main-view.php:168
262
- msgid ""
263
- "This sets the cutoff period for which posts will be displayed. e.g. setting "
264
- "it to 365 will show related posts from the last year only. Set to 0 to "
265
- "disable limiting posts by date."
266
- msgstr ""
267
-
268
- #: admin/main-view.php:172
269
- msgid "Find related posts based on content as well as title:"
270
- msgstr "Gasește articole asociate pe baza conținutului și titlului:"
271
-
272
- #: admin/main-view.php:174
273
- msgid ""
274
- "If unchecked, only posts titles are used. I recommend using a caching plugin "
275
- "or enabling \"Cache output\" above if you enable this. Each site is "
276
- "different, so toggle this option to see which setting gives you better "
277
- "quality related posts."
278
- msgstr ""
279
-
280
- #: admin/main-view.php:178
281
- msgid "Limit content to be compared:"
282
- msgstr ""
283
-
284
- #: admin/main-view.php:180
285
- msgid ""
286
- "This sets the maximum words of the content that will be matched. Set to 0 "
287
- "for no limit. Only applies if you active the above option."
288
- msgstr ""
289
-
290
- #: admin/main-view.php:184
291
- msgid "Post types to include in results:"
292
- msgstr "Tipuri de articole incluse în rezultate:"
293
-
294
- #: admin/main-view.php:191
295
- msgid ""
296
- "These post types will be displayed in the list. Includes custom post types."
297
- msgstr ""
298
- "Aceste tipuri de articole vor fi afișate în listă. Include tipurile de "
299
- "articole personalizate."
300
-
301
- #: admin/main-view.php:195
302
- msgid "List of post or page IDs to exclude from the results:"
303
- msgstr "Listă de ID-uri de articol sau pagină de exclus din rezultate:"
304
-
305
- #: admin/main-view.php:197 admin/main-view.php:377
306
- msgid ""
307
- "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
308
- msgstr ""
309
- "Listă separată prin virgulă a ID-urilor de articol, pagină sau tip de "
310
- "articol personalizat. Exemplu: 188,320,500"
311
-
312
- #: admin/main-view.php:201
313
- msgid "Categories to exclude from the results: "
314
- msgstr "Categorii de exclus din rezultate:"
315
-
316
- #: admin/main-view.php:213
317
- msgid ""
318
- "Comma separated list of category slugs. The field above has an autocomplete "
319
- "so simply start typing in the beginning of your category name and it will "
320
- "prompt you with options."
321
- msgstr ""
322
- "Listă separata prin virgulă de slug-uri de categorie. Câmpul de deasupra "
323
- "utilizează autocompletare, asa că începeți să tastați numele categoriei "
324
- "dorite și vi se vor afișa opțiunile."
325
-
326
- #: admin/main-view.php:216
327
- msgid "Excluded category IDs are:"
328
- msgstr ""
329
-
330
- #: admin/main-view.php:222
331
- msgid ""
332
- "These might differ from the IDs visible in the Categories page which use the "
333
- "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
334
- "unique to this taxonomy."
335
- msgstr ""
336
-
337
- #: admin/main-view.php:265
338
- msgid "Title of related posts:"
339
- msgstr ""
340
-
341
- #: admin/main-view.php:268
342
- msgid ""
343
- "This is the main heading of the related posts. You can also display the "
344
- "current post title by using <code>%postname%</code>. e.g. <code>Related "
345
- "Posts to %postname%</code>"
346
- msgstr ""
347
- "Acesta este titlul principal al articolelor asociate. Puteti afișa de "
348
- "asemenea titlul articolului curent folosind <code>%postname%</code>. "
349
- "Exemplu: <code>Articole asociate cu %postname%</code>"
350
-
351
- #: admin/main-view.php:272
352
- msgid "When there are no posts, what should be shown?"
353
- msgstr "Ce se va afișa cănd nu există articole?"
354
-
355
- #: admin/main-view.php:276
356
- msgid "Blank Output"
357
- msgstr "Afișaj gol"
358
-
359
- #: admin/main-view.php:281
360
- msgid "Display:"
361
- msgstr "Afișare:"
362
-
363
- #: admin/main-view.php:287 admin/main-view.php:707
364
- msgid "Show post excerpt in list?"
365
- msgstr "Arată extrasul articolului in listă?"
366
-
367
- #: admin/main-view.php:290
368
- #, php-format
369
- msgid ""
370
- "Displays the excerpt of the post. If you do not provide an explicit excerpt "
371
- "to a post (in the post editor's optional excerpt field), it will display an "
372
- "automatic excerpt which refers to the first %d words of the post's content"
373
- msgstr ""
374
- "Afișează extrasul articolului. Dacă nu oferiți un extras ( în câmpul "
375
- "opțional al editorului ), va fi generat un extras automat ce va conține "
376
- "primele %d cuvinte din conținutul articolului."
377
-
378
- #: admin/main-view.php:293
379
- msgid ""
380
- "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
381
- "is disabled."
382
- msgstr ""
383
-
384
- #: admin/main-view.php:298
385
- msgid "Length of excerpt (in words):"
386
- msgstr ""
387
-
388
- #: admin/main-view.php:304
389
- msgid "Show post author in list?"
390
- msgstr "Afișați autorul articolului în listă?"
391
-
392
- #: admin/main-view.php:307
393
- msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
394
- msgstr "Afișează numele autorului cu prefixul \"de\". Exemplu: de John Doe"
395
-
396
- #: admin/main-view.php:310
397
- msgid ""
398
- "Rounded Thumbnails style selected under the Custom Styles. Author display is "
399
- "disabled."
400
- msgstr ""
401
-
402
- #: admin/main-view.php:315
403
- msgid "Show post date in list?"
404
- msgstr "Afișați data articolului în listă?"
405
-
406
- #: admin/main-view.php:318
407
- msgid ""
408
- "Displays the date of the post. Uses the same date format set in General "
409
- "Options"
410
- msgstr ""
411
- "Afișează data articolului. Utilizează formatul setat in Opțiuni Generale."
412
-
413
- #: admin/main-view.php:321
414
- msgid ""
415
- "Rounded Thumbnails style selected under the Custom Styles. Date display is "
416
- "disabled."
417
- msgstr ""
418
-
419
- #: admin/main-view.php:326
420
- msgid "Limit post title length (in characters)"
421
- msgstr "Limita titlului articolului (în caractere)"
422
-
423
- #: admin/main-view.php:329
424
- msgid ""
425
- "Any title longer than the number of characters set above will be cut and "
426
- "appended with an ellipsis (&hellip;)"
427
- msgstr ""
428
-
429
- #: admin/main-view.php:333
430
- msgid "Open links in new window"
431
- msgstr "Se deschide într-o fereastră nouă"
432
-
433
- #: admin/main-view.php:339
434
- msgid "Add nofollow attribute to links in the list"
435
- msgstr "Adaugă atribut nofollow legăturilor din listă"
436
-
437
- #: admin/main-view.php:372
438
- msgid "Exclusion settings:"
439
- msgstr "Setări de excludere:"
440
-
441
- #: admin/main-view.php:374
442
- msgid "Exclude display of related posts on these posts / pages"
443
- msgstr "Exclude afișarea articolelor asociate pentru aceste articole / pagini"
444
-
445
- #: admin/main-view.php:380
446
- msgid "Exclude display of related posts on these post types."
447
- msgstr ""
448
- "Exclude afișarea articolelor asociate pentru aceste tipuri de articole."
449
-
450
- #: admin/main-view.php:387
451
- msgid ""
452
- "The related posts will not display on any of the above selected post types"
453
- msgstr ""
454
- "Articolele asociate nu vor fi afișate pentru niciunul dintre tipurile de "
455
- "articole selectate mai sus"
456
-
457
- #: admin/main-view.php:417
458
- msgid "Customize the output:"
459
- msgstr "Personalizați afișajul:"
460
-
461
- #: admin/main-view.php:419
462
- msgid "HTML to display before the list of posts: "
463
- msgstr "Cod HTML de afișat înaintea listei de articole:"
464
-
465
- #: admin/main-view.php:422
466
- msgid "HTML to display before each list item: "
467
- msgstr "Cod HTML de afișat înaintea fiecarei intrari din listă:"
468
-
469
- #: admin/main-view.php:425
470
- msgid "HTML to display after each list item: "
471
- msgstr "Cod HTML de afișat după fiecare intrare din listă:"
472
-
473
- #: admin/main-view.php:428
474
- msgid "HTML to display after the list of posts: "
475
- msgstr "Cod HTML de afișat după lista de articole:"
476
-
477
- #: admin/main-view.php:469 admin/main-view.php:710
478
- msgid "Location of post thumbnail:"
479
- msgstr "Poziția imaginii miniatură:"
480
-
481
- #: admin/main-view.php:473 admin/main-view.php:714
482
- msgid "Display thumbnails inline with posts, before title"
483
- msgstr "Afișează imagini miniatură în linie cu articolele, înaintea titlului"
484
-
485
- #: admin/main-view.php:477 admin/main-view.php:718
486
- msgid "Display thumbnails inline with posts, after title"
487
- msgstr "Afișează imagini miniatură în linie cu articolele, după titlu"
488
-
489
- #: admin/main-view.php:481 admin/main-view.php:722
490
- msgid "Display only thumbnails, no text"
491
- msgstr "Afișează doar imagini miniatură, fără text"
492
-
493
- #: admin/main-view.php:485 admin/main-view.php:726
494
- msgid "Do not display thumbnails, only text."
495
- msgstr "Nu afișează imagini miniatură, doar text."
496
-
497
- #: admin/main-view.php:488
498
- msgid ""
499
- "This setting cannot be changed because an inbuilt style has been selected "
500
- "under the Styles section. If you would like to change this option, please "
501
- "select <strong>No styles</strong> under the Styles section."
502
- msgstr ""
503
-
504
- #: admin/main-view.php:492
505
- msgid "Thumbnail size:"
506
- msgstr ""
507
-
508
- #: admin/main-view.php:516
509
- msgid "Custom size"
510
- msgstr ""
511
-
512
- #: admin/main-view.php:519
513
- msgid "You can choose from existing image sizes above or create a custom size."
514
- msgstr ""
515
-
516
- #: admin/main-view.php:520
517
- msgid ""
518
- "If you choose an existing size, then the width, height and crop mode "
519
- "settings in the three options below will be automatically updated to reflect "
520
- "the correct dimensions of the setting."
521
- msgstr ""
522
-
523
- #: admin/main-view.php:521
524
- msgid ""
525
- "If you have chosen Custom size above, then enter the width, height and crop "
526
- "settings below. For best results, use a cropped image with the same width "
527
- "and height. The default setting is 150x150 cropped image."
528
- msgstr ""
529
-
530
- #: admin/main-view.php:522
531
- msgid ""
532
- "Any changes to the thumbnail settings doesn't automatically resize existing "
533
- "images."
534
- msgstr ""
535
-
536
- #: admin/main-view.php:523
537
- #, php-format
538
- msgid ""
539
- "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
540
- "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
541
- "all image sizes."
542
- msgstr ""
543
-
544
- #: admin/main-view.php:527
545
- msgid "Width of the thumbnail:"
546
- msgstr ""
547
-
548
- #: admin/main-view.php:530
549
- msgid "Height of the thumbnail: "
550
- msgstr ""
551
-
552
- #: admin/main-view.php:535
553
- msgid "Crop mode:"
554
- msgstr ""
555
-
556
- #: admin/main-view.php:539
557
- msgid ""
558
- "By default, thumbnails will be hard cropped. Uncheck this box to "
559
- "proportionately/soft crop the thumbnails."
560
- msgstr ""
561
-
562
- #: admin/main-view.php:540
563
- #, php-format
564
- msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
565
- msgstr ""
566
-
567
- #: admin/main-view.php:544
568
- msgid "Image size attributes:"
569
- msgstr ""
570
-
571
- #: admin/main-view.php:548
572
- msgid "Style attributes are used for width and height."
573
- msgstr "Atributele de stil sunt folosite pentru lățime și înălțime."
574
-
575
- #: admin/main-view.php:554
576
- msgid "HTML width and height attributes are used for width and height."
577
- msgstr ""
578
- "Atributele HTML de lătime și înălțime sunt folosite pentru lățime și "
579
- "înălțime."
580
-
581
- #: admin/main-view.php:560
582
- msgid "No HTML or Style attributes set for width and height"
583
- msgstr ""
584
-
585
- #: admin/main-view.php:565
586
- msgid "Post thumbnail meta field name:"
587
- msgstr "Numele câmpului meta al imaginii miniatură a articolului:"
588
-
589
- #: admin/main-view.php:567
590
- msgid ""
591
- "The value of this field should contain a direct link to the image. This is "
592
- "set in the meta box in the <em>Add New Post</em> screen."
593
- msgstr ""
594
-
595
- #: admin/main-view.php:570
596
- msgid "Extract the first image from the post?"
597
- msgstr "Extrageți prima imagine din articol?"
598
-
599
- #: admin/main-view.php:572
600
- msgid ""
601
- "This will only happen if there is no post thumbnail set and no image URL is "
602
- "specified in the meta field."
603
- msgstr ""
604
- "Asta se va întâmpla doar daca nu exista o imagine miniatură setata și nu a "
605
- "fost specificată adresa URL a unei imagini in câmpul meta."
606
-
607
- #: admin/main-view.php:575
608
- msgid "Use default thumbnail?"
609
- msgstr "Folosiți imaginea miniatură predefinită?"
610
-
611
- #: admin/main-view.php:577
612
- msgid ""
613
- "If checked, when no thumbnail is found, show a default one from the URL "
614
- "below. If not checked and no thumbnail is found, no image will be shown."
615
- msgstr ""
616
- "Daca bifați, cand nu se găsește o imagine miniatură, va fi afișată una de la "
617
- "adresa URL de mai jos. Daca nu bifați și nu se găsește o imagine miniatură, "
618
- "nicio imagine nu va fi afișată."
619
-
620
- #: admin/main-view.php:580
621
- msgid "Default thumbnail:"
622
- msgstr "Imagine miniatură predefinită:"
623
-
624
- #: admin/main-view.php:583
625
- msgid ""
626
- "The plugin will first check if the post contains a thumbnail. If it doesn't "
627
- "then it will check the meta field. If this is not available, then it will "
628
- "show the default image as specified above."
629
- msgstr ""
630
- "Modului va verifica întâi dacă articolul conține o imagine miniatură. Dacă "
631
- "nu, va verifica câmpul meta. Dacă acesta nu este disponibil, va afișa "
632
- "imaginea predefinită specificată mai deasupra."
633
-
634
- #: admin/main-view.php:624
635
- msgid "Style of the related posts:"
636
- msgstr ""
637
-
638
- #: admin/main-view.php:627
639
- msgid "No styles"
640
- msgstr ""
641
-
642
- #: admin/main-view.php:629
643
- msgid "Select this option if you plan to add your own styles"
644
- msgstr ""
645
-
646
- #: admin/main-view.php:633
647
- msgid "Rounded Thumbnails"
648
- msgstr ""
649
-
650
- #: admin/main-view.php:636
651
- msgid ""
652
- "Enabling this option will turn on the thumbnails and set their width and "
653
- "height to 150px. It will also turn off the display of the author, excerpt "
654
- "and date if already enabled. Disabling this option will not revert any "
655
- "settings."
656
- msgstr ""
657
-
658
- #: admin/main-view.php:637
659
- #, php-format
660
- msgid ""
661
- "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
662
- msgstr ""
663
-
664
- #: admin/main-view.php:641
665
- msgid "Text only"
666
- msgstr ""
667
-
668
- #: admin/main-view.php:643
669
- msgid ""
670
- "Enabling this option will disable thumbnails and no longer include the "
671
- "default style sheet included in the plugin."
672
- msgstr ""
673
-
674
- #: admin/main-view.php:658
675
- msgid "Custom CSS to add to header:"
676
- msgstr "Cod CSS personalizat de adăugat în header:"
677
-
678
- #: admin/main-view.php:662
679
- msgid ""
680
- "Do not include <code>style</code> tags. Check out the <a href=\"http://"
681
- "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
682
- "\">FAQ</a> for available CSS classes to style."
683
- msgstr ""
684
- "Nu includeți etichete de <code>stil</code>. Verificați secțiunea de <a href="
685
- "\"http://wordpress.org/extend/plugins/contextual-related-posts/faq/\" target="
686
- "\"_blank\">Întrebări / Răspunsuri</a> pentru clasele disponibile stilizării."
687
-
688
- #: admin/main-view.php:702
689
- msgid ""
690
- "Below options override the related posts settings for your blog feed. These "
691
- "only apply if you have selected to add related posts to Feeds in the General "
692
- "Options tab."
693
- msgstr ""
694
- "Opțiunile de mai jos suprascriu setările de articole asociate pentru fluxul "
695
- "blogului. Acestea se aplică doar dacă ați selectat adăugarea articolelor "
696
- "asociatele la Flux in sectiunea de Setări Generale."
697
-
698
- #: admin/main-view.php:730
699
- msgid "Maximum width of the thumbnail: "
700
- msgstr "Lățimea maximă a imaginii miniatură:"
701
-
702
- #: admin/main-view.php:733
703
- msgid "Maximum height of the thumbnail: "
704
- msgstr "Înălțimea maximăa a imaginii miniatură:"
705
-
706
- #: admin/main-view.php:768
707
- msgid "Default Options"
708
- msgstr "Opțiuni predefinite"
709
-
710
- #: admin/main-view.php:768
711
- msgid "Do you want to set options to Default?"
712
- msgstr "Doriți încărcarea opțiunilor predefinite?"
713
-
714
- #: admin/main-view.php:769
715
- msgid "Recreate Index"
716
- msgstr "Recreare index"
717
-
718
- #: admin/main-view.php:769
719
- msgid "Are you sure you want to recreate the index?"
720
- msgstr "Sunteți sigur că doriți recrearea indexului?"
721
-
722
- #: admin/main-view.php:774
723
- msgid ""
724
- "One or more FULLTEXT indices are missing. Please hit the <a href="
725
- "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
726
- "this."
727
- msgstr ""
728
-
729
- #: admin/metabox.php:98
730
- msgid "Location of thumbnail:"
731
- msgstr "Poziția imaginii miniatură:"
732
-
733
- #: admin/metabox.php:100
734
- msgid ""
735
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
736
- "image will be used for the post. It will be resized to the thumbnail size "
737
- "set under Settings &raquo; Related Posts &raquo; Output Options"
738
- msgstr ""
739
- "Introduceți adresa URL completa a imaginii (JPG, PNG sau GIF) pe care "
740
- "dorițti sa o utilizați. Această imagine va fi folosită pentru articol. Va fi "
741
- "redimensionată la dimensiunile imaginii miniatura, setate in sectiunea "
742
- "\"Setări &raquo; Articole asociate &raquo; Opțiuni afișaj\"."
743
-
744
- #: admin/metabox.php:101
745
- msgid "The URL above is saved in the meta field:"
746
- msgstr ""
747
-
748
- #: admin/metabox.php:106
749
- msgid ""
750
- "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
751
- "thumbnail, then you'll need to make the same change in the Top 10 meta box "
752
- "on this page."
753
- msgstr ""
754
-
755
- #: admin/metabox.php:117
756
- msgid "Disable Related Posts display:"
757
- msgstr ""
758
-
759
- #: admin/metabox.php:120
760
- msgid ""
761
- "If this is checked, then Contextual Related Posts will not automatically "
762
- "insert the related posts at the end of post content."
763
- msgstr ""
764
-
765
- #: admin/metabox.php:125 admin/metabox.php:133
766
- msgid "Manual related posts:"
767
- msgstr ""
768
-
769
- #: admin/metabox.php:127
770
- msgid ""
771
- "Comma separated list of post, page or custom post type IDs. e.g. "
772
- "188,320,500. These will be given preference over the related posts generated "
773
- "by the plugin."
774
- msgstr ""
775
-
776
- #: admin/metabox.php:128
777
- msgid ""
778
- "Once you enter the list above and save this page, the plugin will display "
779
- "the titles of the posts below for your reference. Only IDs corresponding to "
780
- "published posts or custom post types will be retained."
781
- msgstr ""
782
-
783
- #: admin/metabox.php:142
784
- msgid "This post type is:"
785
- msgstr ""
786
-
787
- #: admin/sidebar-view.php:20
788
- msgid "Support the development"
789
- msgstr "Susțineți dezvoltarea"
790
-
791
- #: admin/sidebar-view.php:27
792
- msgid "Donation for Contextual Related Posts"
793
- msgstr "Donatii pentru Contextual Related Posts"
794
-
795
- #: admin/sidebar-view.php:29
796
- msgid "Enter amount in USD:"
797
- msgstr "Introduceți suma în USD:"
798
-
799
- #: admin/sidebar-view.php:33
800
- msgid "Send your donation to the author of"
801
- msgstr "Trimiteți donația dumneavoastră autorului"
802
-
803
- #: admin/sidebar-view.php:41
804
- msgid "Follow me"
805
- msgstr "Urmăriți-mă"
806
-
807
- #: admin/sidebar-view.php:66
808
- msgid "Quick links"
809
- msgstr "Legături rapide"
810
-
811
- #: admin/sidebar-view.php:70
812
- msgid "Plugin homepage"
813
- msgstr ""
814
-
815
- #: admin/sidebar-view.php:71
816
- msgid "FAQ"
817
- msgstr "Întrebări/Răspunsuri"
818
-
819
- #: admin/sidebar-view.php:73
820
- msgid "Reviews"
821
- msgstr "Recenzii"
822
-
823
- #: admin/sidebar-view.php:74
824
- msgid "Github repository"
825
- msgstr "Depozit Github"
826
-
827
- #: admin/sidebar-view.php:75
828
- msgid "Other plugins"
829
- msgstr "Alte module"
830
-
831
- #: admin/sidebar-view.php:76
832
- msgid "Ajay's blog"
833
- msgstr "Blogul lui Ajay"
834
-
835
- #: contextual-related-posts.php:232
836
- #, php-format
837
- msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
838
- msgstr ""
839
-
840
- #: contextual-related-posts.php:710
841
- msgid "<h3>Related Posts:</h3>"
842
- msgstr "<h3>Articole asociate:</h3>"
843
-
844
- #: contextual-related-posts.php:712
845
- msgid "No related posts found"
846
- msgstr "Nu au fost găsite articole asociate"
847
-
848
- #: includes/class-crp-widget.php:33
849
- msgid "Related Posts [CRP]"
850
- msgstr "Articole asociate [AAC]"
851
-
852
- #: includes/class-crp-widget.php:34
853
- msgid "Display Related Posts"
854
- msgstr "Afișați articolele asociate"
855
-
856
- #: includes/class-crp-widget.php:69
857
- msgid "Title"
858
- msgstr "Titlu"
859
-
860
- #: includes/class-crp-widget.php:74
861
- msgid "No. of posts"
862
- msgstr "Numărul de articole"
863
-
864
- #: includes/class-crp-widget.php:79
865
- msgid " Show excerpt?"
866
- msgstr "Afișați extrasul?"
867
-
868
- #: includes/class-crp-widget.php:84
869
- msgid " Show author?"
870
- msgstr "Afișați autorul?"
871
-
872
- #: includes/class-crp-widget.php:89
873
- msgid " Show date?"
874
- msgstr "Afișați data?"
875
-
876
- #: includes/class-crp-widget.php:95
877
- msgid "Thumbnails inline, before title"
878
- msgstr "Imagini miniatură în linie, înaintea titlului"
879
-
880
- #: includes/class-crp-widget.php:96
881
- msgid "Thumbnails inline, after title"
882
- msgstr "Imagini miniatură în linie, după titlu"
883
-
884
- #: includes/class-crp-widget.php:97
885
- msgid "Only thumbnails, no text"
886
- msgstr "Doar imagini miniatură, fară text"
887
-
888
- #: includes/class-crp-widget.php:98
889
- msgid "No thumbnails, only text."
890
- msgstr "Fară imagini miniatură, doar text"
891
-
892
- #: includes/class-crp-widget.php:103
893
- msgid "Thumbnail height"
894
- msgstr "Inălțime imagine miniatură"
895
-
896
- #: includes/class-crp-widget.php:108
897
- msgid "Thumbnail width"
898
- msgstr "Lățime imagine miniatură"
899
-
900
- #: includes/class-crp-widget.php:112
901
- msgid "Post types to include:"
902
- msgstr ""
903
-
904
- #: includes/media.php:67
905
- msgid "thumb_timthumb argument has been deprecated"
906
- msgstr ""
907
-
908
- #: includes/media.php:71
909
- msgid "thumb_timthumb_q argument has been deprecated"
910
- msgstr ""
911
-
912
- #: includes/media.php:75
913
- msgid "filter argument has been deprecated"
914
- msgstr ""
915
-
916
- #: includes/output-generator.php:238
917
- msgid " by "
918
- msgstr "de"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/contextual-related-posts-ru_RU.mo DELETED
Binary file
languages/contextual-related-posts-ru_RU.po DELETED
@@ -1,1038 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Contextual Related Posts\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-27 13:33+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
- "Language-Team: me@ajaydsouza.com\n"
9
- "Language: ru_RU\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "X-Generator: Poedit 1.8.4\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
-
19
- #: admin/admin.php:191
20
- msgid "Options saved successfully. If enabled, the cache has been cleared."
21
- msgstr ""
22
-
23
- #: admin/admin.php:194
24
- msgid ""
25
- "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
26
- "displayed."
27
- msgstr ""
28
-
29
- #: admin/admin.php:197
30
- msgid "Text Only style selected. Thumbnails will not be displayed."
31
- msgstr ""
32
-
33
- #: admin/admin.php:200
34
- #, php-format
35
- msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
36
- msgstr ""
37
-
38
- #: admin/admin.php:224
39
- msgid "Options set to Default."
40
- msgstr "Опции возвращены к стандартным"
41
-
42
- #: admin/admin.php:233
43
- msgid "Index recreated"
44
- msgstr "Индекс воссоздан"
45
-
46
- #: admin/admin.php:250
47
- msgid "Related Posts"
48
- msgstr "Похожие посты"
49
-
50
- #: admin/cache.php:42
51
- msgid ""
52
- "An error occurred clearing the cache. Please contact your site administrator."
53
- "\\n\\nError message:\\n"
54
- msgstr ""
55
-
56
- #: admin/cache.php:47
57
- msgid " cached row(s) cleared"
58
- msgstr ""
59
-
60
- #: admin/loader.php:24
61
- msgid "Settings"
62
- msgstr "Настройки"
63
-
64
- #: admin/loader.php:46 admin/sidebar-view.php:72
65
- msgid "Support"
66
- msgstr "Поддержка"
67
-
68
- #: admin/loader.php:47
69
- msgid "Donate"
70
- msgstr "Пожертвование"
71
-
72
- #: admin/loader.php:48
73
- msgid "Contribute"
74
- msgstr ""
75
-
76
- #: admin/loader.php:64
77
- #, fuzzy
78
- msgid "plugin settings page"
79
- msgstr "spraudnis iestatījumu lapa"
80
-
81
- #: admin/main-view.php:32 admin/main-view.php:55
82
- #, fuzzy
83
- msgid "General options"
84
- msgstr "Izejas opcijas:"
85
-
86
- #: admin/main-view.php:33 admin/main-view.php:142
87
- msgid "List tuning options"
88
- msgstr ""
89
-
90
- #: admin/main-view.php:34 admin/main-view.php:249
91
- #, fuzzy
92
- msgid "Output options"
93
- msgstr "Izejas opcijas:"
94
-
95
- #: admin/main-view.php:35 admin/main-view.php:453
96
- #: includes/class-crp-widget.php:93
97
- #, fuzzy
98
- msgid "Thumbnail options"
99
- msgstr "sīktēlu iespējas"
100
-
101
- #: admin/main-view.php:36 admin/main-view.php:608
102
- msgid "Styles"
103
- msgstr ""
104
-
105
- #: admin/main-view.php:37 admin/main-view.php:686
106
- #, fuzzy
107
- msgid "Feed options"
108
- msgstr "Iespējas:"
109
-
110
- #: admin/main-view.php:71
111
- #, fuzzy
112
- msgid "Cache output?"
113
- msgstr "Izejas opcijas:"
114
-
115
- #: admin/main-view.php:73
116
- msgid ""
117
- "Enabling this option will cache the related posts output when the post is "
118
- "visited the first time. The cache is cleaned when you save this page."
119
- msgstr ""
120
-
121
- #: admin/main-view.php:74
122
- msgid ""
123
- "The CRP cache works independently and in addition to any of your caching "
124
- "plugins like WP Super Cache or W3 Total Cache. It is recommended that you "
125
- "enable this on your blog."
126
- msgstr ""
127
-
128
- #: admin/main-view.php:75
129
- msgid "Clear cache"
130
- msgstr ""
131
-
132
- #: admin/main-view.php:79
133
- msgid "Automatically add related posts to:"
134
- msgstr ""
135
-
136
- #: admin/main-view.php:81
137
- #, fuzzy
138
- msgid "Posts"
139
- msgstr "Популярные записи"
140
-
141
- #: admin/main-view.php:82
142
- #, fuzzy
143
- msgid "Pages"
144
- msgstr "Pievienot saistītus amatus barībā"
145
-
146
- #: admin/main-view.php:83
147
- #, fuzzy
148
- msgid "Home page"
149
- msgstr "Результатов на страницу:"
150
-
151
- #: admin/main-view.php:84
152
- msgid "Feeds"
153
- msgstr ""
154
-
155
- #: admin/main-view.php:85
156
- msgid "Category archives"
157
- msgstr ""
158
-
159
- #: admin/main-view.php:86
160
- msgid "Tag archives"
161
- msgstr ""
162
-
163
- #: admin/main-view.php:87
164
- #, fuzzy
165
- msgid "Other archives"
166
- msgstr "Другие плагины автора"
167
-
168
- #: admin/main-view.php:88
169
- #, fuzzy
170
- msgid ""
171
- "If you choose to disable this, please add <code>&lt;?php if "
172
- "( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your "
173
- "template file where you want it displayed"
174
- msgstr ""
175
- "Показывать связанные посты на страницах. <br />Если вы захотите отключить "
176
- "эту опцию, пожалуйста, добавьте код: <code>&lt;?php "
177
- "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code>, в "
178
- "отображаемый шаблон на вашем сайте"
179
-
180
- #: admin/main-view.php:92
181
- msgid "Display location priority:"
182
- msgstr ""
183
-
184
- #: admin/main-view.php:95
185
- msgid ""
186
- "If you select to automatically add the related posts, CRP will hook into the "
187
- "Content Filter at a priority as specified in this option."
188
- msgstr ""
189
-
190
- #: admin/main-view.php:96
191
- msgid ""
192
- "A higher number will cause the related posts to be processed later and move "
193
- "their display further down after the post content. Any number below 10 is "
194
- "not recommended."
195
- msgstr ""
196
-
197
- #: admin/main-view.php:100
198
- msgid "Show metabox:"
199
- msgstr ""
200
-
201
- #: admin/main-view.php:103
202
- msgid ""
203
- "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
204
- "Posts screens. Also applies to Pages and Custom Post Types."
205
- msgstr ""
206
-
207
- #: admin/main-view.php:107
208
- msgid "Limit metabox to Admins only:"
209
- msgstr ""
210
-
211
- #: admin/main-view.php:110
212
- msgid ""
213
- "If this is selected, the metabox will be hidden from anyone who is not an "
214
- "Admin. Otherwise, by default, Contributors and above will be able to see the "
215
- "metabox. This applies only if the above option is selected."
216
- msgstr ""
217
-
218
- #: admin/main-view.php:114
219
- #, fuzzy
220
- msgid "Tell the world you're using Contextual Related Posts:"
221
- msgstr "Контекстные похожие посты"
222
-
223
- #: admin/main-view.php:116
224
- msgid " <em>Optional</em>"
225
- msgstr ""
226
-
227
- #: admin/main-view.php:117
228
- #, fuzzy
229
- msgid ""
230
- "Adds a nofollow link to Contextual Related Posts homepage as the last time "
231
- "in the list."
232
- msgstr "Контекстные похожие посты"
233
-
234
- #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
235
- #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
236
- #: admin/main-view.php:767
237
- #, fuzzy
238
- msgid "Save Options"
239
- msgstr "Saglabāt opcijas"
240
-
241
- #: admin/main-view.php:158 admin/main-view.php:704
242
- msgid "Number of related posts to display: "
243
- msgstr "Количество отображаемых похожих постов:"
244
-
245
- #: admin/main-view.php:161
246
- msgid ""
247
- "Maximum number of posts that will be displayed. The actual number may be "
248
- "smaller if less related posts are found."
249
- msgstr ""
250
-
251
- #: admin/main-view.php:165
252
- msgid "Related posts should be newer than:"
253
- msgstr ""
254
-
255
- #: admin/main-view.php:167
256
- #, fuzzy
257
- msgid "days"
258
- msgstr ""
259
- "За сколько дней считать просмотры для списка Популярных сегодня записей?"
260
-
261
- #: admin/main-view.php:168
262
- msgid ""
263
- "This sets the cutoff period for which posts will be displayed. e.g. setting "
264
- "it to 365 will show related posts from the last year only. Set to 0 to "
265
- "disable limiting posts by date."
266
- msgstr ""
267
-
268
- #: admin/main-view.php:172
269
- msgid "Find related posts based on content as well as title:"
270
- msgstr ""
271
-
272
- #: admin/main-view.php:174
273
- msgid ""
274
- "If unchecked, only posts titles are used. I recommend using a caching plugin "
275
- "or enabling \"Cache output\" above if you enable this. Each site is "
276
- "different, so toggle this option to see which setting gives you better "
277
- "quality related posts."
278
- msgstr ""
279
-
280
- #: admin/main-view.php:178
281
- msgid "Limit content to be compared:"
282
- msgstr ""
283
-
284
- #: admin/main-view.php:180
285
- msgid ""
286
- "This sets the maximum words of the content that will be matched. Set to 0 "
287
- "for no limit. Only applies if you active the above option."
288
- msgstr ""
289
-
290
- #: admin/main-view.php:184
291
- #, fuzzy
292
- msgid "Post types to include in results:"
293
- msgstr "Исключить рубрики:"
294
-
295
- #: admin/main-view.php:191
296
- msgid ""
297
- "These post types will be displayed in the list. Includes custom post types."
298
- msgstr ""
299
-
300
- #: admin/main-view.php:195
301
- #, fuzzy
302
- msgid "List of post or page IDs to exclude from the results:"
303
- msgstr "Исключить рубрики:"
304
-
305
- #: admin/main-view.php:197 admin/main-view.php:377
306
- msgid ""
307
- "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
308
- msgstr ""
309
-
310
- #: admin/main-view.php:201
311
- #, fuzzy
312
- msgid "Categories to exclude from the results: "
313
- msgstr "Исключить рубрики:"
314
-
315
- #: admin/main-view.php:213
316
- msgid ""
317
- "Comma separated list of category slugs. The field above has an autocomplete "
318
- "so simply start typing in the beginning of your category name and it will "
319
- "prompt you with options."
320
- msgstr ""
321
-
322
- #: admin/main-view.php:216
323
- msgid "Excluded category IDs are:"
324
- msgstr ""
325
-
326
- #: admin/main-view.php:222
327
- msgid ""
328
- "These might differ from the IDs visible in the Categories page which use the "
329
- "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
330
- "unique to this taxonomy."
331
- msgstr ""
332
-
333
- #: admin/main-view.php:265
334
- msgid "Title of related posts:"
335
- msgstr ""
336
-
337
- #: admin/main-view.php:268
338
- msgid ""
339
- "This is the main heading of the related posts. You can also display the "
340
- "current post title by using <code>%postname%</code>. e.g. <code>Related "
341
- "Posts to %postname%</code>"
342
- msgstr ""
343
-
344
- #: admin/main-view.php:272
345
- msgid "When there are no posts, what should be shown?"
346
- msgstr "Когда нет сообщений, что должно быть показано?"
347
-
348
- #: admin/main-view.php:276
349
- msgid "Blank Output"
350
- msgstr "Пустой выход"
351
-
352
- #: admin/main-view.php:281
353
- #, fuzzy
354
- msgid "Display:"
355
- msgstr "Количество Популярных записей в списке:"
356
-
357
- #: admin/main-view.php:287 admin/main-view.php:707
358
- msgid "Show post excerpt in list?"
359
- msgstr "Показать выдержки из поста в списке?"
360
-
361
- #: admin/main-view.php:290
362
- #, php-format
363
- msgid ""
364
- "Displays the excerpt of the post. If you do not provide an explicit excerpt "
365
- "to a post (in the post editor's optional excerpt field), it will display an "
366
- "automatic excerpt which refers to the first %d words of the post's content"
367
- msgstr ""
368
-
369
- #: admin/main-view.php:293
370
- msgid ""
371
- "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
372
- "is disabled."
373
- msgstr ""
374
-
375
- #: admin/main-view.php:298
376
- msgid "Length of excerpt (in words):"
377
- msgstr ""
378
-
379
- #: admin/main-view.php:304
380
- #, fuzzy
381
- msgid "Show post author in list?"
382
- msgstr "Показывать текст записи в списке?"
383
-
384
- #: admin/main-view.php:307
385
- msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
386
- msgstr ""
387
-
388
- #: admin/main-view.php:310
389
- msgid ""
390
- "Rounded Thumbnails style selected under the Custom Styles. Author display is "
391
- "disabled."
392
- msgstr ""
393
-
394
- #: admin/main-view.php:315
395
- #, fuzzy
396
- msgid "Show post date in list?"
397
- msgstr "Показывать текст записи в списке?"
398
-
399
- #: admin/main-view.php:318
400
- msgid ""
401
- "Displays the date of the post. Uses the same date format set in General "
402
- "Options"
403
- msgstr ""
404
-
405
- #: admin/main-view.php:321
406
- msgid ""
407
- "Rounded Thumbnails style selected under the Custom Styles. Date display is "
408
- "disabled."
409
- msgstr ""
410
-
411
- #: admin/main-view.php:326
412
- msgid "Limit post title length (in characters)"
413
- msgstr ""
414
-
415
- #: admin/main-view.php:329
416
- msgid ""
417
- "Any title longer than the number of characters set above will be cut and "
418
- "appended with an ellipsis (&hellip;)"
419
- msgstr ""
420
-
421
- #: admin/main-view.php:333
422
- msgid "Open links in new window"
423
- msgstr ""
424
-
425
- #: admin/main-view.php:339
426
- msgid "Add nofollow attribute to links in the list"
427
- msgstr ""
428
-
429
- #: admin/main-view.php:372
430
- #, fuzzy
431
- msgid "Exclusion settings:"
432
- msgstr "spraudnis iestatījumu lapa"
433
-
434
- #: admin/main-view.php:374
435
- #, fuzzy
436
- msgid "Exclude display of related posts on these posts / pages"
437
- msgstr "Pievienot saistītus amatus barībā"
438
-
439
- #: admin/main-view.php:380
440
- #, fuzzy
441
- msgid "Exclude display of related posts on these post types."
442
- msgstr "Pievienot saistītus amatus barībā"
443
-
444
- #: admin/main-view.php:387
445
- msgid ""
446
- "The related posts will not display on any of the above selected post types"
447
- msgstr ""
448
-
449
- #: admin/main-view.php:417
450
- msgid "Customize the output:"
451
- msgstr "Настройки выхода:"
452
-
453
- #: admin/main-view.php:419
454
- msgid "HTML to display before the list of posts: "
455
- msgstr "HTML для показа перед списком сообщений: "
456
-
457
- #: admin/main-view.php:422
458
- msgid "HTML to display before each list item: "
459
- msgstr "HTML для показа перед каждым элементом списка: "
460
-
461
- #: admin/main-view.php:425
462
- msgid "HTML to display after each list item: "
463
- msgstr "HTML для отображения после каждого элемента списка: "
464
-
465
- #: admin/main-view.php:428
466
- msgid "HTML to display after the list of posts: "
467
- msgstr "HTML для отображения после списка сообщений: "
468
-
469
- #: admin/main-view.php:469 admin/main-view.php:710
470
- #, fuzzy
471
- msgid "Location of post thumbnail:"
472
- msgstr "Настройки превью к записям:"
473
-
474
- #: admin/main-view.php:473 admin/main-view.php:714
475
- #, fuzzy
476
- msgid "Display thumbnails inline with posts, before title"
477
- msgstr "Отображать превью к записи сразу перед заголовком"
478
-
479
- #: admin/main-view.php:477 admin/main-view.php:718
480
- #, fuzzy
481
- msgid "Display thumbnails inline with posts, after title"
482
- msgstr "Отображать превью к записи сразу после заголовка"
483
-
484
- #: admin/main-view.php:481 admin/main-view.php:722
485
- msgid "Display only thumbnails, no text"
486
- msgstr "Показывать только изображения, без текста"
487
-
488
- #: admin/main-view.php:485 admin/main-view.php:726
489
- msgid "Do not display thumbnails, only text."
490
- msgstr "Не показывать изображения, только текст"
491
-
492
- #: admin/main-view.php:488
493
- msgid ""
494
- "This setting cannot be changed because an inbuilt style has been selected "
495
- "under the Styles section. If you would like to change this option, please "
496
- "select <strong>No styles</strong> under the Styles section."
497
- msgstr ""
498
-
499
- #: admin/main-view.php:492
500
- msgid "Thumbnail size:"
501
- msgstr ""
502
-
503
- #: admin/main-view.php:516
504
- msgid "Custom size"
505
- msgstr ""
506
-
507
- #: admin/main-view.php:519
508
- msgid "You can choose from existing image sizes above or create a custom size."
509
- msgstr ""
510
-
511
- #: admin/main-view.php:520
512
- msgid ""
513
- "If you choose an existing size, then the width, height and crop mode "
514
- "settings in the three options below will be automatically updated to reflect "
515
- "the correct dimensions of the setting."
516
- msgstr ""
517
-
518
- #: admin/main-view.php:521
519
- msgid ""
520
- "If you have chosen Custom size above, then enter the width, height and crop "
521
- "settings below. For best results, use a cropped image with the same width "
522
- "and height. The default setting is 150x150 cropped image."
523
- msgstr ""
524
-
525
- #: admin/main-view.php:522
526
- msgid ""
527
- "Any changes to the thumbnail settings doesn't automatically resize existing "
528
- "images."
529
- msgstr ""
530
-
531
- #: admin/main-view.php:523
532
- #, php-format
533
- msgid ""
534
- "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
535
- "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
536
- "all image sizes."
537
- msgstr ""
538
-
539
- #: admin/main-view.php:527
540
- msgid "Width of the thumbnail:"
541
- msgstr ""
542
-
543
- #: admin/main-view.php:530
544
- msgid "Height of the thumbnail: "
545
- msgstr ""
546
-
547
- #: admin/main-view.php:535
548
- msgid "Crop mode:"
549
- msgstr ""
550
-
551
- #: admin/main-view.php:539
552
- msgid ""
553
- "By default, thumbnails will be hard cropped. Uncheck this box to "
554
- "proportionately/soft crop the thumbnails."
555
- msgstr ""
556
-
557
- #: admin/main-view.php:540
558
- #, php-format
559
- msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
560
- msgstr ""
561
-
562
- #: admin/main-view.php:544
563
- msgid "Image size attributes:"
564
- msgstr ""
565
-
566
- #: admin/main-view.php:548
567
- msgid "Style attributes are used for width and height."
568
- msgstr ""
569
-
570
- #: admin/main-view.php:554
571
- msgid "HTML width and height attributes are used for width and height."
572
- msgstr ""
573
-
574
- #: admin/main-view.php:560
575
- msgid "No HTML or Style attributes set for width and height"
576
- msgstr ""
577
-
578
- #: admin/main-view.php:565
579
- #, fuzzy
580
- msgid "Post thumbnail meta field name:"
581
- msgstr "Attēlu rīki post:"
582
-
583
- #: admin/main-view.php:567
584
- msgid ""
585
- "The value of this field should contain a direct link to the image. This is "
586
- "set in the meta box in the <em>Add New Post</em> screen."
587
- msgstr ""
588
-
589
- #: admin/main-view.php:570
590
- msgid "Extract the first image from the post?"
591
- msgstr ""
592
-
593
- #: admin/main-view.php:572
594
- msgid ""
595
- "This will only happen if there is no post thumbnail set and no image URL is "
596
- "specified in the meta field."
597
- msgstr ""
598
-
599
- #: admin/main-view.php:575
600
- msgid "Use default thumbnail?"
601
- msgstr ""
602
-
603
- #: admin/main-view.php:577
604
- #, fuzzy
605
- msgid ""
606
- "If checked, when no thumbnail is found, show a default one from the URL "
607
- "below. If not checked and no thumbnail is found, no image will be shown."
608
- msgstr ""
609
- "Если превью к записи не будет найдено автоматичкески, то вместо него будет "
610
- "добавлено стандартное изображение. Если превью задано к записи - будет "
611
- "отображаться только оно."
612
-
613
- #: admin/main-view.php:580
614
- #, fuzzy
615
- msgid "Default thumbnail:"
616
- msgstr "noklusējuma opcijas"
617
-
618
- #: admin/main-view.php:583
619
- #, fuzzy
620
- msgid ""
621
- "The plugin will first check if the post contains a thumbnail. If it doesn't "
622
- "then it will check the meta field. If this is not available, then it will "
623
- "show the default image as specified above."
624
- msgstr ""
625
- "Spraudnis vispirms pārbaudīt, vai sūtījums satur sīktēlu. Ja tā nav, tad tas "
626
- "būs pārbaudīt meta laukā. Ja šāda informācija nav pieejama, tad tas rādīs "
627
- "noklusējuma attēlu, kā minēts iepriekš"
628
-
629
- #: admin/main-view.php:624
630
- msgid "Style of the related posts:"
631
- msgstr ""
632
-
633
- #: admin/main-view.php:627
634
- msgid "No styles"
635
- msgstr ""
636
-
637
- #: admin/main-view.php:629
638
- msgid "Select this option if you plan to add your own styles"
639
- msgstr ""
640
-
641
- #: admin/main-view.php:633
642
- msgid "Rounded Thumbnails"
643
- msgstr ""
644
-
645
- #: admin/main-view.php:636
646
- msgid ""
647
- "Enabling this option will turn on the thumbnails and set their width and "
648
- "height to 150px. It will also turn off the display of the author, excerpt "
649
- "and date if already enabled. Disabling this option will not revert any "
650
- "settings."
651
- msgstr ""
652
-
653
- #: admin/main-view.php:637
654
- #, php-format
655
- msgid ""
656
- "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
657
- msgstr ""
658
-
659
- #: admin/main-view.php:641
660
- msgid "Text only"
661
- msgstr ""
662
-
663
- #: admin/main-view.php:643
664
- msgid ""
665
- "Enabling this option will disable thumbnails and no longer include the "
666
- "default style sheet included in the plugin."
667
- msgstr ""
668
-
669
- #: admin/main-view.php:658
670
- msgid "Custom CSS to add to header:"
671
- msgstr ""
672
-
673
- #: admin/main-view.php:662
674
- msgid ""
675
- "Do not include <code>style</code> tags. Check out the <a href=\"http://"
676
- "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
677
- "\">FAQ</a> for available CSS classes to style."
678
- msgstr ""
679
-
680
- #: admin/main-view.php:702
681
- msgid ""
682
- "Below options override the related posts settings for your blog feed. These "
683
- "only apply if you have selected to add related posts to Feeds in the General "
684
- "Options tab."
685
- msgstr ""
686
-
687
- #: admin/main-view.php:730
688
- #, fuzzy
689
- msgid "Maximum width of the thumbnail: "
690
- msgstr "Thumbnail platums"
691
-
692
- #: admin/main-view.php:733
693
- #, fuzzy
694
- msgid "Maximum height of the thumbnail: "
695
- msgstr "sīktēls augstums"
696
-
697
- #: admin/main-view.php:768
698
- #, fuzzy
699
- msgid "Default Options"
700
- msgstr "noklusējuma opcijas"
701
-
702
- #: admin/main-view.php:768
703
- msgid "Do you want to set options to Default?"
704
- msgstr "Вы хотите задать параметры по умолчанию?"
705
-
706
- #: admin/main-view.php:769
707
- #, fuzzy
708
- msgid "Recreate Index"
709
- msgstr "Vai jūs tiešām vēlaties, lai atjaunotu indeksu?"
710
-
711
- #: admin/main-view.php:769
712
- msgid "Are you sure you want to recreate the index?"
713
- msgstr "Вы уверены, что хотите воссоздать индекс?"
714
-
715
- #: admin/main-view.php:774
716
- msgid ""
717
- "One or more FULLTEXT indices are missing. Please hit the <a href="
718
- "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
719
- "this."
720
- msgstr ""
721
-
722
- #: admin/metabox.php:98
723
- #, fuzzy
724
- msgid "Location of thumbnail:"
725
- msgstr "Настройки превью к записям:"
726
-
727
- #: admin/metabox.php:100
728
- msgid ""
729
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
730
- "image will be used for the post. It will be resized to the thumbnail size "
731
- "set under Settings &raquo; Related Posts &raquo; Output Options"
732
- msgstr ""
733
-
734
- #: admin/metabox.php:101
735
- msgid "The URL above is saved in the meta field:"
736
- msgstr ""
737
-
738
- #: admin/metabox.php:106
739
- msgid ""
740
- "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
741
- "thumbnail, then you'll need to make the same change in the Top 10 meta box "
742
- "on this page."
743
- msgstr ""
744
-
745
- #: admin/metabox.php:117
746
- msgid "Disable Related Posts display:"
747
- msgstr ""
748
-
749
- #: admin/metabox.php:120
750
- msgid ""
751
- "If this is checked, then Contextual Related Posts will not automatically "
752
- "insert the related posts at the end of post content."
753
- msgstr ""
754
-
755
- #: admin/metabox.php:125 admin/metabox.php:133
756
- msgid "Manual related posts:"
757
- msgstr ""
758
-
759
- #: admin/metabox.php:127
760
- msgid ""
761
- "Comma separated list of post, page or custom post type IDs. e.g. "
762
- "188,320,500. These will be given preference over the related posts generated "
763
- "by the plugin."
764
- msgstr ""
765
-
766
- #: admin/metabox.php:128
767
- msgid ""
768
- "Once you enter the list above and save this page, the plugin will display "
769
- "the titles of the posts below for your reference. Only IDs corresponding to "
770
- "published posts or custom post types will be retained."
771
- msgstr ""
772
-
773
- #: admin/metabox.php:142
774
- msgid "This post type is:"
775
- msgstr ""
776
-
777
- #: admin/sidebar-view.php:20
778
- msgid "Support the development"
779
- msgstr "Поддержка развития проекта"
780
-
781
- #: admin/sidebar-view.php:27
782
- #, fuzzy
783
- msgid "Donation for Contextual Related Posts"
784
- msgstr "Контекстные похожие посты"
785
-
786
- #: admin/sidebar-view.php:29
787
- #, fuzzy
788
- msgid "Enter amount in USD:"
789
- msgstr "Введите сумму в долларах США:"
790
-
791
- #: admin/sidebar-view.php:33
792
- msgid "Send your donation to the author of"
793
- msgstr "Отправить пожертвование автору"
794
-
795
- #: admin/sidebar-view.php:41
796
- msgid "Follow me"
797
- msgstr ""
798
-
799
- #: admin/sidebar-view.php:66
800
- #, fuzzy
801
- msgid "Quick links"
802
- msgstr "Быстрые ссылки"
803
-
804
- #: admin/sidebar-view.php:70
805
- msgid "Plugin homepage"
806
- msgstr ""
807
-
808
- #: admin/sidebar-view.php:71
809
- msgid "FAQ"
810
- msgstr ""
811
-
812
- #: admin/sidebar-view.php:73
813
- msgid "Reviews"
814
- msgstr ""
815
-
816
- #: admin/sidebar-view.php:74
817
- msgid "Github repository"
818
- msgstr ""
819
-
820
- #: admin/sidebar-view.php:75
821
- msgid "Other plugins"
822
- msgstr "Другие плагины"
823
-
824
- #: admin/sidebar-view.php:76
825
- msgid "Ajay's blog"
826
- msgstr "Блог автора (Ajay, английский язык)"
827
-
828
- #: contextual-related-posts.php:232
829
- #, php-format
830
- msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
831
- msgstr ""
832
-
833
- #: contextual-related-posts.php:710
834
- msgid "<h3>Related Posts:</h3>"
835
- msgstr "<h3>Похожие посты:</h3>"
836
-
837
- #: contextual-related-posts.php:712
838
- #, fuzzy
839
- msgid "No related posts found"
840
- msgstr "Nr saistītus amatus atrasts"
841
-
842
- #: includes/class-crp-widget.php:33
843
- #, fuzzy
844
- msgid "Related Posts [CRP]"
845
- msgstr "Похожие посты"
846
-
847
- #: includes/class-crp-widget.php:34
848
- #, fuzzy
849
- msgid "Display Related Posts"
850
- msgstr "Displeja Related Posts"
851
-
852
- #: includes/class-crp-widget.php:69
853
- #, fuzzy
854
- msgid "Title"
855
- msgstr "Заголовок списка Популярных записей:"
856
-
857
- #: includes/class-crp-widget.php:74
858
- #, fuzzy
859
- msgid "No. of posts"
860
- msgstr "Популярные записи"
861
-
862
- #: includes/class-crp-widget.php:79
863
- #, fuzzy
864
- msgid " Show excerpt?"
865
- msgstr "Rādīt izvilkumu?"
866
-
867
- #: includes/class-crp-widget.php:84
868
- #, fuzzy
869
- msgid " Show author?"
870
- msgstr "Отправьте пожертвование автору"
871
-
872
- #: includes/class-crp-widget.php:89
873
- #, fuzzy
874
- msgid " Show date?"
875
- msgstr "Rādīt izvilkumu?"
876
-
877
- #: includes/class-crp-widget.php:95
878
- #, fuzzy
879
- msgid "Thumbnails inline, before title"
880
- msgstr "Sīktēli inline, pirms virsraksta"
881
-
882
- #: includes/class-crp-widget.php:96
883
- #, fuzzy
884
- msgid "Thumbnails inline, after title"
885
- msgstr "Sīktēli inline, pēc nosaukuma"
886
-
887
- #: includes/class-crp-widget.php:97
888
- #, fuzzy
889
- msgid "Only thumbnails, no text"
890
- msgstr "Отображать только превью, без текста"
891
-
892
- #: includes/class-crp-widget.php:98
893
- #, fuzzy
894
- msgid "No thumbnails, only text."
895
- msgstr "Nav sīktēlus, tikai tekstu."
896
-
897
- #: includes/class-crp-widget.php:103
898
- #, fuzzy
899
- msgid "Thumbnail height"
900
- msgstr "sīktēls augstums"
901
-
902
- #: includes/class-crp-widget.php:108
903
- #, fuzzy
904
- msgid "Thumbnail width"
905
- msgstr "Thumbnail platums"
906
-
907
- #: includes/class-crp-widget.php:112
908
- msgid "Post types to include:"
909
- msgstr ""
910
-
911
- #: includes/media.php:67
912
- msgid "thumb_timthumb argument has been deprecated"
913
- msgstr ""
914
-
915
- #: includes/media.php:71
916
- msgid "thumb_timthumb_q argument has been deprecated"
917
- msgstr ""
918
-
919
- #: includes/media.php:75
920
- msgid "filter argument has been deprecated"
921
- msgstr ""
922
-
923
- #: includes/output-generator.php:238
924
- msgid " by "
925
- msgstr ""
926
-
927
- #~ msgid "Contextual Related Posts"
928
- #~ msgstr "Контекстные похожие посты"
929
-
930
- #, fuzzy
931
- #~ msgid "Contextual Related Posts plugin page"
932
- #~ msgstr "Konteksta saistītus amatus"
933
-
934
- #~ msgid "Options saved successfully."
935
- #~ msgstr "Настройки сохранены успешно."
936
-
937
- #, fuzzy
938
- #~ msgid "Add related posts to:"
939
- #~ msgstr "Pievienot saistītus amatus barībā"
940
-
941
- #, fuzzy
942
- #~ msgid ""
943
- #~ "If unchecked, only posts titles are used. I recommend using a caching "
944
- #~ "plugin or enabling \"Cache output\" above if you enable this."
945
- #~ msgstr ""
946
- #~ "Найти связанные сообщения в зависимости от содержания и заголовка. Если "
947
- #~ "вы не выберете эту опцию, то для поиска будут использоваться только "
948
- #~ "заголовки сообщений. (Я рекомендую использовать плагин кэширования, если "
949
- #~ "вы включите опцию)"
950
-
951
- #~ msgid "Title of related posts: "
952
- #~ msgstr "Названия связанных постов:"
953
-
954
- #~ msgid "Length of excerpt (in words): "
955
- #~ msgstr "Длина выдержки (в словах):"
956
-
957
- #~ msgid "Post thumbnail options:"
958
- #~ msgstr "Опции изображения поста:"
959
-
960
- #, fuzzy
961
- #~ msgid "Maximum width of the thumbnail:"
962
- #~ msgstr "Thumbnail platums"
963
-
964
- #~ msgid "Powered by"
965
- #~ msgstr "Автор:"
966
-
967
- #, fuzzy
968
- #~ msgid ""
969
- #~ "If the postmeta is not set, then should the plugin extract the first "
970
- #~ "image from the post?"
971
- #~ msgstr ""
972
- #~ "Ja postmeta nav noteikts, tad būtu spraudnis iegūt pirmo attēlu no amata?"
973
-
974
- #, fuzzy
975
- #~ msgid ""
976
- #~ "This can slow down the loading of your page if the first image in the "
977
- #~ "related posts is large in file-size"
978
- #~ msgstr ""
979
- #~ "Tas var palēnināt iekraušana lapas, ja pirmo attēlu saistītajos amatos ir "
980
- #~ "liela faila izmēra"
981
-
982
- #~ msgid "Recent developments"
983
- #~ msgstr "Последние разработки"
984
-
985
- #, fuzzy
986
- #~ msgid " Posted by "
987
- #~ msgstr "Автор:"
988
-
989
- #~ msgid "Follow @ajaydsouza on Twitter"
990
- #~ msgstr "Следовать @ajaydsouza на Твиттере"
991
-
992
- #~ msgid "Display \"No Related Posts\""
993
- #~ msgstr "Показывать \"Нет похожих постов\""
994
-
995
- #~ msgid "Exclude Categories: "
996
- #~ msgstr "Исключить категории:"
997
-
998
- #~ msgid "plugin page"
999
- #~ msgstr "Страница плагина"
1000
-
1001
- #~ msgid "Exclude Pages in Related Posts"
1002
- #~ msgstr "Исключить страницы в Похожих постах"
1003
-
1004
- #~ msgid ""
1005
- #~ "Add related posts to the post content on single posts. <br />If you "
1006
- #~ "choose to disable this, please add <code>&lt;?php "
1007
- #~ "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code> to your "
1008
- #~ "template file where you want it displayed"
1009
- #~ msgstr ""
1010
- #~ "Добавить связанные посты в содержание поста. Если вы захотите отключить "
1011
- #~ "это, пожалуйста, добавьте код: <code>&lt;?php "
1012
- #~ "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code>, в файл "
1013
- #~ "шаблона вашего сайта"
1014
-
1015
- #~ msgid ""
1016
- #~ "Append link to this plugin as item. Optional, but would be nice to give "
1017
- #~ "me some link love"
1018
- #~ msgstr ""
1019
- #~ "Добавить ссылку на этот плагин в качестве пункта. Необязательно, но было "
1020
- #~ "бы неплохо, чтобы поддержать разработчика."
1021
-
1022
- #~ msgid ""
1023
- #~ "Post thumbnail meta field (the meta should point contain the image "
1024
- #~ "source): "
1025
- #~ msgstr ""
1026
- #~ "Мета-данные изображения поста (они должны содержать источник изображения):"
1027
-
1028
- #~ msgid "Thumbnail dimensions:"
1029
- #~ msgstr "Размеры уменьшенного изображения:"
1030
-
1031
- #~ msgid "Max width: "
1032
- #~ msgstr "Максимальная ширина:"
1033
-
1034
- #~ msgid "Max height: "
1035
- #~ msgstr "Максимальная высота:"
1036
-
1037
- #~ msgid "Support forum"
1038
- #~ msgstr "Форум поддержки"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/contextual-related-posts-zh_CN.mo DELETED
Binary file
languages/contextual-related-posts-zh_CN.po DELETED
@@ -1,1004 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Contextual Related Posts\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-09-27 13:33+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
- "Language-Team: \n"
9
- "Language: zh_CN\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "X-Generator: Poedit 1.8.4\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
-
19
- #: admin/admin.php:191
20
- msgid "Options saved successfully. If enabled, the cache has been cleared."
21
- msgstr ""
22
-
23
- #: admin/admin.php:194
24
- msgid ""
25
- "Rounded Thumbnails style selected. Author, Excerpt and Date will not be "
26
- "displayed."
27
- msgstr ""
28
-
29
- #: admin/admin.php:197
30
- msgid "Text Only style selected. Thumbnails will not be displayed."
31
- msgstr ""
32
-
33
- #: admin/admin.php:200
34
- #, php-format
35
- msgid "Pre-built thumbnail size selected. Thumbnail set to %d x %d."
36
- msgstr ""
37
-
38
- #: admin/admin.php:224
39
- msgid "Options set to Default."
40
- msgstr "已重置设置。"
41
-
42
- #: admin/admin.php:233
43
- msgid "Index recreated"
44
- msgstr "已重新创建索引"
45
-
46
- #: admin/admin.php:250
47
- msgid "Related Posts"
48
- msgstr "相关日志"
49
-
50
- #: admin/cache.php:42
51
- msgid ""
52
- "An error occurred clearing the cache. Please contact your site administrator."
53
- "\\n\\nError message:\\n"
54
- msgstr ""
55
-
56
- #: admin/cache.php:47
57
- msgid " cached row(s) cleared"
58
- msgstr ""
59
-
60
- #: admin/loader.php:24
61
- msgid "Settings"
62
- msgstr "设置"
63
-
64
- #: admin/loader.php:46 admin/sidebar-view.php:72
65
- msgid "Support"
66
- msgstr "技术支持"
67
-
68
- #: admin/loader.php:47
69
- msgid "Donate"
70
- msgstr "捐赠"
71
-
72
- #: admin/loader.php:48
73
- msgid "Contribute"
74
- msgstr ""
75
-
76
- #: admin/loader.php:64
77
- msgid "plugin settings page"
78
- msgstr "插件设置页面"
79
-
80
- #: admin/main-view.php:32 admin/main-view.php:55
81
- msgid "General options"
82
- msgstr "一般设置"
83
-
84
- #: admin/main-view.php:33 admin/main-view.php:142
85
- msgid "List tuning options"
86
- msgstr ""
87
-
88
- #: admin/main-view.php:34 admin/main-view.php:249
89
- #, fuzzy
90
- msgid "Output options"
91
- msgstr "显示设置"
92
-
93
- #: admin/main-view.php:35 admin/main-view.php:453
94
- #: includes/class-crp-widget.php:93
95
- msgid "Thumbnail options"
96
- msgstr "缩略图设置:"
97
-
98
- #: admin/main-view.php:36 admin/main-view.php:608
99
- msgid "Styles"
100
- msgstr ""
101
-
102
- #: admin/main-view.php:37 admin/main-view.php:686
103
- #, fuzzy
104
- msgid "Feed options"
105
- msgstr "一般设置"
106
-
107
- #: admin/main-view.php:71
108
- msgid "Cache output?"
109
- msgstr ""
110
-
111
- #: admin/main-view.php:73
112
- msgid ""
113
- "Enabling this option will cache the related posts output when the post is "
114
- "visited the first time. The cache is cleaned when you save this page."
115
- msgstr ""
116
-
117
- #: admin/main-view.php:74
118
- msgid ""
119
- "The CRP cache works independently and in addition to any of your caching "
120
- "plugins like WP Super Cache or W3 Total Cache. It is recommended that you "
121
- "enable this on your blog."
122
- msgstr ""
123
-
124
- #: admin/main-view.php:75
125
- msgid "Clear cache"
126
- msgstr ""
127
-
128
- #: admin/main-view.php:79
129
- msgid "Automatically add related posts to:"
130
- msgstr ""
131
-
132
- #: admin/main-view.php:81
133
- msgid "Posts"
134
- msgstr ""
135
-
136
- #: admin/main-view.php:82
137
- msgid "Pages"
138
- msgstr ""
139
-
140
- #: admin/main-view.php:83
141
- msgid "Home page"
142
- msgstr ""
143
-
144
- #: admin/main-view.php:84
145
- msgid "Feeds"
146
- msgstr ""
147
-
148
- #: admin/main-view.php:85
149
- msgid "Category archives"
150
- msgstr ""
151
-
152
- #: admin/main-view.php:86
153
- msgid "Tag archives"
154
- msgstr ""
155
-
156
- #: admin/main-view.php:87
157
- msgid "Other archives"
158
- msgstr ""
159
-
160
- #: admin/main-view.php:88
161
- #, fuzzy
162
- msgid ""
163
- "If you choose to disable this, please add <code>&lt;?php if "
164
- "( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?&gt;</code> to your "
165
- "template file where you want it displayed"
166
- msgstr ""
167
- "假如没有勾选此项,请在模板文件中找到需要显示的地方,添加代码 <code>&lt;?php "
168
- "if(function_exists('echo_ald_crp')) echo_ald_crp(); ?&gt;</code>"
169
-
170
- #: admin/main-view.php:92
171
- msgid "Display location priority:"
172
- msgstr ""
173
-
174
- #: admin/main-view.php:95
175
- msgid ""
176
- "If you select to automatically add the related posts, CRP will hook into the "
177
- "Content Filter at a priority as specified in this option."
178
- msgstr ""
179
-
180
- #: admin/main-view.php:96
181
- msgid ""
182
- "A higher number will cause the related posts to be processed later and move "
183
- "their display further down after the post content. Any number below 10 is "
184
- "not recommended."
185
- msgstr ""
186
-
187
- #: admin/main-view.php:100
188
- msgid "Show metabox:"
189
- msgstr ""
190
-
191
- #: admin/main-view.php:103
192
- msgid ""
193
- "This will add the Contextual Related Posts metabox on Edit Posts or Add New "
194
- "Posts screens. Also applies to Pages and Custom Post Types."
195
- msgstr ""
196
-
197
- #: admin/main-view.php:107
198
- msgid "Limit metabox to Admins only:"
199
- msgstr ""
200
-
201
- #: admin/main-view.php:110
202
- msgid ""
203
- "If this is selected, the metabox will be hidden from anyone who is not an "
204
- "Admin. Otherwise, by default, Contributors and above will be able to see the "
205
- "metabox. This applies only if the above option is selected."
206
- msgstr ""
207
-
208
- #: admin/main-view.php:114
209
- #, fuzzy
210
- msgid "Tell the world you're using Contextual Related Posts:"
211
- msgstr "Contextual Related Posts"
212
-
213
- #: admin/main-view.php:116
214
- msgid " <em>Optional</em>"
215
- msgstr " <em>可选</em>"
216
-
217
- #: admin/main-view.php:117
218
- #, fuzzy
219
- msgid ""
220
- "Adds a nofollow link to Contextual Related Posts homepage as the last time "
221
- "in the list."
222
- msgstr "相关日志"
223
-
224
- #: admin/main-view.php:135 admin/main-view.php:242 admin/main-view.php:446
225
- #: admin/main-view.php:601 admin/main-view.php:679 admin/main-view.php:751
226
- #: admin/main-view.php:767
227
- msgid "Save Options"
228
- msgstr "保存设置"
229
-
230
- #: admin/main-view.php:158 admin/main-view.php:704
231
- msgid "Number of related posts to display: "
232
- msgstr "相关日志数量:"
233
-
234
- #: admin/main-view.php:161
235
- msgid ""
236
- "Maximum number of posts that will be displayed. The actual number may be "
237
- "smaller if less related posts are found."
238
- msgstr ""
239
-
240
- #: admin/main-view.php:165
241
- msgid "Related posts should be newer than:"
242
- msgstr ""
243
-
244
- #: admin/main-view.php:167
245
- msgid "days"
246
- msgstr ""
247
-
248
- #: admin/main-view.php:168
249
- msgid ""
250
- "This sets the cutoff period for which posts will be displayed. e.g. setting "
251
- "it to 365 will show related posts from the last year only. Set to 0 to "
252
- "disable limiting posts by date."
253
- msgstr ""
254
-
255
- #: admin/main-view.php:172
256
- #, fuzzy
257
- msgid "Find related posts based on content as well as title:"
258
- msgstr "根据标题和正文内容索引"
259
-
260
- #: admin/main-view.php:174
261
- msgid ""
262
- "If unchecked, only posts titles are used. I recommend using a caching plugin "
263
- "or enabling \"Cache output\" above if you enable this. Each site is "
264
- "different, so toggle this option to see which setting gives you better "
265
- "quality related posts."
266
- msgstr ""
267
-
268
- #: admin/main-view.php:178
269
- msgid "Limit content to be compared:"
270
- msgstr ""
271
-
272
- #: admin/main-view.php:180
273
- msgid ""
274
- "This sets the maximum words of the content that will be matched. Set to 0 "
275
- "for no limit. Only applies if you active the above option."
276
- msgstr ""
277
-
278
- #: admin/main-view.php:184
279
- #, fuzzy
280
- msgid "Post types to include in results:"
281
- msgstr "被索引的日志类型(包含自定义日志类型)"
282
-
283
- #: admin/main-view.php:191
284
- #, fuzzy
285
- msgid ""
286
- "These post types will be displayed in the list. Includes custom post types."
287
- msgstr "被索引的日志类型(包含自定义日志类型)"
288
-
289
- #: admin/main-view.php:195
290
- #, fuzzy
291
- msgid "List of post or page IDs to exclude from the results:"
292
- msgstr "排除的文章或页面 ID:"
293
-
294
- #: admin/main-view.php:197 admin/main-view.php:377
295
- msgid ""
296
- "Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
297
- msgstr ""
298
-
299
- #: admin/main-view.php:201
300
- #, fuzzy
301
- msgid "Categories to exclude from the results: "
302
- msgstr "排除的文章或页面 ID:"
303
-
304
- #: admin/main-view.php:213
305
- msgid ""
306
- "Comma separated list of category slugs. The field above has an autocomplete "
307
- "so simply start typing in the beginning of your category name and it will "
308
- "prompt you with options."
309
- msgstr ""
310
-
311
- #: admin/main-view.php:216
312
- msgid "Excluded category IDs are:"
313
- msgstr ""
314
-
315
- #: admin/main-view.php:222
316
- msgid ""
317
- "These might differ from the IDs visible in the Categories page which use the "
318
- "<code>term_id</code>. CRP uses the <code>term_taxonomy_id</code> which is "
319
- "unique to this taxonomy."
320
- msgstr ""
321
-
322
- #: admin/main-view.php:265
323
- msgid "Title of related posts:"
324
- msgstr ""
325
-
326
- #: admin/main-view.php:268
327
- msgid ""
328
- "This is the main heading of the related posts. You can also display the "
329
- "current post title by using <code>%postname%</code>. e.g. <code>Related "
330
- "Posts to %postname%</code>"
331
- msgstr ""
332
-
333
- #: admin/main-view.php:272
334
- msgid "When there are no posts, what should be shown?"
335
- msgstr "当不存在相关日志时,显示什么?"
336
-
337
- #: admin/main-view.php:276
338
- msgid "Blank Output"
339
- msgstr "不显示"
340
-
341
- #: admin/main-view.php:281
342
- msgid "Display:"
343
- msgstr ""
344
-
345
- #: admin/main-view.php:287 admin/main-view.php:707
346
- msgid "Show post excerpt in list?"
347
- msgstr "是否显示日志摘要?"
348
-
349
- #: admin/main-view.php:290
350
- #, php-format
351
- msgid ""
352
- "Displays the excerpt of the post. If you do not provide an explicit excerpt "
353
- "to a post (in the post editor's optional excerpt field), it will display an "
354
- "automatic excerpt which refers to the first %d words of the post's content"
355
- msgstr ""
356
-
357
- #: admin/main-view.php:293
358
- msgid ""
359
- "Rounded Thumbnails style selected under the Custom Styles. Excerpt display "
360
- "is disabled."
361
- msgstr ""
362
-
363
- #: admin/main-view.php:298
364
- msgid "Length of excerpt (in words):"
365
- msgstr ""
366
-
367
- #: admin/main-view.php:304
368
- #, fuzzy
369
- msgid "Show post author in list?"
370
- msgstr "是否显示日志摘要?"
371
-
372
- #: admin/main-view.php:307
373
- msgid "Displays the author name prefixed with \"by\". e.g. by John Doe"
374
- msgstr ""
375
-
376
- #: admin/main-view.php:310
377
- msgid ""
378
- "Rounded Thumbnails style selected under the Custom Styles. Author display is "
379
- "disabled."
380
- msgstr ""
381
-
382
- #: admin/main-view.php:315
383
- #, fuzzy
384
- msgid "Show post date in list?"
385
- msgstr "是否显示日志摘要?"
386
-
387
- #: admin/main-view.php:318
388
- msgid ""
389
- "Displays the date of the post. Uses the same date format set in General "
390
- "Options"
391
- msgstr ""
392
-
393
- #: admin/main-view.php:321
394
- msgid ""
395
- "Rounded Thumbnails style selected under the Custom Styles. Date display is "
396
- "disabled."
397
- msgstr ""
398
-
399
- #: admin/main-view.php:326
400
- msgid "Limit post title length (in characters)"
401
- msgstr ""
402
-
403
- #: admin/main-view.php:329
404
- msgid ""
405
- "Any title longer than the number of characters set above will be cut and "
406
- "appended with an ellipsis (&hellip;)"
407
- msgstr ""
408
-
409
- #: admin/main-view.php:333
410
- msgid "Open links in new window"
411
- msgstr ""
412
-
413
- #: admin/main-view.php:339
414
- msgid "Add nofollow attribute to links in the list"
415
- msgstr ""
416
-
417
- #: admin/main-view.php:372
418
- #, fuzzy
419
- msgid "Exclusion settings:"
420
- msgstr "插件设置页面"
421
-
422
- #: admin/main-view.php:374
423
- #, fuzzy
424
- msgid "Exclude display of related posts on these posts / pages"
425
- msgstr "添加相关日志到页面里"
426
-
427
- #: admin/main-view.php:380
428
- #, fuzzy
429
- msgid "Exclude display of related posts on these post types."
430
- msgstr "添加相关日志到页面里"
431
-
432
- #: admin/main-view.php:387
433
- #, fuzzy
434
- msgid ""
435
- "The related posts will not display on any of the above selected post types"
436
- msgstr "被索引的日志类型(包含自定义日志类型)"
437
-
438
- #: admin/main-view.php:417
439
- msgid "Customize the output:"
440
- msgstr "自定义显示:"
441
-
442
- #: admin/main-view.php:419
443
- msgid "HTML to display before the list of posts: "
444
- msgstr "显示在每篇日志后面的 HTML 标签:"
445
-
446
- #: admin/main-view.php:422
447
- msgid "HTML to display before each list item: "
448
- msgstr "显示在每篇日志后面的 HTML 标签:"
449
-
450
- #: admin/main-view.php:425
451
- msgid "HTML to display after each list item: "
452
- msgstr "显示在日志列表前面的 HTML 标签:"
453
-
454
- #: admin/main-view.php:428
455
- msgid "HTML to display after the list of posts: "
456
- msgstr "显示在日志列表后面的 HTML 标签:"
457
-
458
- #: admin/main-view.php:469 admin/main-view.php:710
459
- msgid "Location of post thumbnail:"
460
- msgstr "日志缩略图位置:"
461
-
462
- #: admin/main-view.php:473 admin/main-view.php:714
463
- msgid "Display thumbnails inline with posts, before title"
464
- msgstr "在标题前显示缩略图"
465
-
466
- #: admin/main-view.php:477 admin/main-view.php:718
467
- msgid "Display thumbnails inline with posts, after title"
468
- msgstr "在标题后显示缩略图"
469
-
470
- #: admin/main-view.php:481 admin/main-view.php:722
471
- msgid "Display only thumbnails, no text"
472
- msgstr "不显示文本,只显示缩略图"
473
-
474
- #: admin/main-view.php:485 admin/main-view.php:726
475
- msgid "Do not display thumbnails, only text."
476
- msgstr "不显示缩略图,只显示文本"
477
-
478
- #: admin/main-view.php:488
479
- msgid ""
480
- "This setting cannot be changed because an inbuilt style has been selected "
481
- "under the Styles section. If you would like to change this option, please "
482
- "select <strong>No styles</strong> under the Styles section."
483
- msgstr ""
484
-
485
- #: admin/main-view.php:492
486
- msgid "Thumbnail size:"
487
- msgstr ""
488
-
489
- #: admin/main-view.php:516
490
- msgid "Custom size"
491
- msgstr ""
492
-
493
- #: admin/main-view.php:519
494
- msgid "You can choose from existing image sizes above or create a custom size."
495
- msgstr ""
496
-
497
- #: admin/main-view.php:520
498
- msgid ""
499
- "If you choose an existing size, then the width, height and crop mode "
500
- "settings in the three options below will be automatically updated to reflect "
501
- "the correct dimensions of the setting."
502
- msgstr ""
503
-
504
- #: admin/main-view.php:521
505
- msgid ""
506
- "If you have chosen Custom size above, then enter the width, height and crop "
507
- "settings below. For best results, use a cropped image with the same width "
508
- "and height. The default setting is 150x150 cropped image."
509
- msgstr ""
510
-
511
- #: admin/main-view.php:522
512
- msgid ""
513
- "Any changes to the thumbnail settings doesn't automatically resize existing "
514
- "images."
515
- msgstr ""
516
-
517
- #: admin/main-view.php:523
518
- #, php-format
519
- msgid ""
520
- "I recommend using <a href='%s' class='thickbox'>OTF Regenerate Thumbnails</"
521
- "a> or <a href='%s' class='thickbox'>Regenerate Thumbnails</a> to regenerate "
522
- "all image sizes."
523
- msgstr ""
524
-
525
- #: admin/main-view.php:527
526
- msgid "Width of the thumbnail:"
527
- msgstr ""
528
-
529
- #: admin/main-view.php:530
530
- msgid "Height of the thumbnail: "
531
- msgstr ""
532
-
533
- #: admin/main-view.php:535
534
- msgid "Crop mode:"
535
- msgstr ""
536
-
537
- #: admin/main-view.php:539
538
- msgid ""
539
- "By default, thumbnails will be hard cropped. Uncheck this box to "
540
- "proportionately/soft crop the thumbnails."
541
- msgstr ""
542
-
543
- #: admin/main-view.php:540
544
- #, php-format
545
- msgid "<a href='%s' target='_blank'>Difference between soft and hard crop</a>"
546
- msgstr ""
547
-
548
- #: admin/main-view.php:544
549
- msgid "Image size attributes:"
550
- msgstr ""
551
-
552
- #: admin/main-view.php:548
553
- msgid "Style attributes are used for width and height."
554
- msgstr ""
555
-
556
- #: admin/main-view.php:554
557
- msgid "HTML width and height attributes are used for width and height."
558
- msgstr ""
559
-
560
- #: admin/main-view.php:560
561
- msgid "No HTML or Style attributes set for width and height"
562
- msgstr ""
563
-
564
- #: admin/main-view.php:565
565
- #, fuzzy
566
- msgid "Post thumbnail meta field name:"
567
- msgstr "日志缩略图自定义栏目的名称:"
568
-
569
- #: admin/main-view.php:567
570
- msgid ""
571
- "The value of this field should contain a direct link to the image. This is "
572
- "set in the meta box in the <em>Add New Post</em> screen."
573
- msgstr ""
574
-
575
- #: admin/main-view.php:570
576
- msgid "Extract the first image from the post?"
577
- msgstr ""
578
-
579
- #: admin/main-view.php:572
580
- msgid ""
581
- "This will only happen if there is no post thumbnail set and no image URL is "
582
- "specified in the meta field."
583
- msgstr ""
584
-
585
- #: admin/main-view.php:575
586
- #, fuzzy
587
- msgid "Use default thumbnail?"
588
- msgstr "是否使用默认缩略图?"
589
-
590
- #: admin/main-view.php:577
591
- msgid ""
592
- "If checked, when no thumbnail is found, show a default one from the URL "
593
- "below. If not checked and no thumbnail is found, no image will be shown."
594
- msgstr ""
595
- "勾选此项,当不存在缩略图时,显示以下默认缩略图,不勾选则不显示任何图像。"
596
-
597
- #: admin/main-view.php:580
598
- #, fuzzy
599
- msgid "Default thumbnail:"
600
- msgstr "默认缩略图:"
601
-
602
- #: admin/main-view.php:583
603
- #, fuzzy
604
- msgid ""
605
- "The plugin will first check if the post contains a thumbnail. If it doesn't "
606
- "then it will check the meta field. If this is not available, then it will "
607
- "show the default image as specified above."
608
- msgstr ""
609
- "本插件按先后顺序检测日志本身、缩略图自定义栏目是否含有缩略图,若不存在,则显"
610
- "示上面默认图像"
611
-
612
- #: admin/main-view.php:624
613
- msgid "Style of the related posts:"
614
- msgstr ""
615
-
616
- #: admin/main-view.php:627
617
- msgid "No styles"
618
- msgstr ""
619
-
620
- #: admin/main-view.php:629
621
- msgid "Select this option if you plan to add your own styles"
622
- msgstr ""
623
-
624
- #: admin/main-view.php:633
625
- msgid "Rounded Thumbnails"
626
- msgstr ""
627
-
628
- #: admin/main-view.php:636
629
- msgid ""
630
- "Enabling this option will turn on the thumbnails and set their width and "
631
- "height to 150px. It will also turn off the display of the author, excerpt "
632
- "and date if already enabled. Disabling this option will not revert any "
633
- "settings."
634
- msgstr ""
635
-
636
- #: admin/main-view.php:637
637
- #, php-format
638
- msgid ""
639
- "You can view the default style at <a href=\"%1$s\" target=\"_blank\">%1$s</a>"
640
- msgstr ""
641
-
642
- #: admin/main-view.php:641
643
- msgid "Text only"
644
- msgstr ""
645
-
646
- #: admin/main-view.php:643
647
- msgid ""
648
- "Enabling this option will disable thumbnails and no longer include the "
649
- "default style sheet included in the plugin."
650
- msgstr ""
651
-
652
- #: admin/main-view.php:658
653
- msgid "Custom CSS to add to header:"
654
- msgstr "添加自定义 CSS 到 header:"
655
-
656
- #: admin/main-view.php:662
657
- #, fuzzy
658
- msgid ""
659
- "Do not include <code>style</code> tags. Check out the <a href=\"http://"
660
- "wordpress.org/extend/plugins/contextual-related-posts/faq/\" target=\"_blank"
661
- "\">FAQ</a> for available CSS classes to style."
662
- msgstr ""
663
- "不要使用 <code>style</code> 标签。请查看 <a href=\"http://wordpress.org/"
664
- "extend/plugins/contextual-related-posts/faq/\">FAQ</a> 中可用的 CSS classes。"
665
-
666
- #: admin/main-view.php:702
667
- msgid ""
668
- "Below options override the related posts settings for your blog feed. These "
669
- "only apply if you have selected to add related posts to Feeds in the General "
670
- "Options tab."
671
- msgstr ""
672
-
673
- #: admin/main-view.php:730
674
- msgid "Maximum width of the thumbnail: "
675
- msgstr "缩略图最大宽度"
676
-
677
- #: admin/main-view.php:733
678
- msgid "Maximum height of the thumbnail: "
679
- msgstr "缩略图最大高度"
680
-
681
- #: admin/main-view.php:768
682
- msgid "Default Options"
683
- msgstr "默认设置"
684
-
685
- #: admin/main-view.php:768
686
- msgid "Do you want to set options to Default?"
687
- msgstr "是否要重置设置?"
688
-
689
- #: admin/main-view.php:769
690
- msgid "Recreate Index"
691
- msgstr "重建索引"
692
-
693
- #: admin/main-view.php:769
694
- msgid "Are you sure you want to recreate the index?"
695
- msgstr "是否要重建索引?"
696
-
697
- #: admin/main-view.php:774
698
- msgid ""
699
- "One or more FULLTEXT indices are missing. Please hit the <a href="
700
- "\"#crp_recreate\">Recreate Index button</a> at the bottom of the page to fix "
701
- "this."
702
- msgstr ""
703
-
704
- #: admin/metabox.php:98
705
- #, fuzzy
706
- msgid "Location of thumbnail:"
707
- msgstr "日志缩略图位置:"
708
-
709
- #: admin/metabox.php:100
710
- msgid ""
711
- "Enter the full URL to the image (JPG, PNG or GIF) you'd like to use. This "
712
- "image will be used for the post. It will be resized to the thumbnail size "
713
- "set under Settings &raquo; Related Posts &raquo; Output Options"
714
- msgstr ""
715
-
716
- #: admin/metabox.php:101
717
- msgid "The URL above is saved in the meta field:"
718
- msgstr ""
719
-
720
- #: admin/metabox.php:106
721
- msgid ""
722
- "You have Top 10 WordPress Plugin installed. If you are trying to modify the "
723
- "thumbnail, then you'll need to make the same change in the Top 10 meta box "
724
- "on this page."
725
- msgstr ""
726
-
727
- #: admin/metabox.php:117
728
- msgid "Disable Related Posts display:"
729
- msgstr ""
730
-
731
- #: admin/metabox.php:120
732
- msgid ""
733
- "If this is checked, then Contextual Related Posts will not automatically "
734
- "insert the related posts at the end of post content."
735
- msgstr ""
736
-
737
- #: admin/metabox.php:125 admin/metabox.php:133
738
- msgid "Manual related posts:"
739
- msgstr ""
740
-
741
- #: admin/metabox.php:127
742
- msgid ""
743
- "Comma separated list of post, page or custom post type IDs. e.g. "
744
- "188,320,500. These will be given preference over the related posts generated "
745
- "by the plugin."
746
- msgstr ""
747
-
748
- #: admin/metabox.php:128
749
- msgid ""
750
- "Once you enter the list above and save this page, the plugin will display "
751
- "the titles of the posts below for your reference. Only IDs corresponding to "
752
- "published posts or custom post types will be retained."
753
- msgstr ""
754
-
755
- #: admin/metabox.php:142
756
- msgid "This post type is:"
757
- msgstr ""
758
-
759
- #: admin/sidebar-view.php:20
760
- msgid "Support the development"
761
- msgstr "支持开发"
762
-
763
- #: admin/sidebar-view.php:27
764
- #, fuzzy
765
- msgid "Donation for Contextual Related Posts"
766
- msgstr "Contextual Related Posts"
767
-
768
- #: admin/sidebar-view.php:29
769
- #, fuzzy
770
- msgid "Enter amount in USD:"
771
- msgstr "输入美元金额:"
772
-
773
- #: admin/sidebar-view.php:33
774
- msgid "Send your donation to the author of"
775
- msgstr "捐赠给作者"
776
-
777
- #: admin/sidebar-view.php:41
778
- msgid "Follow me"
779
- msgstr ""
780
-
781
- #: admin/sidebar-view.php:66
782
- #, fuzzy
783
- msgid "Quick links"
784
- msgstr "快捷链接"
785
-
786
- #: admin/sidebar-view.php:70
787
- msgid "Plugin homepage"
788
- msgstr ""
789
-
790
- #: admin/sidebar-view.php:71
791
- msgid "FAQ"
792
- msgstr ""
793
-
794
- #: admin/sidebar-view.php:73
795
- msgid "Reviews"
796
- msgstr ""
797
-
798
- #: admin/sidebar-view.php:74
799
- msgid "Github repository"
800
- msgstr ""
801
-
802
- #: admin/sidebar-view.php:75
803
- msgid "Other plugins"
804
- msgstr "其他插件"
805
-
806
- #: admin/sidebar-view.php:76
807
- msgid "Ajay's blog"
808
- msgstr "Ajay 的博客"
809
-
810
- #: contextual-related-posts.php:232
811
- #, php-format
812
- msgid "Powered by <a href=\"%s\" rel=\"nofollow\">Contextual Related Posts</a>"
813
- msgstr ""
814
-
815
- #: contextual-related-posts.php:710
816
- msgid "<h3>Related Posts:</h3>"
817
- msgstr "<h3>相关日志:</h3>"
818
-
819
- #: contextual-related-posts.php:712
820
- #, fuzzy
821
- msgid "No related posts found"
822
- msgstr "没有发现相关日志"
823
-
824
- #: includes/class-crp-widget.php:33
825
- #, fuzzy
826
- msgid "Related Posts [CRP]"
827
- msgstr "相关日志"
828
-
829
- #: includes/class-crp-widget.php:34
830
- msgid "Display Related Posts"
831
- msgstr "显示相关日志"
832
-
833
- #: includes/class-crp-widget.php:69
834
- msgid "Title"
835
- msgstr "标题"
836
-
837
- #: includes/class-crp-widget.php:74
838
- msgid "No. of posts"
839
- msgstr "日志数量"
840
-
841
- #: includes/class-crp-widget.php:79
842
- msgid " Show excerpt?"
843
- msgstr "是否显示日志摘要?"
844
-
845
- #: includes/class-crp-widget.php:84
846
- msgid " Show author?"
847
- msgstr ""
848
-
849
- #: includes/class-crp-widget.php:89
850
- #, fuzzy
851
- msgid " Show date?"
852
- msgstr "是否显示日志摘要?"
853
-
854
- #: includes/class-crp-widget.php:95
855
- msgid "Thumbnails inline, before title"
856
- msgstr "在标题前显示缩略图"
857
-
858
- #: includes/class-crp-widget.php:96
859
- msgid "Thumbnails inline, after title"
860
- msgstr "在标题后显示缩略图"
861
-
862
- #: includes/class-crp-widget.php:97
863
- msgid "Only thumbnails, no text"
864
- msgstr "不显示文本,只显示缩略图"
865
-
866
- #: includes/class-crp-widget.php:98
867
- msgid "No thumbnails, only text."
868
- msgstr "不显示缩略图,只显示文本"
869
-
870
- #: includes/class-crp-widget.php:103
871
- #, fuzzy
872
- msgid "Thumbnail height"
873
- msgstr "缩略图设置:"
874
-
875
- #: includes/class-crp-widget.php:108
876
- #, fuzzy
877
- msgid "Thumbnail width"
878
- msgstr "缩略图设置:"
879
-
880
- #: includes/class-crp-widget.php:112
881
- msgid "Post types to include:"
882
- msgstr ""
883
-
884
- #: includes/media.php:67
885
- msgid "thumb_timthumb argument has been deprecated"
886
- msgstr ""
887
-
888
- #: includes/media.php:71
889
- msgid "thumb_timthumb_q argument has been deprecated"
890
- msgstr ""
891
-
892
- #: includes/media.php:75
893
- msgid "filter argument has been deprecated"
894
- msgstr ""
895
-
896
- #: includes/output-generator.php:238
897
- msgid " by "
898
- msgstr ""
899
-
900
- #~ msgid "Contextual Related Posts"
901
- #~ msgstr "Contextual Related Posts"
902
-
903
- #, fuzzy
904
- #~ msgid "Contextual Related Posts plugin page"
905
- #~ msgstr "相关日志"
906
-
907
- #~ msgid "Options saved successfully."
908
- #~ msgstr "成功保存设置。"
909
-
910
- #, fuzzy
911
- #~ msgid "Custom styles"
912
- #~ msgstr "自定义样式"
913
-
914
- #, fuzzy
915
- #~ msgid "Add related posts to:"
916
- #~ msgstr "添加相关日志到 feed 里"
917
-
918
- #, fuzzy
919
- #~ msgid ""
920
- #~ "If unchecked, only posts titles are used. I recommend using a caching "
921
- #~ "plugin or enabling \"Cache output\" above if you enable this."
922
- #~ msgstr ""
923
- #~ "假如没有勾选此项,则只从标题索引。(推荐已经开启缓存的用户勾选使用)"
924
-
925
- #~ msgid "Title of related posts: "
926
- #~ msgstr "相关日志的标题:"
927
-
928
- #~ msgid "Length of excerpt (in words): "
929
- #~ msgstr "摘要长度(词数):"
930
-
931
- #~ msgid ""
932
- #~ "The value of this field should contain the image source and is set in the "
933
- #~ "<em>Add New Post</em> screen"
934
- #~ msgstr "该栏目的值在 <em>文章编辑 » 自定义栏目</em> 填写,需填写图像地址"
935
-
936
- #~ msgid "Post thumbnail options:"
937
- #~ msgstr "日志缩略图设置:"
938
-
939
- #, fuzzy
940
- #~ msgid "Maximum width of the thumbnail:"
941
- #~ msgstr "缩略图最大宽度"
942
-
943
- #~ msgid "Use timthumb to generate thumbnails? "
944
- #~ msgstr "是否使用 timthumb 生成缩略图?"
945
-
946
- #, fuzzy
947
- #~ msgid ""
948
- #~ "If checked, <a href=\"http://www.binarymoon.co.uk/projects/timthumb/\" "
949
- #~ "target=\"_blank\">timthumb</a> will be used to generate thumbnails"
950
- #~ msgstr ""
951
- #~ "勾选此项,将使用 <a href=\"http://www.binarymoon.co.uk/projects/timthumb/"
952
- #~ "\">timthumb</a> 生成缩略图"
953
-
954
- #~ msgid "Powered by"
955
- #~ msgstr "插件作者:"
956
-
957
- #~ msgid "Add a link to the plugin page as a final item in the list"
958
- #~ msgstr "在相关日志后添加插件页面的链接"
959
-
960
- #~ msgid ""
961
- #~ "If the postmeta is not set, then should the plugin extract the first "
962
- #~ "image from the post?"
963
- #~ msgstr "假如缩略图自定义栏目没有填写,是否使用日志的第一张图片?"
964
-
965
- #~ msgid ""
966
- #~ "This can slow down the loading of your page if the first image in the "
967
- #~ "related posts is large in file-size"
968
- #~ msgstr "勾选此项,若相关的日志中第一张图片过大,则页面载入速度会减慢。"
969
-
970
- #~ msgid "Recent developments"
971
- #~ msgstr "最新开发"
972
-
973
- #~ msgid ""
974
- #~ "Contextual Related Posts plugin has just been installed / upgraded. "
975
- #~ "Please visit the "
976
- #~ msgstr "Contextual Related Posts 插件已经安装/升级完毕。请访问"
977
-
978
- #~ msgid " to configure."
979
- #~ msgstr "设置插件。"
980
-
981
- #, fuzzy
982
- #~ msgid " Posted by "
983
- #~ msgstr "插件作者:"
984
-
985
- #~ msgid "Use CTRL on Windows and COMMAND on Mac to select multiple items"
986
- #~ msgstr "在 Windows 上使用 CTRL ,或在 Mac 上使用 COMMAND 进行多选"
987
-
988
- #~ msgid "Follow @ajaydsouza on Twitter"
989
- #~ msgstr "在推特上关注 @ajaydsouza"
990
-
991
- #~ msgid "Display \"No Related Posts\""
992
- #~ msgstr "显示 \"没有相关日志\""
993
-
994
- #~ msgid "Exclude Categories: "
995
- #~ msgstr "排除的分类 ID:"
996
-
997
- #~ msgid "Add related posts to the post content on single posts"
998
- #~ msgstr "添加相关日志到文章里"
999
-
1000
- #~ msgid "plugin page"
1001
- #~ msgstr "插件页面"
1002
-
1003
- #~ msgid "Exclude Pages in Related Posts"
1004
- #~ msgstr "在相关日志中排除页面"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -1,296 +1,317 @@
1
- === Contextual Related Posts ===
2
- Tags: related posts, related, similar posts, posts, post, feed, feeds, rss, widget, thumbnail, shortcodes
3
- Contributors: webberzone, Ajay
4
- Donate link: https://ajaydsouza.com/donate/
5
- Stable tag: trunk
6
- Requires at least: 3.5
7
- Tested up to: 4.4
8
- License: GPLv2 or later
9
-
10
- Display related posts on your WordPress blog and feed. Supports thumbnails, shortcodes, widgets and custom post types!
11
-
12
- == Description ==
13
-
14
- [Contextual Related Posts](https://webberzone.com/plugins/contextual-related-posts/) is a powerful plugin for WordPress that allows you to display a list of related posts on your website and in your feed.
15
-
16
- The list is based on the content of the title and/or content of the posts which makes them more relevant and more likely to be of interest to your readers. This allows you to retain visitors, reduce bounce rates and refresh old entries.
17
-
18
- Although several similar plugins exist today, Contextual Related Posts is one of the most feature rich plugins with support for thumbnails, shortcodes, widgets, custom post types and CSS styles. The inbuilt cache ensures that you have related posts without excessive load on your server.
19
-
20
- And the default inbuilt styles allow you to switch between gorgeous thumbnail-rich related posts or a similar text display!
21
-
22
- = Key features =
23
-
24
- * **Automatic**: CRP will start displaying related posts on your site and feed automatically after the content when you activate the plugin. No need to edit template files
25
- * **Manual install**: Want more control over placement? Check the [FAQ](http://wordpress.org/extend/plugins/contextual-related-posts/faq/) on which functions are available for manual install.
26
- * **Widgets**: Add related posts to widgetized area of your theme. Lots of options available
27
- * **Shortcode**: Use `[crp]` to display the posts anywhere you want in the post content
28
- * **The algorithm**: Find related posts by title and/or content of the current post
29
- * **Caching**: Related posts output is automatically cached as visitors browse through your site
30
- * **Exclusions**: Exclude posts from categories from being displayed in the list. Or you can exclude posts or pages by ID
31
- * **Custom post types**: The related posts list lets you include posts, pages, attachments or any other custom post type!
32
- * **Thumbnail support**:
33
- * Support for WordPress post thumbnails. CRP will create a custom image size (`crp_thumbnail`) with the dimensions specified in the Settings page
34
- * Auto-extract the first image in your post to be displayed as a thumbnail
35
- * Manually enter the URL of the thumbnail via [WordPress meta fields](http://codex.wordpress.org/Custom_Fields). Specify this using the meta box in your Edit screens.
36
- * Optionally, use timthumb to resize images or use your own filter function to resize post images
37
- * **Styles**: The output is wrapped in CSS classes which allows you to easily style the list. You can enter your custom CSS styles from within WordPress Admin area or use the style included.
38
- * **Customisable output**:
39
- * Display excerpts in post. You can select the length of the excerpt in words
40
- * Customise which HTML tags to use for displaying the output in case you don't prefer the default `list` format
41
- * **Extendable code**: CRP has tonnes of filters and actions that allow any developer to easily add features, edit outputs, etc.
42
-
43
- = Extensions =
44
-
45
- * [CRP Taxonomy Extender](https://webberzone.com/downloads/crp-taxonomy/)
46
-
47
- = Donations =
48
-
49
- I spend a significant amount of my free time maintaining, updating and more importantly supporting this plugin. Those who have sought support in the support forums know that I have done my best to answer your question and solve your problem.
50
- If you have been using this plugin and find this useful, do consider making a donation. This helps me pay for my hosting and domains.
51
-
52
- = Contribute =
53
-
54
- Contextual Related Posts is also available on [Github](https://github.com/WebberZone/contextual-related-posts).
55
- So, if you've got some cool feature that you'd like to implement into the plugin or a bug you've been able to fix, consider forking the project and sending me a pull request.
56
-
57
- Bug reports are [welcomed on GitHub](https://github.com/WebberZone/contextual-related-posts/issues). Please note GitHub is _not_ a support forum and issues that aren't properly qualified as bugs will be closed.
58
-
59
- = Translations =
60
-
61
- Contextual Related Posts is now on Transifex with several translations made available by the [WP Translations](http://wp-translations.org). If you're a translator, do consider joining the WP Translations team and contribute towards this and a huge number of WordPress plugins.
62
-
63
- Visit [Contextual Related Posts on Transifex](https://www.transifex.com/projects/p/contextual-related-posts/).
64
-
65
-
66
- == Installation ==
67
-
68
- = WordPress install (The easy way) =
69
-
70
- 1. Navigate to Plugins within your WordPress Admin Area
71
-
72
- 2. Click "Add new" and in the search box enter "Contextual Related Posts"
73
-
74
- 3. Find the plugin in the list (usually the first result) and click "Install Now"
75
-
76
- = Manual install =
77
-
78
- 1. Download the plugin
79
-
80
- 2. Extract the contents of contextual-related-posts.zip to wp-content/plugins/ folder. You should get a folder called contextual-related-posts.
81
-
82
- 3. Activate the Plugin in WP-Admin under the Plugins screen
83
-
84
-
85
- == Screenshots ==
86
-
87
- 1. CRP options in WP-Admin - General options
88
- 2. CRP options in WP-Admin - List tuning options
89
- 3. CRP options in WP-Admin - Output options
90
- 4. CRP options in WP-Admin - Thumbnail options
91
- 5. CRP options in WP-Admin - Styles
92
- 6. CRP options in WP-Admin - Feed options
93
- 7. Default style of Related Posts
94
- 8. Contextual Related Post metabox in the Edit Posts screen
95
- 9. CRP Widget
96
-
97
-
98
- == Frequently Asked Questions ==
99
-
100
- If your question isn't listed here, please create a new post at the [WordPress.org support forum](http://wordpress.org/support/plugin/contextual-related-posts). It is the fastest way to get support as I monitor the forums regularly. I also provide [premium *paid* support via email](https://webberzone.com/support/).
101
-
102
- = How can I customise the output? =
103
-
104
- Several customization options are available via the Settings page in WordPress Admin. You can access this via <strong>Settings &raquo; Related Posts</strong>
105
-
106
- The plugin also provides you with a set of CSS classes that allow you to style your posts by adding code to the *style.css* sheet.
107
-
108
- The main CSS classes / IDs are:
109
-
110
- * **crp_related**: ID of the main wrapper `div`. This is only displayed on singular pages, i.e. post, page and attachment
111
-
112
- * **crp_related**: Class of the main wrapper `div`. If you are displaying the related posts on non-singular pages, then you should style this
113
-
114
- * **crp_title**: Class of the `span` tag for title of the post
115
-
116
- * **crp_excerpt**: Class of the `span` tag for excerpt (if included)
117
-
118
- * **crp_thumb**: Class of the post thumbnail `img` tag
119
-
120
-
121
- = How does the plugin select thumbnails? =
122
-
123
- The plugin selects thumbnails in the following order:
124
-
125
- 1. Post meta field: This is the meta field value you can use when editing your post. The default is `post-image`
126
-
127
- 2. Post Thumbnail image: The image that you can set while editing your post in WordPress &raquo; New Post screen
128
-
129
- 3. First image in the post: The plugin will try to fetch the first image in the post
130
-
131
- 3. Video Thumbnails: Meta field set by <a href="https://wordpress.org/extend/plugins/video-thumbnails/">Video Thumbnails</a>
132
-
133
- 4. Default Thumbnail: If enabled, it will use the default thumbnail that you specify in the Settings screen
134
-
135
-
136
- = Manual install =
137
-
138
- The following functions are available in case you wish to do a manual install of the posts by editing the theme files.
139
-
140
- **echo_crp( $args = array() )**
141
-
142
- Echoes the list of posts wherever you add the this function. You can also use this function to display related posts on any type of page generated by WordPress including homepage and archive pages.
143
-
144
- Usage: `<?php if(function_exists('echo_crp')) echo_crp(); ?>` to your template file where you want the related posts to be displayed.
145
-
146
-
147
- **get_crp_posts_id()**
148
-
149
- Takes a post ID and returns the related post IDs as an object.
150
-
151
- Usage: `<?php if(function_exists('get_crp_posts_id')) get_crp_posts_id( array( 'postid' => $postid, 'limit' => $limit ) ); ?>`
152
-
153
- Parameters:
154
-
155
- *$postid* : The ID of the post you'd like to fetch. By default the current post is fetched. Use within the Loop for best results.
156
-
157
- *$limit* : Maximum number of posts to return. The actual number displayed may be lower depending on the matching algorithm and the category / post exclusion settings.
158
-
159
-
160
- = Shortcodes =
161
-
162
- You can insert the related posts anywhere in your post using the `[crp]` shortcode. The plugin takes three optional attributes `limit`, `heading` and `cache` as follows:
163
-
164
- `[crp limit="5" heading="1" cache="1"]`
165
-
166
- *limit* : Maximum number of posts to return. The actual number displayed may be lower depending on the matching algorithm and the category / post exclusion settings.
167
-
168
- *heading* : By default, the heading you specify in **Title of related posts:** under **Output options** will be displayed. You can override this by specifying your own heading e.g.
169
-
170
- `
171
- <h3>Similar posts</h3>
172
- [crp limit="2" heading="0"]
173
- `
174
- *cache* : Cache the output or not? By default the output will be cached for the post you add the shortcode in. You can override this by specifying `cache=0`
175
-
176
- In addition to the above, the shortcode takes every option that the plugin supports. See `crp_default_options()` function to see the options that can be set.
177
-
178
-
179
- == Changelog ==
180
-
181
- = 2.2.3 =
182
-
183
- * Enhancements:
184
- * Changed text domain to `contextual-related-posts` in advance of translate.wordpress.org translation system
185
- * Improved support for WPML. If available, same language posts will be pulled by default. To restrict to the same language [add this code](https://gist.github.com/ajaydsouza/9b1bc56cec79295e784c) to your theme's functions.php file
186
- * Removed `id` tag from related posts HTML output to make it W3C compliant. If you're using the id with your custom styles, please change this to classes i.e. change `#crp_related` to `.crp_related` and it should work
187
-
188
- * Bug fixes:
189
- * All cache entries were not deleted on uninstall
190
-
191
- = 2.2.2 =
192
-
193
- * Features:
194
- * Preliminary support for WPML
195
-
196
- * Enhancements:
197
- * Recreate Index and Activation will not try to alter the table engine if not needed
198
-
199
- * Bug fixes:
200
- * All thumbnail classes were not properly applied + new thumbnail class filter
201
- * Shortcode with "exclude_categories" argument works again
202
-
203
- = 2.2.1 =
204
-
205
- * Bug fixes:
206
- * "No styles" would not get selected if "Rounded thumbnails' was enabled
207
- * "Recreate Index" caused a fatal error: Call to undefined function `crp_single_activate()`
208
- * Excerpt shortening was not working correctly
209
- * Exclude categories wasn't working in some cases
210
- * Additional check to see if default styles are off, then force No style
211
-
212
- = 2.2.0 =
213
-
214
- * Features:
215
- * Manual posts can now be set in the meta box in the Edit Post screens which will be displayed before the related posts fetched by the plugin
216
- * Choose between No style, Rounded thumbnails (previously called default style) and Text only style options under the Styles box in the plugin settings page
217
- * Option to turn off the Contextual Related metabox on Edit Posts screens or limit it to Admins only. Also applies to Pages and Custom Post Types
218
- * Filter `crp_link_attributes` that allows a user to add or remove attributes for the `a` tag
219
- * Notice is displayed at the top of the Settings page if there are any missing of the FULLTEXT indices missing
220
- * Option in the Contextual Related Posts meta box to disable the related posts on the selected post
221
- * Select post type in the Related Posts Widget
222
-
223
- * Enhancements:
224
- * Optimised number of queries for exclude categories option. Those not using this option will see the greatest savings
225
- * Select a pre-built thumbnail size will automatically update the width, height and crop settings. The default style will no longer enforce the 150x150 thumbnail size.
226
- * `strict_limit` argument in `get_crp_posts_id` is now TRUE by default
227
- * `get_crp` takes an additional argument: `heading` (default is TRUE) that controls the display of the main heading (**Related Posts**)
228
- * Output of `echo_crp` will be cached in a separate meta key
229
-
230
- * Bug fixes:
231
- * First child now gets the correct thumbnail size
232
-
233
- * Deprecated:
234
- * `ald_crp()` - `Use get_crp()` instead
235
- * `ald_crp_content()` - `Use crp_content_filter()` instead
236
- * `ald_crp_rss()` - `Use crp_rss_filter()` instead
237
- * `echo_ald_crp()` - `Use echo_crp()` instead
238
-
239
- = 2.1.1 =
240
-
241
- * Enhancements:
242
- * Settings page now clearly highlights what options cannot be changed if the default styles are enabled, i.e. thumbnail settings and no excerpt, author or date
243
-
244
- = 2.1.0 =
245
-
246
- * Features:
247
- * Separate cache for related posts added to feeds. Prevents conflict with the cache for normal related posts
248
- * Timthumb has been deprecated
249
- * Setting "Related posts should be newer than:" to 0 to disable limiting posts by age
250
- * Filters `crp_posts_match`, `crp_posts_now_date`, `crp_posts_from_date` to modify the WHERE clause
251
-
252
- * Enhancements:
253
- * `thumb_timthumb`, `thumb_timthumb_q` and `filter` attributes for the function `crp_get_the_post_thumbnail` have been deprecated. If you're using this function, an entry will be created for the deprecated log
254
- * Reset default thumbnail URL location to plugin default if the field is blank or only contains `/default.png`
255
- * Meta-box will no longer be displayed on non-public post types
256
- * For first image, the plugin will attempt to seek the correct thumbnail size if available
257
-
258
- * Bug fixes:
259
- * Author link was incorrectly displayed multiple times in the list when Show Author was enabled
260
- * WP Notice Errors when using the Widget via the Customizer menu in WordPress
261
- * Incorrect thumbnail was pulled on attachment pages
262
-
263
- = 2.0.1 =
264
-
265
- * Bug fixes:
266
- * Clear Cache button which broke in 2.0.0
267
-
268
- = 2.0.0 =
269
-
270
- * Features:
271
- * Multi-site support. Now you can Network Activate the plugin and all users will see related posts!
272
- * Thumbnails are registered as an image size in WordPress. This means WordPress will create a copy of the image with the specified dimensions when a new image is uploaded. For your existing images, I recommend using <a href="https://wordpress.org/plugins/force-regenerate-thumbnails/">Force Regenerate Thumbnails</a>
273
- * Completely filterable mySQL query to fetch the posts. You can write your own functions to filter the fields, orderby, groupby, join and limits clauses
274
-
275
- * Enhancements:
276
- * Lookup priority for thumbnails. The thumbnail URL set in the Contextual Related Posts meta box is given first priority
277
- * Removed `border=0` attribute from `img` tag for HTML5 validation support
278
- * Default option for timthumb is disabled
279
- * Default option for post types to include is post and page
280
- * `get_crp_posts` has been deprecated. See `get_crp_posts_id` instead
281
- * Turning on the Default style will switch on thumbnails, correctly resize them and will also hide authors, excerpts and the post date
282
-
283
- * Bug fixes:
284
- * Post image will now be loaded over https if the visitor visits your site on https
285
-
286
- = Earlier versions =
287
-
288
- For the changelog of earlier versions, please refer to the separate changelog.txt file.
289
-
290
-
291
- == Upgrade Notice ==
292
-
293
- = 2.2.3 =
294
- * New features. Deprecated functions. Upgrade highly recommended. Please do verify your settings after the upgrade.
295
- Check the Changelog for more details
296
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Contextual Related Posts ===
2
+ Tags: related posts, related, similar posts, posts, post, feed, feeds, rss, widget, thumbnail, shortcodes
3
+ Contributors: webberzone, Ajay
4
+ Donate link: https://ajaydsouza.com/donate/
5
+ Stable tag: trunk
6
+ Requires at least: 4.1
7
+ Tested up to: 4.7
8
+ License: GPLv2 or later
9
+
10
+ Display related posts on your WordPress blog and feed. Supports thumbnails, shortcodes, widgets and custom post types!
11
+
12
+ == Description ==
13
+
14
+ [Contextual Related Posts](https://webberzone.com/plugins/contextual-related-posts/) is a powerful plugin for WordPress that allows you to display a list of related posts on your website and in your feed.
15
+
16
+ The list is based on the content of the title and/or content of the posts which makes them more relevant and more likely to be of interest to your readers. This allows you to retain visitors, reduce bounce rates and refresh old entries.
17
+
18
+ Although several similar plugins exist today, Contextual Related Posts is one of the most feature rich plugins with support for thumbnails, shortcodes, widgets, custom post types and CSS styles. The inbuilt cache ensures that you have related posts without excessive load on your server.
19
+
20
+ And the default inbuilt styles allow you to switch between gorgeous thumbnail-rich related posts or a similar text display!
21
+
22
+ = Key features =
23
+
24
+ * **Automatic**: CRP will start displaying related posts on your site and feed automatically after the content when you activate the plugin. No need to edit template files
25
+ * **Manual install**: Want more control over placement? Check the [FAQ](http://wordpress.org/extend/plugins/contextual-related-posts/faq/) on which functions are available for manual install.
26
+ * **Widgets**: Add related posts to widgetized area of your theme. Lots of options available
27
+ * **Shortcode**: Use `[crp]` to display the posts anywhere you want in the post content
28
+ * **The algorithm**: Find related posts by title and/or content of the current post
29
+ * **Caching**: Related posts output is automatically cached as visitors browse through your site
30
+ * **Exclusions**: Exclude posts from categories from being displayed in the list. Or you can exclude posts or pages by ID
31
+ * **Custom post types**: The related posts list lets you include posts, pages, attachments or any other custom post type!
32
+ * **Thumbnail support**:
33
+ * Support for WordPress post thumbnails. CRP will create a custom image size (`crp_thumbnail`) with the dimensions specified in the Settings page
34
+ * Auto-extract the first image in your post to be displayed as a thumbnail
35
+ * Manually enter the URL of the thumbnail via [WordPress meta fields](http://codex.wordpress.org/Custom_Fields). Specify this using the meta box in your Edit screens.
36
+ * Optionally, use timthumb to resize images or use your own filter function to resize post images
37
+ * **Styles**: The output is wrapped in CSS classes which allows you to easily style the list. You can enter your custom CSS styles from within WordPress Admin area or use the style included.
38
+ * **Customisable output**:
39
+ * Display excerpts in post. You can select the length of the excerpt in words
40
+ * Customise which HTML tags to use for displaying the output in case you don't prefer the default `list` format
41
+ * **Extendable code**: CRP has tonnes of filters and actions that allow any developer to easily add features, edit outputs, etc.
42
+
43
+ = Extensions =
44
+
45
+ * [CRP Taxonomy Extender](https://webberzone.com/downloads/crp-taxonomy/)
46
+
47
+ = Donations =
48
+
49
+ I spend a significant amount of my free time maintaining, updating and more importantly supporting this plugin. Those who have sought support in the support forums know that I have done my best to answer your question and solve your problem.
50
+ If you have been using this plugin and find this useful, do consider making a donation. This helps me pay for my hosting and domains.
51
+
52
+ = Contribute =
53
+
54
+ Contextual Related Posts is also available on [Github](https://github.com/WebberZone/contextual-related-posts).
55
+ So, if you've got some cool feature that you'd like to implement into the plugin or a bug you've been able to fix, consider forking the project and sending me a pull request.
56
+
57
+ Bug reports are [welcomed on GitHub](https://github.com/WebberZone/contextual-related-posts/issues). Please note GitHub is _not_ a support forum and issues that aren't properly qualified as bugs will be closed.
58
+
59
+ = Translations =
60
+
61
+ Contextual Related Posts is now on Transifex with several translations made available by the [WP Translations](http://wp-translations.org). If you're a translator, do consider joining the WP Translations team and contribute towards this and a huge number of WordPress plugins.
62
+
63
+ Visit [Contextual Related Posts on Transifex](https://www.transifex.com/projects/p/contextual-related-posts/).
64
+
65
+
66
+ == Installation ==
67
+
68
+ = WordPress install (The easy way) =
69
+
70
+ 1. Navigate to Plugins within your WordPress Admin Area
71
+
72
+ 2. Click "Add new" and in the search box enter "Contextual Related Posts"
73
+
74
+ 3. Find the plugin in the list (usually the first result) and click "Install Now"
75
+
76
+ = Manual install =
77
+
78
+ 1. Download the plugin
79
+
80
+ 2. Extract the contents of contextual-related-posts.zip to wp-content/plugins/ folder. You should get a folder called contextual-related-posts.
81
+
82
+ 3. Activate the Plugin in WP-Admin under the Plugins screen
83
+
84
+
85
+ == Screenshots ==
86
+
87
+ 1. CRP options in WP-Admin - General options
88
+ 2. CRP options in WP-Admin - List tuning options
89
+ 3. CRP options in WP-Admin - Output options
90
+ 4. CRP options in WP-Admin - Thumbnail options
91
+ 5. CRP options in WP-Admin - Styles
92
+ 6. CRP options in WP-Admin - Feed options
93
+ 7. Default style of Related Posts
94
+ 8. Contextual Related Post metabox in the Edit Posts screen
95
+ 9. CRP Widget
96
+
97
+
98
+ == Frequently Asked Questions ==
99
+
100
+ If your question isn't listed here, please create a new post at the [WordPress.org support forum](http://wordpress.org/support/plugin/contextual-related-posts). It is the fastest way to get support as I monitor the forums regularly. I also provide [premium *paid* support via email](https://webberzone.com/support/).
101
+
102
+ = How can I customise the output? =
103
+
104
+ Several customization options are available via the Settings page in WordPress Admin. You can access this via <strong>Settings &raquo; Related Posts</strong>
105
+
106
+ The plugin also provides you with a set of CSS classes that allow you to style your posts by adding code to the *style.css* sheet.
107
+
108
+ The main CSS classes / IDs are:
109
+
110
+ * **crp_related**: ID of the main wrapper `div`. This is only displayed on singular pages, i.e. post, page and attachment
111
+
112
+ * **crp_related**: Class of the main wrapper `div`. If you are displaying the related posts on non-singular pages, then you should style this
113
+
114
+ * **crp_title**: Class of the `span` tag for title of the post
115
+
116
+ * **crp_excerpt**: Class of the `span` tag for excerpt (if included)
117
+
118
+ * **crp_thumb**: Class of the post thumbnail `img` tag
119
+
120
+
121
+ = How does the plugin select thumbnails? =
122
+
123
+ The plugin selects thumbnails in the following order:
124
+
125
+ 1. Post meta field: This is the meta field value you can use when editing your post. The default is `post-image`
126
+
127
+ 2. Post Thumbnail image: The image that you can set while editing your post in WordPress &raquo; New Post screen
128
+
129
+ 3. First image in the post: The plugin will try to fetch the first image in the post
130
+
131
+ 3. Video Thumbnails: Meta field set by <a href="https://wordpress.org/extend/plugins/video-thumbnails/">Video Thumbnails</a>
132
+
133
+ 4. Default Thumbnail: If enabled, it will use the default thumbnail that you specify in the Settings screen
134
+
135
+
136
+ = Manual install =
137
+
138
+ The following functions are available in case you wish to do a manual install of the posts by editing the theme files.
139
+
140
+ **echo_crp( $args = array() )**
141
+
142
+ Echoes the list of posts wherever you add the this function. You can also use this function to display related posts on any type of page generated by WordPress including homepage and archive pages.
143
+
144
+ Usage: `<?php if ( function_exists( 'echo_crp' ) ) { echo_crp(); } ?>` to your template file where you want the related posts to be displayed.
145
+
146
+
147
+ **get_crp_posts_id()**
148
+
149
+ Takes a post ID and returns the related post IDs as an object.
150
+
151
+ Usage: `<?php if ( function_exists( 'get_crp_posts_id' ) ) { get_crp_posts_id( array( 'postid' => $postid, 'limit' => $limit ) ); } ?>`
152
+
153
+ Parameters:
154
+
155
+ *$postid* : The ID of the post you'd like to fetch. By default the current post is fetched. Use within the Loop for best results.
156
+
157
+ *$limit* : Maximum number of posts to return. The actual number displayed may be lower depending on the matching algorithm and the category / post exclusion settings.
158
+
159
+
160
+ = Shortcodes =
161
+
162
+ You can insert the related posts anywhere in your post using the `[crp]` shortcode. The plugin takes three optional attributes `limit`, `heading` and `cache` as follows:
163
+
164
+ `[crp limit="5" heading="1" cache="1"]`
165
+
166
+ *limit* : Maximum number of posts to return. The actual number displayed may be lower depending on the matching algorithm and the category / post exclusion settings.
167
+
168
+ *heading* : By default, the heading you specify in **Title of related posts:** under **Output options** will be displayed. You can override this by specifying your own heading e.g.
169
+
170
+ `
171
+ <h3>Similar posts</h3>
172
+ [crp limit="2" heading="0"]
173
+ `
174
+ *cache* : Cache the output or not? By default the output will be cached for the post you add the shortcode in. You can override this by specifying `cache=0`
175
+
176
+ In addition to the above, the shortcode takes every option that the plugin supports. See `crp_default_options()` function to see the options that can be set.
177
+
178
+
179
+ == Changelog ==
180
+
181
+ = 2.3.0 =
182
+
183
+ * Features:
184
+ * Shortcode and the widget now have an added parameter for 'offset'. This is useful if you would like to display different widgets/shortcodes but not always start from the first post
185
+ * New option in metabox: "Exclude this post from the related posts list"
186
+ * New option: Insert after nth paragraph
187
+
188
+ * Enhancements:
189
+ * The generated HTML code uses a single `a href` tag rather than two separate ones per item which is usually better for SEO. If you're not using the Rounded Thumbnail style and using your own custom style, then you might need to reconfigure this
190
+ * New constant `CRP_MAX_WORDS` (default 500) limits the post content to be compared. Add this to your `wp-config.php` file to overwrite
191
+
192
+ * Bug fixes:
193
+ * Language files initialisation had the wrong text domain
194
+ * Stop updating the thumb settings if the existing value isn't found. Caused incorrect changes in certain installations
195
+ * Force link text to white when using Rounded Thumb style
196
+ * The plugin will no longer generate any notices if post author is missing
197
+
198
+ * Deprecated:
199
+ * Removed wick for exclude categories auto-suggest. Plugin now uses jQuery Suggest that is included in WordPress. When you re-save plugin options, the field will convert the slugs to the category name
200
+ * Deprecated `$crp_url`. Use the new constants `CRP_PLUGIN_DIR`, `CRP_PLUGIN_URL` and `CRP_PLUGIN_FILE`
201
+
202
+ = 2.2.3 =
203
+
204
+ * Enhancements:
205
+ * Changed text domain to `contextual-related-posts` in advance of translate.wordpress.org translation system
206
+ * Improved support for WPML. If available, same language posts will be pulled by default. To restrict to the same language [add this code](https://gist.github.com/ajaydsouza/9b1bc56cec79295e784c) to your theme's functions.php file
207
+ * Removed `id` tag from related posts HTML output to make it W3C compliant. If you're using the id with your custom styles, please change this to classes i.e. change `#crp_related` to `.crp_related` and it should work
208
+
209
+ * Bug fixes:
210
+ * All cache entries were not deleted on uninstall
211
+
212
+ = 2.2.2 =
213
+
214
+ * Features:
215
+ * Preliminary support for WPML
216
+
217
+ * Enhancements:
218
+ * Recreate Index and Activation will not try to alter the table engine if not needed
219
+
220
+ * Bug fixes:
221
+ * All thumbnail classes were not properly applied + new thumbnail class filter
222
+ * Shortcode with "exclude_categories" argument works again
223
+
224
+ = 2.2.1 =
225
+
226
+ * Bug fixes:
227
+ * "No styles" would not get selected if "Rounded thumbnails' was enabled
228
+ * "Recreate Index" caused a fatal error: Call to undefined function `crp_single_activate()`
229
+ * Excerpt shortening was not working correctly
230
+ * Exclude categories wasn't working in some cases
231
+ * Additional check to see if default styles are off, then force No style
232
+
233
+ = 2.2.0 =
234
+
235
+ * Features:
236
+ * Manual posts can now be set in the meta box in the Edit Post screens which will be displayed before the related posts fetched by the plugin
237
+ * Choose between No style, Rounded thumbnails (previously called default style) and Text only style options under the Styles box in the plugin settings page
238
+ * Option to turn off the Contextual Related metabox on Edit Posts screens or limit it to Admins only. Also applies to Pages and Custom Post Types
239
+ * Filter `crp_link_attributes` that allows a user to add or remove attributes for the `a` tag
240
+ * Notice is displayed at the top of the Settings page if there are any missing of the FULLTEXT indices missing
241
+ * Option in the Contextual Related Posts meta box to disable the related posts on the selected post
242
+ * Select post type in the Related Posts Widget
243
+
244
+ * Enhancements:
245
+ * Optimised number of queries for exclude categories option. Those not using this option will see the greatest savings
246
+ * Select a pre-built thumbnail size will automatically update the width, height and crop settings. The default style will no longer enforce the 150x150 thumbnail size.
247
+ * `strict_limit` argument in `get_crp_posts_id` is now TRUE by default
248
+ * `get_crp` takes an additional argument: `heading` (default is TRUE) that controls the display of the main heading (**Related Posts**)
249
+ * Output of `echo_crp` will be cached in a separate meta key
250
+
251
+ * Bug fixes:
252
+ * First child now gets the correct thumbnail size
253
+
254
+ * Deprecated:
255
+ * `ald_crp()` - `Use get_crp()` instead
256
+ * `ald_crp_content()` - `Use crp_content_filter()` instead
257
+ * `ald_crp_rss()` - `Use crp_rss_filter()` instead
258
+ * `echo_ald_crp()` - `Use echo_crp()` instead
259
+
260
+ = 2.1.1 =
261
+
262
+ * Enhancements:
263
+ * Settings page now clearly highlights what options cannot be changed if the default styles are enabled, i.e. thumbnail settings and no excerpt, author or date
264
+
265
+ = 2.1.0 =
266
+
267
+ * Features:
268
+ * Separate cache for related posts added to feeds. Prevents conflict with the cache for normal related posts
269
+ * Timthumb has been deprecated
270
+ * Setting "Related posts should be newer than:" to 0 to disable limiting posts by age
271
+ * Filters `crp_posts_match`, `crp_posts_now_date`, `crp_posts_from_date` to modify the WHERE clause
272
+
273
+ * Enhancements:
274
+ * `thumb_timthumb`, `thumb_timthumb_q` and `filter` attributes for the function `crp_get_the_post_thumbnail` have been deprecated. If you're using this function, an entry will be created for the deprecated log
275
+ * Reset default thumbnail URL location to plugin default if the field is blank or only contains `/default.png`
276
+ * Meta-box will no longer be displayed on non-public post types
277
+ * For first image, the plugin will attempt to seek the correct thumbnail size if available
278
+
279
+ * Bug fixes:
280
+ * Author link was incorrectly displayed multiple times in the list when Show Author was enabled
281
+ * WP Notice Errors when using the Widget via the Customizer menu in WordPress
282
+ * Incorrect thumbnail was pulled on attachment pages
283
+
284
+ = 2.0.1 =
285
+
286
+ * Bug fixes:
287
+ * Clear Cache button which broke in 2.0.0
288
+
289
+ = 2.0.0 =
290
+
291
+ * Features:
292
+ * Multi-site support. Now you can Network Activate the plugin and all users will see related posts!
293
+ * Thumbnails are registered as an image size in WordPress. This means WordPress will create a copy of the image with the specified dimensions when a new image is uploaded. For your existing images, I recommend using <a href="https://wordpress.org/plugins/force-regenerate-thumbnails/">Force Regenerate Thumbnails</a>
294
+ * Completely filterable mySQL query to fetch the posts. You can write your own functions to filter the fields, orderby, groupby, join and limits clauses
295
+
296
+ * Enhancements:
297
+ * Lookup priority for thumbnails. The thumbnail URL set in the Contextual Related Posts meta box is given first priority
298
+ * Removed `border=0` attribute from `img` tag for HTML5 validation support
299
+ * Default option for timthumb is disabled
300
+ * Default option for post types to include is post and page
301
+ * `get_crp_posts` has been deprecated. See `get_crp_posts_id` instead
302
+ * Turning on the Default style will switch on thumbnails, correctly resize them and will also hide authors, excerpts and the post date
303
+
304
+ * Bug fixes:
305
+ * Post image will now be loaded over https if the visitor visits your site on https
306
+
307
+ = Earlier versions =
308
+
309
+ For the changelog of earlier versions, please refer to the separate changelog.txt file.
310
+
311
+
312
+ == Upgrade Notice ==
313
+
314
+ = 2.3.0 =
315
+ * New features. Deprecated functions. Upgrade highly recommended. Please do verify your settings after the upgrade.
316
+ Check the Changelog for more details
317
+
uninstall.php CHANGED
@@ -29,7 +29,7 @@ if ( ! is_multisite() ) {
29
 
30
  } else {
31
 
32
- // Get all blogs in the network and activate plugin on each one
33
  $blog_ids = $wpdb->get_col( "
34
  SELECT blog_id FROM $wpdb->blogs
35
  WHERE archived = '0' AND spam = '0' AND deleted = '0'
@@ -51,7 +51,7 @@ if ( ! is_multisite() ) {
51
 
52
  }
53
 
54
- // Switch back to the current blog
55
  restore_current_blog();
56
 
57
  }
29
 
30
  } else {
31
 
32
+ // Get all blogs in the network and activate plugin on each one.
33
  $blog_ids = $wpdb->get_col( "
34
  SELECT blog_id FROM $wpdb->blogs
35
  WHERE archived = '0' AND spam = '0' AND deleted = '0'
51
 
52
  }
53
 
54
+ // Switch back to the current blog.
55
  restore_current_blog();
56
 
57
  }