Contextual Related Posts - Version 1.2.1

Version Description

Download this release

Release Info

Developer Ajay
Plugin Icon 128x128 Contextual Related Posts
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2 to 1.2.1

Files changed (3) hide show
  1. admin.inc.php +2 -1
  2. contextual-related-posts.php +1 -1
  3. readme.txt +23 -10
admin.inc.php CHANGED
@@ -35,7 +35,8 @@ function crp_options() {
35
 
36
  $exclude_categories = '';
37
  foreach ($exclude_categories_slugs as $exclude_categories_slug) {
38
- $exclude_categories .= get_category_by_slug($exclude_categories_slug)->term_id . ',';
 
39
  }
40
  $crp_settings[exclude_categories] = substr($exclude_categories, 0, -2);
41
 
35
 
36
  $exclude_categories = '';
37
  foreach ($exclude_categories_slugs as $exclude_categories_slug) {
38
+ $catObj = get_category_by_slug($exclude_categories_slug);
39
+ $exclude_categories .= $catObj->term_id . ',';
40
  }
41
  $crp_settings[exclude_categories] = substr($exclude_categories, 0, -2);
42
 
contextual-related-posts.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Contextual Related Posts
4
- Version: 1.2
5
  Plugin URI: http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/
6
  Description: Show user defined number of contextually related posts. Based on the plugin by <a href="http://weblogtoolscollection.com">Mark Ghosh</a>. <a href="options-general.php?page=crp_options">Configure...</a>
7
  Author: Ajay D'Souza
1
  <?php
2
  /*
3
  Plugin Name: Contextual Related Posts
4
+ Version: 1.2.1
5
  Plugin URI: http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/
6
  Description: Show user defined number of contextually related posts. Based on the plugin by <a href="http://weblogtoolscollection.com">Mark Ghosh</a>. <a href="options-general.php?page=crp_options">Configure...</a>
7
  Author: Ajay D'Souza
readme.txt CHANGED
@@ -1,6 +1,6 @@
1
  === Contextual Related Posts ===
2
  Tags: related posts, similar posts
3
- Contributors: Ajay D'Souza, Mark Ghosh
4
  Donate link: http://ajaydsouza.com/donate/
5
  Stable tag: trunk
6
  Requires at least: 2.5
@@ -19,19 +19,20 @@ You can select the number of posts to display and if you want to automatically d
19
  Now, you can choose to exclude posts from certain categories as well as exclude pages.
20
 
21
 
22
- == Installation ==
23
-
24
- 1. Download the plugin
25
-
26
- 2. Extract the contents of contextual-related-posts.zip to wp-content/plugins/ folder. You should get a folder called contextual-related-posts.
27
 
28
- 3. Activate the Plugin in WP-Admin.
29
-
30
- 4. Goto Settings > Related Posts to configure
 
 
 
 
31
 
32
 
33
- == Changelog ==
34
 
 
35
  * 1.2
36
  - Option to blank output in case nothing is found
37
  - Exclude posts from certain categories
@@ -42,6 +43,18 @@ Now, you can choose to exclude posts from certain categories as well as exclude
42
  * 1.0.1 - Release
43
 
44
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  == Frequently Asked Questions ==
46
 
47
  = What are the requirements for this plugin? =
1
  === Contextual Related Posts ===
2
  Tags: related posts, similar posts
3
+ Contributors: Ajay, Mark Ghosh
4
  Donate link: http://ajaydsouza.com/donate/
5
  Stable tag: trunk
6
  Requires at least: 2.5
19
  Now, you can choose to exclude posts from certain categories as well as exclude pages.
20
 
21
 
22
+ = Features =
 
 
 
 
23
 
24
+ * Display Related Posts automatically in content / feed, no need to edit template files
25
+ * Doesn�t require the post to be tagged in order to display related posts
26
+ * You can manually add code to your template where you want the related posts to be displayed
27
+ * Exclude posts from categories
28
+ * Exclude display of related posts on Pages
29
+ * Exclude links pages in Related Posts list
30
+ * Find related posts based on content and post title
31
 
32
 
33
+ = Changelog =
34
 
35
+ * 1.2.1 - Bug fixed to support PHP4
36
  * 1.2
37
  - Option to blank output in case nothing is found
38
  - Exclude posts from certain categories
43
  * 1.0.1 - Release
44
 
45
 
46
+ == Installation ==
47
+
48
+ 1. Download the plugin
49
+
50
+ 2. Extract the contents of contextual-related-posts.zip to wp-content/plugins/ folder. You should get a folder called contextual-related-posts.
51
+
52
+ 3. Activate the Plugin in WP-Admin.
53
+
54
+ 4. Goto Settings > Related Posts to configure
55
+
56
+
57
+
58
  == Frequently Asked Questions ==
59
 
60
  = What are the requirements for this plugin? =