Version Description
- New widget support; performance improvements; use the excerpt; exclude posts / pages by page id.
=
Download this release
Release Info
Developer | Ajay |
Plugin | Contextual Related Posts |
Version | 1.8.2 |
Comparing to | |
See all releases |
Code changes from version 1.8.1 to 1.8.2
- contextual-related-posts.php +4 -4
- readme.txt +7 -4
contextual-related-posts.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Contextual Related Posts
|
4 |
-
Version: 1.8.
|
5 |
Plugin URI: http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/
|
6 |
Description: Displaying a set of related posts on your website or in your feed. Increase reader retention and reduce bounce rates
|
7 |
Author: Ajay D'Souza
|
@@ -166,11 +166,11 @@ function ald_crp_content($content) {
|
|
166 |
$crp_settings = crp_read_options();
|
167 |
|
168 |
if((is_single())&&($crp_settings['add_to_content'])) {
|
169 |
-
return $content.ald_crp();
|
170 |
} elseif((is_page())&&($crp_settings['add_to_page'])) {
|
171 |
-
return $content.ald_crp();
|
172 |
} elseif((is_feed())&&($crp_settings['add_to_feed'])) {
|
173 |
-
return $content.ald_crp();
|
174 |
} else {
|
175 |
return $content;
|
176 |
}
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Contextual Related Posts
|
4 |
+
Version: 1.8.2
|
5 |
Plugin URI: http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/
|
6 |
Description: Displaying a set of related posts on your website or in your feed. Increase reader retention and reduce bounce rates
|
7 |
Author: Ajay D'Souza
|
166 |
$crp_settings = crp_read_options();
|
167 |
|
168 |
if((is_single())&&($crp_settings['add_to_content'])) {
|
169 |
+
return $content.ald_crp('is_widget=0');
|
170 |
} elseif((is_page())&&($crp_settings['add_to_page'])) {
|
171 |
+
return $content.ald_crp('is_widget=0');
|
172 |
} elseif((is_feed())&&($crp_settings['add_to_feed'])) {
|
173 |
+
return $content.ald_crp('is_widget=0');
|
174 |
} else {
|
175 |
return $content;
|
176 |
}
|
readme.txt
CHANGED
@@ -21,8 +21,8 @@ The list is based on the content of the title and/or content of the posts which
|
|
21 |
* Display Related Posts automatically after the content on your website or in the feed without the need to edit template files
|
22 |
* Manual install available to select the exact placement of the posts. This will require you to edit your theme files
|
23 |
* Relevancy matching based on title and/or content of the post
|
24 |
-
* Exclude posts from categories from being displayed in the list
|
25 |
-
*
|
26 |
* Support for Custom Post Types
|
27 |
* Thumbnail support
|
28 |
* Support for WordPress post thumbnails
|
@@ -30,17 +30,20 @@ The list is based on the content of the title and/or content of the posts which
|
|
30 |
* Manually enter the URL of the thumbnail via <a href="http://codex.wordpress.org/Custom_Fields">WordPress meta fields</a>
|
31 |
* Use timthumb to resize images
|
32 |
* Display excerpts in post. You can select the length of the excerpt in words
|
33 |
-
* Output wrapped in CSS
|
34 |
* Customise which HTML tags to use for displaying the output in case you don't prefer the default `list` format
|
35 |
|
36 |
== Upgrade Notice ==
|
37 |
|
38 |
-
= 1.8.
|
39 |
* New widget support; performance improvements; use the excerpt; exclude posts / pages by page id.
|
40 |
|
41 |
|
42 |
== Changelog ==
|
43 |
|
|
|
|
|
|
|
44 |
= 1.8.1 =
|
45 |
* Added: Widget support. Widget display follows the same settings as having the related posts after content.
|
46 |
* Added: Exclude posts and pages by ID
|
21 |
* Display Related Posts automatically after the content on your website or in the feed without the need to edit template files
|
22 |
* Manual install available to select the exact placement of the posts. This will require you to edit your theme files
|
23 |
* Relevancy matching based on title and/or content of the post
|
24 |
+
* Exclude posts from categories from being displayed in the list. Or you can exclude posts or pages by ID
|
25 |
+
* Widget support
|
26 |
* Support for Custom Post Types
|
27 |
* Thumbnail support
|
28 |
* Support for WordPress post thumbnails
|
30 |
* Manually enter the URL of the thumbnail via <a href="http://codex.wordpress.org/Custom_Fields">WordPress meta fields</a>
|
31 |
* Use timthumb to resize images
|
32 |
* Display excerpts in post. You can select the length of the excerpt in words
|
33 |
+
* Output wrapped in CSS classes that allows you to style the list. You can enter your custom CSS styles from within WordPress Admin area
|
34 |
* Customise which HTML tags to use for displaying the output in case you don't prefer the default `list` format
|
35 |
|
36 |
== Upgrade Notice ==
|
37 |
|
38 |
+
= 1.8.2 =
|
39 |
* New widget support; performance improvements; use the excerpt; exclude posts / pages by page id.
|
40 |
|
41 |
|
42 |
== Changelog ==
|
43 |
|
44 |
+
= 1.8.2 =
|
45 |
+
* Fixed: PHP warning error
|
46 |
+
|
47 |
= 1.8.1 =
|
48 |
* Added: Widget support. Widget display follows the same settings as having the related posts after content.
|
49 |
* Added: Exclude posts and pages by ID
|