Version Description
Release post: https://wzn.io/2XUCur8
-
Features:
- Caching improvements: "Enable cache" has been renamed to "Cache HTML output". New option "Cache posts only" has been introduced to cache the output of the database query (array of posts)
- New option to order posts by relevance, dates or randomly
- New option to limit posts by the same author
- Thumbnail HTML markup includes
srcset
andsizes
attributes when available. Read Responsive Images in WordPress 4.4
-
Enhancements:
- No longer use
get_the_title
. You can usecrp_title
and/orcrp_thumb_title
filters to edit the post title and the alt/title attributes of the thumbnail respectively - Selecting Rounded thumbnails under Styles tab will allow your thumbnail setting to either be "inline before text" or "only thumbnails, no text"
- No longer use
Download this release
Release Info
Developer | Ajay |
Plugin | Contextual Related Posts |
Version | 2.7.0 |
Comparing to | |
See all releases |
Code changes from version 2.6.3 to 2.7.0
- README.md +1 -1
- changelog.txt +182 -0
- contextual-related-posts.php +1 -1
- includes/admin/default-settings.php +29 -3
- includes/admin/modules/cache.php +34 -0
- includes/admin/save-settings.php +6 -3
- includes/admin/settings-page.php +1 -1
- includes/main-query.php +63 -9
- includes/media.php +130 -47
- includes/modules/class-crp-widget.php +1 -0
- includes/output-generator.php +1 -1
- languages/contextual-related-posts-en_US.mo +0 -0
- languages/contextual-related-posts-en_US.po +173 -131
- languages/contextual-related-posts-en_US.pot +173 -131
- readme.txt +17 -185
README.md
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
|
9 |
__Requires:__ 4.7
|
10 |
|
11 |
-
__Tested up to:__ 5.
|
12 |
|
13 |
__License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
|
14 |
|
8 |
|
9 |
__Requires:__ 4.7
|
10 |
|
11 |
+
__Tested up to:__ 5.2
|
12 |
|
13 |
__License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
|
14 |
|
changelog.txt
CHANGED
@@ -2,6 +2,188 @@
|
|
2 |
|
3 |
This is an archive of older changelog entries. Most recent entries are maintained in readme.txt
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
= 1.9.1 =
|
6 |
* New: Meta box on the Edit Posts, Pages and custom post type pages to easily add the location of the URL of the thumbnail image
|
7 |
* Modified: Refined match title algorithm. Previously this would match the post title with both the title and content
|
2 |
|
3 |
This is an archive of older changelog entries. Most recent entries are maintained in readme.txt
|
4 |
|
5 |
+
= 2.5.1 =
|
6 |
+
|
7 |
+
* Features:
|
8 |
+
* New option to disable creation of thumbnails
|
9 |
+
|
10 |
+
* Enhancements:
|
11 |
+
* Do not delete index on activation
|
12 |
+
* crp_thumbnail image size will set the default crop option to true if not already set
|
13 |
+
|
14 |
+
* Bug fixes:
|
15 |
+
* Missing/Unknown PHP errors/warnings in the widget
|
16 |
+
* Minor CSS fixes
|
17 |
+
|
18 |
+
= 2.5.0 =
|
19 |
+
|
20 |
+
* Features:
|
21 |
+
* New option to disable related posts on mobile devices
|
22 |
+
* New option to disable related posts on AMP pages
|
23 |
+
|
24 |
+
* Enhancements:
|
25 |
+
* New filters `crp_thumb_alt` and `crp_thumb_title` to edit the post thumbnail alt and title tags. Use this to remove/replace the tags
|
26 |
+
* New function and filter `crp_permalink`
|
27 |
+
* Saving a post will delete its cache
|
28 |
+
|
29 |
+
* Bug fixes:
|
30 |
+
* Fixed CSS validation errors
|
31 |
+
* Removed conversion of table schema from/to InnoDB. If you are using a version of mySQL above v5.6, you can alter the table engine to use InnoDB with a FULLTEXT index
|
32 |
+
* Prevent errors from non-existent post id (virtual post). Contributed by [@jnorell](https://github.com/jnorell)
|
33 |
+
|
34 |
+
= 2.4.1 =
|
35 |
+
|
36 |
+
* Bug fixes:
|
37 |
+
* Reverted the "Automatically add related posts to" setting introduced in 2.4.0
|
38 |
+
* Metaboxes will now save when editting attachments
|
39 |
+
|
40 |
+
= 2.4.0 =
|
41 |
+
|
42 |
+
* Features:
|
43 |
+
* New option to randomize the related posts
|
44 |
+
* New option to limit related posts to the same post type
|
45 |
+
* "Automatically add related posts to" option applies to widgets
|
46 |
+
|
47 |
+
* Enhancements:
|
48 |
+
* `post_types` argument now takes a comma-separated list of post types. Default format when resaving options is also comma-separated
|
49 |
+
|
50 |
+
* Bug fixes:
|
51 |
+
* Trimming titles should now work with multibyte / non-English characters
|
52 |
+
|
53 |
+
* Deprecated:
|
54 |
+
* `crp_max_formatted_content` has been deprecated. Use `crp_trim_char` instead
|
55 |
+
|
56 |
+
= 2.3.1 =
|
57 |
+
|
58 |
+
* Bug fixes:
|
59 |
+
* Replaced `.crp_title` wrapper from `div` to `span`. Empty the cache via the settings page and also your browser cache
|
60 |
+
|
61 |
+
= 2.3.0 =
|
62 |
+
|
63 |
+
* Features:
|
64 |
+
* 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
|
65 |
+
* New option in metabox: "Exclude this post from the related posts list"
|
66 |
+
* New option: Insert after nth paragraph
|
67 |
+
|
68 |
+
* Enhancements:
|
69 |
+
* 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
|
70 |
+
* New constant `CRP_MAX_WORDS` (default 500) limits the post content to be compared. Add this to your `wp-config.php` file to overwrite
|
71 |
+
|
72 |
+
* Bug fixes:
|
73 |
+
* Language files initialisation had the wrong text domain
|
74 |
+
* Stop updating the thumb settings if the existing value isn't found. Caused incorrect changes in certain installations
|
75 |
+
* Force link text to white when using Rounded Thumb style
|
76 |
+
* The plugin will no longer generate any notices if post author is missing
|
77 |
+
|
78 |
+
* Deprecated:
|
79 |
+
* 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
|
80 |
+
* Deprecated `$crp_url`. Use the new constants `CRP_PLUGIN_DIR`, `CRP_PLUGIN_URL` and `CRP_PLUGIN_FILE`
|
81 |
+
|
82 |
+
= 2.2.3 =
|
83 |
+
|
84 |
+
* Enhancements:
|
85 |
+
* Changed text domain to `contextual-related-posts` in advance of translate.wordpress.org translation system
|
86 |
+
* 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
|
87 |
+
* 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
|
88 |
+
|
89 |
+
* Bug fixes:
|
90 |
+
* All cache entries were not deleted on uninstall
|
91 |
+
|
92 |
+
= 2.2.2 =
|
93 |
+
|
94 |
+
* Features:
|
95 |
+
* Preliminary support for WPML
|
96 |
+
|
97 |
+
* Enhancements:
|
98 |
+
* Recreate Index and Activation will not try to alter the table engine if not needed
|
99 |
+
|
100 |
+
* Bug fixes:
|
101 |
+
* All thumbnail classes were not properly applied + new thumbnail class filter
|
102 |
+
* Shortcode with "exclude_categories" argument works again
|
103 |
+
|
104 |
+
= 2.2.1 =
|
105 |
+
|
106 |
+
* Bug fixes:
|
107 |
+
* "No styles" would not get selected if "Rounded thumbnails' was enabled
|
108 |
+
* "Recreate Index" caused a fatal error: Call to undefined function `crp_single_activate()`
|
109 |
+
* Excerpt shortening was not working correctly
|
110 |
+
* Exclude categories wasn't working in some cases
|
111 |
+
* Additional check to see if default styles are off, then force No style
|
112 |
+
|
113 |
+
= 2.2.0 =
|
114 |
+
|
115 |
+
* Features:
|
116 |
+
* 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
|
117 |
+
* Choose between No style, Rounded thumbnails (previously called default style) and Text only style options under the Styles box in the plugin settings page
|
118 |
+
* 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
|
119 |
+
* Filter `crp_link_attributes` that allows a user to add or remove attributes for the `a` tag
|
120 |
+
* Notice is displayed at the top of the Settings page if there are any missing of the FULLTEXT indices missing
|
121 |
+
* Option in the Contextual Related Posts meta box to disable the related posts on the selected post
|
122 |
+
* Select post type in the Related Posts Widget
|
123 |
+
|
124 |
+
* Enhancements:
|
125 |
+
* Optimised number of queries for exclude categories option. Those not using this option will see the greatest savings
|
126 |
+
* 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.
|
127 |
+
* `strict_limit` argument in `get_crp_posts_id` is now TRUE by default
|
128 |
+
* `get_crp` takes an additional argument: `heading` (default is TRUE) that controls the display of the main heading (**Related Posts**)
|
129 |
+
* Output of `echo_crp` will be cached in a separate meta key
|
130 |
+
|
131 |
+
* Bug fixes:
|
132 |
+
* First child now gets the correct thumbnail size
|
133 |
+
|
134 |
+
* Deprecated:
|
135 |
+
* `ald_crp()` - `Use get_crp()` instead
|
136 |
+
* `ald_crp_content()` - `Use crp_content_filter()` instead
|
137 |
+
* `ald_crp_rss()` - `Use crp_rss_filter()` instead
|
138 |
+
* `echo_ald_crp()` - `Use echo_crp()` instead
|
139 |
+
|
140 |
+
= 2.1.1 =
|
141 |
+
|
142 |
+
* Enhancements:
|
143 |
+
* 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
|
144 |
+
|
145 |
+
= 2.1.0 =
|
146 |
+
|
147 |
+
* Features:
|
148 |
+
* Separate cache for related posts added to feeds. Prevents conflict with the cache for normal related posts
|
149 |
+
* Timthumb has been deprecated
|
150 |
+
* Setting "Related posts should be newer than:" to 0 to disable limiting posts by age
|
151 |
+
* Filters `crp_posts_match`, `crp_posts_now_date`, `crp_posts_from_date` to modify the WHERE clause
|
152 |
+
|
153 |
+
* Enhancements:
|
154 |
+
* `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
|
155 |
+
* Reset default thumbnail URL location to plugin default if the field is blank or only contains `/default.png`
|
156 |
+
* Meta-box will no longer be displayed on non-public post types
|
157 |
+
* For first image, the plugin will attempt to seek the correct thumbnail size if available
|
158 |
+
|
159 |
+
* Bug fixes:
|
160 |
+
* Author link was incorrectly displayed multiple times in the list when Show Author was enabled
|
161 |
+
* WP Notice Errors when using the Widget via the Customizer menu in WordPress
|
162 |
+
* Incorrect thumbnail was pulled on attachment pages
|
163 |
+
|
164 |
+
= 2.0.1 =
|
165 |
+
|
166 |
+
* Bug fixes:
|
167 |
+
* Clear Cache button which broke in 2.0.0
|
168 |
+
|
169 |
+
= 2.0.0 =
|
170 |
+
|
171 |
+
* Features:
|
172 |
+
* Multi-site support. Now you can Network Activate the plugin and all users will see related posts!
|
173 |
+
* 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>
|
174 |
+
* Completely filterable mySQL query to fetch the posts. You can write your own functions to filter the fields, orderby, groupby, join and limits clauses
|
175 |
+
|
176 |
+
* Enhancements:
|
177 |
+
* Lookup priority for thumbnails. The thumbnail URL set in the Contextual Related Posts meta box is given first priority
|
178 |
+
* Removed `border=0` attribute from `img` tag for HTML5 validation support
|
179 |
+
* Default option for timthumb is disabled
|
180 |
+
* Default option for post types to include is post and page
|
181 |
+
* `get_crp_posts` has been deprecated. See `get_crp_posts_id` instead
|
182 |
+
* Turning on the Default style will switch on thumbnails, correctly resize them and will also hide authors, excerpts and the post date
|
183 |
+
|
184 |
+
* Bug fixes:
|
185 |
+
* Post image will now be loaded over https if the visitor visits your site on https
|
186 |
+
|
187 |
= 1.9.1 =
|
188 |
* New: Meta box on the Edit Posts, Pages and custom post type pages to easily add the location of the URL of the thumbnail image
|
189 |
* Modified: Refined match title algorithm. Previously this would match the post title with both the title and content
|
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.
|
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.7.0
|
19 |
* Author: WebberZone
|
20 |
* Author URI: https://webberzone.com
|
21 |
* License: GPL-2.0+
|
includes/admin/default-settings.php
CHANGED
@@ -57,10 +57,17 @@ function crp_get_registered_settings() {
|
|
57 |
function crp_settings_general() {
|
58 |
|
59 |
$settings = array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
'cache' => array(
|
61 |
'id' => 'cache',
|
62 |
-
'name' => esc_html__( '
|
63 |
-
'desc' => esc_html__( 'Enabling this
|
64 |
'type' => 'checkbox',
|
65 |
'options' => false,
|
66 |
),
|
@@ -344,10 +351,22 @@ function crp_settings_list() {
|
|
344 |
'options' => '1095',
|
345 |
'min' => '0',
|
346 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
347 |
'random_order' => array(
|
348 |
'id' => 'random_order',
|
349 |
'name' => esc_html__( 'Randomize posts', 'contextual-related-posts' ),
|
350 |
-
'desc' => esc_html__( 'This shuffles the
|
351 |
'type' => 'checkbox',
|
352 |
'options' => false,
|
353 |
),
|
@@ -381,6 +400,13 @@ function crp_settings_list() {
|
|
381 |
'type' => 'checkbox',
|
382 |
'options' => false,
|
383 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
384 |
'exclude_post_ids' => array(
|
385 |
'id' => 'exclude_post_ids',
|
386 |
'name' => esc_html__( 'Post/page IDs to exclude', 'contextual-related-posts' ),
|
57 |
function crp_settings_general() {
|
58 |
|
59 |
$settings = array(
|
60 |
+
'cache_posts' => array(
|
61 |
+
'id' => 'cache_posts',
|
62 |
+
'name' => esc_html__( 'Cache posts only', 'contextual-related-posts' ),
|
63 |
+
'desc' => esc_html__( 'Enabling this will only cache the related posts but not the entire HTML output. This gives you more flexibility at marginally lower performance. Use this if you only have the related posts called with the same set of parameters.', 'contextual-related-posts' ),
|
64 |
+
'type' => 'checkbox',
|
65 |
+
'options' => false,
|
66 |
+
),
|
67 |
'cache' => array(
|
68 |
'id' => 'cache',
|
69 |
+
'name' => esc_html__( 'Cache HTML output', 'contextual-related-posts' ),
|
70 |
+
'desc' => esc_html__( 'Only works if the previous option is disabled. Enabling this will cache the entire HTML generated when the post is visited the first time. The cache is cleaned when you save this page. Highly recommended particularly on busy sites.', 'contextual-related-posts' ),
|
71 |
'type' => 'checkbox',
|
72 |
'options' => false,
|
73 |
),
|
351 |
'options' => '1095',
|
352 |
'min' => '0',
|
353 |
),
|
354 |
+
'ordering' => array(
|
355 |
+
'id' => 'ordering',
|
356 |
+
'name' => esc_html__( 'Order posts', 'contextual-related-posts' ),
|
357 |
+
'desc' => '',
|
358 |
+
'type' => 'radio',
|
359 |
+
'default' => 'relevance',
|
360 |
+
'options' => array(
|
361 |
+
'relevance' => esc_html__( 'By relevance', 'contextual-related-posts' ),
|
362 |
+
'random' => esc_html__( 'Randomly', 'contextual-related-posts' ),
|
363 |
+
'date' => esc_html__( 'By date', 'contextual-related-posts' ),
|
364 |
+
),
|
365 |
+
),
|
366 |
'random_order' => array(
|
367 |
'id' => 'random_order',
|
368 |
'name' => esc_html__( 'Randomize posts', 'contextual-related-posts' ),
|
369 |
+
'desc' => esc_html__( 'This shuffles the selected related posts. If you select to order by date in the previous option, then the related posts will first be sorted by date and the selected ones are shuffled. Does not work if Cache HTML output is enabled.', 'contextual-related-posts' ),
|
370 |
'type' => 'checkbox',
|
371 |
'options' => false,
|
372 |
),
|
400 |
'type' => 'checkbox',
|
401 |
'options' => false,
|
402 |
),
|
403 |
+
'same_author' => array(
|
404 |
+
'id' => 'same_author',
|
405 |
+
'name' => esc_html__( 'Limit to same author', 'contextual-related-posts' ),
|
406 |
+
'desc' => esc_html__( 'If checked, the related posts will only be selected from the same author of the current post.', 'contextual-related-posts' ),
|
407 |
+
'type' => 'checkbox',
|
408 |
+
'options' => false,
|
409 |
+
),
|
410 |
'exclude_post_ids' => array(
|
411 |
'id' => 'exclude_post_ids',
|
412 |
'name' => esc_html__( 'Post/page IDs to exclude', 'contextual-related-posts' ),
|
includes/admin/modules/cache.php
CHANGED
@@ -107,6 +107,8 @@ function crp_cache_get_keys() {
|
|
107 |
'crp_related_posts_manual',
|
108 |
);
|
109 |
|
|
|
|
|
110 |
/**
|
111 |
* Filters the array containing the various cache keys.
|
112 |
*
|
@@ -118,6 +120,38 @@ function crp_cache_get_keys() {
|
|
118 |
}
|
119 |
|
120 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
/**
|
122 |
* Function to clear cache on post save.
|
123 |
*
|
107 |
'crp_related_posts_manual',
|
108 |
);
|
109 |
|
110 |
+
$meta_keys = array_merge( $meta_keys, crp_cache_get_meta_keys() );
|
111 |
+
|
112 |
/**
|
113 |
* Filters the array containing the various cache keys.
|
114 |
*
|
120 |
}
|
121 |
|
122 |
|
123 |
+
/**
|
124 |
+
* Get the _crp_cache keys.
|
125 |
+
*
|
126 |
+
* @since 2.7.0
|
127 |
+
*
|
128 |
+
* @return array Array of _crp_cache keys.
|
129 |
+
*/
|
130 |
+
function crp_cache_get_meta_keys() {
|
131 |
+
global $wpdb;
|
132 |
+
|
133 |
+
$keys = array();
|
134 |
+
|
135 |
+
$sql = "
|
136 |
+
SELECT meta_key
|
137 |
+
FROM {$wpdb->postmeta}
|
138 |
+
WHERE `meta_key` LIKE '_crp_cache_%'
|
139 |
+
";
|
140 |
+
|
141 |
+
$results = $wpdb->get_results( $sql ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.PreparedSQL.NotPrepared
|
142 |
+
|
143 |
+
$keys = wp_list_pluck( $results, 'meta_key' );
|
144 |
+
|
145 |
+
/**
|
146 |
+
* Filter the array of _crp_cache keys.
|
147 |
+
*
|
148 |
+
* @since 2.7.0
|
149 |
+
*
|
150 |
+
* @return array Array of _crp_cache keys.
|
151 |
+
*/
|
152 |
+
return apply_filters( 'crp_cache_get_meta_keys', $keys );
|
153 |
+
}
|
154 |
+
|
155 |
/**
|
156 |
* Function to clear cache on post save.
|
157 |
*
|
includes/admin/save-settings.php
CHANGED
@@ -119,11 +119,11 @@ function crp_settings_sanitize( $input = array() ) {
|
|
119 |
|
120 |
// Overwrite settings if rounded thumbnail style is selected.
|
121 |
if ( 'rounded_thumbs' === $output['crp_styles'] ) {
|
122 |
-
add_settings_error( 'crp-notices', 'crp-styles', __( 'Rounded Thumbnails style selected. Post author, excerpt and date disabled. Thumbnail location set to inline before text
|
123 |
}
|
124 |
// Overwrite settings if text_only thumbnail style is selected.
|
125 |
if ( 'text_only' === $output['crp_styles'] ) {
|
126 |
-
add_settings_error( 'crp-notices', 'crp-styles', __( 'Text only style selected. Thumbnail location set to text only.
|
127 |
}
|
128 |
|
129 |
/**
|
@@ -340,7 +340,10 @@ function crp_change_settings_on_save( $settings ) {
|
|
340 |
$settings['show_excerpt'] = 0;
|
341 |
$settings['show_author'] = 0;
|
342 |
$settings['show_date'] = 0;
|
343 |
-
|
|
|
|
|
|
|
344 |
}
|
345 |
// Overwrite settings if text_only thumbnail style is selected.
|
346 |
if ( 'text_only' === $settings['crp_styles'] ) {
|
119 |
|
120 |
// Overwrite settings if rounded thumbnail style is selected.
|
121 |
if ( 'rounded_thumbs' === $output['crp_styles'] ) {
|
122 |
+
add_settings_error( 'crp-notices', 'crp-styles', __( 'Rounded Thumbnails style selected in Styles tab. Post author, excerpt and date disabled. Thumbnail location set to either "inline before text" or "only thumbnails, no text".', 'contextual-related-posts' ), 'updated' );
|
123 |
}
|
124 |
// Overwrite settings if text_only thumbnail style is selected.
|
125 |
if ( 'text_only' === $output['crp_styles'] ) {
|
126 |
+
add_settings_error( 'crp-notices', 'crp-styles', __( 'Text only style selected in Styles tab. Thumbnail location set to text only.', 'contextual-related-posts' ), 'updated' );
|
127 |
}
|
128 |
|
129 |
/**
|
340 |
$settings['show_excerpt'] = 0;
|
341 |
$settings['show_author'] = 0;
|
342 |
$settings['show_date'] = 0;
|
343 |
+
|
344 |
+
if ( 'inline' !== $settings['post_thumb_op'] && 'thumbs_only' !== $settings['post_thumb_op'] ) {
|
345 |
+
$settings['post_thumb_op'] = 'inline';
|
346 |
+
}
|
347 |
}
|
348 |
// Overwrite settings if text_only thumbnail style is selected.
|
349 |
if ( 'text_only' === $settings['crp_styles'] ) {
|
includes/admin/settings-page.php
CHANGED
@@ -678,7 +678,7 @@ function crp_tags_search() {
|
|
678 |
wp_die( 0 );
|
679 |
}
|
680 |
|
681 |
-
$taxonomy = sanitize_key( $_REQUEST['tax'] );
|
682 |
$tax = get_taxonomy( $taxonomy );
|
683 |
if ( ! $tax ) {
|
684 |
wp_die( 0 );
|
678 |
wp_die( 0 );
|
679 |
}
|
680 |
|
681 |
+
$taxonomy = sanitize_key( $_REQUEST['tax'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
|
682 |
$tax = get_taxonomy( $taxonomy );
|
683 |
if ( ! $tax ) {
|
684 |
wp_die( 0 );
|
includes/main-query.php
CHANGED
@@ -49,7 +49,7 @@ function get_crp( $args = array() ) {
|
|
49 |
}
|
50 |
|
51 |
// Support caching to speed up retrieval.
|
52 |
-
if ( ! empty( $args['cache'] ) ) {
|
53 |
$meta_key = 'crp_related_posts';
|
54 |
if ( $args['is_widget'] ) {
|
55 |
$meta_key .= '_widget';
|
@@ -89,7 +89,7 @@ function get_crp( $args = array() ) {
|
|
89 |
*/
|
90 |
$custom_template = apply_filters( 'crp_custom_template', null, $results, $args );
|
91 |
if ( ! empty( $custom_template ) ) {
|
92 |
-
if ( ! empty( $args['cache'] ) ) {
|
93 |
update_post_meta( $post->ID, $meta_key, $custom_template, '' );
|
94 |
}
|
95 |
return $custom_template;
|
@@ -224,7 +224,7 @@ function get_crp( $args = array() ) {
|
|
224 |
$output .= '</div>'; // Closing div of 'crp_related'.
|
225 |
|
226 |
// Support caching to speed up retrieval.
|
227 |
-
if ( ! empty( $args['cache'] ) ) {
|
228 |
update_post_meta( $post->ID, $meta_key, $output, '' );
|
229 |
}
|
230 |
|
@@ -263,7 +263,7 @@ function get_crp_posts_id( $args = array() ) {
|
|
263 |
|
264 |
$defaults = array(
|
265 |
'postid' => false, // Get related posts for a specific post ID.
|
266 |
-
'strict_limit' => true, // If this is set to false, then it will fetch
|
267 |
'offset' => 0, // Offset the related posts returned by this number.
|
268 |
);
|
269 |
$defaults = array_merge( $defaults, $crp_settings );
|
@@ -293,6 +293,13 @@ function get_crp_posts_id( $args = array() ) {
|
|
293 |
$source_post = $post;
|
294 |
}
|
295 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
296 |
$limit = ( $args['strict_limit'] ) ? $args['limit'] : ( $args['limit'] * 3 );
|
297 |
$offset = isset( $args['offset'] ) ? $args['offset'] : 0;
|
298 |
|
@@ -379,7 +386,12 @@ function get_crp_posts_id( $args = array() ) {
|
|
379 |
if ( is_int( $source_post->ID ) ) {
|
380 |
|
381 |
// Fields to return.
|
382 |
-
$fields = " $wpdb->posts.ID ";
|
|
|
|
|
|
|
|
|
|
|
383 |
|
384 |
// Create the base MATCH clause.
|
385 |
$match = $wpdb->prepare( ' AND MATCH (' . $match_fields . ') AGAINST (%s) ', $stuff ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
@@ -426,7 +438,11 @@ function get_crp_posts_id( $args = array() ) {
|
|
426 |
$where .= $now_clause;
|
427 |
$where .= $from_clause;
|
428 |
$where .= " AND $wpdb->posts.post_status = 'publish' "; // Only show published posts.
|
429 |
-
$where .= $wpdb->prepare( " AND {$wpdb->posts}.ID != %d ", $source_post->ID ); //
|
|
|
|
|
|
|
|
|
430 |
|
431 |
// Convert exclude post IDs string to array so it can be filtered.
|
432 |
$exclude_post_ids = explode( ',', $args['exclude_post_ids'] );
|
@@ -536,16 +552,41 @@ function get_crp_posts_id( $args = array() ) {
|
|
536 |
|
537 |
$sql = "SELECT DISTINCT $fields FROM $wpdb->posts $join WHERE 1=1 $where $groupby $having $orderby $limits";
|
538 |
|
539 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
540 |
|
541 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
542 |
$results_array = (array) $results;
|
543 |
shuffle( $results_array );
|
544 |
$results = (object) $results_array;
|
545 |
}
|
546 |
} else {
|
547 |
$results = false;
|
548 |
-
}
|
549 |
|
550 |
/**
|
551 |
* Filter object containing the post IDs.
|
@@ -557,3 +598,16 @@ function get_crp_posts_id( $args = array() ) {
|
|
557 |
return apply_filters( 'get_crp_posts_id', $results );
|
558 |
}
|
559 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
}
|
50 |
|
51 |
// Support caching to speed up retrieval.
|
52 |
+
if ( ! empty( $args['cache'] ) && empty( $args['cache_posts'] ) ) {
|
53 |
$meta_key = 'crp_related_posts';
|
54 |
if ( $args['is_widget'] ) {
|
55 |
$meta_key .= '_widget';
|
89 |
*/
|
90 |
$custom_template = apply_filters( 'crp_custom_template', null, $results, $args );
|
91 |
if ( ! empty( $custom_template ) ) {
|
92 |
+
if ( ! empty( $args['cache'] ) && empty( $args['cache_posts'] ) ) {
|
93 |
update_post_meta( $post->ID, $meta_key, $custom_template, '' );
|
94 |
}
|
95 |
return $custom_template;
|
224 |
$output .= '</div>'; // Closing div of 'crp_related'.
|
225 |
|
226 |
// Support caching to speed up retrieval.
|
227 |
+
if ( ! empty( $args['cache'] ) && empty( $args['cache_posts'] ) ) {
|
228 |
update_post_meta( $post->ID, $meta_key, $output, '' );
|
229 |
}
|
230 |
|
263 |
|
264 |
$defaults = array(
|
265 |
'postid' => false, // Get related posts for a specific post ID.
|
266 |
+
'strict_limit' => true, // If this is set to false, then it will fetch 3x posts.
|
267 |
'offset' => 0, // Offset the related posts returned by this number.
|
268 |
);
|
269 |
$defaults = array_merge( $defaults, $crp_settings );
|
293 |
$source_post = $post;
|
294 |
}
|
295 |
|
296 |
+
$random_order = ( $args['random_order'] || ( isset( $args['ordering'] ) && 'random' === $args['ordering'] ) ) ? true : false;
|
297 |
+
|
298 |
+
// If we need to order randomly then set strict_limit to false.
|
299 |
+
if ( $random_order ) {
|
300 |
+
$args['strict_limit'] = false;
|
301 |
+
}
|
302 |
+
|
303 |
$limit = ( $args['strict_limit'] ) ? $args['limit'] : ( $args['limit'] * 3 );
|
304 |
$offset = isset( $args['offset'] ) ? $args['offset'] : 0;
|
305 |
|
386 |
if ( is_int( $source_post->ID ) ) {
|
387 |
|
388 |
// Fields to return.
|
389 |
+
$fields = " $wpdb->posts.ID, $wpdb->posts.post_date ";
|
390 |
+
|
391 |
+
// Set order by in case of date.
|
392 |
+
if ( isset( $args['ordering'] ) && 'date' === $args['ordering'] ) {
|
393 |
+
$orderby = " $wpdb->posts.post_date ";
|
394 |
+
}
|
395 |
|
396 |
// Create the base MATCH clause.
|
397 |
$match = $wpdb->prepare( ' AND MATCH (' . $match_fields . ') AGAINST (%s) ', $stuff ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
438 |
$where .= $now_clause;
|
439 |
$where .= $from_clause;
|
440 |
$where .= " AND $wpdb->posts.post_status = 'publish' "; // Only show published posts.
|
441 |
+
$where .= $wpdb->prepare( " AND {$wpdb->posts}.ID != %d ", $source_post->ID ); // Don't include the current ID.
|
442 |
+
|
443 |
+
if ( isset( $args['same_author'] ) && $args['same_author'] ) {
|
444 |
+
$where .= $wpdb->prepare( " AND {$wpdb->posts}.post_author = %d ", $source_post->post_author ); // Show posts of same author.
|
445 |
+
}
|
446 |
|
447 |
// Convert exclude post IDs string to array so it can be filtered.
|
448 |
$exclude_post_ids = explode( ',', $args['exclude_post_ids'] );
|
552 |
|
553 |
$sql = "SELECT DISTINCT $fields FROM $wpdb->posts $join WHERE 1=1 $where $groupby $having $orderby $limits";
|
554 |
|
555 |
+
// Support caching to speed up retrieval.
|
556 |
+
if ( ! empty( $args['cache_posts'] ) ) {
|
557 |
+
|
558 |
+
$attr = array(
|
559 |
+
'offset' => $offset,
|
560 |
+
'limit' => $limit,
|
561 |
+
'same_author' => isset( $args['same_author'] ) && $args['same_author'],
|
562 |
+
'exclude_post_ids' => $exclude_post_ids,
|
563 |
+
'post_types' => join( "', '", $post_types ),
|
564 |
+
'order_by' => $orderby,
|
565 |
+
'is_ssl' => is_ssl(),
|
566 |
+
);
|
567 |
+
|
568 |
+
$meta_key = crp_cache_get_key( $attr );
|
569 |
|
570 |
+
$results = get_post_meta( $post->ID, $meta_key, true );
|
571 |
+
}
|
572 |
+
|
573 |
+
if ( empty( $results ) ) {
|
574 |
+
$results = $wpdb->get_results( $sql ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.PreparedSQL.NotPrepared
|
575 |
+
}
|
576 |
+
|
577 |
+
// Support caching to speed up retrieval.
|
578 |
+
if ( ! empty( $args['cache_posts'] ) ) {
|
579 |
+
update_post_meta( $post->ID, $meta_key, $results, '' );
|
580 |
+
}
|
581 |
+
|
582 |
+
if ( $random_order ) {
|
583 |
$results_array = (array) $results;
|
584 |
shuffle( $results_array );
|
585 |
$results = (object) $results_array;
|
586 |
}
|
587 |
} else {
|
588 |
$results = false;
|
589 |
+
}
|
590 |
|
591 |
/**
|
592 |
* Filter object containing the post IDs.
|
598 |
return apply_filters( 'get_crp_posts_id', $results );
|
599 |
}
|
600 |
|
601 |
+
|
602 |
+
/**
|
603 |
+
* Get the meta key based on a list of parameters.
|
604 |
+
*
|
605 |
+
* @param array $attr Array of attributes.
|
606 |
+
* @return string Cache meta key
|
607 |
+
*/
|
608 |
+
function crp_cache_get_key( $attr ) {
|
609 |
+
|
610 |
+
$meta_key = '_crp_cache_' . md5( wp_json_encode( $attr ) );
|
611 |
+
|
612 |
+
return $meta_key;
|
613 |
+
}
|
includes/media.php
CHANGED
@@ -78,17 +78,7 @@ function crp_get_the_post_thumbnail( $args = array() ) {
|
|
78 |
}
|
79 |
|
80 |
$result = get_post( $args['postid'] );
|
81 |
-
$post_title =
|
82 |
-
|
83 |
-
/**
|
84 |
-
* Filters the title and alt message for thumbnails.
|
85 |
-
*
|
86 |
-
* @since 2.2.2
|
87 |
-
*
|
88 |
-
* @param string $post_title Post tile used as thumbnail alt and title
|
89 |
-
* @param object $result Post Object
|
90 |
-
*/
|
91 |
-
$post_title = apply_filters( 'crp_thumb_title', $post_title, $result );
|
92 |
|
93 |
$output = '';
|
94 |
$postimage = '';
|
@@ -208,61 +198,42 @@ function crp_get_the_post_thumbnail( $args = array() ) {
|
|
208 |
$postimage = preg_replace( '~http://~', 'https://', $postimage );
|
209 |
}
|
210 |
|
211 |
-
|
212 |
-
$thumb_html = ' style="max-width:' . $args['thumb_width'] . 'px;max-height:' . $args['thumb_height'] . 'px;"';
|
213 |
-
} elseif ( 'html' === $args['thumb_html'] ) {
|
214 |
-
$thumb_html = ' width="' . $args['thumb_width'] . '" height="' . $args['thumb_height'] . '"';
|
215 |
-
} else {
|
216 |
-
$thumb_html = '';
|
217 |
-
}
|
218 |
|
219 |
/**
|
220 |
-
* Filters the thumbnail
|
221 |
*
|
222 |
-
* @since 2.2.
|
223 |
*
|
224 |
* @param string $thumb_html Thumbnail HTML
|
225 |
* @param array $args Argument array
|
226 |
*/
|
227 |
-
$
|
228 |
-
|
229 |
-
$img_alt = ' alt="' . $post_title . '"';
|
230 |
|
231 |
/**
|
232 |
-
* Filters the thumbnail alt
|
233 |
*
|
234 |
-
* @since
|
235 |
*
|
236 |
-
* @param
|
237 |
-
* @param
|
238 |
*/
|
239 |
-
$
|
240 |
-
|
241 |
-
$img_title = ' title="' . $post_title . '"';
|
242 |
|
243 |
/**
|
244 |
-
* Filters the thumbnail title
|
245 |
*
|
246 |
-
* @since
|
247 |
*
|
248 |
-
* @param
|
249 |
-
* @param array $args Argument array
|
250 |
*/
|
251 |
-
$
|
252 |
|
253 |
-
$
|
|
|
|
|
254 |
|
255 |
-
|
256 |
-
* Filters the thumbnail classes and allows a filter function to add any more classes if needed.
|
257 |
-
*
|
258 |
-
* @since 2.2.2
|
259 |
-
*
|
260 |
-
* @param string $thumb_html Thumbnail HTML
|
261 |
-
* @param array $args Argument array
|
262 |
-
*/
|
263 |
-
$class = apply_filters( 'crp_thumb_class', $class, $args );
|
264 |
-
|
265 |
-
$output .= '<img src="' . $postimage . '"' . $img_alt . $img_title . $thumb_html . ' class="' . $class . '" />';
|
266 |
}
|
267 |
|
268 |
/**
|
@@ -323,6 +294,118 @@ function crp_get_first_image( $post_id, $thumb_width, $thumb_height ) {
|
|
323 |
}
|
324 |
|
325 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
326 |
/**
|
327 |
* Function to get the attachment ID from the attachment URL.
|
328 |
*
|
78 |
}
|
79 |
|
80 |
$result = get_post( $args['postid'] );
|
81 |
+
$post_title = $result->post_title;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
$output = '';
|
84 |
$postimage = '';
|
198 |
$postimage = preg_replace( '~http://~', 'https://', $postimage );
|
199 |
}
|
200 |
|
201 |
+
$class = $args['class'] . ' crp_' . $pick;
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
|
203 |
/**
|
204 |
+
* Filters the thumbnail classes and allows a filter function to add any more classes if needed.
|
205 |
*
|
206 |
+
* @since 2.2.2
|
207 |
*
|
208 |
* @param string $thumb_html Thumbnail HTML
|
209 |
* @param array $args Argument array
|
210 |
*/
|
211 |
+
$attr['class'] = apply_filters( 'crp_thumb_class', $class, $args );
|
|
|
|
|
212 |
|
213 |
/**
|
214 |
+
* Filters the thumbnail alt.
|
215 |
*
|
216 |
+
* @since 2.5.0
|
217 |
*
|
218 |
+
* @param string $post_title Thumbnail alt attribute
|
219 |
+
* @param array $args Argument array
|
220 |
*/
|
221 |
+
$attr['alt'] = apply_filters( 'crp_thumb_alt', $post_title, $args );
|
|
|
|
|
222 |
|
223 |
/**
|
224 |
+
* Filters the thumbnail title.
|
225 |
*
|
226 |
+
* @since 2.6.0
|
227 |
*
|
228 |
+
* @param string $post_title Thumbnail title attribute
|
|
|
229 |
*/
|
230 |
+
$attr['title'] = apply_filters( 'crp_thumb_title', $post_title );
|
231 |
|
232 |
+
$attr['thumb_html'] = $args['thumb_html'];
|
233 |
+
$attr['thumb_width'] = $args['thumb_width'];
|
234 |
+
$attr['thumb_height'] = $args['thumb_height'];
|
235 |
|
236 |
+
$output .= crp_get_image_html( $postimage, $attr );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
}
|
238 |
|
239 |
/**
|
294 |
}
|
295 |
|
296 |
|
297 |
+
/**
|
298 |
+
* Get an HTML img element
|
299 |
+
*
|
300 |
+
* @since 2.7.0
|
301 |
+
*
|
302 |
+
* @param string $attachment_url Image URL.
|
303 |
+
* @param array $attr Attributes for the image markup.
|
304 |
+
* @return string HTML img element or empty string on failure.
|
305 |
+
*/
|
306 |
+
function crp_get_image_html( $attachment_url, $attr = array() ) {
|
307 |
+
|
308 |
+
// If there is no url, return.
|
309 |
+
if ( '' == $attachment_url ) { // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
|
310 |
+
return;
|
311 |
+
}
|
312 |
+
|
313 |
+
$default_attr = array(
|
314 |
+
'src' => $attachment_url,
|
315 |
+
'thumb_html' => crp_get_option( 'thumb_html', 'html' ),
|
316 |
+
'thumb_width' => crp_get_option( 'thumb_width', 150 ),
|
317 |
+
'thumb_height' => crp_get_option( 'thumb_height', 150 ),
|
318 |
+
);
|
319 |
+
|
320 |
+
$attr = wp_parse_args( $attr, $default_attr );
|
321 |
+
|
322 |
+
$hwstring = crp_get_image_hwstring( $attr );
|
323 |
+
|
324 |
+
// Generate 'srcset' and 'sizes' if not already present.
|
325 |
+
if ( empty( $attr['srcset'] ) ) {
|
326 |
+
$attachment_id = crp_get_attachment_id_from_url( $attachment_url );
|
327 |
+
$image_meta = wp_get_attachment_metadata( $attachment_id );
|
328 |
+
|
329 |
+
if ( is_array( $image_meta ) ) {
|
330 |
+
$size_array = array( absint( $attr['thumb_width'] ), absint( $attr['thumb_height'] ) );
|
331 |
+
$srcset = wp_calculate_image_srcset( $size_array, $attachment_url, $image_meta, $attachment_id );
|
332 |
+
$sizes = wp_calculate_image_sizes( $size_array, $attachment_url, $image_meta, $attachment_id );
|
333 |
+
|
334 |
+
if ( $srcset && ( $sizes || ! empty( $attr['sizes'] ) ) ) {
|
335 |
+
$attr['srcset'] = $srcset;
|
336 |
+
|
337 |
+
if ( empty( $attr['sizes'] ) ) {
|
338 |
+
$attr['sizes'] = $sizes;
|
339 |
+
}
|
340 |
+
}
|
341 |
+
}
|
342 |
+
}
|
343 |
+
|
344 |
+
// Unset attributes we don't want to display.
|
345 |
+
unset( $attr['thumb_html'] );
|
346 |
+
unset( $attr['thumb_width'] );
|
347 |
+
unset( $attr['thumb_height'] );
|
348 |
+
|
349 |
+
/**
|
350 |
+
* Filters the list of attachment image attributes.
|
351 |
+
*
|
352 |
+
* @since 2.7.0
|
353 |
+
*
|
354 |
+
* @param array $attr Attributes for the image markup.
|
355 |
+
* @param string $attachment_url Image URL.
|
356 |
+
*/
|
357 |
+
$attr = apply_filters( 'crp_get_image_attributes', $attr, $attachment_url );
|
358 |
+
$attr = array_map( 'esc_attr', $attr );
|
359 |
+
|
360 |
+
$html = '<img ' . $hwstring;
|
361 |
+
foreach ( $attr as $name => $value ) {
|
362 |
+
$html .= " $name=" . '"' . $value . '"';
|
363 |
+
}
|
364 |
+
$html .= ' />';
|
365 |
+
|
366 |
+
return apply_filters( 'crp_get_image_html', $html );
|
367 |
+
}
|
368 |
+
|
369 |
+
|
370 |
+
/**
|
371 |
+
* Retrieve width and height attributes using given width and height values.
|
372 |
+
*
|
373 |
+
* @since 2.7.0
|
374 |
+
*
|
375 |
+
* @param array $args Argument array.
|
376 |
+
*
|
377 |
+
* @return string Height-width string.
|
378 |
+
*/
|
379 |
+
function crp_get_image_hwstring( $args = array() ) {
|
380 |
+
|
381 |
+
$default_args = array(
|
382 |
+
'thumb_html' => crp_get_option( 'thumb_html', 'html' ),
|
383 |
+
'thumb_width' => crp_get_option( 'thumb_width', 150 ),
|
384 |
+
'thumb_height' => crp_get_option( 'thumb_height', 150 ),
|
385 |
+
);
|
386 |
+
|
387 |
+
$args = wp_parse_args( $args, $default_args );
|
388 |
+
|
389 |
+
if ( 'css' === $args['thumb_html'] ) {
|
390 |
+
$thumb_html = ' style="max-width:' . $args['thumb_width'] . 'px;max-height:' . $args['thumb_height'] . 'px;" ';
|
391 |
+
} elseif ( 'html' === $args['thumb_html'] ) {
|
392 |
+
$thumb_html = ' width="' . $args['thumb_width'] . '" height="' . $args['thumb_height'] . '" ';
|
393 |
+
} else {
|
394 |
+
$thumb_html = '';
|
395 |
+
}
|
396 |
+
|
397 |
+
/**
|
398 |
+
* Filters the thumbnail HTML and allows a filter function to add any more HTML if needed.
|
399 |
+
*
|
400 |
+
* @since 2.2.0
|
401 |
+
*
|
402 |
+
* @param string $thumb_html Thumbnail HTML.
|
403 |
+
* @param array $args Argument array.
|
404 |
+
*/
|
405 |
+
return apply_filters( 'crp_thumb_html', $thumb_html, $args );
|
406 |
+
}
|
407 |
+
|
408 |
+
|
409 |
/**
|
410 |
* Function to get the attachment ID from the attachment URL.
|
411 |
*
|
includes/modules/class-crp-widget.php
CHANGED
@@ -261,6 +261,7 @@ class CRP_Widget extends WP_Widget {
|
|
261 |
|
262 |
$arguments = array(
|
263 |
'is_widget' => 1,
|
|
|
264 |
'limit' => $limit,
|
265 |
'offset' => $offset,
|
266 |
'show_excerpt' => $show_excerpt,
|
261 |
|
262 |
$arguments = array(
|
263 |
'is_widget' => 1,
|
264 |
+
'instance_id' => $this->number,
|
265 |
'limit' => $limit,
|
266 |
'offset' => $offset,
|
267 |
'show_excerpt' => $show_excerpt,
|
includes/output-generator.php
CHANGED
@@ -194,7 +194,7 @@ function crp_after_list_item( $args, $result ) {
|
|
194 |
*/
|
195 |
function crp_title( $args, $result ) {
|
196 |
|
197 |
-
$title = crp_trim_char(
|
198 |
|
199 |
/**
|
200 |
* Filter the title of each list item.
|
194 |
*/
|
195 |
function crp_title( $args, $result ) {
|
196 |
|
197 |
+
$title = crp_trim_char( $result->post_title, $args['title_length'] ); // Get the post title and crop it if needed.
|
198 |
|
199 |
/**
|
200 |
* Filter the title of each list item.
|
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-
|
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 |
|
@@ -47,369 +47,412 @@ msgid ""
|
|
47 |
msgstr ""
|
48 |
|
49 |
#: includes/admin/default-settings.php:62
|
50 |
-
msgid "
|
51 |
msgstr ""
|
52 |
|
53 |
#: includes/admin/default-settings.php:63
|
54 |
msgid ""
|
55 |
-
"Enabling this
|
56 |
-
"
|
|
|
|
|
57 |
msgstr ""
|
58 |
|
59 |
#: includes/admin/default-settings.php:69
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
msgid "Automatically add related posts to"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: includes/admin/default-settings.php:
|
64 |
#, php-format
|
65 |
msgid ""
|
66 |
"If you choose to disable this, please add %1$s to your template file where "
|
67 |
"you want it displayed"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: includes/admin/default-settings.php:
|
71 |
msgid "Posts"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: includes/admin/default-settings.php:
|
75 |
msgid "Pages"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: includes/admin/default-settings.php:
|
79 |
msgid "Home page"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: includes/admin/default-settings.php:
|
83 |
msgid "Feeds"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: includes/admin/default-settings.php:
|
87 |
msgid "Category archives"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: includes/admin/default-settings.php:
|
91 |
msgid "Tag archives"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: includes/admin/default-settings.php:
|
95 |
msgid "Other archives"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: includes/admin/default-settings.php:
|
99 |
msgid "Display location priority"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: includes/admin/default-settings.php:
|
103 |
msgid ""
|
104 |
"Select the relative position of the related posts in the post content. A "
|
105 |
"higher number pushes the related posts later in the content. Any number "
|
106 |
"below 10 is not recommended."
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: includes/admin/default-settings.php:
|
110 |
msgid "Insert after paragraph number"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: includes/admin/default-settings.php:
|
114 |
msgid ""
|
115 |
"Enter 0 to display the related posts before the post content, -1 to display "
|
116 |
"this at the end or a number to insert it after that paragraph number. If "
|
117 |
"your post has less paragraphs, related posts will be displayed at the end."
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: includes/admin/default-settings.php:
|
121 |
msgid "Disable on mobile devices"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: includes/admin/default-settings.php:
|
125 |
msgid ""
|
126 |
"Disable display of related posts on mobile devices. Might not always work "
|
127 |
"with caching plugins."
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: includes/admin/default-settings.php:
|
131 |
msgid "Disable on AMP pages"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: includes/admin/default-settings.php:
|
135 |
msgid "Disable display of related posts on AMP pages."
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: includes/admin/default-settings.php:
|
139 |
msgid "Delete options on uninstall"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: includes/admin/default-settings.php:
|
143 |
msgid ""
|
144 |
"If this is checked, all settings related to Contextual Related Posts are "
|
145 |
"removed from the database if you choose to uninstall/delete the plugin."
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: includes/admin/default-settings.php:
|
149 |
msgid "Delete FULLTEXT indices on uninstall"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: includes/admin/default-settings.php:
|
153 |
msgid ""
|
154 |
"If this is checked, FULLTEXT 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:
|
159 |
msgid "Show metabox"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: includes/admin/default-settings.php:
|
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:
|
169 |
msgid "Limit meta box to Admins only"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: includes/admin/default-settings.php:
|
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:
|
180 |
msgid "Link to Contextual Related Posts plugin page"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: includes/admin/default-settings.php:
|
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:
|
190 |
msgid "Heading of posts"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: includes/admin/default-settings.php:
|
194 |
msgid "Displayed before the list of the posts as a master heading"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: includes/admin/default-settings.php:
|
198 |
msgid "Show when no posts are found"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: includes/admin/default-settings.php:
|
202 |
msgid "Blank output"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: includes/admin/default-settings.php:
|
206 |
msgid "Display custom text"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: includes/admin/default-settings.php:
|
210 |
msgid "Custom text"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: includes/admin/default-settings.php:
|
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:
|
220 |
msgid "No related posts found"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: includes/admin/default-settings.php:
|
224 |
-
#: includes/admin/default-settings.php:
|
225 |
msgid "Show post excerpt"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: includes/admin/default-settings.php:
|
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:
|
235 |
msgid "Length of excerpt (in words)"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: includes/admin/default-settings.php:
|
239 |
msgid "Show date"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: includes/admin/default-settings.php:
|
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:
|
249 |
msgid "Show author"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: includes/admin/default-settings.php:
|
253 |
msgid "Limit post title length (in characters)"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: includes/admin/default-settings.php:
|
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:
|
263 |
msgid "Open links in new window"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: includes/admin/default-settings.php:
|
267 |
msgid "Add nofollow to links"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: includes/admin/default-settings.php:
|
271 |
msgid "Exclusion settings"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: includes/admin/default-settings.php:
|
275 |
msgid "Exclude display on these posts"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: includes/admin/default-settings.php:
|
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:
|
284 |
msgid "Exclude display on these post types"
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: includes/admin/default-settings.php:
|
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:
|
293 |
msgid "HTML to display"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: includes/admin/default-settings.php:
|
297 |
msgid "Before the list of posts"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: includes/admin/default-settings.php:
|
301 |
msgid "After the list of posts"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: includes/admin/default-settings.php:
|
305 |
msgid "Before each list item"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: includes/admin/default-settings.php:
|
309 |
msgid "After each list item"
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: includes/admin/default-settings.php:
|
313 |
-
#: includes/admin/default-settings.php:
|
314 |
msgid "Number of posts to display"
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: includes/admin/default-settings.php:
|
318 |
msgid ""
|
319 |
"Maximum number of posts that will be displayed in the list. This option is "
|
320 |
"used if you do not specify the number of posts in the widget or shortcodes"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: includes/admin/default-settings.php:
|
324 |
msgid "Related posts should be newer than"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: includes/admin/default-settings.php:
|
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:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
335 |
msgid "Randomize posts"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: includes/admin/default-settings.php:
|
339 |
msgid ""
|
340 |
-
"This shuffles the
|
|
|
|
|
|
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: includes/admin/default-settings.php:
|
344 |
msgid "Related posts based on title and content"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: includes/admin/default-settings.php:
|
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:
|
355 |
msgid "Limit content to be compared"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: includes/admin/default-settings.php:
|
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:
|
366 |
#: includes/modules/class-crp-widget.php:126
|
367 |
msgid "Post types to include"
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: includes/admin/default-settings.php:
|
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:
|
378 |
msgid "Limit to same post type"
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: includes/admin/default-settings.php:
|
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:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
388 |
msgid "Post/page IDs to exclude"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: includes/admin/default-settings.php:
|
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:
|
398 |
msgid "Exclude Categories"
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: includes/admin/default-settings.php:
|
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:
|
409 |
msgid "Exclude category IDs"
|
410 |
msgstr ""
|
411 |
|
412 |
-
#: includes/admin/default-settings.php:
|
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,36 +460,36 @@ msgid ""
|
|
417 |
"the term_taxonomy_id which is unique to this taxonomy."
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: includes/admin/default-settings.php:
|
421 |
-
#: includes/admin/default-settings.php:
|
422 |
msgid "Location of the post thumbnail"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: includes/admin/default-settings.php:
|
426 |
-
#: includes/admin/default-settings.php:
|
427 |
msgid "Display thumbnails inline with posts, before title"
|
428 |
msgstr ""
|
429 |
|
430 |
-
#: includes/admin/default-settings.php:
|
431 |
-
#: includes/admin/default-settings.php:
|
432 |
msgid "Display thumbnails inline with posts, after title"
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: includes/admin/default-settings.php:
|
436 |
-
#: includes/admin/default-settings.php:
|
437 |
msgid "Display only thumbnails, no text"
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: includes/admin/default-settings.php:
|
441 |
-
#: includes/admin/default-settings.php:
|
442 |
msgid "Do not display thumbnails, only text"
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: includes/admin/default-settings.php:
|
446 |
msgid "Thumbnail size"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: includes/admin/default-settings.php:
|
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,125 +497,125 @@ msgid ""
|
|
454 |
"width and/or height below, existing images will not be automatically resized."
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: includes/admin/default-settings.php:
|
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:
|
463 |
-
#: includes/admin/default-settings.php:
|
464 |
#: includes/modules/class-crp-widget.php:122
|
465 |
msgid "Thumbnail width"
|
466 |
msgstr ""
|
467 |
|
468 |
-
#: includes/admin/default-settings.php:
|
469 |
-
#: includes/admin/default-settings.php:
|
470 |
#: includes/modules/class-crp-widget.php:117
|
471 |
msgid "Thumbnail height"
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: includes/admin/default-settings.php:
|
475 |
msgid "Hard crop thumbnails"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: includes/admin/default-settings.php:
|
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:
|
485 |
msgid "Generate thumbnail sizes"
|
486 |
msgstr ""
|
487 |
|
488 |
-
#: includes/admin/default-settings.php:
|
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:
|
496 |
msgid "Thumbnail size attributes"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: includes/admin/default-settings.php:
|
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:
|
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:
|
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:
|
516 |
msgid "Thumbnail meta field name"
|
517 |
msgstr ""
|
518 |
|
519 |
-
#: includes/admin/default-settings.php:
|
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:
|
526 |
msgid "Get first image"
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: includes/admin/default-settings.php:
|
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:
|
537 |
msgid "Use default thumbnail?"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: includes/admin/default-settings.php:
|
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:
|
547 |
msgid "Default thumbnail"
|
548 |
msgstr ""
|
549 |
|
550 |
-
#: includes/admin/default-settings.php:
|
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:
|
557 |
msgid "Related Posts style"
|
558 |
msgstr ""
|
559 |
|
560 |
-
#: includes/admin/default-settings.php:
|
561 |
msgid "Custom CSS"
|
562 |
msgstr ""
|
563 |
|
564 |
-
#: includes/admin/default-settings.php:
|
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:
|
572 |
msgid "About this tab"
|
573 |
msgstr ""
|
574 |
|
575 |
-
#: includes/admin/default-settings.php:
|
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,27 +623,27 @@ msgid ""
|
|
580 |
"way to style the related posts in the feed."
|
581 |
msgstr ""
|
582 |
|
583 |
-
#: includes/admin/default-settings.php:
|
584 |
msgid "No styles"
|
585 |
msgstr ""
|
586 |
|
587 |
-
#: includes/admin/default-settings.php:
|
588 |
msgid "Select this option if you plan to add your own styles"
|
589 |
msgstr ""
|
590 |
|
591 |
-
#: includes/admin/default-settings.php:
|
592 |
msgid "Text only"
|
593 |
msgstr ""
|
594 |
|
595 |
-
#: includes/admin/default-settings.php:
|
596 |
msgid "Disable thumbnails and no longer include the default style sheet"
|
597 |
msgstr ""
|
598 |
|
599 |
-
#: includes/admin/default-settings.php:
|
600 |
msgid "Rounded thumbnails"
|
601 |
msgstr ""
|
602 |
|
603 |
-
#: includes/admin/default-settings.php:
|
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 "
|
@@ -894,15 +937,14 @@ msgstr ""
|
|
894 |
|
895 |
#: includes/admin/save-settings.php:122
|
896 |
msgid ""
|
897 |
-
"Rounded Thumbnails style selected. Post author, excerpt and
|
898 |
-
"Thumbnail location set to inline before text
|
899 |
-
"
|
900 |
msgstr ""
|
901 |
|
902 |
#: includes/admin/save-settings.php:126
|
903 |
msgid ""
|
904 |
-
"Text only style selected. Thumbnail location set to text only.
|
905 |
-
"change this under the Styles tab."
|
906 |
msgstr ""
|
907 |
|
908 |
#: includes/admin/settings-page.php:32
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2019-06-16 13:27+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:186
|
26 |
msgid "Related Posts"
|
27 |
msgstr ""
|
28 |
|
47 |
msgstr ""
|
48 |
|
49 |
#: includes/admin/default-settings.php:62
|
50 |
+
msgid "Cache posts only"
|
51 |
msgstr ""
|
52 |
|
53 |
#: includes/admin/default-settings.php:63
|
54 |
msgid ""
|
55 |
+
"Enabling this will only cache the related posts but not the entire HTML "
|
56 |
+
"output. This gives you more flexibility at marginally lower performance. Use "
|
57 |
+
"this if you only have the related posts called with the same set of "
|
58 |
+
"parameters."
|
59 |
msgstr ""
|
60 |
|
61 |
#: includes/admin/default-settings.php:69
|
62 |
+
msgid "Cache HTML output"
|
63 |
+
msgstr ""
|
64 |
+
|
65 |
+
#: includes/admin/default-settings.php:70
|
66 |
+
msgid ""
|
67 |
+
"Only works if the previous option is disabled. Enabling this will cache the "
|
68 |
+
"entire HTML generated when the post is visited the first time. The cache is "
|
69 |
+
"cleaned when you save this page. Highly recommended particularly on busy "
|
70 |
+
"sites."
|
71 |
+
msgstr ""
|
72 |
+
|
73 |
+
#: includes/admin/default-settings.php:76
|
74 |
msgid "Automatically add related posts to"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: includes/admin/default-settings.php:78
|
78 |
#, php-format
|
79 |
msgid ""
|
80 |
"If you choose to disable this, please add %1$s to your template file where "
|
81 |
"you want it displayed"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: includes/admin/default-settings.php:85
|
85 |
msgid "Posts"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: includes/admin/default-settings.php:86
|
89 |
msgid "Pages"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: includes/admin/default-settings.php:87
|
93 |
msgid "Home page"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: includes/admin/default-settings.php:88
|
97 |
msgid "Feeds"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: includes/admin/default-settings.php:89
|
101 |
msgid "Category archives"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: includes/admin/default-settings.php:90
|
105 |
msgid "Tag archives"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: includes/admin/default-settings.php:91
|
109 |
msgid "Other archives"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: includes/admin/default-settings.php:96
|
113 |
msgid "Display location priority"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: includes/admin/default-settings.php:97
|
117 |
msgid ""
|
118 |
"Select the relative position of the related posts in the post content. A "
|
119 |
"higher number pushes the related posts later in the content. Any number "
|
120 |
"below 10 is not recommended."
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: includes/admin/default-settings.php:103
|
124 |
msgid "Insert after paragraph number"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: includes/admin/default-settings.php:104
|
128 |
msgid ""
|
129 |
"Enter 0 to display the related posts before the post content, -1 to display "
|
130 |
"this at the end or a number to insert it after that paragraph number. If "
|
131 |
"your post has less paragraphs, related posts will be displayed at the end."
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: includes/admin/default-settings.php:111
|
135 |
msgid "Disable on mobile devices"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: includes/admin/default-settings.php:112
|
139 |
msgid ""
|
140 |
"Disable display of related posts on mobile devices. Might not always work "
|
141 |
"with caching plugins."
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: includes/admin/default-settings.php:118
|
145 |
msgid "Disable on AMP pages"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: includes/admin/default-settings.php:119
|
149 |
msgid "Disable display of related posts on AMP pages."
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: includes/admin/default-settings.php:125
|
153 |
msgid "Delete options on uninstall"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: includes/admin/default-settings.php:126
|
157 |
msgid ""
|
158 |
"If this is checked, all settings related to Contextual Related Posts are "
|
159 |
"removed from the database if you choose to uninstall/delete the plugin."
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: includes/admin/default-settings.php:132
|
163 |
msgid "Delete FULLTEXT indices on uninstall"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: includes/admin/default-settings.php:133
|
167 |
msgid ""
|
168 |
"If this is checked, FULLTEXT indices generated by Contextual Related Posts "
|
169 |
"are removed from the database if you choose to uninstall/delete the plugin."
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: includes/admin/default-settings.php:139
|
173 |
msgid "Show metabox"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: includes/admin/default-settings.php:140
|
177 |
msgid ""
|
178 |
"This will add the Contextual Related Posts metabox on Edit Posts or Add New "
|
179 |
"Posts screens. Also applies to Pages and Custom Post Types."
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: includes/admin/default-settings.php:146
|
183 |
msgid "Limit meta box to Admins only"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: includes/admin/default-settings.php:147
|
187 |
msgid ""
|
188 |
"If selected, the meta box will be hidden from anyone who is not an Admin. By "
|
189 |
"default, Contributors and above will be able to see the meta box. Applies "
|
190 |
"only if the above option is selected."
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: includes/admin/default-settings.php:153
|
194 |
msgid "Link to Contextual Related Posts plugin page"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: includes/admin/default-settings.php:154
|
198 |
msgid ""
|
199 |
"A no-follow link to the plugin homepage will be added as the last item of "
|
200 |
"the related posts."
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: includes/admin/default-settings.php:183
|
204 |
msgid "Heading of posts"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: includes/admin/default-settings.php:184
|
208 |
msgid "Displayed before the list of the posts as a master heading"
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: includes/admin/default-settings.php:191
|
212 |
msgid "Show when no posts are found"
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: includes/admin/default-settings.php:197
|
216 |
msgid "Blank output"
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: includes/admin/default-settings.php:198
|
220 |
msgid "Display custom text"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: includes/admin/default-settings.php:203
|
224 |
msgid "Custom text"
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: includes/admin/default-settings.php:204
|
228 |
msgid ""
|
229 |
"Enter the custom text that will be displayed if the second option is "
|
230 |
"selected above."
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: includes/admin/default-settings.php:206 includes/deprecated.php:185
|
234 |
msgid "No related posts found"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: includes/admin/default-settings.php:210
|
238 |
+
#: includes/admin/default-settings.php:640
|
239 |
msgid "Show post excerpt"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: includes/admin/default-settings.php:211
|
243 |
msgid ""
|
244 |
"If the post does not have an excerpt, the plugin will automatically create "
|
245 |
"one containing the number of words specified in the next option."
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: includes/admin/default-settings.php:217
|
249 |
msgid "Length of excerpt (in words)"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: includes/admin/default-settings.php:226
|
253 |
msgid "Show date"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: includes/admin/default-settings.php:227
|
257 |
msgid ""
|
258 |
"Displays the date of the post. Uses the same date format set in General "
|
259 |
"Options."
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: includes/admin/default-settings.php:233
|
263 |
msgid "Show author"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: includes/admin/default-settings.php:240
|
267 |
msgid "Limit post title length (in characters)"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: includes/admin/default-settings.php:241
|
271 |
msgid ""
|
272 |
"Any title longer than the number of characters set above will be cut and "
|
273 |
"appended with an ellipsis (…)"
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: includes/admin/default-settings.php:248
|
277 |
msgid "Open links in new window"
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: includes/admin/default-settings.php:255
|
281 |
msgid "Add nofollow to links"
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: includes/admin/default-settings.php:262
|
285 |
msgid "Exclusion settings"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: includes/admin/default-settings.php:268
|
289 |
msgid "Exclude display on these posts"
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: includes/admin/default-settings.php:269
|
293 |
msgid ""
|
294 |
"Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: includes/admin/default-settings.php:275
|
298 |
msgid "Exclude display on these post types"
|
299 |
msgstr ""
|
300 |
|
301 |
+
#: includes/admin/default-settings.php:276
|
302 |
msgid ""
|
303 |
"The related posts will not display on any of the above selected post types."
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: includes/admin/default-settings.php:282
|
307 |
msgid "HTML to display"
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: includes/admin/default-settings.php:288
|
311 |
msgid "Before the list of posts"
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: includes/admin/default-settings.php:295
|
315 |
msgid "After the list of posts"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: includes/admin/default-settings.php:302
|
319 |
msgid "Before each list item"
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: includes/admin/default-settings.php:309
|
323 |
msgid "After each list item"
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: includes/admin/default-settings.php:339
|
327 |
+
#: includes/admin/default-settings.php:631
|
328 |
msgid "Number of posts to display"
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: includes/admin/default-settings.php:340
|
332 |
msgid ""
|
333 |
"Maximum number of posts that will be displayed in the list. This option is "
|
334 |
"used if you do not specify the number of posts in the widget or shortcodes"
|
335 |
msgstr ""
|
336 |
|
337 |
+
#: includes/admin/default-settings.php:348
|
338 |
msgid "Related posts should be newer than"
|
339 |
msgstr ""
|
340 |
|
341 |
+
#: includes/admin/default-settings.php:349
|
342 |
msgid ""
|
343 |
"This sets the cut-off period for which posts will be displayed. e.g. setting "
|
344 |
"it to 365 will show related posts from the last year only. Set to 0 to "
|
345 |
"disable limiting posts by date."
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: includes/admin/default-settings.php:356
|
349 |
+
msgid "Order posts"
|
350 |
+
msgstr ""
|
351 |
+
|
352 |
+
#: includes/admin/default-settings.php:361
|
353 |
+
msgid "By relevance"
|
354 |
+
msgstr ""
|
355 |
+
|
356 |
+
#: includes/admin/default-settings.php:362
|
357 |
+
msgid "Randomly"
|
358 |
+
msgstr ""
|
359 |
+
|
360 |
+
#: includes/admin/default-settings.php:363
|
361 |
+
msgid "By date"
|
362 |
+
msgstr ""
|
363 |
+
|
364 |
+
#: includes/admin/default-settings.php:368
|
365 |
msgid "Randomize posts"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: includes/admin/default-settings.php:369
|
369 |
msgid ""
|
370 |
+
"This shuffles the selected related posts. If you select to order by date in "
|
371 |
+
"the previous option, then the related posts will first be sorted by date and "
|
372 |
+
"the selected ones are shuffled. Does not work if Cache HTML output is "
|
373 |
+
"enabled."
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: includes/admin/default-settings.php:375
|
377 |
msgid "Related posts based on title and content"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: includes/admin/default-settings.php:376
|
381 |
msgid ""
|
382 |
"If unchecked, only posts titles are used. Enable the cache if enabling this "
|
383 |
"option for better performance. Each site is different, so toggle this option "
|
384 |
"to see which setting gives you better quality related posts."
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: includes/admin/default-settings.php:382
|
388 |
msgid "Limit content to be compared"
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: includes/admin/default-settings.php:383
|
392 |
msgid ""
|
393 |
"This sets the maximum words of the content that will be matched. Set to 0 "
|
394 |
"for no limit. Max value: 2,000. Only applies if you activate the above "
|
395 |
"option."
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: includes/admin/default-settings.php:391
|
399 |
#: includes/modules/class-crp-widget.php:126
|
400 |
msgid "Post types to include"
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: includes/admin/default-settings.php:392
|
404 |
msgid ""
|
405 |
"At least one option should be selected above. Select which post types you "
|
406 |
"want to include in the list of posts. This field can be overridden using a "
|
407 |
"comma separated list of post types when using the manual display."
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: includes/admin/default-settings.php:398
|
411 |
msgid "Limit to same post type"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: includes/admin/default-settings.php:399
|
415 |
msgid ""
|
416 |
"If checked, the related posts will only be selected from the same post type "
|
417 |
"of the current post."
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: includes/admin/default-settings.php:405
|
421 |
+
msgid "Limit to same author"
|
422 |
+
msgstr ""
|
423 |
+
|
424 |
+
#: includes/admin/default-settings.php:406
|
425 |
+
msgid ""
|
426 |
+
"If checked, the related posts will only be selected from the same author of "
|
427 |
+
"the current post."
|
428 |
+
msgstr ""
|
429 |
+
|
430 |
+
#: includes/admin/default-settings.php:412
|
431 |
msgid "Post/page IDs to exclude"
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: includes/admin/default-settings.php:413
|
435 |
msgid ""
|
436 |
"Comma-separated list of post or page IDs to exclude from the list. e.g. "
|
437 |
"188,320,500"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: includes/admin/default-settings.php:419
|
441 |
msgid "Exclude Categories"
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: includes/admin/default-settings.php:420
|
445 |
msgid ""
|
446 |
"Comma separated list of category slugs. The field above has an autocomplete "
|
447 |
"so simply start typing in the starting letters and it will prompt you with "
|
448 |
"options. Does not support custom taxonomies."
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: includes/admin/default-settings.php:431
|
452 |
msgid "Exclude category IDs"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: includes/admin/default-settings.php:432
|
456 |
msgid ""
|
457 |
"This is a readonly field that is automatically populated based on the above "
|
458 |
"input when the settings are saved. These might differ from the IDs visible "
|
460 |
"the term_taxonomy_id which is unique to this taxonomy."
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: includes/admin/default-settings.php:462
|
464 |
+
#: includes/admin/default-settings.php:647
|
465 |
msgid "Location of the post thumbnail"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: includes/admin/default-settings.php:467
|
469 |
+
#: includes/admin/default-settings.php:652
|
470 |
msgid "Display thumbnails inline with posts, before title"
|
471 |
msgstr ""
|
472 |
|
473 |
+
#: includes/admin/default-settings.php:468
|
474 |
+
#: includes/admin/default-settings.php:653
|
475 |
msgid "Display thumbnails inline with posts, after title"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: includes/admin/default-settings.php:469
|
479 |
+
#: includes/admin/default-settings.php:654
|
480 |
msgid "Display only thumbnails, no text"
|
481 |
msgstr ""
|
482 |
|
483 |
+
#: includes/admin/default-settings.php:470
|
484 |
+
#: includes/admin/default-settings.php:655
|
485 |
msgid "Do not display thumbnails, only text"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: includes/admin/default-settings.php:475
|
489 |
msgid "Thumbnail size"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: includes/admin/default-settings.php:476
|
493 |
msgid ""
|
494 |
"You can choose from existing image sizes above or create a custom size. If "
|
495 |
"you have chosen Custom size above, then enter the width, height and crop "
|
497 |
"width and/or height below, existing images will not be automatically resized."
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: includes/admin/default-settings.php:478
|
501 |
#, php-format
|
502 |
msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
|
503 |
msgstr ""
|
504 |
|
505 |
+
#: includes/admin/default-settings.php:488
|
506 |
+
#: includes/admin/default-settings.php:660
|
507 |
#: includes/modules/class-crp-widget.php:122
|
508 |
msgid "Thumbnail width"
|
509 |
msgstr ""
|
510 |
|
511 |
+
#: includes/admin/default-settings.php:497
|
512 |
+
#: includes/admin/default-settings.php:669
|
513 |
#: includes/modules/class-crp-widget.php:117
|
514 |
msgid "Thumbnail height"
|
515 |
msgstr ""
|
516 |
|
517 |
+
#: includes/admin/default-settings.php:506
|
518 |
msgid "Hard crop thumbnails"
|
519 |
msgstr ""
|
520 |
|
521 |
+
#: includes/admin/default-settings.php:507
|
522 |
msgid ""
|
523 |
"Check this box to hard crop the thumbnails. i.e. force the width and height "
|
524 |
"above vs. maintaining proportions."
|
525 |
msgstr ""
|
526 |
|
527 |
+
#: includes/admin/default-settings.php:513
|
528 |
msgid "Generate thumbnail sizes"
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: includes/admin/default-settings.php:514
|
532 |
msgid ""
|
533 |
"If you select this option and Custom size is selected above, the plugin will "
|
534 |
"register the image size with WordPress to create new thumbnails. Does not "
|
535 |
"update old images as explained above."
|
536 |
msgstr ""
|
537 |
|
538 |
+
#: includes/admin/default-settings.php:520
|
539 |
msgid "Thumbnail size attributes"
|
540 |
msgstr ""
|
541 |
|
542 |
+
#: includes/admin/default-settings.php:526
|
543 |
#, php-format
|
544 |
msgid "Use CSS to set the width and height: e.g. %s"
|
545 |
msgstr ""
|
546 |
|
547 |
+
#: includes/admin/default-settings.php:528
|
548 |
#, php-format
|
549 |
msgid "Use HTML attributes to set the width and height: e.g. %s"
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: includes/admin/default-settings.php:529
|
553 |
msgid ""
|
554 |
"No width or height set. You will need to use external styles to force any "
|
555 |
"width or height of your choice."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: includes/admin/default-settings.php:534
|
559 |
msgid "Thumbnail meta field name"
|
560 |
msgstr ""
|
561 |
|
562 |
+
#: includes/admin/default-settings.php:535
|
563 |
msgid ""
|
564 |
"The value of this field should contain the URL of the image and can be set "
|
565 |
"in the metabox in the Edit Post screen"
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: includes/admin/default-settings.php:541
|
569 |
msgid "Get first image"
|
570 |
msgstr ""
|
571 |
|
572 |
+
#: includes/admin/default-settings.php:542
|
573 |
msgid ""
|
574 |
"The plugin will fetch the first image in the post content if this is "
|
575 |
"enabled. This can slow down the loading of your page if the first image in "
|
576 |
"the followed posts is large in file-size."
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: includes/admin/default-settings.php:548
|
580 |
msgid "Use default thumbnail?"
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: includes/admin/default-settings.php:549
|
584 |
msgid ""
|
585 |
"If checked, when no thumbnail is found, show a default one from the URL "
|
586 |
"below. If not checked and no thumbnail is found, no image will be shown."
|
587 |
msgstr ""
|
588 |
|
589 |
+
#: includes/admin/default-settings.php:555 includes/admin/settings-page.php:746
|
590 |
msgid "Default thumbnail"
|
591 |
msgstr ""
|
592 |
|
593 |
+
#: includes/admin/default-settings.php:556
|
594 |
msgid ""
|
595 |
"Enter the full URL of the image that you wish to display if no thumbnail is "
|
596 |
"found. This image will be displayed below."
|
597 |
msgstr ""
|
598 |
|
599 |
+
#: includes/admin/default-settings.php:586
|
600 |
msgid "Related Posts style"
|
601 |
msgstr ""
|
602 |
|
603 |
+
#: includes/admin/default-settings.php:594
|
604 |
msgid "Custom CSS"
|
605 |
msgstr ""
|
606 |
|
607 |
+
#: includes/admin/default-settings.php:596
|
608 |
#, php-format
|
609 |
msgid ""
|
610 |
"Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
|
611 |
"CSS classes to style."
|
612 |
msgstr ""
|
613 |
|
614 |
+
#: includes/admin/default-settings.php:625
|
615 |
msgid "About this tab"
|
616 |
msgstr ""
|
617 |
|
618 |
+
#: includes/admin/default-settings.php:626
|
619 |
msgid ""
|
620 |
"Below options override the related posts settings for your blog feed. These "
|
621 |
"only apply if you have selected to add related posts to Feeds in the General "
|
623 |
"way to style the related posts in the feed."
|
624 |
msgstr ""
|
625 |
|
626 |
+
#: includes/admin/default-settings.php:746
|
627 |
msgid "No styles"
|
628 |
msgstr ""
|
629 |
|
630 |
+
#: includes/admin/default-settings.php:747
|
631 |
msgid "Select this option if you plan to add your own styles"
|
632 |
msgstr ""
|
633 |
|
634 |
+
#: includes/admin/default-settings.php:751
|
635 |
msgid "Text only"
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: includes/admin/default-settings.php:752
|
639 |
msgid "Disable thumbnails and no longer include the default style sheet"
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: includes/admin/default-settings.php:756
|
643 |
msgid "Rounded thumbnails"
|
644 |
msgstr ""
|
645 |
|
646 |
+
#: includes/admin/default-settings.php:757
|
647 |
msgid ""
|
648 |
"Enabling this option will turn on the thumbnails and force their width and "
|
649 |
"height. It will also turn off the display of the author, excerpt and date if "
|
937 |
|
938 |
#: includes/admin/save-settings.php:122
|
939 |
msgid ""
|
940 |
+
"Rounded Thumbnails style selected in Styles tab. Post author, excerpt and "
|
941 |
+
"date disabled. Thumbnail location set to either \"inline before text\" or "
|
942 |
+
"\"only thumbnails, no text\"."
|
943 |
msgstr ""
|
944 |
|
945 |
#: includes/admin/save-settings.php:126
|
946 |
msgid ""
|
947 |
+
"Text only style selected in Styles tab. Thumbnail location set to text only."
|
|
|
948 |
msgstr ""
|
949 |
|
950 |
#: includes/admin/settings-page.php:32
|
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-
|
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 |
|
@@ -47,369 +47,412 @@ msgid ""
|
|
47 |
msgstr ""
|
48 |
|
49 |
#: includes/admin/default-settings.php:62
|
50 |
-
msgid "
|
51 |
msgstr ""
|
52 |
|
53 |
#: includes/admin/default-settings.php:63
|
54 |
msgid ""
|
55 |
-
"Enabling this
|
56 |
-
"
|
|
|
|
|
57 |
msgstr ""
|
58 |
|
59 |
#: includes/admin/default-settings.php:69
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
msgid "Automatically add related posts to"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: includes/admin/default-settings.php:
|
64 |
#, php-format
|
65 |
msgid ""
|
66 |
"If you choose to disable this, please add %1$s to your template file where "
|
67 |
"you want it displayed"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: includes/admin/default-settings.php:
|
71 |
msgid "Posts"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: includes/admin/default-settings.php:
|
75 |
msgid "Pages"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: includes/admin/default-settings.php:
|
79 |
msgid "Home page"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: includes/admin/default-settings.php:
|
83 |
msgid "Feeds"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: includes/admin/default-settings.php:
|
87 |
msgid "Category archives"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: includes/admin/default-settings.php:
|
91 |
msgid "Tag archives"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: includes/admin/default-settings.php:
|
95 |
msgid "Other archives"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: includes/admin/default-settings.php:
|
99 |
msgid "Display location priority"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: includes/admin/default-settings.php:
|
103 |
msgid ""
|
104 |
"Select the relative position of the related posts in the post content. A "
|
105 |
"higher number pushes the related posts later in the content. Any number "
|
106 |
"below 10 is not recommended."
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: includes/admin/default-settings.php:
|
110 |
msgid "Insert after paragraph number"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: includes/admin/default-settings.php:
|
114 |
msgid ""
|
115 |
"Enter 0 to display the related posts before the post content, -1 to display "
|
116 |
"this at the end or a number to insert it after that paragraph number. If "
|
117 |
"your post has less paragraphs, related posts will be displayed at the end."
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: includes/admin/default-settings.php:
|
121 |
msgid "Disable on mobile devices"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: includes/admin/default-settings.php:
|
125 |
msgid ""
|
126 |
"Disable display of related posts on mobile devices. Might not always work "
|
127 |
"with caching plugins."
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: includes/admin/default-settings.php:
|
131 |
msgid "Disable on AMP pages"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: includes/admin/default-settings.php:
|
135 |
msgid "Disable display of related posts on AMP pages."
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: includes/admin/default-settings.php:
|
139 |
msgid "Delete options on uninstall"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: includes/admin/default-settings.php:
|
143 |
msgid ""
|
144 |
"If this is checked, all settings related to Contextual Related Posts are "
|
145 |
"removed from the database if you choose to uninstall/delete the plugin."
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: includes/admin/default-settings.php:
|
149 |
msgid "Delete FULLTEXT indices on uninstall"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: includes/admin/default-settings.php:
|
153 |
msgid ""
|
154 |
"If this is checked, FULLTEXT 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:
|
159 |
msgid "Show metabox"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: includes/admin/default-settings.php:
|
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:
|
169 |
msgid "Limit meta box to Admins only"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: includes/admin/default-settings.php:
|
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:
|
180 |
msgid "Link to Contextual Related Posts plugin page"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: includes/admin/default-settings.php:
|
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:
|
190 |
msgid "Heading of posts"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: includes/admin/default-settings.php:
|
194 |
msgid "Displayed before the list of the posts as a master heading"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: includes/admin/default-settings.php:
|
198 |
msgid "Show when no posts are found"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: includes/admin/default-settings.php:
|
202 |
msgid "Blank output"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: includes/admin/default-settings.php:
|
206 |
msgid "Display custom text"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: includes/admin/default-settings.php:
|
210 |
msgid "Custom text"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: includes/admin/default-settings.php:
|
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:
|
220 |
msgid "No related posts found"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: includes/admin/default-settings.php:
|
224 |
-
#: includes/admin/default-settings.php:
|
225 |
msgid "Show post excerpt"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: includes/admin/default-settings.php:
|
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:
|
235 |
msgid "Length of excerpt (in words)"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: includes/admin/default-settings.php:
|
239 |
msgid "Show date"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: includes/admin/default-settings.php:
|
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:
|
249 |
msgid "Show author"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: includes/admin/default-settings.php:
|
253 |
msgid "Limit post title length (in characters)"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: includes/admin/default-settings.php:
|
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:
|
263 |
msgid "Open links in new window"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: includes/admin/default-settings.php:
|
267 |
msgid "Add nofollow to links"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: includes/admin/default-settings.php:
|
271 |
msgid "Exclusion settings"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: includes/admin/default-settings.php:
|
275 |
msgid "Exclude display on these posts"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: includes/admin/default-settings.php:
|
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:
|
284 |
msgid "Exclude display on these post types"
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: includes/admin/default-settings.php:
|
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:
|
293 |
msgid "HTML to display"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: includes/admin/default-settings.php:
|
297 |
msgid "Before the list of posts"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: includes/admin/default-settings.php:
|
301 |
msgid "After the list of posts"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: includes/admin/default-settings.php:
|
305 |
msgid "Before each list item"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: includes/admin/default-settings.php:
|
309 |
msgid "After each list item"
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: includes/admin/default-settings.php:
|
313 |
-
#: includes/admin/default-settings.php:
|
314 |
msgid "Number of posts to display"
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: includes/admin/default-settings.php:
|
318 |
msgid ""
|
319 |
"Maximum number of posts that will be displayed in the list. This option is "
|
320 |
"used if you do not specify the number of posts in the widget or shortcodes"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: includes/admin/default-settings.php:
|
324 |
msgid "Related posts should be newer than"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: includes/admin/default-settings.php:
|
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:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
335 |
msgid "Randomize posts"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: includes/admin/default-settings.php:
|
339 |
msgid ""
|
340 |
-
"This shuffles the
|
|
|
|
|
|
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: includes/admin/default-settings.php:
|
344 |
msgid "Related posts based on title and content"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: includes/admin/default-settings.php:
|
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:
|
355 |
msgid "Limit content to be compared"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: includes/admin/default-settings.php:
|
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:
|
366 |
#: includes/modules/class-crp-widget.php:126
|
367 |
msgid "Post types to include"
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: includes/admin/default-settings.php:
|
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:
|
378 |
msgid "Limit to same post type"
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: includes/admin/default-settings.php:
|
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:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
388 |
msgid "Post/page IDs to exclude"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: includes/admin/default-settings.php:
|
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:
|
398 |
msgid "Exclude Categories"
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: includes/admin/default-settings.php:
|
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:
|
409 |
msgid "Exclude category IDs"
|
410 |
msgstr ""
|
411 |
|
412 |
-
#: includes/admin/default-settings.php:
|
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,36 +460,36 @@ msgid ""
|
|
417 |
"the term_taxonomy_id which is unique to this taxonomy."
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: includes/admin/default-settings.php:
|
421 |
-
#: includes/admin/default-settings.php:
|
422 |
msgid "Location of the post thumbnail"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: includes/admin/default-settings.php:
|
426 |
-
#: includes/admin/default-settings.php:
|
427 |
msgid "Display thumbnails inline with posts, before title"
|
428 |
msgstr ""
|
429 |
|
430 |
-
#: includes/admin/default-settings.php:
|
431 |
-
#: includes/admin/default-settings.php:
|
432 |
msgid "Display thumbnails inline with posts, after title"
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: includes/admin/default-settings.php:
|
436 |
-
#: includes/admin/default-settings.php:
|
437 |
msgid "Display only thumbnails, no text"
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: includes/admin/default-settings.php:
|
441 |
-
#: includes/admin/default-settings.php:
|
442 |
msgid "Do not display thumbnails, only text"
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: includes/admin/default-settings.php:
|
446 |
msgid "Thumbnail size"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: includes/admin/default-settings.php:
|
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,125 +497,125 @@ msgid ""
|
|
454 |
"width and/or height below, existing images will not be automatically resized."
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: includes/admin/default-settings.php:
|
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:
|
463 |
-
#: includes/admin/default-settings.php:
|
464 |
#: includes/modules/class-crp-widget.php:122
|
465 |
msgid "Thumbnail width"
|
466 |
msgstr ""
|
467 |
|
468 |
-
#: includes/admin/default-settings.php:
|
469 |
-
#: includes/admin/default-settings.php:
|
470 |
#: includes/modules/class-crp-widget.php:117
|
471 |
msgid "Thumbnail height"
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: includes/admin/default-settings.php:
|
475 |
msgid "Hard crop thumbnails"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: includes/admin/default-settings.php:
|
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:
|
485 |
msgid "Generate thumbnail sizes"
|
486 |
msgstr ""
|
487 |
|
488 |
-
#: includes/admin/default-settings.php:
|
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:
|
496 |
msgid "Thumbnail size attributes"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: includes/admin/default-settings.php:
|
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:
|
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:
|
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:
|
516 |
msgid "Thumbnail meta field name"
|
517 |
msgstr ""
|
518 |
|
519 |
-
#: includes/admin/default-settings.php:
|
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:
|
526 |
msgid "Get first image"
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: includes/admin/default-settings.php:
|
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:
|
537 |
msgid "Use default thumbnail?"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: includes/admin/default-settings.php:
|
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:
|
547 |
msgid "Default thumbnail"
|
548 |
msgstr ""
|
549 |
|
550 |
-
#: includes/admin/default-settings.php:
|
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:
|
557 |
msgid "Related Posts style"
|
558 |
msgstr ""
|
559 |
|
560 |
-
#: includes/admin/default-settings.php:
|
561 |
msgid "Custom CSS"
|
562 |
msgstr ""
|
563 |
|
564 |
-
#: includes/admin/default-settings.php:
|
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:
|
572 |
msgid "About this tab"
|
573 |
msgstr ""
|
574 |
|
575 |
-
#: includes/admin/default-settings.php:
|
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,27 +623,27 @@ msgid ""
|
|
580 |
"way to style the related posts in the feed."
|
581 |
msgstr ""
|
582 |
|
583 |
-
#: includes/admin/default-settings.php:
|
584 |
msgid "No styles"
|
585 |
msgstr ""
|
586 |
|
587 |
-
#: includes/admin/default-settings.php:
|
588 |
msgid "Select this option if you plan to add your own styles"
|
589 |
msgstr ""
|
590 |
|
591 |
-
#: includes/admin/default-settings.php:
|
592 |
msgid "Text only"
|
593 |
msgstr ""
|
594 |
|
595 |
-
#: includes/admin/default-settings.php:
|
596 |
msgid "Disable thumbnails and no longer include the default style sheet"
|
597 |
msgstr ""
|
598 |
|
599 |
-
#: includes/admin/default-settings.php:
|
600 |
msgid "Rounded thumbnails"
|
601 |
msgstr ""
|
602 |
|
603 |
-
#: includes/admin/default-settings.php:
|
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 "
|
@@ -894,15 +937,14 @@ msgstr ""
|
|
894 |
|
895 |
#: includes/admin/save-settings.php:122
|
896 |
msgid ""
|
897 |
-
"Rounded Thumbnails style selected. Post author, excerpt and
|
898 |
-
"Thumbnail location set to inline before text
|
899 |
-
"
|
900 |
msgstr ""
|
901 |
|
902 |
#: includes/admin/save-settings.php:126
|
903 |
msgid ""
|
904 |
-
"Text only style selected. Thumbnail location set to text only.
|
905 |
-
"change this under the Styles tab."
|
906 |
msgstr ""
|
907 |
|
908 |
#: includes/admin/settings-page.php:32
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Contextual Related Posts\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2019-06-16 13:27+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:186
|
26 |
msgid "Related Posts"
|
27 |
msgstr ""
|
28 |
|
47 |
msgstr ""
|
48 |
|
49 |
#: includes/admin/default-settings.php:62
|
50 |
+
msgid "Cache posts only"
|
51 |
msgstr ""
|
52 |
|
53 |
#: includes/admin/default-settings.php:63
|
54 |
msgid ""
|
55 |
+
"Enabling this will only cache the related posts but not the entire HTML "
|
56 |
+
"output. This gives you more flexibility at marginally lower performance. Use "
|
57 |
+
"this if you only have the related posts called with the same set of "
|
58 |
+
"parameters."
|
59 |
msgstr ""
|
60 |
|
61 |
#: includes/admin/default-settings.php:69
|
62 |
+
msgid "Cache HTML output"
|
63 |
+
msgstr ""
|
64 |
+
|
65 |
+
#: includes/admin/default-settings.php:70
|
66 |
+
msgid ""
|
67 |
+
"Only works if the previous option is disabled. Enabling this will cache the "
|
68 |
+
"entire HTML generated when the post is visited the first time. The cache is "
|
69 |
+
"cleaned when you save this page. Highly recommended particularly on busy "
|
70 |
+
"sites."
|
71 |
+
msgstr ""
|
72 |
+
|
73 |
+
#: includes/admin/default-settings.php:76
|
74 |
msgid "Automatically add related posts to"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: includes/admin/default-settings.php:78
|
78 |
#, php-format
|
79 |
msgid ""
|
80 |
"If you choose to disable this, please add %1$s to your template file where "
|
81 |
"you want it displayed"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: includes/admin/default-settings.php:85
|
85 |
msgid "Posts"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: includes/admin/default-settings.php:86
|
89 |
msgid "Pages"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: includes/admin/default-settings.php:87
|
93 |
msgid "Home page"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: includes/admin/default-settings.php:88
|
97 |
msgid "Feeds"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: includes/admin/default-settings.php:89
|
101 |
msgid "Category archives"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: includes/admin/default-settings.php:90
|
105 |
msgid "Tag archives"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: includes/admin/default-settings.php:91
|
109 |
msgid "Other archives"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: includes/admin/default-settings.php:96
|
113 |
msgid "Display location priority"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: includes/admin/default-settings.php:97
|
117 |
msgid ""
|
118 |
"Select the relative position of the related posts in the post content. A "
|
119 |
"higher number pushes the related posts later in the content. Any number "
|
120 |
"below 10 is not recommended."
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: includes/admin/default-settings.php:103
|
124 |
msgid "Insert after paragraph number"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: includes/admin/default-settings.php:104
|
128 |
msgid ""
|
129 |
"Enter 0 to display the related posts before the post content, -1 to display "
|
130 |
"this at the end or a number to insert it after that paragraph number. If "
|
131 |
"your post has less paragraphs, related posts will be displayed at the end."
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: includes/admin/default-settings.php:111
|
135 |
msgid "Disable on mobile devices"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: includes/admin/default-settings.php:112
|
139 |
msgid ""
|
140 |
"Disable display of related posts on mobile devices. Might not always work "
|
141 |
"with caching plugins."
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: includes/admin/default-settings.php:118
|
145 |
msgid "Disable on AMP pages"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: includes/admin/default-settings.php:119
|
149 |
msgid "Disable display of related posts on AMP pages."
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: includes/admin/default-settings.php:125
|
153 |
msgid "Delete options on uninstall"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: includes/admin/default-settings.php:126
|
157 |
msgid ""
|
158 |
"If this is checked, all settings related to Contextual Related Posts are "
|
159 |
"removed from the database if you choose to uninstall/delete the plugin."
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: includes/admin/default-settings.php:132
|
163 |
msgid "Delete FULLTEXT indices on uninstall"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: includes/admin/default-settings.php:133
|
167 |
msgid ""
|
168 |
"If this is checked, FULLTEXT indices generated by Contextual Related Posts "
|
169 |
"are removed from the database if you choose to uninstall/delete the plugin."
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: includes/admin/default-settings.php:139
|
173 |
msgid "Show metabox"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: includes/admin/default-settings.php:140
|
177 |
msgid ""
|
178 |
"This will add the Contextual Related Posts metabox on Edit Posts or Add New "
|
179 |
"Posts screens. Also applies to Pages and Custom Post Types."
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: includes/admin/default-settings.php:146
|
183 |
msgid "Limit meta box to Admins only"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: includes/admin/default-settings.php:147
|
187 |
msgid ""
|
188 |
"If selected, the meta box will be hidden from anyone who is not an Admin. By "
|
189 |
"default, Contributors and above will be able to see the meta box. Applies "
|
190 |
"only if the above option is selected."
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: includes/admin/default-settings.php:153
|
194 |
msgid "Link to Contextual Related Posts plugin page"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: includes/admin/default-settings.php:154
|
198 |
msgid ""
|
199 |
"A no-follow link to the plugin homepage will be added as the last item of "
|
200 |
"the related posts."
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: includes/admin/default-settings.php:183
|
204 |
msgid "Heading of posts"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: includes/admin/default-settings.php:184
|
208 |
msgid "Displayed before the list of the posts as a master heading"
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: includes/admin/default-settings.php:191
|
212 |
msgid "Show when no posts are found"
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: includes/admin/default-settings.php:197
|
216 |
msgid "Blank output"
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: includes/admin/default-settings.php:198
|
220 |
msgid "Display custom text"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: includes/admin/default-settings.php:203
|
224 |
msgid "Custom text"
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: includes/admin/default-settings.php:204
|
228 |
msgid ""
|
229 |
"Enter the custom text that will be displayed if the second option is "
|
230 |
"selected above."
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: includes/admin/default-settings.php:206 includes/deprecated.php:185
|
234 |
msgid "No related posts found"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: includes/admin/default-settings.php:210
|
238 |
+
#: includes/admin/default-settings.php:640
|
239 |
msgid "Show post excerpt"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: includes/admin/default-settings.php:211
|
243 |
msgid ""
|
244 |
"If the post does not have an excerpt, the plugin will automatically create "
|
245 |
"one containing the number of words specified in the next option."
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: includes/admin/default-settings.php:217
|
249 |
msgid "Length of excerpt (in words)"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: includes/admin/default-settings.php:226
|
253 |
msgid "Show date"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: includes/admin/default-settings.php:227
|
257 |
msgid ""
|
258 |
"Displays the date of the post. Uses the same date format set in General "
|
259 |
"Options."
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: includes/admin/default-settings.php:233
|
263 |
msgid "Show author"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: includes/admin/default-settings.php:240
|
267 |
msgid "Limit post title length (in characters)"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: includes/admin/default-settings.php:241
|
271 |
msgid ""
|
272 |
"Any title longer than the number of characters set above will be cut and "
|
273 |
"appended with an ellipsis (…)"
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: includes/admin/default-settings.php:248
|
277 |
msgid "Open links in new window"
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: includes/admin/default-settings.php:255
|
281 |
msgid "Add nofollow to links"
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: includes/admin/default-settings.php:262
|
285 |
msgid "Exclusion settings"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: includes/admin/default-settings.php:268
|
289 |
msgid "Exclude display on these posts"
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: includes/admin/default-settings.php:269
|
293 |
msgid ""
|
294 |
"Comma separated list of post, page or custom post type IDs. e.g. 188,320,500"
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: includes/admin/default-settings.php:275
|
298 |
msgid "Exclude display on these post types"
|
299 |
msgstr ""
|
300 |
|
301 |
+
#: includes/admin/default-settings.php:276
|
302 |
msgid ""
|
303 |
"The related posts will not display on any of the above selected post types."
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: includes/admin/default-settings.php:282
|
307 |
msgid "HTML to display"
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: includes/admin/default-settings.php:288
|
311 |
msgid "Before the list of posts"
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: includes/admin/default-settings.php:295
|
315 |
msgid "After the list of posts"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: includes/admin/default-settings.php:302
|
319 |
msgid "Before each list item"
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: includes/admin/default-settings.php:309
|
323 |
msgid "After each list item"
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: includes/admin/default-settings.php:339
|
327 |
+
#: includes/admin/default-settings.php:631
|
328 |
msgid "Number of posts to display"
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: includes/admin/default-settings.php:340
|
332 |
msgid ""
|
333 |
"Maximum number of posts that will be displayed in the list. This option is "
|
334 |
"used if you do not specify the number of posts in the widget or shortcodes"
|
335 |
msgstr ""
|
336 |
|
337 |
+
#: includes/admin/default-settings.php:348
|
338 |
msgid "Related posts should be newer than"
|
339 |
msgstr ""
|
340 |
|
341 |
+
#: includes/admin/default-settings.php:349
|
342 |
msgid ""
|
343 |
"This sets the cut-off period for which posts will be displayed. e.g. setting "
|
344 |
"it to 365 will show related posts from the last year only. Set to 0 to "
|
345 |
"disable limiting posts by date."
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: includes/admin/default-settings.php:356
|
349 |
+
msgid "Order posts"
|
350 |
+
msgstr ""
|
351 |
+
|
352 |
+
#: includes/admin/default-settings.php:361
|
353 |
+
msgid "By relevance"
|
354 |
+
msgstr ""
|
355 |
+
|
356 |
+
#: includes/admin/default-settings.php:362
|
357 |
+
msgid "Randomly"
|
358 |
+
msgstr ""
|
359 |
+
|
360 |
+
#: includes/admin/default-settings.php:363
|
361 |
+
msgid "By date"
|
362 |
+
msgstr ""
|
363 |
+
|
364 |
+
#: includes/admin/default-settings.php:368
|
365 |
msgid "Randomize posts"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: includes/admin/default-settings.php:369
|
369 |
msgid ""
|
370 |
+
"This shuffles the selected related posts. If you select to order by date in "
|
371 |
+
"the previous option, then the related posts will first be sorted by date and "
|
372 |
+
"the selected ones are shuffled. Does not work if Cache HTML output is "
|
373 |
+
"enabled."
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: includes/admin/default-settings.php:375
|
377 |
msgid "Related posts based on title and content"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: includes/admin/default-settings.php:376
|
381 |
msgid ""
|
382 |
"If unchecked, only posts titles are used. Enable the cache if enabling this "
|
383 |
"option for better performance. Each site is different, so toggle this option "
|
384 |
"to see which setting gives you better quality related posts."
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: includes/admin/default-settings.php:382
|
388 |
msgid "Limit content to be compared"
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: includes/admin/default-settings.php:383
|
392 |
msgid ""
|
393 |
"This sets the maximum words of the content that will be matched. Set to 0 "
|
394 |
"for no limit. Max value: 2,000. Only applies if you activate the above "
|
395 |
"option."
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: includes/admin/default-settings.php:391
|
399 |
#: includes/modules/class-crp-widget.php:126
|
400 |
msgid "Post types to include"
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: includes/admin/default-settings.php:392
|
404 |
msgid ""
|
405 |
"At least one option should be selected above. Select which post types you "
|
406 |
"want to include in the list of posts. This field can be overridden using a "
|
407 |
"comma separated list of post types when using the manual display."
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: includes/admin/default-settings.php:398
|
411 |
msgid "Limit to same post type"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: includes/admin/default-settings.php:399
|
415 |
msgid ""
|
416 |
"If checked, the related posts will only be selected from the same post type "
|
417 |
"of the current post."
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: includes/admin/default-settings.php:405
|
421 |
+
msgid "Limit to same author"
|
422 |
+
msgstr ""
|
423 |
+
|
424 |
+
#: includes/admin/default-settings.php:406
|
425 |
+
msgid ""
|
426 |
+
"If checked, the related posts will only be selected from the same author of "
|
427 |
+
"the current post."
|
428 |
+
msgstr ""
|
429 |
+
|
430 |
+
#: includes/admin/default-settings.php:412
|
431 |
msgid "Post/page IDs to exclude"
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: includes/admin/default-settings.php:413
|
435 |
msgid ""
|
436 |
"Comma-separated list of post or page IDs to exclude from the list. e.g. "
|
437 |
"188,320,500"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: includes/admin/default-settings.php:419
|
441 |
msgid "Exclude Categories"
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: includes/admin/default-settings.php:420
|
445 |
msgid ""
|
446 |
"Comma separated list of category slugs. The field above has an autocomplete "
|
447 |
"so simply start typing in the starting letters and it will prompt you with "
|
448 |
"options. Does not support custom taxonomies."
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: includes/admin/default-settings.php:431
|
452 |
msgid "Exclude category IDs"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: includes/admin/default-settings.php:432
|
456 |
msgid ""
|
457 |
"This is a readonly field that is automatically populated based on the above "
|
458 |
"input when the settings are saved. These might differ from the IDs visible "
|
460 |
"the term_taxonomy_id which is unique to this taxonomy."
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: includes/admin/default-settings.php:462
|
464 |
+
#: includes/admin/default-settings.php:647
|
465 |
msgid "Location of the post thumbnail"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: includes/admin/default-settings.php:467
|
469 |
+
#: includes/admin/default-settings.php:652
|
470 |
msgid "Display thumbnails inline with posts, before title"
|
471 |
msgstr ""
|
472 |
|
473 |
+
#: includes/admin/default-settings.php:468
|
474 |
+
#: includes/admin/default-settings.php:653
|
475 |
msgid "Display thumbnails inline with posts, after title"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: includes/admin/default-settings.php:469
|
479 |
+
#: includes/admin/default-settings.php:654
|
480 |
msgid "Display only thumbnails, no text"
|
481 |
msgstr ""
|
482 |
|
483 |
+
#: includes/admin/default-settings.php:470
|
484 |
+
#: includes/admin/default-settings.php:655
|
485 |
msgid "Do not display thumbnails, only text"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: includes/admin/default-settings.php:475
|
489 |
msgid "Thumbnail size"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: includes/admin/default-settings.php:476
|
493 |
msgid ""
|
494 |
"You can choose from existing image sizes above or create a custom size. If "
|
495 |
"you have chosen Custom size above, then enter the width, height and crop "
|
497 |
"width and/or height below, existing images will not be automatically resized."
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: includes/admin/default-settings.php:478
|
501 |
#, php-format
|
502 |
msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
|
503 |
msgstr ""
|
504 |
|
505 |
+
#: includes/admin/default-settings.php:488
|
506 |
+
#: includes/admin/default-settings.php:660
|
507 |
#: includes/modules/class-crp-widget.php:122
|
508 |
msgid "Thumbnail width"
|
509 |
msgstr ""
|
510 |
|
511 |
+
#: includes/admin/default-settings.php:497
|
512 |
+
#: includes/admin/default-settings.php:669
|
513 |
#: includes/modules/class-crp-widget.php:117
|
514 |
msgid "Thumbnail height"
|
515 |
msgstr ""
|
516 |
|
517 |
+
#: includes/admin/default-settings.php:506
|
518 |
msgid "Hard crop thumbnails"
|
519 |
msgstr ""
|
520 |
|
521 |
+
#: includes/admin/default-settings.php:507
|
522 |
msgid ""
|
523 |
"Check this box to hard crop the thumbnails. i.e. force the width and height "
|
524 |
"above vs. maintaining proportions."
|
525 |
msgstr ""
|
526 |
|
527 |
+
#: includes/admin/default-settings.php:513
|
528 |
msgid "Generate thumbnail sizes"
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: includes/admin/default-settings.php:514
|
532 |
msgid ""
|
533 |
"If you select this option and Custom size is selected above, the plugin will "
|
534 |
"register the image size with WordPress to create new thumbnails. Does not "
|
535 |
"update old images as explained above."
|
536 |
msgstr ""
|
537 |
|
538 |
+
#: includes/admin/default-settings.php:520
|
539 |
msgid "Thumbnail size attributes"
|
540 |
msgstr ""
|
541 |
|
542 |
+
#: includes/admin/default-settings.php:526
|
543 |
#, php-format
|
544 |
msgid "Use CSS to set the width and height: e.g. %s"
|
545 |
msgstr ""
|
546 |
|
547 |
+
#: includes/admin/default-settings.php:528
|
548 |
#, php-format
|
549 |
msgid "Use HTML attributes to set the width and height: e.g. %s"
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: includes/admin/default-settings.php:529
|
553 |
msgid ""
|
554 |
"No width or height set. You will need to use external styles to force any "
|
555 |
"width or height of your choice."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: includes/admin/default-settings.php:534
|
559 |
msgid "Thumbnail meta field name"
|
560 |
msgstr ""
|
561 |
|
562 |
+
#: includes/admin/default-settings.php:535
|
563 |
msgid ""
|
564 |
"The value of this field should contain the URL of the image and can be set "
|
565 |
"in the metabox in the Edit Post screen"
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: includes/admin/default-settings.php:541
|
569 |
msgid "Get first image"
|
570 |
msgstr ""
|
571 |
|
572 |
+
#: includes/admin/default-settings.php:542
|
573 |
msgid ""
|
574 |
"The plugin will fetch the first image in the post content if this is "
|
575 |
"enabled. This can slow down the loading of your page if the first image in "
|
576 |
"the followed posts is large in file-size."
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: includes/admin/default-settings.php:548
|
580 |
msgid "Use default thumbnail?"
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: includes/admin/default-settings.php:549
|
584 |
msgid ""
|
585 |
"If checked, when no thumbnail is found, show a default one from the URL "
|
586 |
"below. If not checked and no thumbnail is found, no image will be shown."
|
587 |
msgstr ""
|
588 |
|
589 |
+
#: includes/admin/default-settings.php:555 includes/admin/settings-page.php:746
|
590 |
msgid "Default thumbnail"
|
591 |
msgstr ""
|
592 |
|
593 |
+
#: includes/admin/default-settings.php:556
|
594 |
msgid ""
|
595 |
"Enter the full URL of the image that you wish to display if no thumbnail is "
|
596 |
"found. This image will be displayed below."
|
597 |
msgstr ""
|
598 |
|
599 |
+
#: includes/admin/default-settings.php:586
|
600 |
msgid "Related Posts style"
|
601 |
msgstr ""
|
602 |
|
603 |
+
#: includes/admin/default-settings.php:594
|
604 |
msgid "Custom CSS"
|
605 |
msgstr ""
|
606 |
|
607 |
+
#: includes/admin/default-settings.php:596
|
608 |
#, php-format
|
609 |
msgid ""
|
610 |
"Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
|
611 |
"CSS classes to style."
|
612 |
msgstr ""
|
613 |
|
614 |
+
#: includes/admin/default-settings.php:625
|
615 |
msgid "About this tab"
|
616 |
msgstr ""
|
617 |
|
618 |
+
#: includes/admin/default-settings.php:626
|
619 |
msgid ""
|
620 |
"Below options override the related posts settings for your blog feed. These "
|
621 |
"only apply if you have selected to add related posts to Feeds in the General "
|
623 |
"way to style the related posts in the feed."
|
624 |
msgstr ""
|
625 |
|
626 |
+
#: includes/admin/default-settings.php:746
|
627 |
msgid "No styles"
|
628 |
msgstr ""
|
629 |
|
630 |
+
#: includes/admin/default-settings.php:747
|
631 |
msgid "Select this option if you plan to add your own styles"
|
632 |
msgstr ""
|
633 |
|
634 |
+
#: includes/admin/default-settings.php:751
|
635 |
msgid "Text only"
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: includes/admin/default-settings.php:752
|
639 |
msgid "Disable thumbnails and no longer include the default style sheet"
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: includes/admin/default-settings.php:756
|
643 |
msgid "Rounded thumbnails"
|
644 |
msgstr ""
|
645 |
|
646 |
+
#: includes/admin/default-settings.php:757
|
647 |
msgid ""
|
648 |
"Enabling this option will turn on the thumbnails and force their width and "
|
649 |
"height. It will also turn off the display of the author, excerpt and date if "
|
937 |
|
938 |
#: includes/admin/save-settings.php:122
|
939 |
msgid ""
|
940 |
+
"Rounded Thumbnails style selected in Styles tab. Post author, excerpt and "
|
941 |
+
"date disabled. Thumbnail location set to either \"inline before text\" or "
|
942 |
+
"\"only thumbnails, no text\"."
|
943 |
msgstr ""
|
944 |
|
945 |
#: includes/admin/save-settings.php:126
|
946 |
msgid ""
|
947 |
+
"Text only style selected in Styles tab. Thumbnail location set to text only."
|
|
|
948 |
msgstr ""
|
949 |
|
950 |
#: includes/admin/settings-page.php:32
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: webberzone, Ajay
|
|
4 |
Donate link: https://ajaydsouza.com/donate/
|
5 |
Stable tag: trunk
|
6 |
Requires at least: 4.7
|
7 |
-
Tested up to: 5.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Add related posts to your WordPress site with inbuilt caching. Supports thumbnails, shortcodes, widgets and custom post types!
|
@@ -183,6 +183,20 @@ In addition to the above, the shortcode takes every option that the plugin suppo
|
|
183 |
|
184 |
== Changelog ==
|
185 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
= 2.6.3 =
|
187 |
|
188 |
Release post: [https://wzn.io/2VrGdOR](https://wzn.io/2VrGdOR)
|
@@ -230,188 +244,6 @@ Release post: [https://wzn.io/2JZBZJy](https://wzn.io/2JZBZJy)
|
|
230 |
* Checked for non-zero thumbnail width and height in the widget
|
231 |
* More checks for PHP errors and notices
|
232 |
|
233 |
-
= 2.5.1 =
|
234 |
-
|
235 |
-
* Features:
|
236 |
-
* New option to disable creation of thumbnails
|
237 |
-
|
238 |
-
* Enhancements:
|
239 |
-
* Do not delete index on activation
|
240 |
-
* crp_thumbnail image size will set the default crop option to true if not already set
|
241 |
-
|
242 |
-
* Bug fixes:
|
243 |
-
* Missing/Unknown PHP errors/warnings in the widget
|
244 |
-
* Minor CSS fixes
|
245 |
-
|
246 |
-
= 2.5.0 =
|
247 |
-
|
248 |
-
* Features:
|
249 |
-
* New option to disable related posts on mobile devices
|
250 |
-
* New option to disable related posts on AMP pages
|
251 |
-
|
252 |
-
* Enhancements:
|
253 |
-
* New filters `crp_thumb_alt` and `crp_thumb_title` to edit the post thumbnail alt and title tags. Use this to remove/replace the tags
|
254 |
-
* New function and filter `crp_permalink`
|
255 |
-
* Saving a post will delete its cache
|
256 |
-
|
257 |
-
* Bug fixes:
|
258 |
-
* Fixed CSS validation errors
|
259 |
-
* Removed conversion of table schema from/to InnoDB. If you are using a version of mySQL above v5.6, you can alter the table engine to use InnoDB with a FULLTEXT index
|
260 |
-
* Prevent errors from non-existent post id (virtual post). Contributed by [@jnorell](https://github.com/jnorell)
|
261 |
-
|
262 |
-
= 2.4.1 =
|
263 |
-
|
264 |
-
* Bug fixes:
|
265 |
-
* Reverted the "Automatically add related posts to" setting introduced in 2.4.0
|
266 |
-
* Metaboxes will now save when editting attachments
|
267 |
-
|
268 |
-
= 2.4.0 =
|
269 |
-
|
270 |
-
* Features:
|
271 |
-
* New option to randomize the related posts
|
272 |
-
* New option to limit related posts to the same post type
|
273 |
-
* "Automatically add related posts to" option applies to widgets
|
274 |
-
|
275 |
-
* Enhancements:
|
276 |
-
* `post_types` argument now takes a comma-separated list of post types. Default format when resaving options is also comma-separated
|
277 |
-
|
278 |
-
* Bug fixes:
|
279 |
-
* Trimming titles should now work with multibyte / non-English characters
|
280 |
-
|
281 |
-
* Deprecated:
|
282 |
-
* `crp_max_formatted_content` has been deprecated. Use `crp_trim_char` instead
|
283 |
-
|
284 |
-
= 2.3.1 =
|
285 |
-
|
286 |
-
* Bug fixes:
|
287 |
-
* Replaced `.crp_title` wrapper from `div` to `span`. Empty the cache via the settings page and also your browser cache
|
288 |
-
|
289 |
-
= 2.3.0 =
|
290 |
-
|
291 |
-
* Features:
|
292 |
-
* 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
|
293 |
-
* New option in metabox: "Exclude this post from the related posts list"
|
294 |
-
* New option: Insert after nth paragraph
|
295 |
-
|
296 |
-
* Enhancements:
|
297 |
-
* 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
|
298 |
-
* New constant `CRP_MAX_WORDS` (default 500) limits the post content to be compared. Add this to your `wp-config.php` file to overwrite
|
299 |
-
|
300 |
-
* Bug fixes:
|
301 |
-
* Language files initialisation had the wrong text domain
|
302 |
-
* Stop updating the thumb settings if the existing value isn't found. Caused incorrect changes in certain installations
|
303 |
-
* Force link text to white when using Rounded Thumb style
|
304 |
-
* The plugin will no longer generate any notices if post author is missing
|
305 |
-
|
306 |
-
* Deprecated:
|
307 |
-
* 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
|
308 |
-
* Deprecated `$crp_url`. Use the new constants `CRP_PLUGIN_DIR`, `CRP_PLUGIN_URL` and `CRP_PLUGIN_FILE`
|
309 |
-
|
310 |
-
= 2.2.3 =
|
311 |
-
|
312 |
-
* Enhancements:
|
313 |
-
* Changed text domain to `contextual-related-posts` in advance of translate.wordpress.org translation system
|
314 |
-
* 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
|
315 |
-
* 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
|
316 |
-
|
317 |
-
* Bug fixes:
|
318 |
-
* All cache entries were not deleted on uninstall
|
319 |
-
|
320 |
-
= 2.2.2 =
|
321 |
-
|
322 |
-
* Features:
|
323 |
-
* Preliminary support for WPML
|
324 |
-
|
325 |
-
* Enhancements:
|
326 |
-
* Recreate Index and Activation will not try to alter the table engine if not needed
|
327 |
-
|
328 |
-
* Bug fixes:
|
329 |
-
* All thumbnail classes were not properly applied + new thumbnail class filter
|
330 |
-
* Shortcode with "exclude_categories" argument works again
|
331 |
-
|
332 |
-
= 2.2.1 =
|
333 |
-
|
334 |
-
* Bug fixes:
|
335 |
-
* "No styles" would not get selected if "Rounded thumbnails' was enabled
|
336 |
-
* "Recreate Index" caused a fatal error: Call to undefined function `crp_single_activate()`
|
337 |
-
* Excerpt shortening was not working correctly
|
338 |
-
* Exclude categories wasn't working in some cases
|
339 |
-
* Additional check to see if default styles are off, then force No style
|
340 |
-
|
341 |
-
= 2.2.0 =
|
342 |
-
|
343 |
-
* Features:
|
344 |
-
* 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
|
345 |
-
* Choose between No style, Rounded thumbnails (previously called default style) and Text only style options under the Styles box in the plugin settings page
|
346 |
-
* 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
|
347 |
-
* Filter `crp_link_attributes` that allows a user to add or remove attributes for the `a` tag
|
348 |
-
* Notice is displayed at the top of the Settings page if there are any missing of the FULLTEXT indices missing
|
349 |
-
* Option in the Contextual Related Posts meta box to disable the related posts on the selected post
|
350 |
-
* Select post type in the Related Posts Widget
|
351 |
-
|
352 |
-
* Enhancements:
|
353 |
-
* Optimised number of queries for exclude categories option. Those not using this option will see the greatest savings
|
354 |
-
* 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.
|
355 |
-
* `strict_limit` argument in `get_crp_posts_id` is now TRUE by default
|
356 |
-
* `get_crp` takes an additional argument: `heading` (default is TRUE) that controls the display of the main heading (**Related Posts**)
|
357 |
-
* Output of `echo_crp` will be cached in a separate meta key
|
358 |
-
|
359 |
-
* Bug fixes:
|
360 |
-
* First child now gets the correct thumbnail size
|
361 |
-
|
362 |
-
* Deprecated:
|
363 |
-
* `ald_crp()` - `Use get_crp()` instead
|
364 |
-
* `ald_crp_content()` - `Use crp_content_filter()` instead
|
365 |
-
* `ald_crp_rss()` - `Use crp_rss_filter()` instead
|
366 |
-
* `echo_ald_crp()` - `Use echo_crp()` instead
|
367 |
-
|
368 |
-
= 2.1.1 =
|
369 |
-
|
370 |
-
* Enhancements:
|
371 |
-
* 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
|
372 |
-
|
373 |
-
= 2.1.0 =
|
374 |
-
|
375 |
-
* Features:
|
376 |
-
* Separate cache for related posts added to feeds. Prevents conflict with the cache for normal related posts
|
377 |
-
* Timthumb has been deprecated
|
378 |
-
* Setting "Related posts should be newer than:" to 0 to disable limiting posts by age
|
379 |
-
* Filters `crp_posts_match`, `crp_posts_now_date`, `crp_posts_from_date` to modify the WHERE clause
|
380 |
-
|
381 |
-
* Enhancements:
|
382 |
-
* `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
|
383 |
-
* Reset default thumbnail URL location to plugin default if the field is blank or only contains `/default.png`
|
384 |
-
* Meta-box will no longer be displayed on non-public post types
|
385 |
-
* For first image, the plugin will attempt to seek the correct thumbnail size if available
|
386 |
-
|
387 |
-
* Bug fixes:
|
388 |
-
* Author link was incorrectly displayed multiple times in the list when Show Author was enabled
|
389 |
-
* WP Notice Errors when using the Widget via the Customizer menu in WordPress
|
390 |
-
* Incorrect thumbnail was pulled on attachment pages
|
391 |
-
|
392 |
-
= 2.0.1 =
|
393 |
-
|
394 |
-
* Bug fixes:
|
395 |
-
* Clear Cache button which broke in 2.0.0
|
396 |
-
|
397 |
-
= 2.0.0 =
|
398 |
-
|
399 |
-
* Features:
|
400 |
-
* Multi-site support. Now you can Network Activate the plugin and all users will see related posts!
|
401 |
-
* 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>
|
402 |
-
* Completely filterable mySQL query to fetch the posts. You can write your own functions to filter the fields, orderby, groupby, join and limits clauses
|
403 |
-
|
404 |
-
* Enhancements:
|
405 |
-
* Lookup priority for thumbnails. The thumbnail URL set in the Contextual Related Posts meta box is given first priority
|
406 |
-
* Removed `border=0` attribute from `img` tag for HTML5 validation support
|
407 |
-
* Default option for timthumb is disabled
|
408 |
-
* Default option for post types to include is post and page
|
409 |
-
* `get_crp_posts` has been deprecated. See `get_crp_posts_id` instead
|
410 |
-
* Turning on the Default style will switch on thumbnails, correctly resize them and will also hide authors, excerpts and the post date
|
411 |
-
|
412 |
-
* Bug fixes:
|
413 |
-
* Post image will now be loaded over https if the visitor visits your site on https
|
414 |
-
|
415 |
= Earlier versions =
|
416 |
|
417 |
For the changelog of earlier versions, please refer to the separate changelog.txt file.
|
@@ -419,7 +251,7 @@ For the changelog of earlier versions, please refer to the separate changelog.tx
|
|
419 |
|
420 |
== Upgrade Notice ==
|
421 |
|
422 |
-
= 2.
|
423 |
-
*
|
424 |
Check the Changelog for more details
|
425 |
|
4 |
Donate link: https://ajaydsouza.com/donate/
|
5 |
Stable tag: trunk
|
6 |
Requires at least: 4.7
|
7 |
+
Tested up to: 5.2
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Add related posts to your WordPress site with inbuilt caching. Supports thumbnails, shortcodes, widgets and custom post types!
|
183 |
|
184 |
== Changelog ==
|
185 |
|
186 |
+
= 2.7.0 =
|
187 |
+
|
188 |
+
Release post: [https://wzn.io/2XUCur8](https://wzn.io/2XUCur8)
|
189 |
+
|
190 |
+
* Features:
|
191 |
+
* Caching improvements: "Enable cache" has been renamed to "Cache HTML output". New option "Cache posts only" has been introduced to cache the output of the database query (array of posts)
|
192 |
+
* New option to order posts by relevance, dates or randomly
|
193 |
+
* New option to limit posts by the same author
|
194 |
+
* Thumbnail HTML markup includes `srcset` and `sizes` attributes when available. Read [Responsive Images in WordPress 4.4](https://make.wordpress.org/core/2015/11/10/responsive-images-in-wordpress-4-4/)
|
195 |
+
|
196 |
+
* Enhancements:
|
197 |
+
* No longer use `get_the_title`. You can use `crp_title` and/or `crp_thumb_title` filters to edit the post title and the alt/title attributes of the thumbnail respectively
|
198 |
+
* Selecting Rounded thumbnails under Styles tab will allow your thumbnail setting to either be "inline before text" or "only thumbnails, no text"
|
199 |
+
|
200 |
= 2.6.3 =
|
201 |
|
202 |
Release post: [https://wzn.io/2VrGdOR](https://wzn.io/2VrGdOR)
|
244 |
* Checked for non-zero thumbnail width and height in the widget
|
245 |
* More checks for PHP errors and notices
|
246 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
247 |
= Earlier versions =
|
248 |
|
249 |
For the changelog of earlier versions, please refer to the separate changelog.txt file.
|
251 |
|
252 |
== Upgrade Notice ==
|
253 |
|
254 |
+
= 2.7.0 =
|
255 |
+
* More caching control, new options and enhancements.
|
256 |
Check the Changelog for more details
|
257 |
|