Version Description
Release post: https://wzn.io/2K2ohWB
-
Features:
- New options to delete options and/or data on uninstall. This will only work if you visit the Settings page and save the pages.
-
Bug fixes:
- Custom CSS code should now be properly added to the header
- Upgrading settings when "Automatically add related posts to" had no options checked should work properly
Download this release
Release Info
Developer | Ajay |
Plugin | Contextual Related Posts |
Version | 2.6.1 |
Comparing to | |
See all releases |
Code changes from version 2.6.0 to 2.6.1
- contextual-related-posts.php +1 -1
- includes/admin/default-settings.php +12 -3
- includes/header.php +1 -1
- languages/contextual-related-posts-en_US.mo +0 -0
- languages/contextual-related-posts-en_US.po +111 -101
- languages/contextual-related-posts-en_US.pot +111 -101
- readme.txt +11 -0
- uninstall.php +31 -28
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.6.
|
19 |
* Author: WebberZone
|
20 |
* Author URI: https://webberzone.com
|
21 |
* License: GPL-2.0+
|
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.6.1
|
19 |
* Author: WebberZone
|
20 |
* Author URI: https://webberzone.com
|
21 |
* License: GPL-2.0+
|
includes/admin/default-settings.php
CHANGED
@@ -66,7 +66,7 @@ function crp_settings_general() {
|
|
66 |
),
|
67 |
'add_to' => array(
|
68 |
'id' => 'add_to',
|
69 |
-
'name' => esc_html__( 'Automatically add related posts to', 'contextual-related-posts' )
|
70 |
/* translators: 1: Code. */
|
71 |
'desc' => sprintf( 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><?php if ( function_exists( 'echo_crp' ) ) { echo_crp(); } ?></code>" ),
|
72 |
'type' => 'multicheck',
|
@@ -113,13 +113,20 @@ function crp_settings_general() {
|
|
113 |
'type' => 'checkbox',
|
114 |
'options' => false,
|
115 |
),
|
116 |
-
'
|
117 |
-
'id' => '
|
118 |
'name' => esc_html__( 'Delete options on uninstall', 'contextual-related-posts' ),
|
119 |
'desc' => esc_html__( 'If this is checked, all settings related to Contextual Related Posts are removed from the database if you choose to uninstall/delete the plugin.', 'contextual-related-posts' ),
|
120 |
'type' => 'checkbox',
|
121 |
'options' => true,
|
122 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
'show_metabox' => array(
|
124 |
'id' => 'show_metabox',
|
125 |
'name' => esc_html__( 'Show metabox', 'contextual-related-posts' ),
|
@@ -669,6 +676,8 @@ function crp_upgrade_settings() {
|
|
669 |
// Start will assigning all the old settings to the new settings and we will unset later on.
|
670 |
$settings = $old_settings;
|
671 |
|
|
|
|
|
672 |
// Convert the add_to_{x} to the new settings format.
|
673 |
$add_to = array(
|
674 |
'single' => 'add_to_content',
|
66 |
),
|
67 |
'add_to' => array(
|
68 |
'id' => 'add_to',
|
69 |
+
'name' => esc_html__( 'Automatically add related posts to', 'contextual-related-posts' ),
|
70 |
/* translators: 1: Code. */
|
71 |
'desc' => sprintf( 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><?php if ( function_exists( 'echo_crp' ) ) { echo_crp(); } ?></code>" ),
|
72 |
'type' => 'multicheck',
|
113 |
'type' => 'checkbox',
|
114 |
'options' => false,
|
115 |
),
|
116 |
+
'uninstall_options' => array(
|
117 |
+
'id' => 'uninstall_options',
|
118 |
'name' => esc_html__( 'Delete options on uninstall', 'contextual-related-posts' ),
|
119 |
'desc' => esc_html__( 'If this is checked, all settings related to Contextual Related Posts are removed from the database if you choose to uninstall/delete the plugin.', 'contextual-related-posts' ),
|
120 |
'type' => 'checkbox',
|
121 |
'options' => true,
|
122 |
),
|
123 |
+
'uninstall_indices' => array(
|
124 |
+
'id' => 'uninstall_indices',
|
125 |
+
'name' => esc_html__( 'Delete FULLTEXT indices on uninstall', 'contextual-related-posts' ),
|
126 |
+
'desc' => esc_html__( 'If this is checked, FULTEXT indices generated by Contextual Related Posts are removed from the database if you choose to uninstall/delete the plugin.', 'contextual-related-posts' ),
|
127 |
+
'type' => 'checkbox',
|
128 |
+
'options' => true,
|
129 |
+
),
|
130 |
'show_metabox' => array(
|
131 |
'id' => 'show_metabox',
|
132 |
'name' => esc_html__( 'Show metabox', 'contextual-related-posts' ),
|
676 |
// Start will assigning all the old settings to the new settings and we will unset later on.
|
677 |
$settings = $old_settings;
|
678 |
|
679 |
+
$settings['add_to'] = array();
|
680 |
+
|
681 |
// Convert the add_to_{x} to the new settings format.
|
682 |
$add_to = array(
|
683 |
'single' => 'add_to_content',
|
includes/header.php
CHANGED
@@ -22,7 +22,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
22 |
function crp_header() {
|
23 |
|
24 |
$add_to = crp_get_option( 'add_to', false );
|
25 |
-
$custom_css = stripslashes( crp_get_option( '
|
26 |
|
27 |
// Add CSS to header.
|
28 |
if ( '' != $custom_css ) { // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
|
22 |
function crp_header() {
|
23 |
|
24 |
$add_to = crp_get_option( 'add_to', false );
|
25 |
+
$custom_css = stripslashes( crp_get_option( 'custom_css' ) );
|
26 |
|
27 |
// Add CSS to header.
|
28 |
if ( '' != $custom_css ) { // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
|
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: 2019-04-
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza\n"
|
8 |
"Language-Team: WebberZone <plugins@webberzone.com>\n"
|
@@ -22,7 +22,7 @@ msgstr ""
|
|
22 |
msgid "Contextual Related Posts"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: includes/admin/admin.php:32 includes/admin/default-settings.php:
|
26 |
msgid "Related Posts"
|
27 |
msgstr ""
|
28 |
|
@@ -146,260 +146,270 @@ msgid ""
|
|
146 |
msgstr ""
|
147 |
|
148 |
#: includes/admin/default-settings.php:125
|
149 |
-
msgid "
|
150 |
msgstr ""
|
151 |
|
152 |
#: includes/admin/default-settings.php:126
|
153 |
msgid ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
"This will add the Contextual Related Posts metabox on Edit Posts or Add New "
|
155 |
"Posts screens. Also applies to Pages and Custom Post Types."
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: includes/admin/default-settings.php:
|
159 |
msgid "Limit meta box to Admins only"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: includes/admin/default-settings.php:
|
163 |
msgid ""
|
164 |
"If selected, the meta box will be hidden from anyone who is not an Admin. By "
|
165 |
"default, Contributors and above will be able to see the meta box. Applies "
|
166 |
"only if the above option is selected."
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: includes/admin/default-settings.php:
|
170 |
msgid "Link to Contextual Related Posts plugin page"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: includes/admin/default-settings.php:
|
174 |
msgid ""
|
175 |
"A no-follow link to the plugin homepage will be added as the last item of "
|
176 |
"the related posts."
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: includes/admin/default-settings.php:
|
180 |
msgid "Heading of posts"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: includes/admin/default-settings.php:
|
184 |
msgid "Displayed before the list of the posts as a master heading"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: includes/admin/default-settings.php:
|
188 |
msgid "Show when no posts are found"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: includes/admin/default-settings.php:
|
192 |
msgid "Blank output"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: includes/admin/default-settings.php:
|
196 |
msgid "Display custom text"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: includes/admin/default-settings.php:
|
200 |
msgid "Custom text"
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: includes/admin/default-settings.php:
|
204 |
msgid ""
|
205 |
"Enter the custom text that will be displayed if the second option is "
|
206 |
"selected above."
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: includes/admin/default-settings.php:
|
210 |
msgid "No related posts found"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: includes/admin/default-settings.php:
|
214 |
-
#: includes/admin/default-settings.php:
|
215 |
msgid "Show post excerpt"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: includes/admin/default-settings.php:
|
219 |
msgid ""
|
220 |
"If the post does not have an excerpt, the plugin will automatically create "
|
221 |
"one containing the number of words specified in the next option."
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: includes/admin/default-settings.php:
|
225 |
msgid "Length of excerpt (in words)"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: includes/admin/default-settings.php:
|
229 |
msgid "Show date"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: includes/admin/default-settings.php:
|
233 |
msgid ""
|
234 |
"Displays the date of the post. Uses the same date format set in General "
|
235 |
"Options."
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: includes/admin/default-settings.php:
|
239 |
msgid "Show author"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: includes/admin/default-settings.php:
|
243 |
msgid "Limit post title length (in characters)"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: includes/admin/default-settings.php:
|
247 |
msgid ""
|
248 |
"Any title longer than the number of characters set above will be cut and "
|
249 |
"appended with an ellipsis (…)"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: includes/admin/default-settings.php:
|
253 |
msgid "Open links in new window"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: includes/admin/default-settings.php:
|
257 |
msgid "Add nofollow to links"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: includes/admin/default-settings.php:
|
261 |
msgid "Exclusion settings"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: includes/admin/default-settings.php:
|
265 |
msgid "Exclude display on these posts"
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: includes/admin/default-settings.php:
|
269 |
msgid ""
|
270 |
"Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: includes/admin/default-settings.php:
|
274 |
msgid "Exclude display on these post types"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: includes/admin/default-settings.php:
|
278 |
msgid ""
|
279 |
"The related posts will not display on any of the above selected post types."
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: includes/admin/default-settings.php:
|
283 |
msgid "HTML to display"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: includes/admin/default-settings.php:
|
287 |
msgid "Before the list of posts"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: includes/admin/default-settings.php:
|
291 |
msgid "After the list of posts"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: includes/admin/default-settings.php:
|
295 |
msgid "Before each list item"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: includes/admin/default-settings.php:
|
299 |
msgid "After each list item"
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: includes/admin/default-settings.php:
|
303 |
-
#: includes/admin/default-settings.php:
|
304 |
msgid "Number of posts to display"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: includes/admin/default-settings.php:
|
308 |
msgid ""
|
309 |
"Maximum number of posts that will be displayed in the list. This option is "
|
310 |
"used if you don not specify the number of posts in the widget or shortcodes"
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: includes/admin/default-settings.php:
|
314 |
msgid "Related posts should be newer than"
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: includes/admin/default-settings.php:
|
318 |
msgid ""
|
319 |
"This sets the cut-off period for which posts will be displayed. e.g. setting "
|
320 |
"it to 365 will show related posts from the last year only. Set to 0 to "
|
321 |
"disable limiting posts by date."
|
322 |
msgstr ""
|
323 |
|
324 |
-
#: includes/admin/default-settings.php:
|
325 |
msgid "Randomize posts"
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: includes/admin/default-settings.php:
|
329 |
msgid ""
|
330 |
"This shuffles the top related posts. Does not work if the cache is enabled."
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: includes/admin/default-settings.php:
|
334 |
msgid "Related posts based on title and content"
|
335 |
msgstr ""
|
336 |
|
337 |
-
#: includes/admin/default-settings.php:
|
338 |
msgid ""
|
339 |
"If unchecked, only posts titles are used. Enable the cache if enabling this "
|
340 |
"option for better performance. Each site is different, so toggle this option "
|
341 |
"to see which setting gives you better quality related posts."
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: includes/admin/default-settings.php:
|
345 |
msgid "Limit content to be compared"
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: includes/admin/default-settings.php:
|
349 |
msgid ""
|
350 |
"This sets the maximum words of the content that will be matched. Set to 0 "
|
351 |
"for no limit. Max value: 2,000. Only applies if you activate the above "
|
352 |
"option."
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: includes/admin/default-settings.php:
|
356 |
#: includes/modules/class-crp-widget.php:126
|
357 |
msgid "Post types to include"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: includes/admin/default-settings.php:
|
361 |
msgid ""
|
362 |
"At least one option should be selected above. Select which post types you "
|
363 |
"want to include in the list of posts. This field can be overridden using a "
|
364 |
"comma separated list of post types when using the manual display."
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: includes/admin/default-settings.php:
|
368 |
msgid "Limit to same post type"
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: includes/admin/default-settings.php:
|
372 |
msgid ""
|
373 |
"If checked, the related posts will only be selected from the same post type "
|
374 |
"of the current post."
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: includes/admin/default-settings.php:
|
378 |
msgid "Post/page IDs to exclude"
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: includes/admin/default-settings.php:
|
382 |
msgid ""
|
383 |
"Comma-separated list of post or page IDs to exclude from the list. e.g. "
|
384 |
"188,320,500"
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: includes/admin/default-settings.php:
|
388 |
msgid "Exclude Categories"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: includes/admin/default-settings.php:
|
392 |
msgid ""
|
393 |
"Comma separated list of category slugs. The field above has an autocomplete "
|
394 |
"so simply start typing in the starting letters and it will prompt you with "
|
395 |
"options. Does not support custom taxonomies."
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: includes/admin/default-settings.php:
|
399 |
msgid "Exclude category IDs"
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: includes/admin/default-settings.php:
|
403 |
msgid ""
|
404 |
"This is a readonly field that is automatically populated based on the above "
|
405 |
"input when the settings are saved. These might differ from the IDs visible "
|
@@ -407,36 +417,36 @@ msgid ""
|
|
407 |
"the term_taxonomy_id which is unique to this taxonomy."
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: includes/admin/default-settings.php:
|
411 |
-
#: includes/admin/default-settings.php:
|
412 |
msgid "Location of the post thumbnail"
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: includes/admin/default-settings.php:
|
416 |
-
#: includes/admin/default-settings.php:
|
417 |
msgid "Display thumbnails inline with posts, before title"
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: includes/admin/default-settings.php:
|
421 |
-
#: includes/admin/default-settings.php:
|
422 |
msgid "Display thumbnails inline with posts, after title"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: includes/admin/default-settings.php:
|
426 |
-
#: includes/admin/default-settings.php:
|
427 |
msgid "Display only thumbnails, no text"
|
428 |
msgstr ""
|
429 |
|
430 |
-
#: includes/admin/default-settings.php:
|
431 |
-
#: includes/admin/default-settings.php:
|
432 |
msgid "Do not display thumbnails, only text"
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: includes/admin/default-settings.php:
|
436 |
msgid "Thumbnail size"
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: includes/admin/default-settings.php:
|
440 |
msgid ""
|
441 |
"You can choose from existing image sizes above or create a custom size. If "
|
442 |
"you have chosen Custom size above, then enter the width, height and crop "
|
@@ -444,125 +454,125 @@ msgid ""
|
|
444 |
"width and/or height below, existing images will not be automatically resized."
|
445 |
msgstr ""
|
446 |
|
447 |
-
#: includes/admin/default-settings.php:
|
448 |
#, php-format
|
449 |
msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: includes/admin/default-settings.php:
|
453 |
-
#: includes/admin/default-settings.php:
|
454 |
#: includes/modules/class-crp-widget.php:122
|
455 |
msgid "Thumbnail width"
|
456 |
msgstr ""
|
457 |
|
458 |
-
#: includes/admin/default-settings.php:
|
459 |
-
#: includes/admin/default-settings.php:
|
460 |
#: includes/modules/class-crp-widget.php:117
|
461 |
msgid "Thumbnail height"
|
462 |
msgstr ""
|
463 |
|
464 |
-
#: includes/admin/default-settings.php:
|
465 |
msgid "Hard crop thumbnails"
|
466 |
msgstr ""
|
467 |
|
468 |
-
#: includes/admin/default-settings.php:
|
469 |
msgid ""
|
470 |
"Check this box to hard crop the thumbnails. i.e. force the width and height "
|
471 |
"above vs. maintaining proportions."
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: includes/admin/default-settings.php:
|
475 |
msgid "Generate thumbnail sizes"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: includes/admin/default-settings.php:
|
479 |
msgid ""
|
480 |
"If you select this option and Custom size is selected above, the plugin will "
|
481 |
"register the image size with WordPress to create new thumbnails. Does not "
|
482 |
"update old images as explained above."
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: includes/admin/default-settings.php:
|
486 |
msgid "Thumbnail size attributes"
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: includes/admin/default-settings.php:
|
490 |
#, php-format
|
491 |
msgid "Use CSS to set the width and height: e.g. %s"
|
492 |
msgstr ""
|
493 |
|
494 |
-
#: includes/admin/default-settings.php:
|
495 |
#, php-format
|
496 |
msgid "Use HTML attributes to set the width and height: e.g. %s"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: includes/admin/default-settings.php:
|
500 |
msgid ""
|
501 |
"No width or height set. You will need to use external styles to force any "
|
502 |
"width or height of your choice."
|
503 |
msgstr ""
|
504 |
|
505 |
-
#: includes/admin/default-settings.php:
|
506 |
msgid "Thumbnail meta field name"
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: includes/admin/default-settings.php:
|
510 |
msgid ""
|
511 |
"The value of this field should contain the URL of the image and can be set "
|
512 |
"in the metabox in the Edit Post screen"
|
513 |
msgstr ""
|
514 |
|
515 |
-
#: includes/admin/default-settings.php:
|
516 |
msgid "Get first image"
|
517 |
msgstr ""
|
518 |
|
519 |
-
#: includes/admin/default-settings.php:
|
520 |
msgid ""
|
521 |
"The plugin will fetch the first image in the post content if this is "
|
522 |
"enabled. This can slow down the loading of your page if the first image in "
|
523 |
"the followed posts is large in file-size."
|
524 |
msgstr ""
|
525 |
|
526 |
-
#: includes/admin/default-settings.php:
|
527 |
msgid "Use default thumbnail?"
|
528 |
msgstr ""
|
529 |
|
530 |
-
#: includes/admin/default-settings.php:
|
531 |
msgid ""
|
532 |
"If checked, when no thumbnail is found, show a default one from the URL "
|
533 |
"below. If not checked and no thumbnail is found, no image will be shown."
|
534 |
msgstr ""
|
535 |
|
536 |
-
#: includes/admin/default-settings.php:
|
537 |
msgid "Default thumbnail"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: includes/admin/default-settings.php:
|
541 |
msgid ""
|
542 |
"Enter the full URL of the image that you wish to display if no thumbnail is "
|
543 |
"found. This image will be displayed below."
|
544 |
msgstr ""
|
545 |
|
546 |
-
#: includes/admin/default-settings.php:
|
547 |
msgid "Related Posts style"
|
548 |
msgstr ""
|
549 |
|
550 |
-
#: includes/admin/default-settings.php:
|
551 |
msgid "Custom CSS"
|
552 |
msgstr ""
|
553 |
|
554 |
-
#: includes/admin/default-settings.php:
|
555 |
#, php-format
|
556 |
msgid ""
|
557 |
"Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
|
558 |
"CSS classes to style."
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: includes/admin/default-settings.php:
|
562 |
msgid "About this tab"
|
563 |
msgstr ""
|
564 |
|
565 |
-
#: includes/admin/default-settings.php:
|
566 |
msgid ""
|
567 |
"Below options override the related posts settings for your blog feed. These "
|
568 |
"only apply if you have selected to add related posts to Feeds in the General "
|
@@ -570,27 +580,27 @@ msgid ""
|
|
570 |
"way to style the related posts in the feed."
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: includes/admin/default-settings.php:
|
574 |
msgid "No styles"
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: includes/admin/default-settings.php:
|
578 |
msgid "Select this option if you plan to add your own styles"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: includes/admin/default-settings.php:
|
582 |
msgid "Text only"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: includes/admin/default-settings.php:
|
586 |
msgid "Disable thumbnails and no longer include the default style sheet"
|
587 |
msgstr ""
|
588 |
|
589 |
-
#: includes/admin/default-settings.php:
|
590 |
msgid "Rounded thumbnails"
|
591 |
msgstr ""
|
592 |
|
593 |
-
#: includes/admin/default-settings.php:
|
594 |
msgid ""
|
595 |
"Enabling this option will turn on the thumbnails and force their width and "
|
596 |
"height. It will also turn off the display of the author, excerpt and date if "
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2019-04-03 08:51+0100\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza\n"
|
8 |
"Language-Team: WebberZone <plugins@webberzone.com>\n"
|
22 |
msgid "Contextual Related Posts"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: includes/admin/admin.php:32 includes/admin/default-settings.php:179
|
26 |
msgid "Related Posts"
|
27 |
msgstr ""
|
28 |
|
146 |
msgstr ""
|
147 |
|
148 |
#: includes/admin/default-settings.php:125
|
149 |
+
msgid "Delete FULLTEXT indices on uninstall"
|
150 |
msgstr ""
|
151 |
|
152 |
#: includes/admin/default-settings.php:126
|
153 |
msgid ""
|
154 |
+
"If this is checked, FULTEXT indices generated by Contextual Related Posts "
|
155 |
+
"are removed from the database if you choose to uninstall/delete the plugin."
|
156 |
+
msgstr ""
|
157 |
+
|
158 |
+
#: includes/admin/default-settings.php:132
|
159 |
+
msgid "Show metabox"
|
160 |
+
msgstr ""
|
161 |
+
|
162 |
+
#: includes/admin/default-settings.php:133
|
163 |
+
msgid ""
|
164 |
"This will add the Contextual Related Posts metabox on Edit Posts or Add New "
|
165 |
"Posts screens. Also applies to Pages and Custom Post Types."
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: includes/admin/default-settings.php:139
|
169 |
msgid "Limit meta box to Admins only"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: includes/admin/default-settings.php:140
|
173 |
msgid ""
|
174 |
"If selected, the meta box will be hidden from anyone who is not an Admin. By "
|
175 |
"default, Contributors and above will be able to see the meta box. Applies "
|
176 |
"only if the above option is selected."
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: includes/admin/default-settings.php:146
|
180 |
msgid "Link to Contextual Related Posts plugin page"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: includes/admin/default-settings.php:147
|
184 |
msgid ""
|
185 |
"A no-follow link to the plugin homepage will be added as the last item of "
|
186 |
"the related posts."
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: includes/admin/default-settings.php:176
|
190 |
msgid "Heading of posts"
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: includes/admin/default-settings.php:177
|
194 |
msgid "Displayed before the list of the posts as a master heading"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: includes/admin/default-settings.php:184
|
198 |
msgid "Show when no posts are found"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: includes/admin/default-settings.php:190
|
202 |
msgid "Blank output"
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: includes/admin/default-settings.php:191
|
206 |
msgid "Display custom text"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: includes/admin/default-settings.php:196
|
210 |
msgid "Custom text"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: includes/admin/default-settings.php:197
|
214 |
msgid ""
|
215 |
"Enter the custom text that will be displayed if the second option is "
|
216 |
"selected above."
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: includes/admin/default-settings.php:199 includes/deprecated.php:185
|
220 |
msgid "No related posts found"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: includes/admin/default-settings.php:203
|
224 |
+
#: includes/admin/default-settings.php:614
|
225 |
msgid "Show post excerpt"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: includes/admin/default-settings.php:204
|
229 |
msgid ""
|
230 |
"If the post does not have an excerpt, the plugin will automatically create "
|
231 |
"one containing the number of words specified in the next option."
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: includes/admin/default-settings.php:210
|
235 |
msgid "Length of excerpt (in words)"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: includes/admin/default-settings.php:219
|
239 |
msgid "Show date"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: includes/admin/default-settings.php:220
|
243 |
msgid ""
|
244 |
"Displays the date of the post. Uses the same date format set in General "
|
245 |
"Options."
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: includes/admin/default-settings.php:226
|
249 |
msgid "Show author"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: includes/admin/default-settings.php:233
|
253 |
msgid "Limit post title length (in characters)"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: includes/admin/default-settings.php:234
|
257 |
msgid ""
|
258 |
"Any title longer than the number of characters set above will be cut and "
|
259 |
"appended with an ellipsis (…)"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: includes/admin/default-settings.php:241
|
263 |
msgid "Open links in new window"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: includes/admin/default-settings.php:248
|
267 |
msgid "Add nofollow to links"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: includes/admin/default-settings.php:255
|
271 |
msgid "Exclusion settings"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: includes/admin/default-settings.php:261
|
275 |
msgid "Exclude display on these posts"
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: includes/admin/default-settings.php:262
|
279 |
msgid ""
|
280 |
"Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: includes/admin/default-settings.php:268
|
284 |
msgid "Exclude display on these post types"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: includes/admin/default-settings.php:269
|
288 |
msgid ""
|
289 |
"The related posts will not display on any of the above selected post types."
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: includes/admin/default-settings.php:275
|
293 |
msgid "HTML to display"
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: includes/admin/default-settings.php:281
|
297 |
msgid "Before the list of posts"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: includes/admin/default-settings.php:288
|
301 |
msgid "After the list of posts"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: includes/admin/default-settings.php:295
|
305 |
msgid "Before each list item"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: includes/admin/default-settings.php:302
|
309 |
msgid "After each list item"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: includes/admin/default-settings.php:332
|
313 |
+
#: includes/admin/default-settings.php:605
|
314 |
msgid "Number of posts to display"
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: includes/admin/default-settings.php:333
|
318 |
msgid ""
|
319 |
"Maximum number of posts that will be displayed in the list. This option is "
|
320 |
"used if you don not specify the number of posts in the widget or shortcodes"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: includes/admin/default-settings.php:341
|
324 |
msgid "Related posts should be newer than"
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: includes/admin/default-settings.php:342
|
328 |
msgid ""
|
329 |
"This sets the cut-off period for which posts will be displayed. e.g. setting "
|
330 |
"it to 365 will show related posts from the last year only. Set to 0 to "
|
331 |
"disable limiting posts by date."
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: includes/admin/default-settings.php:349
|
335 |
msgid "Randomize posts"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: includes/admin/default-settings.php:350
|
339 |
msgid ""
|
340 |
"This shuffles the top related posts. Does not work if the cache is enabled."
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: includes/admin/default-settings.php:356
|
344 |
msgid "Related posts based on title and content"
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: includes/admin/default-settings.php:357
|
348 |
msgid ""
|
349 |
"If unchecked, only posts titles are used. Enable the cache if enabling this "
|
350 |
"option for better performance. Each site is different, so toggle this option "
|
351 |
"to see which setting gives you better quality related posts."
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: includes/admin/default-settings.php:363
|
355 |
msgid "Limit content to be compared"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: includes/admin/default-settings.php:364
|
359 |
msgid ""
|
360 |
"This sets the maximum words of the content that will be matched. Set to 0 "
|
361 |
"for no limit. Max value: 2,000. Only applies if you activate the above "
|
362 |
"option."
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: includes/admin/default-settings.php:372
|
366 |
#: includes/modules/class-crp-widget.php:126
|
367 |
msgid "Post types to include"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: includes/admin/default-settings.php:373
|
371 |
msgid ""
|
372 |
"At least one option should be selected above. Select which post types you "
|
373 |
"want to include in the list of posts. This field can be overridden using a "
|
374 |
"comma separated list of post types when using the manual display."
|
375 |
msgstr ""
|
376 |
|
377 |
+
#: includes/admin/default-settings.php:379
|
378 |
msgid "Limit to same post type"
|
379 |
msgstr ""
|
380 |
|
381 |
+
#: includes/admin/default-settings.php:380
|
382 |
msgid ""
|
383 |
"If checked, the related posts will only be selected from the same post type "
|
384 |
"of the current post."
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: includes/admin/default-settings.php:386
|
388 |
msgid "Post/page IDs to exclude"
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: includes/admin/default-settings.php:387
|
392 |
msgid ""
|
393 |
"Comma-separated list of post or page IDs to exclude from the list. e.g. "
|
394 |
"188,320,500"
|
395 |
msgstr ""
|
396 |
|
397 |
+
#: includes/admin/default-settings.php:393
|
398 |
msgid "Exclude Categories"
|
399 |
msgstr ""
|
400 |
|
401 |
+
#: includes/admin/default-settings.php:394
|
402 |
msgid ""
|
403 |
"Comma separated list of category slugs. The field above has an autocomplete "
|
404 |
"so simply start typing in the starting letters and it will prompt you with "
|
405 |
"options. Does not support custom taxonomies."
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: includes/admin/default-settings.php:405
|
409 |
msgid "Exclude category IDs"
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: includes/admin/default-settings.php:406
|
413 |
msgid ""
|
414 |
"This is a readonly field that is automatically populated based on the above "
|
415 |
"input when the settings are saved. These might differ from the IDs visible "
|
417 |
"the term_taxonomy_id which is unique to this taxonomy."
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: includes/admin/default-settings.php:436
|
421 |
+
#: includes/admin/default-settings.php:621
|
422 |
msgid "Location of the post thumbnail"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: includes/admin/default-settings.php:441
|
426 |
+
#: includes/admin/default-settings.php:626
|
427 |
msgid "Display thumbnails inline with posts, before title"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: includes/admin/default-settings.php:442
|
431 |
+
#: includes/admin/default-settings.php:627
|
432 |
msgid "Display thumbnails inline with posts, after title"
|
433 |
msgstr ""
|
434 |
|
435 |
+
#: includes/admin/default-settings.php:443
|
436 |
+
#: includes/admin/default-settings.php:628
|
437 |
msgid "Display only thumbnails, no text"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: includes/admin/default-settings.php:444
|
441 |
+
#: includes/admin/default-settings.php:629
|
442 |
msgid "Do not display thumbnails, only text"
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: includes/admin/default-settings.php:449
|
446 |
msgid "Thumbnail size"
|
447 |
msgstr ""
|
448 |
|
449 |
+
#: includes/admin/default-settings.php:450
|
450 |
msgid ""
|
451 |
"You can choose from existing image sizes above or create a custom size. If "
|
452 |
"you have chosen Custom size above, then enter the width, height and crop "
|
454 |
"width and/or height below, existing images will not be automatically resized."
|
455 |
msgstr ""
|
456 |
|
457 |
+
#: includes/admin/default-settings.php:452
|
458 |
#, php-format
|
459 |
msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
|
460 |
msgstr ""
|
461 |
|
462 |
+
#: includes/admin/default-settings.php:462
|
463 |
+
#: includes/admin/default-settings.php:634
|
464 |
#: includes/modules/class-crp-widget.php:122
|
465 |
msgid "Thumbnail width"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: includes/admin/default-settings.php:471
|
469 |
+
#: includes/admin/default-settings.php:643
|
470 |
#: includes/modules/class-crp-widget.php:117
|
471 |
msgid "Thumbnail height"
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: includes/admin/default-settings.php:480
|
475 |
msgid "Hard crop thumbnails"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: includes/admin/default-settings.php:481
|
479 |
msgid ""
|
480 |
"Check this box to hard crop the thumbnails. i.e. force the width and height "
|
481 |
"above vs. maintaining proportions."
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: includes/admin/default-settings.php:487
|
485 |
msgid "Generate thumbnail sizes"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: includes/admin/default-settings.php:488
|
489 |
msgid ""
|
490 |
"If you select this option and Custom size is selected above, the plugin will "
|
491 |
"register the image size with WordPress to create new thumbnails. Does not "
|
492 |
"update old images as explained above."
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: includes/admin/default-settings.php:494
|
496 |
msgid "Thumbnail size attributes"
|
497 |
msgstr ""
|
498 |
|
499 |
+
#: includes/admin/default-settings.php:500
|
500 |
#, php-format
|
501 |
msgid "Use CSS to set the width and height: e.g. %s"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: includes/admin/default-settings.php:502
|
505 |
#, php-format
|
506 |
msgid "Use HTML attributes to set the width and height: e.g. %s"
|
507 |
msgstr ""
|
508 |
|
509 |
+
#: includes/admin/default-settings.php:503
|
510 |
msgid ""
|
511 |
"No width or height set. You will need to use external styles to force any "
|
512 |
"width or height of your choice."
|
513 |
msgstr ""
|
514 |
|
515 |
+
#: includes/admin/default-settings.php:508
|
516 |
msgid "Thumbnail meta field name"
|
517 |
msgstr ""
|
518 |
|
519 |
+
#: includes/admin/default-settings.php:509
|
520 |
msgid ""
|
521 |
"The value of this field should contain the URL of the image and can be set "
|
522 |
"in the metabox in the Edit Post screen"
|
523 |
msgstr ""
|
524 |
|
525 |
+
#: includes/admin/default-settings.php:515
|
526 |
msgid "Get first image"
|
527 |
msgstr ""
|
528 |
|
529 |
+
#: includes/admin/default-settings.php:516
|
530 |
msgid ""
|
531 |
"The plugin will fetch the first image in the post content if this is "
|
532 |
"enabled. This can slow down the loading of your page if the first image in "
|
533 |
"the followed posts is large in file-size."
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: includes/admin/default-settings.php:522
|
537 |
msgid "Use default thumbnail?"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: includes/admin/default-settings.php:523
|
541 |
msgid ""
|
542 |
"If checked, when no thumbnail is found, show a default one from the URL "
|
543 |
"below. If not checked and no thumbnail is found, no image will be shown."
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: includes/admin/default-settings.php:529 includes/admin/settings-page.php:746
|
547 |
msgid "Default thumbnail"
|
548 |
msgstr ""
|
549 |
|
550 |
+
#: includes/admin/default-settings.php:530
|
551 |
msgid ""
|
552 |
"Enter the full URL of the image that you wish to display if no thumbnail is "
|
553 |
"found. This image will be displayed below."
|
554 |
msgstr ""
|
555 |
|
556 |
+
#: includes/admin/default-settings.php:560
|
557 |
msgid "Related Posts style"
|
558 |
msgstr ""
|
559 |
|
560 |
+
#: includes/admin/default-settings.php:568
|
561 |
msgid "Custom CSS"
|
562 |
msgstr ""
|
563 |
|
564 |
+
#: includes/admin/default-settings.php:570
|
565 |
#, php-format
|
566 |
msgid ""
|
567 |
"Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
|
568 |
"CSS classes to style."
|
569 |
msgstr ""
|
570 |
|
571 |
+
#: includes/admin/default-settings.php:599
|
572 |
msgid "About this tab"
|
573 |
msgstr ""
|
574 |
|
575 |
+
#: includes/admin/default-settings.php:600
|
576 |
msgid ""
|
577 |
"Below options override the related posts settings for your blog feed. These "
|
578 |
"only apply if you have selected to add related posts to Feeds in the General "
|
580 |
"way to style the related posts in the feed."
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: includes/admin/default-settings.php:720
|
584 |
msgid "No styles"
|
585 |
msgstr ""
|
586 |
|
587 |
+
#: includes/admin/default-settings.php:721
|
588 |
msgid "Select this option if you plan to add your own styles"
|
589 |
msgstr ""
|
590 |
|
591 |
+
#: includes/admin/default-settings.php:725
|
592 |
msgid "Text only"
|
593 |
msgstr ""
|
594 |
|
595 |
+
#: includes/admin/default-settings.php:726
|
596 |
msgid "Disable thumbnails and no longer include the default style sheet"
|
597 |
msgstr ""
|
598 |
|
599 |
+
#: includes/admin/default-settings.php:730
|
600 |
msgid "Rounded thumbnails"
|
601 |
msgstr ""
|
602 |
|
603 |
+
#: includes/admin/default-settings.php:731
|
604 |
msgid ""
|
605 |
"Enabling this option will turn on the thumbnails and force their width and "
|
606 |
"height. It will also turn off the display of the author, excerpt and date if "
|
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: 2019-04-
|
7 |
"PO-Revision-Date: \n"
|
8 |
"Last-Translator: Ajay D'Souza\n"
|
9 |
"Language-Team: plugins@webberzone.com\n"
|
@@ -22,7 +22,7 @@ msgstr ""
|
|
22 |
msgid "Contextual Related Posts"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: includes/admin/admin.php:32 includes/admin/default-settings.php:
|
26 |
msgid "Related Posts"
|
27 |
msgstr ""
|
28 |
|
@@ -146,260 +146,270 @@ msgid ""
|
|
146 |
msgstr ""
|
147 |
|
148 |
#: includes/admin/default-settings.php:125
|
149 |
-
msgid "
|
150 |
msgstr ""
|
151 |
|
152 |
#: includes/admin/default-settings.php:126
|
153 |
msgid ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
"This will add the Contextual Related Posts metabox on Edit Posts or Add New "
|
155 |
"Posts screens. Also applies to Pages and Custom Post Types."
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: includes/admin/default-settings.php:
|
159 |
msgid "Limit meta box to Admins only"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: includes/admin/default-settings.php:
|
163 |
msgid ""
|
164 |
"If selected, the meta box will be hidden from anyone who is not an Admin. By "
|
165 |
"default, Contributors and above will be able to see the meta box. Applies "
|
166 |
"only if the above option is selected."
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: includes/admin/default-settings.php:
|
170 |
msgid "Link to Contextual Related Posts plugin page"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: includes/admin/default-settings.php:
|
174 |
msgid ""
|
175 |
"A no-follow link to the plugin homepage will be added as the last item of "
|
176 |
"the related posts."
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: includes/admin/default-settings.php:
|
180 |
msgid "Heading of posts"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: includes/admin/default-settings.php:
|
184 |
msgid "Displayed before the list of the posts as a master heading"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: includes/admin/default-settings.php:
|
188 |
msgid "Show when no posts are found"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: includes/admin/default-settings.php:
|
192 |
msgid "Blank output"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: includes/admin/default-settings.php:
|
196 |
msgid "Display custom text"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: includes/admin/default-settings.php:
|
200 |
msgid "Custom text"
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: includes/admin/default-settings.php:
|
204 |
msgid ""
|
205 |
"Enter the custom text that will be displayed if the second option is "
|
206 |
"selected above."
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: includes/admin/default-settings.php:
|
210 |
msgid "No related posts found"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: includes/admin/default-settings.php:
|
214 |
-
#: includes/admin/default-settings.php:
|
215 |
msgid "Show post excerpt"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: includes/admin/default-settings.php:
|
219 |
msgid ""
|
220 |
"If the post does not have an excerpt, the plugin will automatically create "
|
221 |
"one containing the number of words specified in the next option."
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: includes/admin/default-settings.php:
|
225 |
msgid "Length of excerpt (in words)"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: includes/admin/default-settings.php:
|
229 |
msgid "Show date"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: includes/admin/default-settings.php:
|
233 |
msgid ""
|
234 |
"Displays the date of the post. Uses the same date format set in General "
|
235 |
"Options."
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: includes/admin/default-settings.php:
|
239 |
msgid "Show author"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: includes/admin/default-settings.php:
|
243 |
msgid "Limit post title length (in characters)"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: includes/admin/default-settings.php:
|
247 |
msgid ""
|
248 |
"Any title longer than the number of characters set above will be cut and "
|
249 |
"appended with an ellipsis (…)"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: includes/admin/default-settings.php:
|
253 |
msgid "Open links in new window"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: includes/admin/default-settings.php:
|
257 |
msgid "Add nofollow to links"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: includes/admin/default-settings.php:
|
261 |
msgid "Exclusion settings"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: includes/admin/default-settings.php:
|
265 |
msgid "Exclude display on these posts"
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: includes/admin/default-settings.php:
|
269 |
msgid ""
|
270 |
"Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: includes/admin/default-settings.php:
|
274 |
msgid "Exclude display on these post types"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: includes/admin/default-settings.php:
|
278 |
msgid ""
|
279 |
"The related posts will not display on any of the above selected post types."
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: includes/admin/default-settings.php:
|
283 |
msgid "HTML to display"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: includes/admin/default-settings.php:
|
287 |
msgid "Before the list of posts"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: includes/admin/default-settings.php:
|
291 |
msgid "After the list of posts"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: includes/admin/default-settings.php:
|
295 |
msgid "Before each list item"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: includes/admin/default-settings.php:
|
299 |
msgid "After each list item"
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: includes/admin/default-settings.php:
|
303 |
-
#: includes/admin/default-settings.php:
|
304 |
msgid "Number of posts to display"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: includes/admin/default-settings.php:
|
308 |
msgid ""
|
309 |
"Maximum number of posts that will be displayed in the list. This option is "
|
310 |
"used if you don not specify the number of posts in the widget or shortcodes"
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: includes/admin/default-settings.php:
|
314 |
msgid "Related posts should be newer than"
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: includes/admin/default-settings.php:
|
318 |
msgid ""
|
319 |
"This sets the cut-off period for which posts will be displayed. e.g. setting "
|
320 |
"it to 365 will show related posts from the last year only. Set to 0 to "
|
321 |
"disable limiting posts by date."
|
322 |
msgstr ""
|
323 |
|
324 |
-
#: includes/admin/default-settings.php:
|
325 |
msgid "Randomize posts"
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: includes/admin/default-settings.php:
|
329 |
msgid ""
|
330 |
"This shuffles the top related posts. Does not work if the cache is enabled."
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: includes/admin/default-settings.php:
|
334 |
msgid "Related posts based on title and content"
|
335 |
msgstr ""
|
336 |
|
337 |
-
#: includes/admin/default-settings.php:
|
338 |
msgid ""
|
339 |
"If unchecked, only posts titles are used. Enable the cache if enabling this "
|
340 |
"option for better performance. Each site is different, so toggle this option "
|
341 |
"to see which setting gives you better quality related posts."
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: includes/admin/default-settings.php:
|
345 |
msgid "Limit content to be compared"
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: includes/admin/default-settings.php:
|
349 |
msgid ""
|
350 |
"This sets the maximum words of the content that will be matched. Set to 0 "
|
351 |
"for no limit. Max value: 2,000. Only applies if you activate the above "
|
352 |
"option."
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: includes/admin/default-settings.php:
|
356 |
#: includes/modules/class-crp-widget.php:126
|
357 |
msgid "Post types to include"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: includes/admin/default-settings.php:
|
361 |
msgid ""
|
362 |
"At least one option should be selected above. Select which post types you "
|
363 |
"want to include in the list of posts. This field can be overridden using a "
|
364 |
"comma separated list of post types when using the manual display."
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: includes/admin/default-settings.php:
|
368 |
msgid "Limit to same post type"
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: includes/admin/default-settings.php:
|
372 |
msgid ""
|
373 |
"If checked, the related posts will only be selected from the same post type "
|
374 |
"of the current post."
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: includes/admin/default-settings.php:
|
378 |
msgid "Post/page IDs to exclude"
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: includes/admin/default-settings.php:
|
382 |
msgid ""
|
383 |
"Comma-separated list of post or page IDs to exclude from the list. e.g. "
|
384 |
"188,320,500"
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: includes/admin/default-settings.php:
|
388 |
msgid "Exclude Categories"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: includes/admin/default-settings.php:
|
392 |
msgid ""
|
393 |
"Comma separated list of category slugs. The field above has an autocomplete "
|
394 |
"so simply start typing in the starting letters and it will prompt you with "
|
395 |
"options. Does not support custom taxonomies."
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: includes/admin/default-settings.php:
|
399 |
msgid "Exclude category IDs"
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: includes/admin/default-settings.php:
|
403 |
msgid ""
|
404 |
"This is a readonly field that is automatically populated based on the above "
|
405 |
"input when the settings are saved. These might differ from the IDs visible "
|
@@ -407,36 +417,36 @@ msgid ""
|
|
407 |
"the term_taxonomy_id which is unique to this taxonomy."
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: includes/admin/default-settings.php:
|
411 |
-
#: includes/admin/default-settings.php:
|
412 |
msgid "Location of the post thumbnail"
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: includes/admin/default-settings.php:
|
416 |
-
#: includes/admin/default-settings.php:
|
417 |
msgid "Display thumbnails inline with posts, before title"
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: includes/admin/default-settings.php:
|
421 |
-
#: includes/admin/default-settings.php:
|
422 |
msgid "Display thumbnails inline with posts, after title"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: includes/admin/default-settings.php:
|
426 |
-
#: includes/admin/default-settings.php:
|
427 |
msgid "Display only thumbnails, no text"
|
428 |
msgstr ""
|
429 |
|
430 |
-
#: includes/admin/default-settings.php:
|
431 |
-
#: includes/admin/default-settings.php:
|
432 |
msgid "Do not display thumbnails, only text"
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: includes/admin/default-settings.php:
|
436 |
msgid "Thumbnail size"
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: includes/admin/default-settings.php:
|
440 |
msgid ""
|
441 |
"You can choose from existing image sizes above or create a custom size. If "
|
442 |
"you have chosen Custom size above, then enter the width, height and crop "
|
@@ -444,125 +454,125 @@ msgid ""
|
|
444 |
"width and/or height below, existing images will not be automatically resized."
|
445 |
msgstr ""
|
446 |
|
447 |
-
#: includes/admin/default-settings.php:
|
448 |
#, php-format
|
449 |
msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: includes/admin/default-settings.php:
|
453 |
-
#: includes/admin/default-settings.php:
|
454 |
#: includes/modules/class-crp-widget.php:122
|
455 |
msgid "Thumbnail width"
|
456 |
msgstr ""
|
457 |
|
458 |
-
#: includes/admin/default-settings.php:
|
459 |
-
#: includes/admin/default-settings.php:
|
460 |
#: includes/modules/class-crp-widget.php:117
|
461 |
msgid "Thumbnail height"
|
462 |
msgstr ""
|
463 |
|
464 |
-
#: includes/admin/default-settings.php:
|
465 |
msgid "Hard crop thumbnails"
|
466 |
msgstr ""
|
467 |
|
468 |
-
#: includes/admin/default-settings.php:
|
469 |
msgid ""
|
470 |
"Check this box to hard crop the thumbnails. i.e. force the width and height "
|
471 |
"above vs. maintaining proportions."
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: includes/admin/default-settings.php:
|
475 |
msgid "Generate thumbnail sizes"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: includes/admin/default-settings.php:
|
479 |
msgid ""
|
480 |
"If you select this option and Custom size is selected above, the plugin will "
|
481 |
"register the image size with WordPress to create new thumbnails. Does not "
|
482 |
"update old images as explained above."
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: includes/admin/default-settings.php:
|
486 |
msgid "Thumbnail size attributes"
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: includes/admin/default-settings.php:
|
490 |
#, php-format
|
491 |
msgid "Use CSS to set the width and height: e.g. %s"
|
492 |
msgstr ""
|
493 |
|
494 |
-
#: includes/admin/default-settings.php:
|
495 |
#, php-format
|
496 |
msgid "Use HTML attributes to set the width and height: e.g. %s"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: includes/admin/default-settings.php:
|
500 |
msgid ""
|
501 |
"No width or height set. You will need to use external styles to force any "
|
502 |
"width or height of your choice."
|
503 |
msgstr ""
|
504 |
|
505 |
-
#: includes/admin/default-settings.php:
|
506 |
msgid "Thumbnail meta field name"
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: includes/admin/default-settings.php:
|
510 |
msgid ""
|
511 |
"The value of this field should contain the URL of the image and can be set "
|
512 |
"in the metabox in the Edit Post screen"
|
513 |
msgstr ""
|
514 |
|
515 |
-
#: includes/admin/default-settings.php:
|
516 |
msgid "Get first image"
|
517 |
msgstr ""
|
518 |
|
519 |
-
#: includes/admin/default-settings.php:
|
520 |
msgid ""
|
521 |
"The plugin will fetch the first image in the post content if this is "
|
522 |
"enabled. This can slow down the loading of your page if the first image in "
|
523 |
"the followed posts is large in file-size."
|
524 |
msgstr ""
|
525 |
|
526 |
-
#: includes/admin/default-settings.php:
|
527 |
msgid "Use default thumbnail?"
|
528 |
msgstr ""
|
529 |
|
530 |
-
#: includes/admin/default-settings.php:
|
531 |
msgid ""
|
532 |
"If checked, when no thumbnail is found, show a default one from the URL "
|
533 |
"below. If not checked and no thumbnail is found, no image will be shown."
|
534 |
msgstr ""
|
535 |
|
536 |
-
#: includes/admin/default-settings.php:
|
537 |
msgid "Default thumbnail"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: includes/admin/default-settings.php:
|
541 |
msgid ""
|
542 |
"Enter the full URL of the image that you wish to display if no thumbnail is "
|
543 |
"found. This image will be displayed below."
|
544 |
msgstr ""
|
545 |
|
546 |
-
#: includes/admin/default-settings.php:
|
547 |
msgid "Related Posts style"
|
548 |
msgstr ""
|
549 |
|
550 |
-
#: includes/admin/default-settings.php:
|
551 |
msgid "Custom CSS"
|
552 |
msgstr ""
|
553 |
|
554 |
-
#: includes/admin/default-settings.php:
|
555 |
#, php-format
|
556 |
msgid ""
|
557 |
"Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
|
558 |
"CSS classes to style."
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: includes/admin/default-settings.php:
|
562 |
msgid "About this tab"
|
563 |
msgstr ""
|
564 |
|
565 |
-
#: includes/admin/default-settings.php:
|
566 |
msgid ""
|
567 |
"Below options override the related posts settings for your blog feed. These "
|
568 |
"only apply if you have selected to add related posts to Feeds in the General "
|
@@ -570,27 +580,27 @@ msgid ""
|
|
570 |
"way to style the related posts in the feed."
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: includes/admin/default-settings.php:
|
574 |
msgid "No styles"
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: includes/admin/default-settings.php:
|
578 |
msgid "Select this option if you plan to add your own styles"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: includes/admin/default-settings.php:
|
582 |
msgid "Text only"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: includes/admin/default-settings.php:
|
586 |
msgid "Disable thumbnails and no longer include the default style sheet"
|
587 |
msgstr ""
|
588 |
|
589 |
-
#: includes/admin/default-settings.php:
|
590 |
msgid "Rounded thumbnails"
|
591 |
msgstr ""
|
592 |
|
593 |
-
#: includes/admin/default-settings.php:
|
594 |
msgid ""
|
595 |
"Enabling this option will turn on the thumbnails and force their width and "
|
596 |
"height. It will also turn off the display of the author, excerpt and date if "
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Contextual Related Posts\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2019-04-03 08:51+0100\n"
|
7 |
"PO-Revision-Date: \n"
|
8 |
"Last-Translator: Ajay D'Souza\n"
|
9 |
"Language-Team: plugins@webberzone.com\n"
|
22 |
msgid "Contextual Related Posts"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: includes/admin/admin.php:32 includes/admin/default-settings.php:179
|
26 |
msgid "Related Posts"
|
27 |
msgstr ""
|
28 |
|
146 |
msgstr ""
|
147 |
|
148 |
#: includes/admin/default-settings.php:125
|
149 |
+
msgid "Delete FULLTEXT indices on uninstall"
|
150 |
msgstr ""
|
151 |
|
152 |
#: includes/admin/default-settings.php:126
|
153 |
msgid ""
|
154 |
+
"If this is checked, FULTEXT indices generated by Contextual Related Posts "
|
155 |
+
"are removed from the database if you choose to uninstall/delete the plugin."
|
156 |
+
msgstr ""
|
157 |
+
|
158 |
+
#: includes/admin/default-settings.php:132
|
159 |
+
msgid "Show metabox"
|
160 |
+
msgstr ""
|
161 |
+
|
162 |
+
#: includes/admin/default-settings.php:133
|
163 |
+
msgid ""
|
164 |
"This will add the Contextual Related Posts metabox on Edit Posts or Add New "
|
165 |
"Posts screens. Also applies to Pages and Custom Post Types."
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: includes/admin/default-settings.php:139
|
169 |
msgid "Limit meta box to Admins only"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: includes/admin/default-settings.php:140
|
173 |
msgid ""
|
174 |
"If selected, the meta box will be hidden from anyone who is not an Admin. By "
|
175 |
"default, Contributors and above will be able to see the meta box. Applies "
|
176 |
"only if the above option is selected."
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: includes/admin/default-settings.php:146
|
180 |
msgid "Link to Contextual Related Posts plugin page"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: includes/admin/default-settings.php:147
|
184 |
msgid ""
|
185 |
"A no-follow link to the plugin homepage will be added as the last item of "
|
186 |
"the related posts."
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: includes/admin/default-settings.php:176
|
190 |
msgid "Heading of posts"
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: includes/admin/default-settings.php:177
|
194 |
msgid "Displayed before the list of the posts as a master heading"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: includes/admin/default-settings.php:184
|
198 |
msgid "Show when no posts are found"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: includes/admin/default-settings.php:190
|
202 |
msgid "Blank output"
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: includes/admin/default-settings.php:191
|
206 |
msgid "Display custom text"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: includes/admin/default-settings.php:196
|
210 |
msgid "Custom text"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: includes/admin/default-settings.php:197
|
214 |
msgid ""
|
215 |
"Enter the custom text that will be displayed if the second option is "
|
216 |
"selected above."
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: includes/admin/default-settings.php:199 includes/deprecated.php:185
|
220 |
msgid "No related posts found"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: includes/admin/default-settings.php:203
|
224 |
+
#: includes/admin/default-settings.php:614
|
225 |
msgid "Show post excerpt"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: includes/admin/default-settings.php:204
|
229 |
msgid ""
|
230 |
"If the post does not have an excerpt, the plugin will automatically create "
|
231 |
"one containing the number of words specified in the next option."
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: includes/admin/default-settings.php:210
|
235 |
msgid "Length of excerpt (in words)"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: includes/admin/default-settings.php:219
|
239 |
msgid "Show date"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: includes/admin/default-settings.php:220
|
243 |
msgid ""
|
244 |
"Displays the date of the post. Uses the same date format set in General "
|
245 |
"Options."
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: includes/admin/default-settings.php:226
|
249 |
msgid "Show author"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: includes/admin/default-settings.php:233
|
253 |
msgid "Limit post title length (in characters)"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: includes/admin/default-settings.php:234
|
257 |
msgid ""
|
258 |
"Any title longer than the number of characters set above will be cut and "
|
259 |
"appended with an ellipsis (…)"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: includes/admin/default-settings.php:241
|
263 |
msgid "Open links in new window"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: includes/admin/default-settings.php:248
|
267 |
msgid "Add nofollow to links"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: includes/admin/default-settings.php:255
|
271 |
msgid "Exclusion settings"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: includes/admin/default-settings.php:261
|
275 |
msgid "Exclude display on these posts"
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: includes/admin/default-settings.php:262
|
279 |
msgid ""
|
280 |
"Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: includes/admin/default-settings.php:268
|
284 |
msgid "Exclude display on these post types"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: includes/admin/default-settings.php:269
|
288 |
msgid ""
|
289 |
"The related posts will not display on any of the above selected post types."
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: includes/admin/default-settings.php:275
|
293 |
msgid "HTML to display"
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: includes/admin/default-settings.php:281
|
297 |
msgid "Before the list of posts"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: includes/admin/default-settings.php:288
|
301 |
msgid "After the list of posts"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: includes/admin/default-settings.php:295
|
305 |
msgid "Before each list item"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: includes/admin/default-settings.php:302
|
309 |
msgid "After each list item"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: includes/admin/default-settings.php:332
|
313 |
+
#: includes/admin/default-settings.php:605
|
314 |
msgid "Number of posts to display"
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: includes/admin/default-settings.php:333
|
318 |
msgid ""
|
319 |
"Maximum number of posts that will be displayed in the list. This option is "
|
320 |
"used if you don not specify the number of posts in the widget or shortcodes"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: includes/admin/default-settings.php:341
|
324 |
msgid "Related posts should be newer than"
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: includes/admin/default-settings.php:342
|
328 |
msgid ""
|
329 |
"This sets the cut-off period for which posts will be displayed. e.g. setting "
|
330 |
"it to 365 will show related posts from the last year only. Set to 0 to "
|
331 |
"disable limiting posts by date."
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: includes/admin/default-settings.php:349
|
335 |
msgid "Randomize posts"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: includes/admin/default-settings.php:350
|
339 |
msgid ""
|
340 |
"This shuffles the top related posts. Does not work if the cache is enabled."
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: includes/admin/default-settings.php:356
|
344 |
msgid "Related posts based on title and content"
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: includes/admin/default-settings.php:357
|
348 |
msgid ""
|
349 |
"If unchecked, only posts titles are used. Enable the cache if enabling this "
|
350 |
"option for better performance. Each site is different, so toggle this option "
|
351 |
"to see which setting gives you better quality related posts."
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: includes/admin/default-settings.php:363
|
355 |
msgid "Limit content to be compared"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: includes/admin/default-settings.php:364
|
359 |
msgid ""
|
360 |
"This sets the maximum words of the content that will be matched. Set to 0 "
|
361 |
"for no limit. Max value: 2,000. Only applies if you activate the above "
|
362 |
"option."
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: includes/admin/default-settings.php:372
|
366 |
#: includes/modules/class-crp-widget.php:126
|
367 |
msgid "Post types to include"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: includes/admin/default-settings.php:373
|
371 |
msgid ""
|
372 |
"At least one option should be selected above. Select which post types you "
|
373 |
"want to include in the list of posts. This field can be overridden using a "
|
374 |
"comma separated list of post types when using the manual display."
|
375 |
msgstr ""
|
376 |
|
377 |
+
#: includes/admin/default-settings.php:379
|
378 |
msgid "Limit to same post type"
|
379 |
msgstr ""
|
380 |
|
381 |
+
#: includes/admin/default-settings.php:380
|
382 |
msgid ""
|
383 |
"If checked, the related posts will only be selected from the same post type "
|
384 |
"of the current post."
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: includes/admin/default-settings.php:386
|
388 |
msgid "Post/page IDs to exclude"
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: includes/admin/default-settings.php:387
|
392 |
msgid ""
|
393 |
"Comma-separated list of post or page IDs to exclude from the list. e.g. "
|
394 |
"188,320,500"
|
395 |
msgstr ""
|
396 |
|
397 |
+
#: includes/admin/default-settings.php:393
|
398 |
msgid "Exclude Categories"
|
399 |
msgstr ""
|
400 |
|
401 |
+
#: includes/admin/default-settings.php:394
|
402 |
msgid ""
|
403 |
"Comma separated list of category slugs. The field above has an autocomplete "
|
404 |
"so simply start typing in the starting letters and it will prompt you with "
|
405 |
"options. Does not support custom taxonomies."
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: includes/admin/default-settings.php:405
|
409 |
msgid "Exclude category IDs"
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: includes/admin/default-settings.php:406
|
413 |
msgid ""
|
414 |
"This is a readonly field that is automatically populated based on the above "
|
415 |
"input when the settings are saved. These might differ from the IDs visible "
|
417 |
"the term_taxonomy_id which is unique to this taxonomy."
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: includes/admin/default-settings.php:436
|
421 |
+
#: includes/admin/default-settings.php:621
|
422 |
msgid "Location of the post thumbnail"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: includes/admin/default-settings.php:441
|
426 |
+
#: includes/admin/default-settings.php:626
|
427 |
msgid "Display thumbnails inline with posts, before title"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: includes/admin/default-settings.php:442
|
431 |
+
#: includes/admin/default-settings.php:627
|
432 |
msgid "Display thumbnails inline with posts, after title"
|
433 |
msgstr ""
|
434 |
|
435 |
+
#: includes/admin/default-settings.php:443
|
436 |
+
#: includes/admin/default-settings.php:628
|
437 |
msgid "Display only thumbnails, no text"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: includes/admin/default-settings.php:444
|
441 |
+
#: includes/admin/default-settings.php:629
|
442 |
msgid "Do not display thumbnails, only text"
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: includes/admin/default-settings.php:449
|
446 |
msgid "Thumbnail size"
|
447 |
msgstr ""
|
448 |
|
449 |
+
#: includes/admin/default-settings.php:450
|
450 |
msgid ""
|
451 |
"You can choose from existing image sizes above or create a custom size. If "
|
452 |
"you have chosen Custom size above, then enter the width, height and crop "
|
454 |
"width and/or height below, existing images will not be automatically resized."
|
455 |
msgstr ""
|
456 |
|
457 |
+
#: includes/admin/default-settings.php:452
|
458 |
#, php-format
|
459 |
msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
|
460 |
msgstr ""
|
461 |
|
462 |
+
#: includes/admin/default-settings.php:462
|
463 |
+
#: includes/admin/default-settings.php:634
|
464 |
#: includes/modules/class-crp-widget.php:122
|
465 |
msgid "Thumbnail width"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: includes/admin/default-settings.php:471
|
469 |
+
#: includes/admin/default-settings.php:643
|
470 |
#: includes/modules/class-crp-widget.php:117
|
471 |
msgid "Thumbnail height"
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: includes/admin/default-settings.php:480
|
475 |
msgid "Hard crop thumbnails"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: includes/admin/default-settings.php:481
|
479 |
msgid ""
|
480 |
"Check this box to hard crop the thumbnails. i.e. force the width and height "
|
481 |
"above vs. maintaining proportions."
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: includes/admin/default-settings.php:487
|
485 |
msgid "Generate thumbnail sizes"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: includes/admin/default-settings.php:488
|
489 |
msgid ""
|
490 |
"If you select this option and Custom size is selected above, the plugin will "
|
491 |
"register the image size with WordPress to create new thumbnails. Does not "
|
492 |
"update old images as explained above."
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: includes/admin/default-settings.php:494
|
496 |
msgid "Thumbnail size attributes"
|
497 |
msgstr ""
|
498 |
|
499 |
+
#: includes/admin/default-settings.php:500
|
500 |
#, php-format
|
501 |
msgid "Use CSS to set the width and height: e.g. %s"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: includes/admin/default-settings.php:502
|
505 |
#, php-format
|
506 |
msgid "Use HTML attributes to set the width and height: e.g. %s"
|
507 |
msgstr ""
|
508 |
|
509 |
+
#: includes/admin/default-settings.php:503
|
510 |
msgid ""
|
511 |
"No width or height set. You will need to use external styles to force any "
|
512 |
"width or height of your choice."
|
513 |
msgstr ""
|
514 |
|
515 |
+
#: includes/admin/default-settings.php:508
|
516 |
msgid "Thumbnail meta field name"
|
517 |
msgstr ""
|
518 |
|
519 |
+
#: includes/admin/default-settings.php:509
|
520 |
msgid ""
|
521 |
"The value of this field should contain the URL of the image and can be set "
|
522 |
"in the metabox in the Edit Post screen"
|
523 |
msgstr ""
|
524 |
|
525 |
+
#: includes/admin/default-settings.php:515
|
526 |
msgid "Get first image"
|
527 |
msgstr ""
|
528 |
|
529 |
+
#: includes/admin/default-settings.php:516
|
530 |
msgid ""
|
531 |
"The plugin will fetch the first image in the post content if this is "
|
532 |
"enabled. This can slow down the loading of your page if the first image in "
|
533 |
"the followed posts is large in file-size."
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: includes/admin/default-settings.php:522
|
537 |
msgid "Use default thumbnail?"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: includes/admin/default-settings.php:523
|
541 |
msgid ""
|
542 |
"If checked, when no thumbnail is found, show a default one from the URL "
|
543 |
"below. If not checked and no thumbnail is found, no image will be shown."
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: includes/admin/default-settings.php:529 includes/admin/settings-page.php:746
|
547 |
msgid "Default thumbnail"
|
548 |
msgstr ""
|
549 |
|
550 |
+
#: includes/admin/default-settings.php:530
|
551 |
msgid ""
|
552 |
"Enter the full URL of the image that you wish to display if no thumbnail is "
|
553 |
"found. This image will be displayed below."
|
554 |
msgstr ""
|
555 |
|
556 |
+
#: includes/admin/default-settings.php:560
|
557 |
msgid "Related Posts style"
|
558 |
msgstr ""
|
559 |
|
560 |
+
#: includes/admin/default-settings.php:568
|
561 |
msgid "Custom CSS"
|
562 |
msgstr ""
|
563 |
|
564 |
+
#: includes/admin/default-settings.php:570
|
565 |
#, php-format
|
566 |
msgid ""
|
567 |
"Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
|
568 |
"CSS classes to style."
|
569 |
msgstr ""
|
570 |
|
571 |
+
#: includes/admin/default-settings.php:599
|
572 |
msgid "About this tab"
|
573 |
msgstr ""
|
574 |
|
575 |
+
#: includes/admin/default-settings.php:600
|
576 |
msgid ""
|
577 |
"Below options override the related posts settings for your blog feed. These "
|
578 |
"only apply if you have selected to add related posts to Feeds in the General "
|
580 |
"way to style the related posts in the feed."
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: includes/admin/default-settings.php:720
|
584 |
msgid "No styles"
|
585 |
msgstr ""
|
586 |
|
587 |
+
#: includes/admin/default-settings.php:721
|
588 |
msgid "Select this option if you plan to add your own styles"
|
589 |
msgstr ""
|
590 |
|
591 |
+
#: includes/admin/default-settings.php:725
|
592 |
msgid "Text only"
|
593 |
msgstr ""
|
594 |
|
595 |
+
#: includes/admin/default-settings.php:726
|
596 |
msgid "Disable thumbnails and no longer include the default style sheet"
|
597 |
msgstr ""
|
598 |
|
599 |
+
#: includes/admin/default-settings.php:730
|
600 |
msgid "Rounded thumbnails"
|
601 |
msgstr ""
|
602 |
|
603 |
+
#: includes/admin/default-settings.php:731
|
604 |
msgid ""
|
605 |
"Enabling this option will turn on the thumbnails and force their width and "
|
606 |
"height. It will also turn off the display of the author, excerpt and date if "
|
readme.txt
CHANGED
@@ -183,6 +183,17 @@ In addition to the above, the shortcode takes every option that the plugin suppo
|
|
183 |
|
184 |
== Changelog ==
|
185 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
= 2.6.0 =
|
187 |
|
188 |
Release post: [https://wzn.io/2JZBZJy](https://wzn.io/2JZBZJy)
|
183 |
|
184 |
== Changelog ==
|
185 |
|
186 |
+
= 2.6.1 =
|
187 |
+
|
188 |
+
Release post: [https://wzn.io/2K2ohWB](https://wzn.io/2K2ohWB)
|
189 |
+
|
190 |
+
* Features:
|
191 |
+
* New options to delete options and/or data on uninstall. This will only work if you visit the Settings page and save the pages.
|
192 |
+
|
193 |
+
* Bug fixes:
|
194 |
+
* Custom CSS code should now be properly added to the header
|
195 |
+
* Upgrading settings when "Automatically add related posts to" had no options checked should work properly
|
196 |
+
|
197 |
= 2.6.0 =
|
198 |
|
199 |
Release post: [https://wzn.io/2JZBZJy](https://wzn.io/2JZBZJy)
|
uninstall.php
CHANGED
@@ -12,39 +12,41 @@ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
|
12 |
|
13 |
global $wpdb;
|
14 |
|
15 |
-
|
16 |
-
|
17 |
-
if ( ! is_multisite() ) {
|
18 |
-
|
19 |
-
$wpdb->query( "ALTER TABLE {$wpdb->posts} DROP INDEX crp_related" ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange
|
20 |
-
$wpdb->query( "ALTER TABLE {$wpdb->posts} DROP INDEX crp_related_title" ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange
|
21 |
-
$wpdb->query( "ALTER TABLE {$wpdb->posts} DROP INDEX crp_related_content" ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange
|
22 |
-
|
23 |
-
$wpdb->query( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange
|
24 |
-
"
|
25 |
-
DELETE FROM {$wpdb->postmeta}
|
26 |
-
WHERE meta_key LIKE 'crp_related_posts%'
|
27 |
-
"
|
28 |
-
);
|
29 |
-
|
30 |
-
delete_option( $option_name );
|
31 |
-
|
32 |
-
} else {
|
33 |
|
34 |
// Get all blogs in the network and activate plugin on each one.
|
35 |
-
$blogids = $wpdb->get_col( //
|
36 |
"
|
37 |
-
|
38 |
WHERE archived = '0' AND spam = '0' AND deleted = '0'
|
39 |
"
|
40 |
);
|
41 |
|
42 |
foreach ( $blogids as $blogid ) {
|
43 |
switch_to_blog( $blogid );
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
-
|
46 |
-
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
|
49 |
$wpdb->query( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange
|
50 |
"
|
@@ -52,13 +54,14 @@ if ( ! is_multisite() ) {
|
|
52 |
WHERE meta_key LIKE 'crp_related_posts%'
|
53 |
"
|
54 |
);
|
|
|
55 |
|
56 |
-
|
57 |
|
58 |
-
|
|
|
|
|
59 |
|
60 |
-
|
61 |
-
restore_current_blog();
|
62 |
|
63 |
}
|
64 |
-
|
12 |
|
13 |
global $wpdb;
|
14 |
|
15 |
+
if ( is_multisite() ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
// Get all blogs in the network and activate plugin on each one.
|
18 |
+
$blogids = $wpdb->get_col( //phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching
|
19 |
"
|
20 |
+
SELECT blog_id FROM $wpdb->blogs
|
21 |
WHERE archived = '0' AND spam = '0' AND deleted = '0'
|
22 |
"
|
23 |
);
|
24 |
|
25 |
foreach ( $blogids as $blogid ) {
|
26 |
switch_to_blog( $blogid );
|
27 |
+
crp_delete_data();
|
28 |
+
restore_current_blog();
|
29 |
+
}
|
30 |
+
} else {
|
31 |
+
crp_delete_data();
|
32 |
+
}
|
33 |
|
34 |
+
|
35 |
+
/**
|
36 |
+
* Delete plugin data.
|
37 |
+
*
|
38 |
+
* @since 2.6.1
|
39 |
+
*
|
40 |
+
* @return void
|
41 |
+
*/
|
42 |
+
function crp_delete_data() {
|
43 |
+
global $wpdb;
|
44 |
+
|
45 |
+
$settings = get_option( 'crp_settings' );
|
46 |
+
|
47 |
+
if ( ! empty( $settings['uninstall_options'] ) ) {
|
48 |
+
delete_option( 'ald_crp_settings' );
|
49 |
+
delete_option( 'crp_settings' );
|
50 |
|
51 |
$wpdb->query( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange
|
52 |
"
|
54 |
WHERE meta_key LIKE 'crp_related_posts%'
|
55 |
"
|
56 |
);
|
57 |
+
}
|
58 |
|
59 |
+
if ( ! empty( $settings['uninstall_indices'] ) ) {
|
60 |
|
61 |
+
$wpdb->query( "ALTER TABLE {$wpdb->posts} DROP INDEX crp_related" ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange
|
62 |
+
$wpdb->query( "ALTER TABLE {$wpdb->posts} DROP INDEX crp_related_title" ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange
|
63 |
+
$wpdb->query( "ALTER TABLE {$wpdb->posts} DROP INDEX crp_related_content" ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange
|
64 |
|
65 |
+
}
|
|
|
66 |
|
67 |
}
|
|