Version Description
Release post: https://webberzone.com/blog/contextual-related-posts-v3-2-0/
- Bug fix:
- Widget options were not saved properly
- Stylesheets and header styles have been fixed to be more specific
Download this release
Release Info
Developer | Ajay |
Plugin | Contextual Related Posts |
Version | 3.2.2 |
Comparing to | |
See all releases |
Code changes from version 3.2.1 to 3.2.2
- contextual-related-posts.php +1 -1
- css/grid.css +8 -0
- css/grid.min.css +1 -1
- css/rounded-thumbs.css +1 -0
- css/rounded-thumbs.min.css +1 -1
- includes/admin/admin.php +1 -1
- includes/header.php +12 -9
- includes/modules/class-crp-widget.php +5 -5
- languages/contextual-related-posts-en_US.po +8 -10
- languages/contextual-related-posts-en_US.pot +8 -10
- readme.txt +9 -3
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: 3.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: 3.2.2
|
19 |
* Author: WebberZone
|
20 |
* Author URI: https://webberzone.com
|
21 |
* License: GPL-2.0+
|
css/grid.css
CHANGED
@@ -15,8 +15,16 @@
|
|
15 |
}
|
16 |
.crp_related.crp-grid ul li {
|
17 |
text-align:left;
|
|
|
|
|
18 |
word-break: break-word;
|
19 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
.crp_related.crp-grid .crp_thumb, .crp_related.crp-grid .crp_title {
|
21 |
display: block;
|
22 |
margin: 0 auto;
|
15 |
}
|
16 |
.crp_related.crp-grid ul li {
|
17 |
text-align:left;
|
18 |
+
display: flex;
|
19 |
+
flex-direction: column;
|
20 |
word-break: break-word;
|
21 |
}
|
22 |
+
.crp_related.crp-grid ul li a.crp_link {
|
23 |
+
flex-grow: 1;
|
24 |
+
display: grid;
|
25 |
+
overflow: hidden;
|
26 |
+
padding: 3px;
|
27 |
+
}
|
28 |
.crp_related.crp-grid .crp_thumb, .crp_related.crp-grid .crp_title {
|
29 |
display: block;
|
30 |
margin: 0 auto;
|
css/grid.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.crp_related.crp-grid{clear:both;margin:10px 0}.crp_related.crp-grid figure,.crp_related.crp-grid h3{margin:0!important}.crp_related.crp-grid ul{display:grid;gap:10px;margin:0;justify-items:center;list-style:none;padding:0}.crp_related.crp-grid ul li{text-align:left;word-break:break-word}.crp_related.crp-grid .crp_thumb,.crp_related.crp-grid .crp_title{display:block;margin:0 auto}.crp_related.crp-grid ul li a{text-decoration:none!important}.crp_related.crp-grid ul li img{max-width:100%;height:auto;display:block;margin:0 auto}.crp_clear{clear:both}.crp_author,.crp_date,.crp_excerpt{display:block;font-size:.9em}
|
1 |
+
.crp_related.crp-grid{clear:both;margin:10px 0}.crp_related.crp-grid figure,.crp_related.crp-grid h3{margin:0!important}.crp_related.crp-grid ul{display:grid;gap:10px;margin:0;justify-items:center;list-style:none;padding:0}.crp_related.crp-grid ul li{text-align:left;display:flex;flex-direction:column;word-break:break-word}.crp_related.crp-grid ul li a.crp_link{flex-grow:1;display:grid;overflow:hidden;padding:3px}.crp_related.crp-grid .crp_thumb,.crp_related.crp-grid .crp_title{display:block;margin:0 auto}.crp_related.crp-grid ul li a{text-decoration:none!important}.crp_related.crp-grid ul li img{max-width:100%;height:auto;display:block;margin:0 auto}.crp_clear{clear:both}.crp_author,.crp_date,.crp_excerpt{display:block;font-size:.9em}
|
css/rounded-thumbs.css
CHANGED
@@ -47,6 +47,7 @@
|
|
47 |
-webkit-border-radius: 7px;
|
48 |
-moz-border-radius: 7px;
|
49 |
border-radius: 7px;
|
|
|
50 |
}
|
51 |
.crp_related.crp-rounded-thumbs li:hover .crp_title {
|
52 |
background-color: rgba(0, 0, 0, 0.8);
|
47 |
-webkit-border-radius: 7px;
|
48 |
-moz-border-radius: 7px;
|
49 |
border-radius: 7px;
|
50 |
+
width: 100%;
|
51 |
}
|
52 |
.crp_related.crp-rounded-thumbs li:hover .crp_title {
|
53 |
background-color: rgba(0, 0, 0, 0.8);
|
css/rounded-thumbs.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.crp_related.crp-rounded-thumbs{clear:both;margin:10px 0}.crp_related.crp-rounded-thumbs figure,.crp_related.crp-rounded-thumbs h3{margin:0!important}.crp_related.crp-rounded-thumbs ul{list-style:none;float:left;margin:0!important;padding:0!important}.crp_related.crp-rounded-thumbs a,.crp_related.crp-rounded-thumbs li{float:left;overflow:hidden;position:relative;text-align:center}.crp_related.crp-rounded-thumbs li{margin:5px!important;border:1px solid #ddd;padding:6px}.crp_related.crp-rounded-thumbs li:hover{background:#eee;border-color:#bbb}.crp_related.crp-rounded-thumbs a{-webkit-box-shadow:none!important;-moz-box-shadow:none!important;box-shadow:none!important;text-decoration:none!important}.crp_related.crp-rounded-thumbs a:hover{text-decoration:none}.crp_related.crp-rounded-thumbs .crp_title{color:#fff!important;position:absolute;display:block;bottom:0;padding:3px;font-size:.9em;text-shadow:.1em .1em .2em #000;background-color:rgba(0,0,0,.5);-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.crp_related.crp-rounded-thumbs li:hover .crp_title{background-color:rgba(0,0,0,.8)}.crp_related.crp-rounded-thumbs li{vertical-align:bottom;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.4);-moz-box-shadow:0 1px 2px rgba(0,0,0,.4);box-shadow:0 1px 2px rgba(0,0,0,.4);-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;list-style-type:none}.crp_clear{clear:both}.crp_title:visited{color:#fff!important}
|
1 |
+
.crp_related.crp-rounded-thumbs{clear:both;margin:10px 0}.crp_related.crp-rounded-thumbs figure,.crp_related.crp-rounded-thumbs h3{margin:0!important}.crp_related.crp-rounded-thumbs ul{list-style:none;float:left;margin:0!important;padding:0!important}.crp_related.crp-rounded-thumbs a,.crp_related.crp-rounded-thumbs li{float:left;overflow:hidden;position:relative;text-align:center}.crp_related.crp-rounded-thumbs li{margin:5px!important;border:1px solid #ddd;padding:6px}.crp_related.crp-rounded-thumbs li:hover{background:#eee;border-color:#bbb}.crp_related.crp-rounded-thumbs a{-webkit-box-shadow:none!important;-moz-box-shadow:none!important;box-shadow:none!important;text-decoration:none!important}.crp_related.crp-rounded-thumbs a:hover{text-decoration:none}.crp_related.crp-rounded-thumbs .crp_title{color:#fff!important;position:absolute;display:block;bottom:0;padding:3px;font-size:.9em;text-shadow:.1em .1em .2em #000;background-color:rgba(0,0,0,.5);-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;width:100%}.crp_related.crp-rounded-thumbs li:hover .crp_title{background-color:rgba(0,0,0,.8)}.crp_related.crp-rounded-thumbs li{vertical-align:bottom;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.4);-moz-box-shadow:0 1px 2px rgba(0,0,0,.4);box-shadow:0 1px 2px rgba(0,0,0,.4);-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;list-style-type:none}.crp_clear{clear:both}.crp_title:visited{color:#fff!important}
|
includes/admin/admin.php
CHANGED
@@ -46,7 +46,7 @@ function crp_add_admin_pages_links() {
|
|
46 |
add_action( "load-$crp_settings_tools", 'crp_settings_help' );
|
47 |
|
48 |
}
|
49 |
-
add_action( 'admin_menu', 'crp_add_admin_pages_links' );
|
50 |
|
51 |
|
52 |
/**
|
46 |
add_action( "load-$crp_settings_tools", 'crp_settings_help' );
|
47 |
|
48 |
}
|
49 |
+
add_action( 'admin_menu', 'crp_add_admin_pages_links', 99 );
|
50 |
|
51 |
|
52 |
/**
|
includes/header.php
CHANGED
@@ -78,22 +78,22 @@ function crp_get_style( $style = '' ) {
|
|
78 |
$style_array = array();
|
79 |
$thumb_width = crp_get_option( 'thumb_width' );
|
80 |
$thumb_height = crp_get_option( 'thumb_height' );
|
81 |
-
$crp_style = $style ? $style : crp_get_option( 'crp_styles' );
|
82 |
|
83 |
switch ( $crp_style ) {
|
84 |
case 'rounded_thumbs':
|
85 |
$style_array['name'] = 'rounded-thumbs';
|
86 |
$style_array['extra_css'] = "
|
87 |
-
.crp_related a {
|
88 |
width: {$thumb_width}px;
|
89 |
height: {$thumb_height}px;
|
90 |
text-decoration: none;
|
91 |
}
|
92 |
-
.crp_related img {
|
93 |
max-width: {$thumb_width}px;
|
94 |
margin: auto;
|
95 |
}
|
96 |
-
.crp_related .crp_title {
|
97 |
width: 100%;
|
98 |
}
|
99 |
";
|
@@ -101,14 +101,17 @@ function crp_get_style( $style = '' ) {
|
|
101 |
|
102 |
case 'masonry':
|
103 |
case 'text_only':
|
104 |
-
$style_array['name'] = str_replace( '_', '-', $
|
105 |
$style_array['extra_css'] = '';
|
106 |
break;
|
107 |
|
108 |
case 'grid':
|
109 |
$style_array['name'] = 'grid';
|
110 |
$style_array['extra_css'] = "
|
111 |
-
.crp_related ul {
|
|
|
|
|
|
|
112 |
grid-template-columns: repeat(auto-fill, minmax({$thumb_width}px, 1fr));
|
113 |
}
|
114 |
";
|
@@ -119,10 +122,10 @@ function crp_get_style( $style = '' ) {
|
|
119 |
|
120 |
$style_array['name'] = 'thumbs-grid';
|
121 |
$style_array['extra_css'] = "
|
122 |
-
.crp_related ul li a.crp_link {
|
123 |
-
grid-template-rows: {$row_height}px
|
124 |
}
|
125 |
-
.crp_related ul {
|
126 |
grid-template-columns: repeat(auto-fill, minmax({$thumb_width}px, 1fr));
|
127 |
}
|
128 |
";
|
78 |
$style_array = array();
|
79 |
$thumb_width = crp_get_option( 'thumb_width' );
|
80 |
$thumb_height = crp_get_option( 'thumb_height' );
|
81 |
+
$crp_style = ! empty( $style ) ? $style : crp_get_option( 'crp_styles' );
|
82 |
|
83 |
switch ( $crp_style ) {
|
84 |
case 'rounded_thumbs':
|
85 |
$style_array['name'] = 'rounded-thumbs';
|
86 |
$style_array['extra_css'] = "
|
87 |
+
.crp_related.crp-rounded-thumbs a {
|
88 |
width: {$thumb_width}px;
|
89 |
height: {$thumb_height}px;
|
90 |
text-decoration: none;
|
91 |
}
|
92 |
+
.crp_related.crp-rounded-thumbs img {
|
93 |
max-width: {$thumb_width}px;
|
94 |
margin: auto;
|
95 |
}
|
96 |
+
.crp_related.crp-rounded-thumbs .crp_title {
|
97 |
width: 100%;
|
98 |
}
|
99 |
";
|
101 |
|
102 |
case 'masonry':
|
103 |
case 'text_only':
|
104 |
+
$style_array['name'] = str_replace( '_', '-', $crp_style );
|
105 |
$style_array['extra_css'] = '';
|
106 |
break;
|
107 |
|
108 |
case 'grid':
|
109 |
$style_array['name'] = 'grid';
|
110 |
$style_array['extra_css'] = "
|
111 |
+
.crp_related.crp-grid ul li a.crp_link {
|
112 |
+
grid-template-rows: {$thumb_height}px auto;
|
113 |
+
}
|
114 |
+
.crp_related.crp-grid ul {
|
115 |
grid-template-columns: repeat(auto-fill, minmax({$thumb_width}px, 1fr));
|
116 |
}
|
117 |
";
|
122 |
|
123 |
$style_array['name'] = 'thumbs-grid';
|
124 |
$style_array['extra_css'] = "
|
125 |
+
.crp_related.crp-thumbs-grid ul li a.crp_link {
|
126 |
+
grid-template-rows: {$row_height}px auto;
|
127 |
}
|
128 |
+
.crp_related.crp-thumbs-grid ul {
|
129 |
grid-template-columns: repeat(auto-fill, minmax({$thumb_width}px, 1fr));
|
130 |
}
|
131 |
";
|
includes/modules/class-crp-widget.php
CHANGED
@@ -193,12 +193,12 @@ if ( ! class_exists( 'CRP_Widget' ) ) :
|
|
193 |
$instance['post_thumb_op'] = $new_instance['post_thumb_op'];
|
194 |
$instance['thumb_width'] = ( ! empty( $new_instance['thumb_width'] ) ) ? intval( $new_instance['thumb_width'] ) : '';
|
195 |
$instance['thumb_height'] = ( ! empty( $new_instance['thumb_height'] ) ) ? intval( $new_instance['thumb_height'] ) : '';
|
196 |
-
$instance['show_excerpt'] = isset( $new_instance['show_excerpt'] ) ?
|
197 |
-
$instance['show_author'] = isset( $new_instance['show_author'] ) ?
|
198 |
-
$instance['show_date'] = isset( $new_instance['show_date'] ) ?
|
199 |
$instance['offset'] = ( ! empty( $new_instance['offset'] ) ) ? intval( $new_instance['offset'] ) : '';
|
200 |
$instance['ordering'] = isset( $new_instance['ordering'] ) ? $new_instance['ordering'] : '';
|
201 |
-
$instance['random_order'] = isset( $new_instance['random_order'] ) ?
|
202 |
|
203 |
// Process post types to be selected.
|
204 |
$wp_post_types = get_post_types(
|
@@ -207,7 +207,7 @@ if ( ! class_exists( 'CRP_Widget' ) ) :
|
|
207 |
)
|
208 |
);
|
209 |
$post_types = isset( $new_instance['post_types'] ) ? $new_instance['post_types'] : array();
|
210 |
-
$post_types = array_intersect( $wp_post_types, $post_types );
|
211 |
$instance['post_types'] = implode( ',', $post_types );
|
212 |
|
213 |
// Save include_categories.
|
193 |
$instance['post_thumb_op'] = $new_instance['post_thumb_op'];
|
194 |
$instance['thumb_width'] = ( ! empty( $new_instance['thumb_width'] ) ) ? intval( $new_instance['thumb_width'] ) : '';
|
195 |
$instance['thumb_height'] = ( ! empty( $new_instance['thumb_height'] ) ) ? intval( $new_instance['thumb_height'] ) : '';
|
196 |
+
$instance['show_excerpt'] = isset( $new_instance['show_excerpt'] ) ? (bool) $new_instance['show_excerpt'] : false;
|
197 |
+
$instance['show_author'] = isset( $new_instance['show_author'] ) ? (bool) $new_instance['show_author'] : false;
|
198 |
+
$instance['show_date'] = isset( $new_instance['show_date'] ) ? (bool) $new_instance['show_date'] : false;
|
199 |
$instance['offset'] = ( ! empty( $new_instance['offset'] ) ) ? intval( $new_instance['offset'] ) : '';
|
200 |
$instance['ordering'] = isset( $new_instance['ordering'] ) ? $new_instance['ordering'] : '';
|
201 |
+
$instance['random_order'] = isset( $new_instance['random_order'] ) ? (bool) $new_instance['show_date'] : false;
|
202 |
|
203 |
// Process post types to be selected.
|
204 |
$wp_post_types = get_post_types(
|
207 |
)
|
208 |
);
|
209 |
$post_types = isset( $new_instance['post_types'] ) ? $new_instance['post_types'] : array();
|
210 |
+
$post_types = array_intersect( $wp_post_types, (array) $post_types );
|
211 |
$instance['post_types'] = implode( ',', $post_types );
|
212 |
|
213 |
// Save include_categories.
|
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: 2022-04-
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza\n"
|
8 |
"Language-Team: WebberZone\n"
|
@@ -76,9 +76,7 @@ msgstr ""
|
|
76 |
#, php-format
|
77 |
msgid ""
|
78 |
"If you choose to disable this, please add %1$s to your template file where "
|
79 |
-
"you want it displayed
|
80 |
-
"added for each post. Caching is highly recommended to avoid performance "
|
81 |
-
"issues."
|
82 |
msgstr ""
|
83 |
|
84 |
#: includes/admin/default-settings.php:85
|
@@ -526,8 +524,9 @@ msgstr ""
|
|
526 |
#: includes/admin/default-settings.php:487
|
527 |
msgid ""
|
528 |
"Selecting this option will turn off contextual matching. This is only useful "
|
529 |
-
"if you activate the option: \"Only from same\"
|
530 |
-
"end up with the same set of related posts
|
|
|
531 |
msgstr ""
|
532 |
|
533 |
#: includes/admin/default-settings.php:493
|
@@ -971,9 +970,8 @@ msgstr ""
|
|
971 |
|
972 |
#: includes/admin/modules/tools.php:75
|
973 |
msgid ""
|
974 |
-
"Clear the Contextual Related Posts cache.
|
975 |
-
"
|
976 |
-
"out the cache."
|
977 |
msgstr ""
|
978 |
|
979 |
#: includes/admin/modules/tools.php:78 includes/admin/modules/tools.php:80
|
@@ -1289,7 +1287,7 @@ msgid ""
|
|
1289 |
"page&link_nofollow=1&exclude_post_ids=5,6"
|
1290 |
msgstr ""
|
1291 |
|
1292 |
-
#: includes/main-query.php:
|
1293 |
#, php-format
|
1294 |
msgid ""
|
1295 |
"Powered by <a href=\"%s\" rel=\"nofollow\" style=\"float:none\">Contextual "
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2022-04-30 15:53+0100\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza\n"
|
8 |
"Language-Team: WebberZone\n"
|
76 |
#, php-format
|
77 |
msgid ""
|
78 |
"If you choose to disable this, please add %1$s to your template file where "
|
79 |
+
"you want it displayed"
|
|
|
|
|
80 |
msgstr ""
|
81 |
|
82 |
#: includes/admin/default-settings.php:85
|
524 |
#: includes/admin/default-settings.php:487
|
525 |
msgid ""
|
526 |
"Selecting this option will turn off contextual matching. This is only useful "
|
527 |
+
"if you activate the option: \"Only from same\" from the General tab. "
|
528 |
+
"Otherwise, you will end up with the same set of related posts on all pages "
|
529 |
+
"with no relevance."
|
530 |
msgstr ""
|
531 |
|
532 |
#: includes/admin/default-settings.php:493
|
970 |
|
971 |
#: includes/admin/modules/tools.php:75
|
972 |
msgid ""
|
973 |
+
"Clear the Contextual Related Posts cache. This will also be cleared "
|
974 |
+
"automatically when you save the settings page."
|
|
|
975 |
msgstr ""
|
976 |
|
977 |
#: includes/admin/modules/tools.php:78 includes/admin/modules/tools.php:80
|
1287 |
"page&link_nofollow=1&exclude_post_ids=5,6"
|
1288 |
msgstr ""
|
1289 |
|
1290 |
+
#: includes/main-query.php:205
|
1291 |
#, php-format
|
1292 |
msgid ""
|
1293 |
"Powered by <a href=\"%s\" rel=\"nofollow\" style=\"float:none\">Contextual "
|
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: 2022-04-
|
7 |
"PO-Revision-Date: \n"
|
8 |
"Last-Translator: Ajay D'Souza\n"
|
9 |
"Language-Team: WebberZone\n"
|
@@ -77,9 +77,7 @@ msgstr ""
|
|
77 |
#, php-format
|
78 |
msgid ""
|
79 |
"If you choose to disable this, please add %1$s to your template file where "
|
80 |
-
"you want it displayed
|
81 |
-
"added for each post. Caching is highly recommended to avoid performance "
|
82 |
-
"issues."
|
83 |
msgstr ""
|
84 |
|
85 |
#: includes/admin/default-settings.php:85
|
@@ -527,8 +525,9 @@ msgstr ""
|
|
527 |
#: includes/admin/default-settings.php:487
|
528 |
msgid ""
|
529 |
"Selecting this option will turn off contextual matching. This is only useful "
|
530 |
-
"if you activate the option: \"Only from same\"
|
531 |
-
"end up with the same set of related posts
|
|
|
532 |
msgstr ""
|
533 |
|
534 |
#: includes/admin/default-settings.php:493
|
@@ -972,9 +971,8 @@ msgstr ""
|
|
972 |
|
973 |
#: includes/admin/modules/tools.php:75
|
974 |
msgid ""
|
975 |
-
"Clear the Contextual Related Posts cache.
|
976 |
-
"
|
977 |
-
"out the cache."
|
978 |
msgstr ""
|
979 |
|
980 |
#: includes/admin/modules/tools.php:78 includes/admin/modules/tools.php:80
|
@@ -1290,7 +1288,7 @@ msgid ""
|
|
1290 |
"page&link_nofollow=1&exclude_post_ids=5,6"
|
1291 |
msgstr ""
|
1292 |
|
1293 |
-
#: includes/main-query.php:
|
1294 |
#, php-format
|
1295 |
msgid ""
|
1296 |
"Powered by <a href=\"%s\" rel=\"nofollow\" style=\"float:none\">Contextual "
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Contextual Related Posts\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2022-04-30 15:53+0100\n"
|
7 |
"PO-Revision-Date: \n"
|
8 |
"Last-Translator: Ajay D'Souza\n"
|
9 |
"Language-Team: WebberZone\n"
|
77 |
#, php-format
|
78 |
msgid ""
|
79 |
"If you choose to disable this, please add %1$s to your template file where "
|
80 |
+
"you want it displayed"
|
|
|
|
|
81 |
msgstr ""
|
82 |
|
83 |
#: includes/admin/default-settings.php:85
|
525 |
#: includes/admin/default-settings.php:487
|
526 |
msgid ""
|
527 |
"Selecting this option will turn off contextual matching. This is only useful "
|
528 |
+
"if you activate the option: \"Only from same\" from the General tab. "
|
529 |
+
"Otherwise, you will end up with the same set of related posts on all pages "
|
530 |
+
"with no relevance."
|
531 |
msgstr ""
|
532 |
|
533 |
#: includes/admin/default-settings.php:493
|
971 |
|
972 |
#: includes/admin/modules/tools.php:75
|
973 |
msgid ""
|
974 |
+
"Clear the Contextual Related Posts cache. This will also be cleared "
|
975 |
+
"automatically when you save the settings page."
|
|
|
976 |
msgstr ""
|
977 |
|
978 |
#: includes/admin/modules/tools.php:78 includes/admin/modules/tools.php:80
|
1288 |
"page&link_nofollow=1&exclude_post_ids=5,6"
|
1289 |
msgstr ""
|
1290 |
|
1291 |
+
#: includes/main-query.php:205
|
1292 |
#, php-format
|
1293 |
msgid ""
|
1294 |
"Powered by <a href=\"%s\" rel=\"nofollow\" style=\"float:none\">Contextual "
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Tags: related posts, related, related articles, contextual related posts, similar posts, related posts widget
|
3 |
Contributors: webberzone, Ajay
|
4 |
Donate link: https://ajaydsouza.com/donate/
|
5 |
-
Stable tag: 3.2.
|
6 |
Requires at least: 5.6
|
7 |
Tested up to: 5.9
|
8 |
Requires PHP: 7.1
|
@@ -163,10 +163,16 @@ You can insert the related posts anywhere in your post using the `[crp]` shortco
|
|
163 |
|
164 |
== Changelog ==
|
165 |
|
166 |
-
= 3.2.
|
167 |
|
168 |
Release post: [https://webberzone.com/blog/contextual-related-posts-v3-2-0/](https://webberzone.com/blog/contextual-related-posts-v3-2-0/)
|
169 |
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
* Enhancements/modifications:
|
171 |
* If thumbnail is set as `text only`, then the style is also set as `text only` at runtime
|
172 |
|
@@ -232,5 +238,5 @@ For the changelog of earlier versions, please refer to the separate changelog.tx
|
|
232 |
|
233 |
== Upgrade Notice ==
|
234 |
|
235 |
-
= 3.2.
|
236 |
New featuers and enhancements. Please read the release post on https://webberzone.com
|
2 |
Tags: related posts, related, related articles, contextual related posts, similar posts, related posts widget
|
3 |
Contributors: webberzone, Ajay
|
4 |
Donate link: https://ajaydsouza.com/donate/
|
5 |
+
Stable tag: 3.2.2
|
6 |
Requires at least: 5.6
|
7 |
Tested up to: 5.9
|
8 |
Requires PHP: 7.1
|
163 |
|
164 |
== Changelog ==
|
165 |
|
166 |
+
= 3.2.2 =
|
167 |
|
168 |
Release post: [https://webberzone.com/blog/contextual-related-posts-v3-2-0/](https://webberzone.com/blog/contextual-related-posts-v3-2-0/)
|
169 |
|
170 |
+
* Bug fix:
|
171 |
+
* Widget options were not saved properly
|
172 |
+
* Stylesheets and header styles have been fixed to be more specific
|
173 |
+
|
174 |
+
= 3.2.1 =
|
175 |
+
|
176 |
* Enhancements/modifications:
|
177 |
* If thumbnail is set as `text only`, then the style is also set as `text only` at runtime
|
178 |
|
238 |
|
239 |
== Upgrade Notice ==
|
240 |
|
241 |
+
= 3.2.2 =
|
242 |
New featuers and enhancements. Please read the release post on https://webberzone.com
|