Version Description
- Bug fixes:
- Replaced
.crp_title
wrapper fromdiv
tospan
. Empty the cache via the settings page and also your browser cache
- Replaced
Download this release
Release Info
Developer | Ajay |
Plugin | Contextual Related Posts |
Version | 2.3.1 |
Comparing to | |
See all releases |
Code changes from version 2.3.0 to 2.3.1
- README.md +2 -2
- contextual-related-posts.php +1 -1
- css/default-style.css +1 -0
- includes/output-generator.php +2 -2
- readme.txt +6 -1
README.md
CHANGED
@@ -8,7 +8,7 @@ __Tested up to:__ 4.7
|
|
8 |
|
9 |
__License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
|
10 |
|
11 |
-
__Plugin page:__ [Contextual Related Posts home page](https://webberzone.com/plugins/contextual-related-posts/) | [WordPress.org listing](
|
12 |
|
13 |
|
14 |
Display related posts on your WordPress blog and feed. Supports thumbnails, shortcodes, widgets and custom post types!
|
@@ -60,7 +60,7 @@ Visit [Contextual Related Posts on Transifex](https://www.transifex.com/projects
|
|
60 |
|
61 |
|
62 |
## Screenshots
|
63 |
-
![General Options](https://raw.github.com/WebberZone/contextual-related-posts/master/assets/screenshot-1.png)
|
64 |
|
65 |
_Contextual Related Posts - General Options_
|
66 |
|
8 |
|
9 |
__License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
|
10 |
|
11 |
+
__Plugin page:__ [Contextual Related Posts home page](https://webberzone.com/plugins/contextual-related-posts/) | [WordPress.org listing](https://wordpress.org/plugins/contextual-related-posts/)
|
12 |
|
13 |
|
14 |
Display related posts on your WordPress blog and feed. Supports thumbnails, shortcodes, widgets and custom post types!
|
60 |
|
61 |
|
62 |
## Screenshots
|
63 |
+
![General Options](https://raw.github.com/WebberZone/contextual-related-posts/master/wporg-assets/screenshot-1.png)
|
64 |
|
65 |
_Contextual Related Posts - General Options_
|
66 |
|
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.3.
|
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.3.1
|
19 |
* Author: WebberZone
|
20 |
* Author URI: https://webberzone.com
|
21 |
* License: GPL-2.0+
|
css/default-style.css
CHANGED
@@ -38,6 +38,7 @@
|
|
38 |
.crp_related .crp_title {
|
39 |
color: #fff !important;
|
40 |
position: absolute;
|
|
|
41 |
bottom: 0;
|
42 |
padding: 3px;
|
43 |
color: #fff;
|
38 |
.crp_related .crp_title {
|
39 |
color: #fff !important;
|
40 |
position: absolute;
|
41 |
+
display: block;
|
42 |
bottom: 0;
|
43 |
padding: 3px;
|
44 |
color: #fff;
|
includes/output-generator.php
CHANGED
@@ -274,7 +274,7 @@ function crp_list_link( $args, $result ) {
|
|
274 |
$output .= '<a href="' . get_permalink( $result->ID ) . '" ' . $link_attributes . '>';
|
275 |
|
276 |
if ( 'after' === $args['post_thumb_op'] ) {
|
277 |
-
$output .= '<
|
278 |
}
|
279 |
|
280 |
if ( 'inline' === $args['post_thumb_op'] || 'after' === $args['post_thumb_op'] || 'thumbs_only' === $args['post_thumb_op'] ) {
|
@@ -292,7 +292,7 @@ function crp_list_link( $args, $result ) {
|
|
292 |
}
|
293 |
|
294 |
if ( 'inline' === $args['post_thumb_op'] || 'text_only' === $args['post_thumb_op'] ) {
|
295 |
-
$output .= '<
|
296 |
}
|
297 |
|
298 |
$output .= '</a>';
|
274 |
$output .= '<a href="' . get_permalink( $result->ID ) . '" ' . $link_attributes . '>';
|
275 |
|
276 |
if ( 'after' === $args['post_thumb_op'] ) {
|
277 |
+
$output .= '<span class="crp_title">' . $title . '</span>'; // Add title when required by settings
|
278 |
}
|
279 |
|
280 |
if ( 'inline' === $args['post_thumb_op'] || 'after' === $args['post_thumb_op'] || 'thumbs_only' === $args['post_thumb_op'] ) {
|
292 |
}
|
293 |
|
294 |
if ( 'inline' === $args['post_thumb_op'] || 'text_only' === $args['post_thumb_op'] ) {
|
295 |
+
$output .= '<span class="crp_title">' . $title . '</span>'; // Add title when required by settings
|
296 |
}
|
297 |
|
298 |
$output .= '</a>';
|
readme.txt
CHANGED
@@ -178,6 +178,11 @@ In addition to the above, the shortcode takes every option that the plugin suppo
|
|
178 |
|
179 |
== Changelog ==
|
180 |
|
|
|
|
|
|
|
|
|
|
|
181 |
= 2.3.0 =
|
182 |
|
183 |
* Features:
|
@@ -311,7 +316,7 @@ For the changelog of earlier versions, please refer to the separate changelog.tx
|
|
311 |
|
312 |
== Upgrade Notice ==
|
313 |
|
314 |
-
= 2.3.
|
315 |
* New features. Deprecated functions. Upgrade highly recommended. Please do verify your settings after the upgrade.
|
316 |
Check the Changelog for more details
|
317 |
|
178 |
|
179 |
== Changelog ==
|
180 |
|
181 |
+
= 2.3.1 =
|
182 |
+
|
183 |
+
* Bug fixes:
|
184 |
+
* Replaced `.crp_title` wrapper from `div` to `span`. Empty the cache via the settings page and also your browser cache
|
185 |
+
|
186 |
= 2.3.0 =
|
187 |
|
188 |
* Features:
|
316 |
|
317 |
== Upgrade Notice ==
|
318 |
|
319 |
+
= 2.3.1 =
|
320 |
* New features. Deprecated functions. Upgrade highly recommended. Please do verify your settings after the upgrade.
|
321 |
Check the Changelog for more details
|
322 |
|